/* NoteFolio360, Jen's 21 October layout: navy hero and header, a white strip of
   what it does, the ecosystem, how it works, a navy pricing band, why and the
   questions, and a navy close. DM Sans, self-hosted. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(dm-sans-400-700-latin.woff2) format('woff2'); }

:root {
  --navy: #0b2140; --navy-2: #0f2a4a; --navy-3: #16365e;
  --ink: #14213d; --ink-2: #3d4a63; --ink-3: #5d6880;
  --line: #e1e6ef; --bg: #ffffff; --soft: #f4f7fc;
  --blue: #1d5fc4; --blue-2: #3b82f6; --blue-light: #6ea8ff; --blue-wash: #e8f0fc;
  --green: #16a34a; --green-2: #128a3e; --green-light: #5fd08f;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16px/1.6 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }
svg.i { width: 18px; height: 18px; flex: none; }
.eyebrow { margin: 0 0 12px; font: 700 13px/1.4 'DM Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 700 15.5px/1 'DM Sans', sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: background 150ms ease, transform 150ms ease; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16.5px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.text-link { font-weight: 600; color: inherit; text-underline-offset: 4px; }

/* Header, on the navy hero */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: block; color: #fff; }
.logo img { width: 200px; height: auto; display: block; }
.nav { display: flex; gap: 30px; margin-left: 28px; }
.nav a { color: #e4ebf6; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: #fff; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.login { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.login:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 140px 0 72px; color: #fff;
  background: radial-gradient(900px 600px at 78% 40%, rgba(29,95,196,.35), transparent 65%), linear-gradient(180deg, #0b2140 0%, #0d2650 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(110,168,255,.12); pointer-events: none; }
.hero::before { width: 760px; height: 760px; right: -160px; top: -120px; }
.hero::after { width: 1100px; height: 1100px; right: -340px; top: -300px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--blue-light); }
.hero h1 { font-size: clamp(42px, 5.4vw, 66px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.hero h1 span { display: block; color: var(--blue-2); }
.hero .lede { margin: 22px 0 30px; max-width: 30em; font-size: 18px; color: #d7e1f0; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hero .text-link { color: #fff; }
.hero .small { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: #d7e1f0; }
.hero .small li { display: flex; align-items: center; gap: 8px; }
.hero .small svg { width: 18px; height: 18px; color: var(--green-light); }
.hero-pic { position: relative; }
.hero-pic img { width: 112%; max-width: none; margin: -30px -6% -40px -2%; }
.pay-card { position: absolute; top: 2%; right: -4%; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px 14px 14px; box-shadow: 0 18px 40px rgba(4,14,32,.35); }
.pc-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; flex: none; }
.pc-ico svg { width: 20px; height: 20px; }
.pc-k { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.pay-card b { display: block; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.pc-s { display: block; font-size: 12px; color: var(--ink-3); }

/* What it does: a white strip */
.strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 34px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.features .ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--blue-wash); color: var(--navy-2); }
.features .ico svg { width: 26px; height: 26px; }
.features h3 { font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; }
.features p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* Sections */
.band { padding: 92px 0; }
.head { text-align: center; margin: 0 auto 50px; max-width: 820px; }
.head h2, .band h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.head p:not(.eyebrow) { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; }

/* The ecosystem */
.eco { background: #f4f6fa; }
.eco-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.eco .sub { margin: 14px 0 30px; color: var(--ink-2); font-size: 17px; max-width: 26em; }
.eco-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.eco-list li { display: flex; gap: 18px; align-items: flex-start; }
.n { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 18px; }
.n-blue { background: var(--blue); }
.n-navy { background: var(--navy); }
.n-green { background: var(--green); }
.eco-list a { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.eco-list a:hover { color: var(--blue); }
.eco-list p { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 700; text-decoration: none; }
.eco-pic { position: relative; }
.eco-pic img { position: relative; }

/* How it works */
.how { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; padding: 0 36px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li + li::before { content: ""; position: absolute; left: -9px; top: 60px; width: 18px; height: 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5fc4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/18px no-repeat; }
.step-top { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 18px; height: 140px; }
.num { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 19px; }
.step-top img { width: 180px; height: 130px; object-fit: contain; object-position: left center; }
.steps h3 { font-size: 20px; }
.steps p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* Pricing, on navy */
.pricing { padding: 84px 0; color: #fff; text-align: center; background: linear-gradient(180deg, #0b2140, #0f2a4a); }
.pricing h2 { font-size: clamp(28px, 3.4vw, 40px); }
.price-card { margin: 38px auto 0; max-width: 940px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; color: var(--ink); border-radius: 16px; padding: 30px 20px; text-align: left; }
.price { display: flex; gap: 22px; align-items: center; justify-content: center; padding: 6px 24px; }
.price + .price { border-left: 1px solid var(--line); }
.pi { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 18px; background: var(--blue-wash); color: var(--blue); flex: none; }
.pi svg { width: 36px; height: 36px; }
.price b { font-size: 46px; line-height: 1; letter-spacing: -.03em; }
.price span { font-size: 19px; color: var(--ink-2); margin-left: 6px; }
.price small { display: block; margin-top: 6px; font-size: 17px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 30px auto 0; max-width: 940px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: #e4ebf6; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 9px; }
.ticks svg { width: 21px; height: 21px; color: var(--green-light); flex: none; }
.price-cta { margin: 32px 0 0; }
/* Pricing, broken down (Thy, 31 October): the software and each portal by
   name, the portals marked optional, and what one or both come to a month. */
.price-card-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 28px 12px; }
.price-card-3 .price { align-items: flex-start; justify-content: flex-start; padding: 6px 20px; gap: 16px; }
.price em { display: block; font-style: normal; font-weight: 700; font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.price-card-3 .price small { font-size: 15px; }
.price-totals { margin: 18px auto 0; max-width: 940px; background: #fff; color: var(--ink); border-radius: 16px; padding: 22px 28px; text-align: left; }
.price-totals .pt-title { margin: 0 0 10px; font-weight: 700; font-size: 17px; }
.price-totals dl { margin: 0; }
.price-totals dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.price-totals dt { font-size: 16px; color: var(--ink); }
.price-totals dt span { color: var(--ink-2); }
.price-totals dd { margin: 0; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.price-totals .pt-note { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }

/* Why, and the questions */
.why { background: linear-gradient(180deg, var(--soft), #fff 60%); }
.trust { list-style: none; margin: 0 0 80px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.trust li { padding: 0 24px; display: flex; flex-direction: column; align-items: center; }
.trust li + li { border-left: 1px solid var(--line); }
.ti { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--blue-wash); color: var(--blue); margin-bottom: 16px; }
.ti svg { width: 30px; height: 30px; }
.trust b { font-size: 17px; }
.trust span:not(.ti) { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.faq-title { text-align: center; font-size: clamp(26px, 3vw, 34px) !important; margin-bottom: 28px; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; max-width: 980px; margin: 0 auto; }
.qa details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 64px; font-weight: 600; font-size: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.pl { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); flex: none; transition: transform 160ms ease; }
.pl svg { width: 16px; height: 16px; }
.qa details[open] .pl { transform: rotate(45deg); }
.qa p { margin: 0 0 18px 42px; color: var(--ink-2); }

/* The close */
.closing { position: relative; overflow: hidden; padding: 84px 0; text-align: center; color: #fff; background: radial-gradient(700px 400px at 0% 100%, rgba(29,95,196,.4), transparent 70%), linear-gradient(180deg, #0f2a4a, #0b2140); }
.closing::before { content: ""; position: absolute; left: -260px; bottom: -420px; width: 760px; height: 760px; border-radius: 50%; border: 1px solid rgba(110,168,255,.14); pointer-events: none; }
/* The ring lay over the buttons on phones and took the taps (Jen, 27 October). */
.closing .wrap { position: relative; }
.closing h2 { font-size: clamp(30px, 3.6vw, 42px); }
.closing p { margin: 12px 0 28px; color: #d7e1f0; font-size: 17px; }
.closing .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; }
.closing .text-link { color: #fff; }

/* Footer, redesigned 11 November (Roi: "design it properly to make it look clean").
   Brand, then Product / Sign in / Support columns, then a bottom bar with the company line and legal links.
   The address, support phone and email stay visible: ClickSend's texting review reads them here. */
.foot { background: var(--navy); color: #c9d4e5; padding: 60px 0 28px; border-top: 1px solid rgba(255,255,255,.08); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; }
.foot-tag { margin: 18px 0 22px; max-width: 32ch; font-size: 15px; line-height: 1.6; color: #c9d4e5; text-wrap: balance; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #e4ebf6; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }
.foot-h { margin: 4px 0 16px; font: 700 12.5px/1.4 'DM Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #93a9c9; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot-col ul { display: grid; gap: 10px; }
.foot a { color: #e4ebf6; text-decoration: none; font-size: 14.5px; }
.foot-col a { display: inline-block; padding: 2px 0; overflow-wrap: anywhere; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot .social a:hover, .foot .logo:hover { text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom .legal { margin: 0; font-size: 13.5px; color: #c9d4e5; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-bottom a { font-size: 13.5px; }
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px 28px; }
  .foot-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
  .foot-tag { margin: 0; flex: 1 1 220px; }
}
@media (max-width: 640px) {
  .foot { padding: 48px 0 26px; }
  /* Columns as wide as their own links, so "Borrowers: MyPayAccount" stays on one line on a phone. */
  .foot-grid { grid-template-columns: minmax(0, auto) minmax(0, auto); justify-content: start; gap: 30px 36px; }
  .foot-brand { display: block; }
  .foot-tag { margin: 14px 0 18px; }
  .foot-support { grid-column: 1 / -1; }
  .foot-h { margin-bottom: 8px; }
  /* Bigger tap areas on phones; the gap shrinks by the same amount, so the spacing looks the same. */
  .foot-col ul { gap: 2px; }
  .foot-col a, .foot-bottom a { padding: 7px 0; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 30px; }
  .foot-bottom .sep { display: none; }
  .foot-bottom .addr { display: block; margin-top: 2px; }
}
/* Most phones: the two columns need ~375px and a phone has ~343px, so the groups stack. */
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* Fade in on scroll, only with the script and without reduced motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Smaller screens */
@media (max-width: 1080px) {
  .nav { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero { padding-top: 120px; }
  .hero-grid, .eco-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-pic { max-width: 640px; margin: 10px auto 0; }
  .hero-pic img { width: 100%; margin: -10px 0 -20px; }
  .pay-card { right: 2%; top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .steps li { padding: 0; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 34px; }
  .steps li + li::before { display: none; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 0; }
  .trust li:nth-child(3) { border-left: 0; }
  .qa { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .top .wrap { min-height: 72px; gap: 12px; }
  .logo img { width: 150px; }
  .login { display: none; }
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 16.5px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 66px 0; }
  .price-card, .price-card-3 { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 18px; }
  .price-card-3 .price { padding: 0; }
  .price-totals { padding: 18px 18px; }
  .price { justify-content: flex-start; padding: 0; }
  .price + .price { border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .price b { font-size: 40px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust li + li { border-left: 0; }
  .pay-card { display: none; }
  .step-top img { width: 150px; height: 110px; }
  .step-top { height: 120px; }
}
