*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--head-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: var(--brand-weight); font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .nav-cta { color: var(--cta-ink); background: var(--cta); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
.site-nav .nav-cta:hover { color: var(--cta-ink); filter: brightness(1.08); }

/* type */
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: var(--h-track); font-weight: var(--h-weight); }
.section-head p { color: var(--muted); font-size: 19px; margin: 16px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--body); }
.btn-store { background: var(--cta); color: var(--cta-ink); }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; line-height: 1.1; }
.btn-store span { line-height: 1.15; text-align: left; }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* phone frame */
.phone { position: relative; border-radius: 46px; padding: 9px; background: var(--bezel);
  box-shadow: 0 0 0 1.5px var(--bezel-edge), 0 40px 80px -30px var(--shadow), 0 18px 36px -18px var(--shadow); }
.phone img { border-radius: 37px; width: 100%; height: auto; }

/* screens strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 40px; margin: 0 -20px;
  scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: center; }
.strip figcaption { margin-top: 16px; font-size: 14.5px; color: var(--muted); text-align: center; }
.strip figcaption b { display: block; color: var(--ink); font-size: 15.5px; }

@media (min-width: 861px) {
  .strip { grid-auto-columns: calc((100% - (var(--n) - 1) * 22px) / var(--n)); gap: 22px; overflow: visible; margin: 0; padding: 8px 0 24px; }
  .strip .phone { border-radius: 32px; padding: 6px; }
  .strip .phone img { border-radius: 27px; }
}
.rows { margin-top: clamp(64px, 9vw, 112px); }

/* feature rows */
.rows { display: grid; gap: clamp(72px, 10vw, 120px); }
.row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.row:nth-child(even) .row-text { order: 2; }
.row .phone { width: min(320px, 100%); margin-inline: auto; }
.row h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: var(--h-track); font-weight: var(--h-weight); margin-bottom: 16px; }
.row p { color: var(--muted); font-size: 18px; margin: 0 0 18px; max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tick-bg); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px;
  border: solid var(--tick-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; }
.plan { border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 24px; font-weight: var(--h-weight); }
.plan .price { font-family: var(--display); font-size: 48px; font-weight: var(--h-weight); letter-spacing: -0.02em; margin: 14px 0 2px; color: var(--ink); }
.plan .price-note { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.plan-pro { background: var(--pro-bg); box-shadow: none; color: var(--pro-ink); }
.plan-pro h3, .plan-pro .price { color: var(--pro-ink); }
.plan-pro .price-note { color: var(--pro-muted); }
.plan-pro .ticks li { color: var(--pro-ink); }
.plan-pro .ticks li::before { background: var(--pro-tick-bg); }
.plan-pro .ticks li::after { border-color: var(--pro-tick-ink); }
.fineprint { color: var(--muted); font-size: 14.5px; margin-top: 22px; max-width: 760px; }

/* privacy */
.privacy-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); background: var(--band-bg); color: var(--band-ink); }
.privacy-band h2 { color: var(--band-ink); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: var(--h-track); font-weight: var(--h-weight); }
.privacy-band p { color: var(--band-muted); font-size: 18px; margin: 12px 0 0; max-width: 620px; }
.privacy-band a { color: var(--band-ink); }
.shield { width: clamp(72px, 10vw, 112px); height: auto; }

/* faq */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-weight: 300; font-size: 28px; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; }
.faq-more { margin-top: 28px; color: var(--muted); }

/* closing */
.closing { text-align: center; }
.closing img.app-icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 24px 48px -20px var(--shadow); }
.closing h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: var(--h-track); font-weight: var(--h-weight); line-height: 1.05; }
.closing p { color: var(--muted); font-size: 19px; margin: 14px auto 30px; max-width: 520px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }

/* document pages */
.doc-head { padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 40px); }
.doc-head h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: var(--h-track); font-weight: var(--h-weight); }
.doc-head p { color: var(--muted); font-size: 19px; margin: 16px 0 0; max-width: 640px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); padding-bottom: 96px; align-items: start; }
.doc-body { max-width: 700px; overflow-wrap: anywhere; }
.doc-body h2 { font-size: 26px; font-weight: var(--h-weight); letter-spacing: -0.01em; margin: 44px 0 10px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; margin: 30px 0 6px; }
.doc-body p, .doc-body li { color: var(--muted); }
.doc-body strong { color: var(--ink); }
.doc-body .card { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 16px; padding: 4px 22px; margin: 0 0 8px; }
.aside { position: sticky; top: 92px; border-radius: var(--radius); padding: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; }
.aside h2 { font-size: 20px; font-weight: var(--h-weight); margin-bottom: 8px; }
.aside p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.aside .btn { width: 100%; justify-content: center; }
.aside .links { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }

/* reveal: only hidden when scripts run, so the page never stays blank */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .row, .plans, .doc { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-text { order: 0; }
  .row .phone { width: min(280px, 78%); }
  .aside { position: static; }
  .privacy-band { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .site-nav { gap: 14px; }
  .site-nav .nav-hide { display: none; }
  .site-nav .nav-cta { padding: 6px 12px; font-size: 14px; }
  .brand { font-size: 16.5px; }
  .strip { grid-auto-columns: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

:root {
  --bg: #EEF2F6; --surface: #FFFFFF; --ink: #0F1B2D; --muted: #566174; --line: rgba(15,27,45,0.10); --line-strong: rgba(15,27,45,0.28);
  --accent: #0E7490; --link: #0E7490; --focus: #0E7490; --cta: #0F1B2D; --cta-ink: #FFFFFF;
  --display: ui-serif, "New York", "Iowan Old Style", Georgia, serif; --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; --brand-weight: 600; --h-weight: 600; --h-track: -0.022em; --radius: 22px;
  --head-bg: rgba(238,242,246,0.78); --bezel: #0F1B2D; --bezel-edge: #2B3A52; --shadow: rgba(15,27,45,0.35);
  --tick-bg: rgba(14,116,144,0.14); --tick-ink: #0E7490;
  --pro-bg: #0F1B2D; --pro-ink: #F3F6FA; --pro-muted: #A9B4C4; --pro-tick-bg: rgba(34,184,207,0.2); --pro-tick-ink: #22B8CF;
  --band-bg: #1F3A5F; --band-ink: #F3F6FA; --band-muted: #C5D0DE;
  --paid: #1E7B34; --due: #C2410C;
}
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 82px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 600; }
.hero h1 em { font-style: italic; color: #0E7490; }
.hero .lede { font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); margin: 24px 0 32px; max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* the paycheck stub */
.stub { position: relative; background: var(--surface); border-radius: 6px; padding: 30px 30px 26px; font-family: var(--body);
  box-shadow: 0 50px 90px -40px rgba(15,27,45,0.45), 0 0 0 1px rgba(15,27,45,0.06); transform: rotate(-1.2deg);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 6.5px, #000 7px) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 100% / 22px 51% repeat-x;
          mask: radial-gradient(circle 7px at 50% 0, transparent 6.5px, #000 7px) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 100% / 22px 51% repeat-x; }
.stub-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1.5px dashed rgba(15,27,45,0.18); }
.stub-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stub-title { font-family: var(--display); font-size: 26px; font-weight: 600; margin-top: 4px; }
.stub-amount { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--paid); font-variant-numeric: tabular-nums; }
.stub ul { list-style: none; margin: 8px 0 0; padding: 0; }
.stub li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(15,27,45,0.07); }
.stub .bill { font-weight: 600; font-size: 15.5px; }
.stub .when { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.stub .amt { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); transition: color 0.4s; }
.check { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(15,27,45,0.22); position: relative; transition: background 0.35s, box-shadow 0.35s; }
.check::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s cubic-bezier(.3,1.6,.5,1); }
.stub li.paid .check { background: var(--paid); box-shadow: none; }
.stub li.paid .check::after { transform: rotate(45deg) scale(1); }
.stub li.paid .amt { color: var(--muted); }
.stub-left { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--ink); }
.stub-left b { font-family: var(--display); font-size: 19px; }
.stub-left output { font-family: var(--mono); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stub-foot { margin-top: 10px; font-size: 13px; color: var(--muted); }
.stub-wrap { position: relative; max-width: 470px; justify-self: center; width: 100%; }
.stub-wrap::before { content: ""; position: absolute; inset: 22px -14px -14px 22px; background: #D7E0EA; border-radius: 6px; transform: rotate(2.4deg); z-index: -1; }
.hero .wrap > * { min-width: 0; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .stub { transform: none; } }
@media (max-width: 420px) { .stub { padding: 24px 18px 20px; } .stub-left output { font-size: 25px; } }
