:root {
  --navy: #0A1E4A;
  --navy-2: #13306B;
  --blue: #1652D9;
  --blue-soft: #E7EEFF;
  --green: #0B6B33;
  --green-bright: #3BC85A;
  --green-soft: #E3F6E7;
  --amber: #8A4F00;
  --amber-soft: #FDF1DC;
  --red: #A61B12;
  --red-soft: #FDE7E5;
  --ground: #F3F5F7;
  --line: #E3E7EC;
  --ink: #0A1E4A;
  --muted: #4E5A6B;
  --white: #FFFFFF;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: #0F3FA8; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---- Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(243,245,247,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid var(--line); padding: 3px; }
.brand-name em { font-style: normal; color: var(--green); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .15s ease, background-color .2s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.site-nav .btn-small { color: #fff; }
.btn svg { flex: none; }

/* ---- Hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 650; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 22px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { font-size: 14px; color: var(--muted); }

.stage { position: relative; min-height: 570px; }
.stage .phone { position: absolute; right: 0; top: 0; width: 260px; filter: drop-shadow(0 30px 50px rgba(10,30,74,.22)); }
.ledger { position: absolute; left: 0; bottom: 0; width: min(380px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(10,30,74,.14); overflow: hidden; z-index: 2; }
.ledger-head { background: var(--navy); color: #fff; padding: 18px 20px; }
.ledger-head .month { font-size: 13px; color: #C3CCDA; font-weight: 700; }
.ledger-head .total { font-family: var(--display); font-size: 28px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ledger-head .of { font-size: 14px; color: #C3CCDA; font-family: var(--body); font-weight: 600; }
.bar { height: 7px; background: #24427F; border-radius: 99px; margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 74%; background: var(--green-bright); border-radius: 99px; transition: width .7s cubic-bezier(.2,.8,.2,1); }
.ledger ul { list-style: none; margin: 0; padding: 6px 16px 10px; }
.ledger li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #EEF1F4; }
.ledger li:last-child { border-bottom: 0; }
.av { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.who b { display: block; font-size: 15px; }
.who small { color: var(--muted); font-size: 12.5px; }
.amt { text-align: right; font-family: var(--display); font-size: 14.5px; font-weight: 600; }
.chip { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 99px; font-family: var(--body); font-size: 11.5px; font-weight: 800; transition: background-color .35s ease, color .35s ease; }
.chip.paid { background: var(--green-soft); color: var(--green); }
.chip.due { background: var(--amber-soft); color: var(--amber); }
.chip.late { background: var(--red-soft); color: var(--red); }
.chip.pop { animation: pop .45s cubic-bezier(.2,1.4,.3,1); }
@keyframes pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }

/* ---- Feature rows */
.section { padding: 72px 0; }
.section-title { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 14px; max-width: 20ch; }
.section-intro { color: var(--muted); max-width: 56ch; margin: 0 0 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-media { order: -1; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.feature p { color: var(--muted); margin: 0 0 14px; max-width: 48ch; }
.feature ul { margin: 0; padding-left: 20px; color: var(--ink); }
.feature li { margin: 6px 0; }
.feature-media { display: flex; justify-content: center; }
.feature-media img { width: 250px; height: 400px; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }

/* ---- Also included */
.also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.also li { padding: 18px 0; border-top: 1px solid var(--line); }
.also b { display: block; font-size: 17px; margin-bottom: 2px; }
.also span { color: var(--muted); font-size: 15.5px; }

/* ---- Privacy band */
.band { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 0 0 14px; }
.band p { color: #C3CCDA; margin: 0 0 18px; max-width: 52ch; }
.band a { color: #fff; font-weight: 700; }
.band dl { margin: 0; }
.band dt { font-weight: 800; }
.band dd { margin: 2px 0 16px; color: #C3CCDA; font-size: 15.5px; }

/* ---- Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.plan.pro { border: 2px solid var(--blue); }
.plan h3 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 0 0 4px; }
.plan .price { color: var(--muted); margin: 0 0 18px; font-size: 15.5px; }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 7px 0; }

/* ---- Footer */
.site-footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.site-footer a { color: var(--muted); font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .copy { margin-right: auto; }

/* ---- Long-form (privacy) */
.doc { padding: 56px 0 24px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--display); font-weight: 650; font-size: clamp(34px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 10px; }
.doc .meta { color: var(--muted); margin: 0 0 36px; }
.doc .summary { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 14px; padding: 18px 22px; margin: 0 0 40px; }
.doc .summary p { margin: 0; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.25; margin: 44px 0 12px; scroll-margin-top: 90px; }
.doc p, .doc li { line-height: 1.7; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15.5px; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.doc th, .doc td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: #F7F8FA; font-weight: 800; }
.doc tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.toc { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0 0 8px; }
.toc li { break-inside: avoid; margin: 0 0 10px; }

/* ---- Responsive */
@media (max-width: 900px) {
  .hero .wrap, .feature, .band, .plans { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .stage { min-height: 0; }
  .stage .phone { display: none; }
  .ledger { position: relative; width: 100%; max-width: 460px; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
  .band { padding: 34px 26px; }
  .also { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-nav a:not(.btn) { display: none; }
  .toc { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
