/* ===== Sunrise — light, warm, editorial. Preview only. ===== */
:root {
  --white: #ffffff;
  --cream: #fcf6f0;      /* app paper */
  --peach-1: #f8ece2;    /* warm paper, deeper */
  --peach-2: #f3dccb;
  --silk-blue: #7d9dd6;  /* periwinkle silk */
  --silk-blue-deep: #3a5a99;
  --silk-blue-soft: #dbe5f6;
  --gold: #f1bf72;       /* golden silk */
  --gold-soft: #f8e2bf;
  --apricot: #d9953a;    /* accent for marks and rails (gold, deepened) */
  --ink: #14161c;
  --ink-2: #3a3d46;
  --muted: #66625b;
  --line: #ece6de;
  --line-2: #e0d8cd;
  --navy: #1e2a4a;
  --navy-hover: #131c35;
  --emerald: #1f7a57;
  --emerald-bg: #e3f2ea;
  --stamp-red: #c0352b;  /* PAID stamp, as in the app */
  --ochre: #a04a0c;
  --ochre-bg: #fdebdc;
  --plum: #6b4380;
  --plum-bg: #f1e7f5;
  --sky: #3b6aa5;
  --sky-bg: #e6eef8;
  --focus: #3b6aa5;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* Type roles: 8 page roles + 4 roles for product UI shown inside devices. */
  --fs-display-xl: clamp(44px, 5vw, 72px);   /* was 52–96px (owner, 30 Nov 2026: too large) */
  --fs-display-l: clamp(34px, 3.5vw, 50px);   /* was 40–68px */
  --fs-display-m: clamp(28px, 2.6vw, 36px);   /* was 32–44px */
  --fs-title: 24px;     /* card and annotation headings */
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;     /* nav, captions, secondary */
  --fs-label: 12px;     /* uppercase labels, stage names */
  --fs-ui-figure: 26px; /* money figures inside product UI */
  --fs-ui-title: 20px;
  --fs-ui: 13px;
  --fs-ui-meta: 12px;
  --fw-display: 350;
  --fw-title: 500;
  --fw-strong: 600;

  /* Shape and depth */
  --r-xs: 8px;    /* chips, keys, stamps */
  --r-s: 12px;    /* inner cards, UI buttons */
  --r-m: 20px;    /* cards */
  --r-l: 28px;    /* windows, large panels */
  --pad-s: 14px;
  --pad-m: 24px;
  --e1: 0 1px 2px rgba(20, 22, 28, .04), 0 18px 40px rgba(20, 22, 28, .07);
  --e2: 0 2px 6px rgba(20, 22, 28, .04), 0 40px 90px rgba(20, 22, 28, .12);
}
* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; }
/* One continuous page background: light cream at the top, warming to peach at the closing section */
html { background: linear-gradient(180deg, #fdf8f3 0%, var(--cream) 18%, var(--cream) 55%, var(--peach-1) 82%, var(--peach-2) 100%); }
p, summary, li { text-wrap: pretty; }
body { margin: 0; background: transparent; color: var(--ink); font: var(--fs-body)/1.65 var(--sans); font-variant-numeric: tabular-nums; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--silk-blue-soft); color: var(--ink); }
b, strong { font-weight: var(--fw-strong); }
small { font-size: var(--fs-ui-meta); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: var(--fs-small); font-weight: var(--fw-strong); text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }
main:focus { outline: none; }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

/* type: oversized light display */
.display { margin: 0; font-weight: var(--fw-display); letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
.d-xl { font-size: var(--fs-display-xl); }
.d-l { font-size: var(--fs-display-l); }
.d-m { font-size: var(--fs-display-m); }
.label { color: var(--ochre); font-size: var(--fs-label); font-weight: var(--fw-strong); letter-spacing: .12em; text-transform: uppercase; }
.lead { margin: 24px 0 0; max-width: 34em; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.55; text-wrap: pretty; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: var(--fs-body); font-weight: var(--fw-strong); cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(30, 42, 74, .18); }
.btn-dark:hover { background: var(--navy-hover); transform: translateY(-1px); }
.btn-dark:active { transform: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.center .ctas { justify-content: center; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: var(--fs-small); }

/* nav */
/* Nav has no bar. Content scrolling up into it dissolves into a soft fog: a blur and paper tint that fade out downwards, with no edge */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; }
.nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(252, 246, 240, .82) 0%, rgba(252, 246, 240, .55) 45%, rgba(252, 246, 240, 0) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-ui-title); letter-spacing: -.02em; }
.mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-xs); background: var(--navy); color: #fff; font-size: var(--fs-small); }
.nav-links { display: flex; gap: 28px; margin: 0 auto; color: var(--ink-2); font-size: var(--fs-small); font-weight: var(--fw-title); }
.nav-links a:hover { color: var(--ink); }
.nav-login { color: var(--ink-2); font-size: var(--fs-small); font-weight: var(--fw-title); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: var(--fs-small); }
.progress { display: none; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold), var(--silk-blue)); }

/* ===== hero: sunrise ===== */
.hero { position: relative; min-height: 100svh; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
/* Silk waves: the app's default background, redrawn as SVG so it scales to any width. */
.silk { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.silk .drift-a { animation: drift-a 22s ease-in-out infinite alternate; transform-origin: 0 50%; }
.silk .drift-b { animation: drift-b 28s ease-in-out infinite alternate; transform-origin: 100% 50%; }
.silk-move { position: absolute; inset: 0; z-index: -1; transform: translateY(var(--silk-y, 0px)); background: radial-gradient(70% 60% at 90% 55%, rgba(125, 157, 214, .28), rgba(125, 157, 214, 0) 70%), radial-gradient(60% 50% at 10% 30%, rgba(241, 191, 114, .18), rgba(241, 191, 114, 0) 70%); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 88%); mask-image: linear-gradient(180deg, #000 55%, transparent 88%); }
@keyframes drift-a { to { transform: translate(-14px, 10px) scale(1.02, .97); } }
@keyframes drift-b { to { transform: translate(18px, -12px) scale(.98, 1.04); } }
.dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.dust i { position: absolute; border-radius: 50%; background: rgb(226, 170, 90); opacity: 0; animation: mote linear infinite; }
.dust.is-paused i { animation-play-state: paused; }
@keyframes mote { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: var(--a); } 70% { opacity: var(--a); } 100% { transform: translate(var(--dx), -42vh); opacity: 0; } }
.hero-copy { position: relative; }
.hero .lead { max-width: 36em; margin-top: 44px; color: var(--ink-2); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; text-wrap: balance; }

/* hero product window resting on the silk */
.hero-card { position: relative; width: min(980px, 100%); margin: 56px auto 0; transform: translateY(var(--card-y, 0px)); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.window { border-radius: var(--r-l) var(--r-l) 0 0; background: var(--white); box-shadow: var(--e2); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #eadfd3; }
.win-bar span { margin: 0 auto; padding: 3px 12px; border-radius: var(--r-xs); background: var(--cream); color: var(--muted); font-size: var(--fs-ui-meta); }
.win-body { display: grid; grid-template-columns: 190px 1fr; min-height: 380px; font-size: var(--fs-ui); }
.win-side { display: grid; align-content: start; gap: 3px; padding: 18px 12px; border-right: 1px solid var(--line); color: var(--muted); }
.win-side b { margin: 0 8px 14px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.win-side b .mark { width: 26px; height: 26px; padding: 0; font-size: var(--fs-ui); line-height: 1; border-radius: var(--r-xs); }
.win-side > span { padding: 8px 10px; border-radius: var(--r-xs); }
.win-side .on { background: var(--silk-blue-soft); color: var(--ink); font-weight: var(--fw-strong); }
.win-main { padding: 22px 24px; }
.win-top { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.win-top small { color: var(--muted); }
.win-top .win-title { margin: 2px 0 0; display: block; font-size: var(--fs-ui-title); font-weight: var(--fw-title); letter-spacing: -.02em; }
.win-top .btn { min-height: 36px; padding: 0 14px; font-size: var(--fs-ui); box-shadow: none; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; padding-block: 18px; border-block: 1px solid var(--line); }
.kpi { padding: 0 20px; border-left: 1px solid var(--line); }
.kpi:first-child { padding-left: 0; border-left: 0; }
.kpi small { display: block; color: var(--muted); font-size: var(--fs-ui-meta); }
.kpi b { display: block; margin: 4px 0 8px; font-size: var(--fs-ui-figure); font-weight: var(--fw-strong); letter-spacing: -.03em; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: var(--fs-ui-meta); font-weight: var(--fw-strong); }
.p-green { background: var(--emerald-bg); color: var(--emerald); }
.p-ochre { background: var(--ochre-bg); color: var(--ochre); }
.p-plum { background: var(--plum-bg); color: var(--plum); }
.p-sky { background: var(--sky-bg); color: var(--sky); }
.p-grey { background: #f1ede7; color: var(--muted); }
.win-chart { width: 100%; height: 120px; margin-top: 16px; }

/* ===== section: time is money (big statement + highlighter) ===== */
.section { padding: clamp(110px, 13vw, 170px) 0; }
.mark-hl { position: relative; white-space: nowrap; }
.mark-hl::before { content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .08em; height: .38em; z-index: -1; border-radius: .08em; background: linear-gradient(90deg, rgba(241, 191, 114, .75), rgba(125, 157, 214, .55)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease) .25s; }
.is-in .mark-hl::before, .mark-hl.is-in::before { transform: scaleX(1); }
.statement { position: relative; z-index: 0; isolation: isolate; overflow: hidden; padding-block: clamp(90px, 10vw, 130px); }
.doc-no { text-align: right; }
.doc-top span, .doc-meta span { white-space: nowrap; }
.anatomy { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: 72px; }
.doc { position: relative; padding: 36px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); box-shadow: var(--e1); font-size: var(--fs-ui); }
.doc-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc-top b { display: block; font-size: var(--fs-ui-title); font-weight: var(--fw-title); letter-spacing: -.02em; }
.doc-top span, .doc-meta span { color: var(--muted); }
.doc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; }
.doc-meta b { display: block; font-weight: var(--fw-strong); }
.doc .row { padding: 10px 0; }
.doc .row b { font-weight: var(--fw-strong); }
.doc-total { display: flex; justify-content: space-between; margin-top: 4px; padding-top: 12px; border-top: 1.5px solid var(--ink); font-size: var(--fs-body); font-weight: var(--fw-strong); }
.doc-bas { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding: 12px 14px; border-radius: var(--r-s); background: var(--plum-bg); color: var(--plum); font-weight: var(--fw-strong); }
.hit { position: relative; }
/* BAS quarter panel */
.bas { display: grid; gap: 18px; }
.bas-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bas-head b { display: block; font-size: var(--fs-ui-title); font-weight: var(--fw-title); letter-spacing: -.02em; }
.bas-head span { color: var(--muted); }
.seg { display: flex; padding: 3px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); white-space: nowrap; }
.seg span { padding: 5px 12px; border-radius: 999px; color: var(--muted); font-size: var(--fs-ui-meta); font-weight: var(--fw-strong); }
.seg .on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 22, 28, .08); }
.bas-rows { position: relative; }
.bas-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.bas-row:first-of-type { border-top: 0; }
.bas-row .code { display: grid; place-items: center; height: 24px; border-radius: 6px; background: var(--silk-blue-soft); color: var(--silk-blue-deep); font-size: var(--fs-ui-meta); font-weight: var(--fw-strong); }
.bas-row span:not(.code) { color: var(--ink-2); }
.bas-row b { font-weight: var(--fw-strong); white-space: nowrap; }
.bas-total { position: relative; display: flex; justify-content: space-between; padding-top: 14px; border-top: 1.5px solid var(--ink); font-size: var(--fs-body); font-weight: var(--fw-strong); }
.bas-total b { color: var(--stamp-red); white-space: nowrap; }
.bas-due { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--r-s); background: var(--plum-bg); }
.bas-due small { display: block; color: var(--plum); font-weight: var(--fw-strong); }
.bas-due b { color: var(--plum); font-size: var(--fs-body); font-weight: var(--fw-strong); white-space: nowrap; }
.bas-rem { display: flex; gap: 6px; flex-wrap: wrap; }
.bas-rem .chip { background: var(--white); font-size: var(--fs-ui-meta); }
.pin { position: absolute; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ochre); color: #fff; font-size: var(--fs-ui-meta); font-weight: var(--fw-strong); box-shadow: 0 0 0 4px var(--white); }
.pin-1 { right: -48px; top: 2px; } .pin-2 { right: -48px; top: 8px; } .pin-3 { right: -48px; top: 50%; translate: 0 -50%; }
/* notes sit beside the BAS panel, evenly spaced; the numbers tie each note to its marker */
.notes { gap: 40px; }
.bas-rows .pin-1 { top: 50%; translate: 0 -50%; }
.doc .pin { color: var(--white); }
.notes { display: grid; gap: 36px; margin: 0; padding: 0; list-style: none; counter-reset: n; }
.notes li { display: grid; grid-template-columns: 24px 1fr; column-gap: 18px; }
.notes .pin { position: static; margin-top: 4px; box-shadow: none; }
.notes h3 { margin: 0 0 6px; font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.02em; line-height: 1.2; }
.notes p { grid-column: 2; margin: 0; max-width: 32em; color: var(--ink-2); }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-green { background: var(--emerald-bg); color: var(--emerald); }
.i-ochre { background: var(--ochre-bg); color: var(--ochre); }
.i-plum { background: var(--plum-bg); color: var(--plum); }
.i-sky { background: var(--sky-bg); color: var(--sky); }

/* ===== section: sticky phone story (scroll pinning) ===== */
.silk-deco { position: absolute; z-index: -1; height: auto; pointer-events: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* ===== Ambient silk behind frosted glass (whole page) ===== */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero .silk-move svg { display: none; }
.rib { position: absolute; left: -30vw; width: 160vw; height: 56vh; filter: blur(18px); will-change: transform; }
.rib svg { display: block; width: 100%; height: 100%; }
.rib-a { top: 6vh; opacity: 1; animation: rib-a 46s ease-in-out infinite alternate; }
.rib-b { top: 30vh; opacity: .9; animation: rib-b 58s ease-in-out infinite alternate; }
.rib-c { top: 22vh; opacity: .9; filter: blur(10px); animation: rib-c 40s ease-in-out infinite alternate; }
.rib-d { top: 58vh; opacity: .7; animation: rib-d 64s ease-in-out infinite alternate; }
@keyframes rib-a { from { transform: translate(-6vw, -2vh) rotate(-2deg); } to { transform: translate(8vw, 6vh) rotate(3deg); } }
@keyframes rib-b { from { transform: translate(7vw, 4vh) rotate(2deg) scaleY(1.1); } to { transform: translate(-8vw, -5vh) rotate(-3deg) scaleY(.9); } }
@keyframes rib-c { from { transform: translate(-4vw, 6vh) rotate(-1deg); } to { transform: translate(6vw, -4vh) rotate(2deg); } }
@keyframes rib-d { from { transform: translate(5vw, 0) rotate(1deg); } to { transform: translate(-6vw, -6vh) rotate(-2deg); } }
/* Frosted, matte glass over the silk: translucent paper tint plus a fine grain */
.frost { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .29  0 0 0 0 .25  0 0 0 .32 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"), rgba(252, 246, 240, .34); }
.story { position: relative; isolation: isolate; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.story-pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.phone { position: relative; width: 320px; padding: 11px; border-radius: 52px; background: #15171c; box-shadow: 0 40px 90px rgba(20, 22, 28, .18), 0 0 0 1px rgba(0, 0, 0, .05); }
.screen-stack { position: relative; height: 640px; border-radius: 42px; background: var(--cream); overflow: hidden; }
.screen-stack::before { content: ""; position: absolute; left: 50%; top: 12px; z-index: 3; width: 100px; height: 28px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.scr { position: absolute; inset: 0; display: grid; align-content: start; gap: 10px; padding: 56px 18px 20px; font-size: var(--fs-ui); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
.scr-shot { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: top; display: none; }
.scr.has-shot .scr-shot { display: block; }
.scr.has-shot > :not(.scr-shot) { visibility: hidden; }
.screen-stack:has(.scr.is-on.has-shot)::before { display: none; } /* screenshots carry their own Dynamic Island */

.scr-h { display: flex; justify-content: space-between; align-items: center; }
.scr-h b { font-size: var(--fs-ui-title); font-weight: var(--fw-strong); letter-spacing: -.02em; }
.scr-h span { color: var(--navy); font-weight: var(--fw-strong); font-size: var(--fs-ui); }
.scr-card { padding: var(--pad-s); border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); }
.scr-card small { display: block; color: var(--muted); font-size: var(--fs-ui-meta); }
.scr-card strong { display: block; margin: 2px 0 6px; font-size: var(--fs-ui-figure); font-weight: var(--fw-strong); letter-spacing: -.03em; }
.row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row span { color: var(--muted); }
.receipt { padding: var(--pad-s); border-radius: var(--r-s); background: var(--white); box-shadow: var(--e1); font: var(--fs-ui-meta)/1.5 ui-monospace, Menlo, monospace; color: #555; transform: rotate(-1.5deg); }
.receipt b { color: var(--ink); }
.cta-mini { display: grid; place-items: center; height: 42px; border-radius: var(--r-s); background: var(--navy); color: #fff; font-weight: var(--fw-strong); }
.ring { position: relative; width: 150px; aspect-ratio: 1; margin: 6px auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring div b { font-size: var(--fs-ui-figure); font-weight: var(--fw-strong); }
.ring div span { color: var(--muted); font-size: var(--fs-ui-meta); }
.steps { padding: 18vh 0 22vh; }
.step { min-height: 72vh; display: grid; align-content: center; }
.step h3 { opacity: .68; transition: opacity .5s var(--ease); }
.step.is-on h3 { opacity: 1; }
.step .label { display: block; margin-bottom: 16px; }
.step h3 { margin: 0; font-size: var(--fs-display-m); font-weight: var(--fw-display); letter-spacing: -.035em; line-height: 1.08; }
.step p { margin: 16px 0 0; max-width: 28em; color: var(--ink-2); }
.story-h { margin: 0 0 8vh; }

/* ===== section: invoice journey (scroll-driven horizontal track) ===== */
.journey { position: relative; height: 420vh; }
.j-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding-top: 72px; overflow: hidden; }
.j-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.j-head .display em { font-style: normal; color: var(--ochre); }
.j-head p { max-width: 24em; margin: 0; color: var(--ink-2); }
.j-rail { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 40px auto 0; padding: 0; list-style: none; }
.j-rail::before, .j-rail::after { content: ""; position: absolute; left: 8.33%; right: 8.33%; top: 7px; height: 2px; border-radius: 2px; background: var(--line-2); }
.j-rail::after { right: auto; width: calc(83.33% * var(--jp, 0)); background: linear-gradient(90deg, var(--gold), var(--silk-blue), var(--emerald)); }
.j-rail li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-small); font-weight: var(--fw-strong); transition: color .3s; }
.j-rail li i { width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow .3s, background .3s; }
.j-rail li.is-done { color: var(--ink); }
.j-rail li.is-done i { background: var(--silk-blue); box-shadow: 0 0 0 4px rgba(125, 157, 214, .22); }
.j-rail li.is-paid i { background: var(--emerald); box-shadow: 0 0 0 4px rgba(31, 122, 87, .18); }
.j-view { position: relative; margin-top: 44px; }
.j-track { display: flex; gap: 32px; width: max-content; padding-inline: max(20px, calc((100vw - 1200px) / 2)); transform: translateX(calc(var(--jx, 0) * -1px)); will-change: transform; }
.j-card { width: min(440px, 80vw); transform: scale(.96); transform-origin: 50% 0; transition: transform .45s var(--ease); }
.j-card .feat { transition: opacity .45s var(--ease); }
.j-card:not(.is-on) .feat { opacity: .88; }   /* was .6; the cards beside the current one stay readable (owner, 1 Dec 2026) */
.j-card.is-on { transform: none; }
.j-card h3 { margin: 24px 0 6px; font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.02em; line-height: 1.2; }
.j-card > p { margin: 0; color: var(--ink-2); }

.inv { position: relative; margin-top: 14px; padding: var(--pad-m); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); box-shadow: var(--e1); font-size: var(--fs-ui); }
.inv-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.inv-h b { font-size: var(--fs-body); font-weight: var(--fw-strong); }
.inv .row b { font-weight: var(--fw-strong); }
.inv-total { display: flex; justify-content: space-between; margin-top: 6px; padding-top: 10px; border-top: 1.5px solid var(--ink); font-size: var(--fs-body); font-weight: var(--fw-strong); }
.inv-note { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-s); background: var(--cream); color: var(--ink-2); font-size: var(--fs-ui-meta); }
.inv-note b { color: var(--ink); }
.inv-btn { display: grid; place-items: center; height: 38px; margin-top: 14px; border-radius: var(--r-s); background: var(--navy); color: #fff; font-weight: var(--fw-strong); font-size: var(--fs-ui); }
.mail { display: grid; gap: 4px; margin-top: 4px; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--r-s); color: var(--ink-2); font-size: var(--fs-ui-meta); }
.stamp { position: absolute; right: 130px; top: 62px; padding: 4px 14px; border: 3px solid var(--stamp-red); border-radius: var(--r-xs); color: var(--stamp-red); font-weight: 700; letter-spacing: .12em; transform: rotate(-10deg) scale(1.6); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.j-card.is-on .stamp { transform: rotate(-10deg) scale(1); opacity: 1; }
table { width: 100%; margin-top: 14px; border-collapse: collapse; }
th { padding: 9px 10px; text-align: left; color: var(--muted); font-size: var(--fs-ui-meta); font-weight: var(--fw-strong); border-bottom: 1px solid var(--line); }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
td:last-child, th:last-child { text-align: right; }

/* ===== feature cards in the track ===== */
.crop { height: 230px; margin: -8px -8px 0; border-radius: var(--r-s); overflow: hidden; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.crop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feat > .crop, .feat > .mailcard, .feat > .feat-paid { flex: 1; min-height: 0; height: auto; }
.feat > .chips { flex: none; }
.mailcard { display: grid; align-content: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--cream); }
.mailcard span { color: var(--ink-2); }
.mailcard b { font-weight: var(--fw-strong); }
.feat { display: flex; flex-direction: column; gap: 14px; height: 272px; margin-top: 14px; padding: var(--pad-m); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); box-shadow: var(--e1); font-size: var(--fs-ui); }
.feat .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--ink-2); font-size: var(--fs-ui); font-weight: var(--fw-title); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--silk-blue); }
.chip.ok i { background: var(--emerald); } .chip.warn i { background: var(--ochre); }
.feat-big { font-size: var(--fs-ui-figure); font-weight: var(--fw-strong); letter-spacing: -.03em; line-height: 1.15; }
.feat-big em { font-style: normal; color: var(--silk-blue-deep); }
.feat-paid { position: relative; display: grid; justify-items: center; align-items: start; height: 230px; margin: -8px -8px 0; border-radius: var(--r-s); background: var(--cream); overflow: hidden; }
.paper { position: relative; width: 84%; margin-top: 10px; padding: 12px 14px 30px; border-radius: 6px 6px 0 0; background: var(--white); box-shadow: 0 1px 2px rgba(20, 22, 28, .06), 0 14px 30px rgba(20, 22, 28, .1); display: grid; gap: 6px; font-size: 9.5px; line-height: 1.35; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.paper b { display: block; color: var(--ink); font-weight: var(--fw-strong); }
.paper small { display: block; font-size: 8.5px; color: var(--muted); }
.paper-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pt-biz { display: flex; gap: 7px; align-items: center; }
.pt-biz .mark { width: 22px; height: 22px; font-size: 11px; border-radius: 6px; padding: 0; }
.pt-doc { text-align: right; } .pt-doc b { letter-spacing: .12em; font-size: 9px; }
.paper-meta { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px; padding: 4px 0; border-block: 1px solid var(--line); }
.paper-lines > div { display: grid; grid-template-columns: 1fr 26px 62px; gap: 6px; padding: 2px 0; border-bottom: 1px solid var(--line); }
.paper-lines > div > span:not(:first-child) { text-align: right; }
.paper-lines .pl-head { font-size: 8px; font-weight: var(--fw-strong); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-2); }
.paper-sum { justify-self: end; width: 58%; display: grid; gap: 3px; }
.paper-sum > div { display: flex; justify-content: space-between; }
.paper-sum .ps-total { margin-top: 3px; padding-top: 5px; border-top: 1.5px solid var(--ink); color: var(--ink); font-size: 11px; font-weight: var(--fw-strong); }
.paid-stamp { position: absolute; left: 26%; top: 71%; padding: 4px 14px; border: 3px double var(--stamp-red); border-radius: 8px; color: var(--stamp-red); font-size: 28px; font-weight: 700; letter-spacing: .14em; line-height: 1.1; mix-blend-mode: multiply; opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(1.8); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; }
.j-card.is-on .paid-stamp { opacity: .92; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
.mail-from { display: flex; gap: 10px; }
.mail-from span { flex: 1; display: grid; place-items: center; height: 54px; border: 1px solid var(--line); border-radius: var(--r-s); font-weight: var(--fw-strong); }

/* ===== AI assistant: voice to invoice ===== */
.ai { position: relative; isolation: isolate; overflow: hidden; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ai-points { display: grid; gap: 22px; margin: 40px 0 0; padding: 0; list-style: none; }
.ai-points li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; }
.ai-points svg { width: 22px; height: 22px; margin-top: 5px; fill: none; stroke: var(--silk-blue-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-points b { display: block; font-size: var(--fs-lead); font-weight: var(--fw-title); }
.ai-points span { grid-column: 2; color: var(--ink-2); }
.assistant { position: relative; padding: 40px 32px 32px; border-radius: var(--r-l); background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(252, 246, 240, .9)); box-shadow: var(--e2); }
.orb { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff 0%, #dbe5f6 38%, #7d9dd6 72%, #3a5a99 100%); box-shadow: 0 18px 40px rgba(58, 90, 153, .28); }
.orb::before, .orb::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(125, 157, 214, .35); animation: ring 2.4s ease-out infinite; }
.orb::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.orb svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wave { display: flex; justify-content: center; align-items: center; gap: 5px; height: 44px; margin: 26px 0 6px; }
.wave i { width: 4px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, var(--silk-blue), var(--gold)); transform: scaleY(.25); animation: bar 1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-duration: .8s; } .wave i:nth-child(3n) { animation-duration: 1.2s; } .wave i:nth-child(4n) { animation-delay: .2s; }
@keyframes bar { 50% { transform: scaleY(1); } }
.ai.is-paused .orb::before, .ai.is-paused .orb::after, .ai.is-paused .wave i { animation-play-state: paused; }
.listening { margin: 0; text-align: center; color: var(--muted); font-size: var(--fs-small); font-weight: var(--fw-strong); letter-spacing: .08em; text-transform: uppercase; }
.said { min-height: 3.3em; margin: 16px 0 0; padding: 16px 18px; border-radius: var(--r-m) var(--r-m) var(--r-m) var(--r-xs); background: var(--silk-blue-soft); color: var(--ink); font-size: var(--fs-lead); line-height: 1.45; }
.said::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--silk-blue-deep); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.made { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.made .chip { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); background: var(--white); border: 1px solid var(--line); }
.made .chip.is-in { opacity: 1; transform: none; }
.ai-phone { display: none; position: relative; width: min(320px, 100%); aspect-ratio: 1206 / 2622; margin: 0 auto; padding: 10px; border-radius: 50px; background: #15171c; box-shadow: var(--e2); }
.ai-phone img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 41px; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.ai-phone img.was-on { opacity: 1; z-index: 1; transition: none; }
.ai-phone img.is-on { opacity: 1; z-index: 2; }
.ai-steps { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; }
.ai-steps li { counter-increment: s; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: var(--fs-small); font-weight: var(--fw-strong); transition: background .3s, color .3s; }
.ai-steps li::before { content: counter(s) " · "; }
.ai-steps li.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.assistant.has-shot { padding: 0; background: none; box-shadow: none; }
.assistant.has-shot > :not(.ai-phone):not(.ai-steps) { display: none; }
.assistant.has-shot .ai-phone { display: block; }
.assistant.has-shot .ai-steps { display: flex; }

/* ===== Platforms: iPhone, iPad, web on one database ===== */
.platforms { position: relative; isolation: isolate; overflow: hidden; }
.devices { position: relative; height: 580px; margin-top: 96px; }
.dev-web { position: absolute; left: 50%; top: 0; width: min(760px, 70%); transform: translateX(-50%); }
.dev-web .win-body { min-height: 360px; }
.dev-ipad { position: absolute; left: 0; bottom: 0; width: min(380px, 34%); padding: 12px; border-radius: 30px; background: #15171c; box-shadow: var(--e2); }
.dev-ipad > div { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--cream); overflow: hidden; display: grid; grid-template-columns: 34% 1fr; font-size: 10px; }
.ipad-list { display: grid; align-content: start; gap: 6px; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--white); }
.ipad-list b { font-size: 12px; margin-bottom: 4px; }
.ipad-list span { padding: 6px 8px; border-radius: 8px; color: var(--muted); }
.ipad-main { display: grid; align-content: start; gap: 8px; padding: 14px; }
.ipad-main b { font-size: 14px; }
.dev-phone { position: absolute; right: 2%; bottom: -10px; width: min(200px, 18%); padding: 8px; border-radius: 34px; background: #15171c; box-shadow: var(--e2); }
.dev-phone img { display: block; width: 100%; border-radius: 27px; }
.sync-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); transition: background .4s, box-shadow .4s; }
.sync-row.is-new { background: var(--silk-blue-soft); box-shadow: 0 0 0 2px rgba(125, 157, 214, .45); }
.dev-label { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); box-shadow: var(--e1); font-size: var(--fs-small); font-weight: var(--fw-strong); white-space: nowrap; }
.dev-label small { color: var(--ochre); font-weight: var(--fw-strong); }
.lbl-web small { color: var(--emerald); }
.lbl-web { left: 50%; top: -46px; transform: translateX(-50%); }
.lbl-ipad { left: 20px; bottom: calc(min(380px, 34vw) * .75 + 40px); }
.lbl-phone { right: 2%; bottom: calc(min(200px, 18vw) * 2.17 + 10px); }
.cloud { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: var(--fs-small); font-weight: var(--fw-strong); box-shadow: var(--e2); }
.cloud svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== faq ===== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; font-size: var(--fs-lead); font-weight: var(--fw-title); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-list p { margin: 0 0 26px; max-width: 620px; color: var(--ink-2); }

/* ===== sunset cta + footer ===== */
.sunset { position: relative; padding: clamp(120px, 15vw, 190px) 0 clamp(220px, 24vw, 320px); overflow: hidden; isolation: isolate; text-align: center; background: radial-gradient(60% 50% at 15% 85%, rgba(125, 157, 214, .25), rgba(125, 157, 214, 0) 70%); }
.foot { padding: 48px 0 28px; background: var(--ink); color: rgba(255, 255, 255, .72); font-size: var(--fs-small); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; }
.foot p { max-width: 320px; margin: 14px 0 0; }
.foot nav { display: grid; align-content: start; gap: 10px; }
.foot nav b { color: rgba(255, 255, 255, .62); font-size: var(--fs-label); font-weight: var(--fw-strong); letter-spacing: .12em; text-transform: uppercase; }
.foot nav a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-label); color: rgba(255, 255, 255, .62); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; }

/* responsive */
@media (max-width: 960px) {
  .ai-grid { grid-template-columns: 1fr; }
  .devices { height: auto; display: grid; gap: 28px; justify-items: center; }
  .dev-web, .dev-ipad, .dev-phone, .dev-label, .cloud { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; }
  .dev-web { width: 100%; } .dev-ipad { width: min(420px, 100%); } .dev-phone { width: 200px; }
  .lbl-web { order: 1; } .dev-web { order: 2; } .lbl-ipad { order: 3; margin-top: 12px; } .dev-ipad { order: 4; } .lbl-phone { order: 5; margin-top: 12px; } .dev-phone { order: 6; } .cloud { order: 7; }
  .devices { gap: 14px; }
  .nav-links { display: none; }
  .nav-login { margin-left: auto; }
  .anatomy { grid-template-columns: 1fr; }
  .pin-1, .pin-2, .pin-3 { left: -32px; right: auto; }
  .doc { padding: 24px 22px 24px 40px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-pin { position: sticky; top: 72px; height: auto; padding: 20px 0; z-index: 1; background: linear-gradient(180deg, var(--cream) 85%, rgba(252, 246, 240, 0)); }
  .phone { width: 220px; border-radius: 38px; padding: 8px; }
  .screen-stack { height: 420px; border-radius: 31px; }
  .scr { padding: 46px 12px 14px; font-size: var(--fs-ui-meta); gap: 7px; }
  .scr-h b { font-size: 16px; }
  .scr-card strong { font-size: 20px; }
  .steps { padding: 4vh 0 10vh; }
  .step { min-height: 60vh; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bas-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bas-head b { white-space: nowrap; }
  .doc-top { flex-direction: column; gap: 12px; }
  .doc-no { text-align: left; }
  .doc-meta { grid-template-columns: 1fr; gap: 12px; }
  .hero { background: url(assets/silk-portrait.webp) center top / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
  .hero .silk-move { display: none; }
  .nav-login { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 120px; }
  .ctas .btn { width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .journey { height: auto; }
  .j-pin { position: relative; height: auto; display: block; padding: 90px 0 70px; overflow: visible; }
  .j-head { display: block; }
  .j-head p { margin-top: 14px; }
  .j-rail { display: none; }
  .j-track { display: grid; width: auto; gap: 44px; margin-top: 44px; transform: none; }
  .j-card { width: auto; opacity: 1; transform: none; }
  .j-card .feat { opacity: 1 !important; }
  .j-card .stamp { transform: rotate(-10deg); opacity: 1; }
  .j-card .paid-stamp { opacity: .92; transform: translate(-50%, -50%) rotate(-14deg); }
  .foot-base { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .rib { animation: none; }
  html { scroll-behavior: auto; }
  .silk .drift-a, .silk .drift-b, .orb::before, .orb::after, .wave i, .said::after { animation: none; }
  .made .chip { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mark-hl::before { transform: scaleX(1); transition: none; }
  .scr, .step { transition: none; }
  /* No scroll-driven track: stack the journey vertically. */
  .journey { height: auto; }
  .j-pin { position: relative; height: auto; display: block; padding: 100px 0 80px; overflow: visible; }
  .j-rail { display: none; }
  .j-track { display: grid; width: auto; gap: 44px; margin-top: 44px; transform: none; padding-inline: 20px; }
  .j-card { width: min(560px, 100%); opacity: 1; transform: none; transition: none; }
  .j-card .feat { opacity: 1 !important; transition: none; }
  .j-card .stamp { transform: rotate(-10deg); opacity: 1; transition: none; }
  .j-card .paid-stamp { opacity: .92; transform: translate(-50%, -50%) rotate(-14deg); transition: none; }
}

/* Hero: a real screenshot of the web app replaces the drawn mock-up (29 Nov 2026) */
.window .win-shot { display: block; width: 100%; height: auto; }   /* hero and One login: real web app screenshots */

/* Header (30 Nov 2026): the real app icon as the logo, Log In as text and Create Account as the one solid button */
.mark-img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.nav .nav-cta { min-height: 38px; padding: 0 16px; box-shadow: none; }

/* 30 Nov 2026 UI pass */
/* Job cards: soft edges, so a card leaving the screen fades out instead of being cut mid-word */
@media (min-width: 961px) {
  .j-view { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
}
.ai-points li:first-child { margin-top: 0; }
/* Closing line: always two lines, as a tagline (owner, 30 Nov 2026). The size follows the width so line one always fits. */
#end-h .ln { display: block; white-space: nowrap; }
#end-h { font-size: min(var(--fs-display-xl), calc((min(100vw, 1240px) - 40px) / 12.9)); }

/* ===== Who It's For (30 Nov 2026): header link, cards in the homepage hero, footer column. Industry pages live in /for/ ===== */
.trade.is-later { opacity: .45; cursor: default; }
.hero-trades { position: relative; width: min(1040px, 100%); margin: 64px auto 0; padding-bottom: 40px; transform: translateY(var(--card-y, 0px)); text-align: left; }
.anchor { position: absolute; top: -140px; }
.trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.trade { display: grid; align-content: start; gap: 6px; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .6); box-shadow: var(--e1); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.trade svg { width: 28px; height: 28px; margin-bottom: 14px; fill: none; stroke: var(--silk-blue-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trade b { font-size: var(--fs-lead); font-weight: var(--fw-title); }
.trade span { color: var(--ink-2); font-size: var(--fs-small); }
a.trade:not(.is-later):hover { background: #fff; box-shadow: var(--e2); transform: translateY(-2px); }

.foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .trades { grid-template-columns: repeat(2, 1fr); } .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trades { grid-template-columns: 1fr 1fr; gap: 10px; } .trade { padding: 16px; border-radius: 18px; } .trade svg { width: 24px; height: 24px; margin-bottom: 8px; } .trade b { font-size: 15px; } .trade span { font-size: 12px; } .hero-trades { margin-top: 40px; } }

/* Hero (30 Nov 2026): headline, a two-line promise, the trade cards, then Create Account */
.hero .lead { margin-top: 28px; max-width: 30em; }
.hero-trades { margin-top: 48px; padding-bottom: 0; }
.hero-trades + .ctas { justify-content: center; margin-top: 32px; padding-bottom: 40px; }
/* Homepage hero sizes to its content now that the screenshot moved to Platforms (owner, 30 Nov 2026: empty band under the button on tall windows) */
.hero { min-height: 0; padding-bottom: clamp(40px, 6vw, 80px); }
.hero + .section { padding-top: clamp(120px, 13vw, 190px); }   /* first section under the hero sits closer */
/* Header: Log In only (owner, 30 Nov 2026: the header Create Account repeated the hero button). Phones keep Log In visible. */
@media (max-width: 600px) { .nav-login { display: inline; margin-left: auto; } }
/* Hero cards: centred, sized per card, so one card (Tradies only, until the other pages exist) sits in the middle */
.hero-trades { grid-template-columns: repeat(auto-fit, minmax(220px, 250px)); justify-content: center; }
.hero-trades + .ctas + .hero-note { margin-top: 12px; padding-bottom: 40px; }
.hero-trades + .ctas:has(+ .hero-note) { padding-bottom: 0; }
.hero .lead { max-width: 40em; }
@media (max-width: 600px) { .hero .lead { font-size: 16px; } }
.hero-trades { width: min(1100px, 100%); grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); }
@media (max-width: 600px) { .hero-trades { grid-template-columns: 1fr 1fr; } }
.hero-trades + .ctas { padding-bottom: 40px; }
.hero-trades + .ctas { margin-top: 56px; }   /* button a little further from the cards (owner, 30 Nov 2026) */

/* Each section on its own screen, content centred (owner, 30 Nov 2026). How It Works (sticky phone) and
   Less bookkeeping (horizontal cards) keep their own scrolling. Free scrolling, no snapping. */
@media (min-width: 961px) {
  main > section.hero, main > section.ai, main > section.statement, main > section.platforms, main > section#faq { min-height: 100svh; display: grid; align-content: center; box-sizing: border-box; padding-block: clamp(72px, 8vw, 110px); }
  main > section.hero { padding-top: 120px; }
  main > section.sunset { min-height: 70svh; }
  #everywhere .devices { margin-top: 64px; }
}
/* Header (1 Dec 2026): Log In is the dark button; GST & BAS added to the links */
.nav .nav-login { color: #fff; }
@media (max-width: 600px) { .nav .nav-login { display: inline-flex; } }

/* Hero entry to Who It's For (3 Dec 2026): Create Account first, then one compact pill per kind of business */
.hero .hero-copy .ctas { justify-content: center; margin-top: 36px; }
.hero-who { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; padding-bottom: 40px; }
.hero-who a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: var(--e1); color: var(--ink); font-size: var(--fs-small); font-weight: var(--fw-title); transition: background .2s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.hero-who a:hover { background: #fff; box-shadow: var(--e2); transform: translateY(-1px); }
.hero-who svg { width: 18px; height: 18px; fill: none; stroke: var(--silk-blue-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Who it's for: a section of the homepage (3 Dec 2026). Three columns, one per kind of business ===== */
.who-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.who-col { scroll-margin-top: 110px; }
.who-col img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: var(--e2); }
.who-col h3 { margin: 24px 0 0; font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.02em; }
.who-sub { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-small); }
.who-points { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.who-points li { display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; }
.who-points li::before { content: ""; grid-row: span 2; width: 12px; height: 7px; margin-top: 8px; border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }
.who-points b { font-weight: var(--fw-title); }
.who-points span { grid-column: 2; color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 961px) { main > section.who { min-height: 100svh; display: grid; align-content: center; box-sizing: border-box; padding-block: clamp(72px, 8vw, 110px); } }
@media (max-width: 960px) { .who-cols { grid-template-columns: 1fr; gap: 48px; } .who-col { scroll-margin-top: 90px; } }

/* Hero and Who it's for, each exactly one screen (owner, 3 Dec 2026).
   Hero: fills the window; headline, promise, button and pills are spread down the screen with gaps that grow with the window height.
   Who it's for: heading, three photos and all points fit in one window; the photos shrink on short windows. */
@media (min-width: 961px) {
  main > section.hero { min-height: 100svh; display: grid; align-content: center; box-sizing: border-box; padding: 72px 0 0; }
  main > section.hero .lead { margin-top: clamp(24px, 3.6vh, 44px); }
  main > section.hero .hero-copy .ctas { margin-top: clamp(36px, 6.5vh, 72px); }
  main > section.hero .hero-who { margin-top: clamp(44px, 9.5vh, 110px); padding-bottom: 0; }
  main > section.hero + section.who { min-height: 100svh; display: grid; align-content: center; box-sizing: border-box; padding: 88px 0 clamp(24px, 4vh, 48px); }
  .who .who-cols { margin-top: clamp(20px, 4vh, 44px); gap: clamp(20px, 2.4vw, 36px); }
  .who .who-col img { aspect-ratio: auto; height: clamp(110px, 25vh, 260px); }
  .who .who-col h3 { margin-top: clamp(12px, 2.2vh, 24px); }
  .who .who-points { gap: clamp(8px, 1.5vh, 14px); margin-top: clamp(10px, 1.8vh, 20px); }
}

/* Header menu a little larger (owner, 3 Dec 2026): 15px, was 14px */
.nav-links { font-size: 15px; gap: clamp(20px, 2.2vw, 32px); }
.nav .nav-login { font-size: 15px; }

/* Section titles on one line (owner, 3 Dec 2026: no forced two-line breaks). The FAQ title gets the width it needs. */
/* FAQ: title at the left on one line, questions at the right (unchanged layout); the title sits one line higher than the first question (owner, 3 Dec 2026) */
@media (min-width: 961px) { .faq-grid { grid-template-columns: auto 1fr; } #faq-h { white-space: nowrap; margin-top: -1.04em; } }

/* These two titles hang about one character to the left of their content (owner, 3 Dec 2026). Desktop only: phones have no side room. */
@media (min-width: 1100px) { #ai-h, #st-h { margin-left: -.55em; } }
