/* Handyman landing. Tokens follow app/lib/core/theme/app_theme.dart (Glass, 2026-11-22);
   document styles follow app/lib/services/document_pdf.dart (Manrope). */
:root {
  --bg: #F3ECE4;
  --bg-2: #EDE4DA;
  --paper: #FFFDF9;
  --ink: #2B2523;
  --ink-2: #4B413D;
  --ink-3: #6A5F5A;
  --rule: #E0D6CC;
  --sunken: #EBE2D9;
  --primary: #D24600;
  --primary-hover: #A93800;
  --primary-soft: #FBE3D6;
  --amber: #FDB10C;
  --amber-bg: #FFF1CC;
  --amber-ink: #7A4300;
  --paid: #1B6B43;
  --paid-bg: #E2F2E8;
  --owed: #1D5A86;
  --owed-bg: #E4EEF7;
  --button: #251F1D;
  --dock: #241D1B;
  --dark: #1E1816;
  --sheet-ink: #1E2A36;
  --sheet-2: #4D5B68;
  --shadow: 90, 50, 20;
  --outline: #E0D6CC;
  --bright: #FF7A2E;
  --glow: #FFC79B;
  --overdue: #B3261E;
  --glass: rgba(255,255,255,.72);
  --glass-line: rgba(255,255,255,.75);
  --pdf: #B33A00;
  --pdf-2: #5C524D;
  --sf: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif;
  --sfd: -apple-system, "SF Pro Display", "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; }
img { display: block; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ================= nav ================= */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.stuck { border-bottom-color: var(--rule); }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.1875rem; letter-spacing: -.01em; }
.brand img { height: 28px; width: auto; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.links a:hover { background: rgba(43,37,35,.06); color: var(--ink); }
.links a.cur { color: var(--ink); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
.links .links-cta { display: none; }
.nav-cta { text-decoration: none; font-weight: 600; font-size: .9375rem; background: var(--button); color: #fff; padding: 11px 18px; border-radius: 12px; transition: background .2s; white-space: nowrap; }
.nav-cta:hover { background: #000; }
.menu { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; border-radius: 12px; color: var(--ink); cursor: pointer; }
.menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu path { transition: transform .3s var(--ease), opacity .2s; transform-origin: 12px 12px; }
.nav.open .menu .m1 { transform: translateY(5px) rotate(45deg); }
.nav.open .menu .m2 { opacity: 0; }
.nav.open .menu .m3 { transform: translateY(-5px) rotate(-45deg); }

/* ================= buttons ================= */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px 0 24px; border-radius: 16px; background: var(--button); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.0625rem; transition: background .2s, transform .3s var(--ease); }
.btn:hover { background: #000; }
.btn:active { transform: scale(.98); }
.btn i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--primary); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.light { background: var(--bg); color: var(--ink); }
.btn.light:hover { background: #fff; }
.plat { font-size: .875rem; color: var(--ink-3); }

/* ================= hero (variant D: Today screen + invoice) ================= */
/* The app's own ground: two warm spots of light (root_shell.dart). */
.d-ground { position: relative; isolation: isolate; overflow: clip; }
.d-ground::before, .d-ground::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(70px); }
.d-ground::before { width: 520px; height: 520px; top: -220px; right: -160px; background: var(--bright); opacity: .26; }
.d-ground::after { width: 460px; height: 460px; bottom: -120px; left: -220px; background: var(--glow); opacity: .5; }

/* ---------- hero ---------- */
.d-hero { max-width: var(--max); margin: 0 auto; padding: clamp(16px, 4vw, 48px) var(--gutter) clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }

.d-hero { font-family: var(--sf); font-size: 17px; line-height: 1.5; }
.d-hero h1 { margin: 0; font-weight: 400; font-size: inherit; line-height: inherit; letter-spacing: 0; }
.d-kicker { display: block; margin-bottom: 20px; font: 600 17px/1.3 var(--sf); color: var(--ink-2); letter-spacing: -.2px; }
.d-kicker::before { content: ""; display: inline-block; width: 22px; height: 3px; margin: 0 10px 4px 0; border-radius: 2px; background: var(--primary); vertical-align: middle; }
.d-punch { display: block; font: 900 clamp(2.6rem, 4.6vw, 4.2rem)/.96 "Archivo", sans-serif; font-stretch: 115%; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.d-punch em { font-style: normal; color: var(--primary); }

.d-sub { margin: 26px 0 0; max-width: 31rem; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.3px; }

/* CTA = the app's dock: warm black pills, white disc with the store mark. */
.d-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.d-store { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 24px 6px 6px; border-radius: 99px; background: var(--dock); color: #fff; text-decoration: none; box-shadow: 0 14px 28px -14px rgba(36,29,27,.55); transition: transform .3s var(--ease), background .2s; }
.d-store:hover { background: #000; }
.d-store:active { transform: scale(.98); }
.d-store i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.d-store svg { width: 26px; height: 26px; }
.d-store span { font: 600 18px/1.1 var(--sf); letter-spacing: -.3px; }
.d-store small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: #CFC4BD; }
.d-offline { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; max-width: 31rem; padding: 10px 16px 10px 10px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 8px 22px -16px rgba(var(--shadow), .35); font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.d-offline i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); }
.d-offline svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-offline svg circle { fill: var(--primary); }
.d-offline b { color: var(--ink); font-weight: 600; }
.d-trades { margin: 26px 0 0; font-size: 15px; color: var(--ink-3); }

/* ---------- stage ---------- */
.d-stage { position: relative; min-height: 720px; }
/* Rings from the Owed card, spread big behind the phone. */
.d-rings { position: absolute; z-index: 0; left: 152px; top: 380px; width: 1px; height: 1px; pointer-events: none; }
.d-rings span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 22px solid var(--primary); transform: translate(-50%, -50%); }
.d-rings span:nth-child(1) { width: 300px; height: 300px; opacity: .07; }
.d-rings span:nth-child(2) { width: 440px; height: 440px; opacity: .055; }
.d-rings span:nth-child(3) { width: 580px; height: 580px; opacity: .04; }
.d-rings span:nth-child(4) { width: 720px; height: 720px; opacity: .028; }

/* Phone frame */
.d-phone { position: absolute; z-index: 2; left: 0; top: 50px; width: 304px; height: 640px; padding: 9px; border-radius: 52px; background: #1A1513; box-shadow: inset 0 0 0 2px #4a403b, inset 0 0 0 4px #110d0c, 0 40px 70px -30px rgba(var(--shadow), .6), 0 14px 26px -16px rgba(var(--shadow), .4); }
.d-screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--bg); font-family: var(--sf); color: var(--ink); isolation: isolate; }
.d-screen::before, .d-screen::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(34px); }
.d-screen::before { width: 210px; height: 210px; top: -84px; right: -92px; background: var(--bright); opacity: .38; }
.d-screen::after { width: 190px; height: 190px; bottom: 60px; left: -110px; background: var(--glow); opacity: .5; }
.d-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; }
.d-status { display: flex; justify-content: space-between; align-items: center; padding: 15px 26px 0 30px; font: 600 13px/1 var(--sf); }
.d-status svg { height: 11px; width: auto; }

.d-s-head { display: flex; align-items: center; gap: 10px; padding: 26px 16px 9px; }
.d-s-head > div { flex: 1; }
.d-s-head b { display: block; font: 500 21px/1.15 var(--sfd); letter-spacing: .25px; }
.d-s-head small { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-2); letter-spacing: -.15px; }
.d-s-cal { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.d-s-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; }

.d-card { margin: 0 14px; border-radius: 17px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 8px 22px -14px rgba(var(--shadow), .3); padding: 13px 14px 6px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.d-card-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.d-card-h b { font-size: 13.5px; font-weight: 600; letter-spacing: -.2px; }
.d-card-h span { font-size: 12.5px; font-weight: 600; color: var(--primary); }

.d-row { position: relative; display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--outline); margin-left: 22px; }
.d-row:first-of-type { border-top: 0; }
.d-row .d-ic { position: absolute; left: -22px; top: 10px; width: 15px; height: 15px; fill: none; stroke-width: 1.7; stroke-linecap: round; }
.d-row .d-ic.clock { stroke: var(--primary); }
.d-row .d-ic.alert { stroke: var(--overdue); }
.d-row .d-t { flex: 1; min-width: 0; }
.d-row .d-t b { display: block; font-size: 12.5px; line-height: 1.3; font-weight: 400; letter-spacing: -.3px; }
.d-row.lead .d-t b { font-weight: 700; }
.d-row .d-t small { display: block; font-size: 10px; line-height: 1.35; color: var(--ink-3); }
.d-amt { flex: none; font-size: 12.5px; font-weight: 400; letter-spacing: .2px; font-variant-numeric: tabular-nums; }
.d-row.lead .d-amt { font-weight: 700; }
.d-amt.red { color: var(--overdue); }
.d-amt i, .d-owed-sum i { font-style: normal; font-size: .62em; opacity: .7; }
/* The lead row is the hook: pressed by the "finger", then the invoice comes out. */
.d-row.lead::after { content: ""; position: absolute; inset: 1px -8px 1px -30px; border-radius: 12px; background: var(--primary); opacity: 0; z-index: -1; }
.d-row.lead { isolation: isolate; }

.d-owed { position: relative; overflow: hidden; margin: 10px 14px 0; border-radius: 17px; background: var(--primary); color: #fff; padding: 15px 16px 16px; }
.d-owed .d-r { position: absolute; right: 32px; top: 50%; width: 1px; height: 1px; }
.d-owed .d-r span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 10px solid #fff; transform: translate(-50%, -50%); }
.d-owed .d-r span:nth-child(1) { width: 76px; height: 76px; opacity: .11; }
.d-owed .d-r span:nth-child(2) { width: 120px; height: 120px; opacity: .09; }
.d-owed .d-r span:nth-child(3) { width: 164px; height: 164px; opacity: .07; }
.d-owed .d-r span:nth-child(4) { width: 208px; height: 208px; opacity: .05; }
.d-owed .d-r span:nth-child(5) { width: 252px; height: 252px; opacity: .03; }
.d-owed b { position: relative; display: block; font-size: 13px; font-weight: 600; letter-spacing: -.2px; }
.d-owed-sum { position: relative; display: block; margin-top: 3px; font: 500 25px/1.15 var(--sfd); letter-spacing: .3px; }
.d-owed small { position: relative; display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; }
.d-owed .d-go { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.d-owed .d-go svg { width: 15px; height: 15px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.d-dock { position: absolute; left: 9px; right: 9px; bottom: 16px; height: 54px; border-radius: 28px; background: var(--dock); display: grid; grid-template-columns: 1fr 1fr 50px 1fr 1fr; align-items: center; padding: 0 6px; box-shadow: 0 10px 20px -10px rgba(36,29,27,.5); }
.d-tab { display: grid; justify-items: center; gap: 2px; font-size: 8.5px; font-weight: 500; color: #B9ACA5; }
.d-tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.d-tab.on { color: var(--bright); font-weight: 700; }
.d-tab.on svg { fill: var(--bright); stroke: var(--bright); stroke-linejoin: round; }
.d-plus { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto; border-radius: 50%; background: #fff; }
.d-plus svg { width: 18px; height: 18px; stroke: var(--primary); stroke-width: 2.2; stroke-linecap: round; }
.d-home-ind { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: 100px; height: 4px; border-radius: 3px; background: #1A1513; }

/* Invoice: the PDF the client gets (document_pdf.dart, classic look, navy accent). */
.d-sheet { position: absolute; z-index: 1; right: -28px; top: 0; width: 340px; border-radius: 6px; background: #fff; font: 400 9.5px/1.45 "Manrope", sans-serif; color: #231F1D; box-shadow: 0 1px 2px rgba(var(--shadow), .1), 0 34px 60px -26px rgba(var(--shadow), .5); transform: rotate(2deg); transform-origin: 0 50%; }
.d-sh-band { border-radius: 6px 6px 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 18px 18px 14px; background: var(--pdf); color: #fff; }
.d-sh-biz { display: flex; gap: 8px; align-items: center; }
.d-sh-logo { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.d-sh-logo svg { width: 17px; height: 17px; fill: none; stroke: var(--pdf); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-sh-biz b { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.d-sh-biz span { display: block; font-size: 7.5px; opacity: .92; }
.d-sh-due { text-align: right; flex: none; }
.d-sh-due i { display: inline-block; margin-bottom: 3px; padding: 2px 6px; border-radius: 99px; background: #fff; color: #231F1D; font: 800 6.5px/1.3 "Manrope", sans-serif; letter-spacing: .06em; font-style: normal; }
.d-sh-due span { display: block; font-size: 7.5px; }
.d-sh-due strong { display: block; font-size: 21px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.d-sh-body { padding: 12px 18px 16px; }
.d-sh-to { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; font-size: 8px; }
.d-sh-to .d-k { font-size: 6.5px; font-weight: 700; letter-spacing: .06em; color: var(--pdf-2); }
.d-sh-to .d-v { font-size: 9.5px; font-weight: 700; }
.d-sh-t { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.d-sh-t th { text-align: left; font-size: 6.5px; font-weight: 700; letter-spacing: .05em; color: var(--pdf-2); padding: 0 0 4px; border-bottom: 1px solid var(--pdf); }
.d-sh-t td { padding: 3px 0; border-bottom: .5px solid #EFE7E1; }
.d-sh-t .d-n { text-align: right; }
.d-sh-t .d-g td { padding-top: 6px; border-bottom: 0; font-size: 6.5px; font-weight: 700; letter-spacing: .05em; color: var(--pdf); }
.d-sh-mid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 9px; align-items: start; margin-top: 10px; }
.d-sh-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.d-sh-ph figure { box-shadow: 0 0 0 .5px rgba(35,31,29,.18); }
.d-sh-ph figure { position: relative; margin: 0; border-radius: 4px; overflow: hidden; }
.d-sh-ph img { display: block; width: 100%; height: auto; }
.d-sh-ph figcaption { position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 99px; background: rgba(35,31,29,.82); color: #fff; font-size: 6.5px; font-weight: 700; letter-spacing: .04em; }
.d-sh-tot div { display: flex; justify-content: space-between; padding: 1px 0; font-size: 8px; color: #5C524D; }
.d-sh-tot .d-big { margin-top: 2px; padding-top: 3px; border-top: .5px solid #E3D9D2; font-weight: 700; color: #231F1D; }
.d-sh-tot .d-due { margin-top: 4px; padding: 5px 6px; border: 1.5px solid var(--pdf); border-radius: 5px; font-size: 8.5px; font-weight: 800; color: #231F1D; }
.d-sh-tot .d-due span:last-child { color: var(--pdf); }
.d-sh-pay { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 9px; border-radius: 6px; background: #F7F1EC; font-size: 8px; line-height: 1.5; }
.d-sh-pay b { display: block; font-size: 9.5px; color: #231F1D; margin-bottom: 1px; }
.d-sh-pay span { display: block; }
.d-sh-pay em { font-style: normal; font-weight: 700; }
.d-sh-scan { color: var(--pdf-2); font-size: 7px; }
.d-sh-qr { flex: none; width: 48px; height: 48px; border-radius: 3px; }
.d-tag-logo { position: absolute; z-index: 2; left: -10px; top: -14px; padding: 5px 10px; border-radius: 99px; background: var(--dock); color: #fff; font: 600 11px/1 var(--sf); letter-spacing: -.1px; transform: rotate(-2deg); }

/* Caption under the sheet: what the picture says, and that it is an example. */
.d-cap { position: absolute; z-index: 3; left: 336px; right: -28px; top: 560px; }
.d-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }

/* Link from the lead row to the sheet. */
.d-link { display: flex; align-items: center; gap: 10px; }
.d-link svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--primary); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-link span { font: 600 15px/1.3 var(--sf); letter-spacing: -.2px; color: var(--ink); }

/* ---------- motion: plays once; final frame = static frame ---------- */
@media (prefers-reduced-motion: no-preference) {
  .d-phone { animation: up .9s var(--ease) both; }
  .d-sheet { animation: out 1s 1.35s var(--ease) both; }
  .d-row.lead::after { animation: press 1.1s .9s ease both; }
  .d-cap { animation: fade .6s 2.1s ease both; }
  .d-tag-logo { animation: fade .5s 2.3s ease both; }
}
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes out { from { opacity: 0; transform: translateX(-150px) rotate(0deg) scale(.86); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes press { 0% { opacity: 0; } 25% { opacity: .14; } 100% { opacity: .07; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .row.lead::after { opacity: .07; } }
.d-row.lead::after { opacity: .07; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .d-sheet { width: 300px; right: -10px; }
  .d-cap { left: 320px; right: -10px; top: 540px; }
}
@media (max-width: 960px) {
  .d-hero { grid-template-columns: 1fr; }
  .d-stage { max-width: 640px; width: 100%; margin: 0 auto; }
  .d-sheet { right: 0; }
  .d-cap { right: 0; }
}
@media (max-width: 620px) {
  .d-stage { min-height: 0; max-width: 420px; }
  .d-sheet { position: relative; right: auto; top: auto; width: 100%; transform: rotate(-1.5deg); animation: none; }
  .d-phone { position: relative; left: auto; top: auto; margin: -96px auto 0; width: 292px; height: 610px; animation: none; }
  .d-rings { left: 50%; top: 520px; }
  .d-cap { position: static; margin-top: 22px; }
  .d-link svg { transform: rotate(90deg); }
  .d-trades { margin-top: 18px; }
}
@media (max-width: 360px) {
  .d-punch { font-size: 2.3rem; }
}

/* ================= who ================= */
.who { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.who p { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter); font-weight: 700; font-stretch: 108%; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.who em { font-style: normal; color: var(--primary); }
.who span { color: var(--ink-3); font-weight: 600; }

/* ================= shared section ================= */
.sec { padding: clamp(72px, 10vw, 136px) 0; }
.sec-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(32px, 6vw, 112px); align-items: center; }
h2 { margin: 0; font-weight: 820; font-stretch: 114%; font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: .98; letter-spacing: -.028em; }
.lead { margin: 22px 0 0; max-width: 34rem; color: var(--ink-2); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); text-wrap: pretty; }
.lead a { color: var(--primary); text-underline-offset: 3px; }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; max-width: 34rem; }
.ticks li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--rule); color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 7px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.ticks b { color: var(--ink); font-weight: 650; }

/* ================= offline (dark band) ================= */
.offline { background: var(--dark); color: #F3ECE4; }
.offline .lead { color: #CFC3B8; }
.offline h2 { font-size: clamp(2.75rem, 7vw, 6rem); }
.split { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid rgba(243,236,228,.16); }
.split-col { padding: 32px clamp(0px, 3vw, 40px) 0 0; }
.split-col.wait { padding: 32px 0 0 clamp(24px, 3vw, 40px); border-left: 1px solid rgba(243,236,228,.16); }
.split h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 1.1875rem; font-weight: 700; }
.split h3 svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #57C98A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.split .wait h3 svg { stroke: var(--amber); }
.split ul { list-style: none; margin: 0; padding: 0; }
.split li { padding: 12px 0; border-bottom: 1px solid rgba(243,236,228,.1); color: #E4D9CE; }
.queue { display: flex; gap: 16px; align-items: flex-start; padding: 18px; margin-bottom: 8px; border-radius: 16px; background: rgba(243,236,228,.06); }
.q-mic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; }
.q-mic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.q-mic b { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--amber); color: #2B1D00; font-size: .75rem; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--dark); }
.queue p { margin: 0; color: #CFC3B8; font-size: .9375rem; }
.queue strong { display: block; color: #F3ECE4; font-weight: 650; margin-bottom: 2px; }

/* ================= docs ================= */
.docs-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.docs-top .lead { margin: 0; }
.trail { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); position: relative; counter-reset: none; }
.trail::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; border-top: 1.5px dashed rgba(210,70,0,.45); z-index: 0; }
.paper:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; right: calc(-1 * clamp(16px, 3vw, 40px) / 2 - 15px); width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10h10M11 6l4 4-4 4'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 0 0 5px var(--bg); }
.paper { position: relative; z-index: 1; font-family: "Manrope", sans-serif; color: var(--sheet-ink); background: var(--paper); border-radius: 6px; padding: 22px 22px 20px; min-height: 196px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(var(--shadow), .08), 0 20px 40px -22px rgba(var(--shadow), .4); font-variant-numeric: tabular-nums; }
.paper { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.paper:nth-child(1) { z-index: 3; transform: rotate(-1.2deg); }
.paper:nth-child(2) { z-index: 2; }
.paper:nth-child(3) { transform: rotate(1deg); }
.paper:hover { transform: translateY(-4px) rotate(0); box-shadow: 0 1px 2px rgba(var(--shadow), .08), 0 28px 48px -22px rgba(var(--shadow), .5); }
.p-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #E6E1DA; }
.p-h b { font-size: 15px; font-weight: 800; letter-spacing: .03em; }
.p-h span { font-size: 12px; color: var(--sheet-2); }
.p-l { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.p-l.sub { font-weight: 500; color: var(--sheet-2); }
.tag { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font: 700 13px "Archivo", sans-serif; }
.tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag.yes, .tag.paid { color: var(--paid); background: var(--paid-bg); }
.tag.owed { color: var(--owed); background: var(--owed-bg); }
.trail-note { margin: 16px 0 0; font-size: .8125rem; color: var(--ink-3); }
/* Real PDFs from the app, three templates side by side. */
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.samples figure { margin: 0; }
.samples img { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(43, 37, 35, .08), 0 28px 50px -28px rgba(43, 37, 35, .45); transition: transform .4s var(--ease); }
.samples figure:nth-child(1) img { transform: rotate(-1.5deg); }
.samples figure:nth-child(3) img { transform: rotate(1.5deg); }
.samples figure:hover img { transform: rotate(0) translateY(-6px); }
.samples figcaption { margin-top: 14px; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.samples figcaption b { display: block; color: var(--ink); }
@media (max-width: 820px) {
  .samples { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .samples figure { scroll-snap-align: start; }
  .samples figure img { transform: none !important; }
}
.facts3 { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.facts3 > div { padding-top: 20px; border-top: 2px solid var(--ink); }
.facts3 h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 750; font-stretch: 106%; letter-spacing: -.01em; }
.facts3 p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ================= money ================= */
.money { background: var(--bg-2); }
.two.rev > :first-child { order: 0; }
.m-card { background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -32px rgba(var(--shadow), .45); font-variant-numeric: tabular-nums; }
.m-top { display: flex; justify-content: space-between; align-items: center; font-size: 1.0625rem; }
.m-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.m-nums span { display: block; font-size: .875rem; color: var(--ink-3); }
.m-nums b { display: block; font-weight: 800; font-stretch: 108%; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -.02em; white-space: nowrap; }
.m-nums small { font-size: .62em; font-weight: 500; opacity: .55; }
.m-nums .in { color: var(--paid); }
.m-nums .left { color: var(--paid); }
.m-nums > div:last-child { padding-left: 14px; border-left: 2px solid #BFE0CC; }
.m-bar { position: relative; height: 14px; margin-top: 20px; border-radius: 7px; background: #BFE0CC; overflow: hidden; }
.m-bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 7px 0 0 7px; box-shadow: 2px 0 0 #fff; }
.m-legend { display: flex; gap: 18px; margin-top: 10px; font-size: .8125rem; color: var(--ink-3); }
.m-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.m-legend .dk { background: var(--ink); } .m-legend .lt { background: #BFE0CC; }
.m-list { list-style: none; margin: 24px 0 0; padding: 0; }
.m-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); }
.m-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--sunken); display: grid; place-items: center; }
.m-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-ic.paid { background: var(--paid-bg); } .m-ic.paid svg { stroke: var(--paid); }
.m-list b { display: block; font-weight: 600; font-size: .9375rem; }
.m-list small { color: var(--ink-3); font-size: .8125rem; }
.m-list em { font-style: normal; font-weight: 700; }
.m-list em.in { color: var(--paid); }

/* ================= faq ================= */
.faq-in { align-items: start; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.faq-in > :first-child { position: sticky; top: 108px; }
.qa details { border-top: 1px solid var(--rule); }
.qa details:last-child { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-weight: 650; font-size: 1.125rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); margin-top: -6px; transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease); }
.qa details[open] summary::after { margin-top: 6px; transform: rotate(225deg); }
.qa summary:hover { color: var(--primary); }
.qa details[open] summary { color: var(--primary); }
.qa p { margin: 0 0 22px; max-width: 40rem; color: var(--ink-2); }

/* ================= final ================= */
.final { position: relative; overflow: hidden; background: #B33C00; color: #fff; }
.final::after { content: ""; position: absolute; right: -6vw; bottom: -22%; width: min(40vw, 560px); aspect-ratio: 1.15; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 400' fill='none' stroke='%23fff' stroke-width='34' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 190L230 32l200 158M72 172v210M388 172v210'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .09; pointer-events: none; }
.final-in { position: relative; z-index: 1; }
.final-in { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter); }
.final h2 { font-size: clamp(2.5rem, 6.4vw, 5.5rem); max-width: 16ch; line-height: .95; }
.final .cta { margin-top: 36px; }
.final .plat { color: #fff; font-size: .9375rem; }

/* ================= footer ================= */
.foot { background: var(--dark); color: #CFC3B8; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .6fr)); gap: 32px; }
.foot .brand { color: #F3ECE4; }
.foot-brand p { margin: 14px 0 0; max-width: 22rem; }
.foot h3 { margin: 6px 0 12px; font-size: .875rem; font-weight: 700; color: #F3ECE4; }
.foot nav a { display: block; padding: 6px 0; text-decoration: none; transition: color .2s; }
.foot nav a:hover { color: #fff; }
.foot-base { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; padding: 20px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(243,236,228,.12); font-size: .875rem; color: #A89A8F; }

@keyframes blink { 50% { opacity: .2; } }

/* ================= responsive ================= */
@media (max-width: 1180px) {
  .facts3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 40px); }
}
@media (max-width: 980px) {
  .nav-cta { display: none; }
  .menu { display: grid; place-items: center; }
  .links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 20px 30px -20px rgba(var(--shadow), .35); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav.open .links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease); }
  .links a { padding: 14px 4px; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--rule); }
  .links a.cur { box-shadow: none; color: var(--primary); }
  .links .links-cta { display: block; margin-top: 16px; border: 0; background: var(--button); color: #fff; text-align: center; border-radius: 14px; font-weight: 600; }
  .top, .two, .docs-top, .faq-in { grid-template-columns: 1fr; }
  .two.rev > .copy { order: -1; }
  .trail { grid-template-columns: 1fr; max-width: 420px; }
  .trail::before { left: 50%; right: auto; top: 6%; bottom: 6%; border-top: 0; border-left: 1.5px dashed rgba(210,70,0,.45); }
  .paper:nth-child(n) { transform: none; min-height: 0; }
  .paper:not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: calc(-1 * clamp(16px, 3vw, 40px) / 2 - 15px); margin: 0 0 0 -15px; transform: rotate(90deg); }
  .faq-in > :first-child { position: static; }
  .final::after { width: 70vw; right: -18vw; bottom: -6%; }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split-col.wait { padding-left: 0; border-left: 0; margin-top: 24px; border-top: 1px solid rgba(243,236,228,.16); }
  .facts3 { grid-template-columns: 1fr; }
  .m-nums { grid-template-columns: 1fr 1fr; }
  .m-nums > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
  .cta .btn { flex: 1 1 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
