/* getfiona.co.uk, the coming-soon page. Copied from the draft marketing site (fiona-site),
   trimmed to what this page uses; the page's own additions are at the end.
   The same calm look as the app: Nunito Sans, navy ink, pale tiles,
   thin borders and big rounded corners. Fiona's tweed brown adds the warmth. */

@font-face {
  font-family: 'Nunito Sans'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url('/fonts/nunito-sans-latin-wght-normal.woff2') format('woff2');
}

:root {
  --ink: #1b1f3b;
  --text: #2d3250;
  --muted: #5f6787;
  --faint: #8c93ad;
  --line: #e6e8f1;
  --tile: #f3f4fa;
  --page: #ffffff;
  --soft: #f6f7fb;
  --cream: #f8f4ee;
  --tweed: #8a6a4f;
  --tweed-dark: #6b4f39;
  --tweed-pale: #efe5d9;
  --good: #1f7a3d;
  --good-bg: #e8f5ec;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --link: #2f5bd3;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 31, 59, .04), 0 12px 32px rgba(27, 31, 59, .08);
  --shadow-lg: 0 2px 4px rgba(27, 31, 59, .04), 0 24px 60px rgba(27, 31, 59, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tweed);
  margin-bottom: 16px;
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.light { color: #d9c3ab; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.section-lede { color: var(--muted); font-size: 1.15rem; margin-top: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(27, 31, 59, .22); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27, 31, 59, .28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-warm { background: var(--tweed); color: #fff; }
.btn-warm:hover { background: var(--tweed-dark); transform: translateY(-2px); }
.link-quiet { font-weight: 700; text-decoration: none; color: var(--ink); }
.link-quiet:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(27, 31, 59, .05); }
.header-row { height: 72px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo-head { width: 36px; height: 36px; border-radius: 50%; background: #eceef3; object-fit: cover; }
.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--text); transition: background .2s; }
.main-nav a:hover { background: var(--tile); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 56px 0 24px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 229, 217, .9) 0%, rgba(243, 244, 250, .6) 45%, transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: 620px; }
.hl { background: linear-gradient(100deg, var(--tweed) 0%, #b0815a 50%, var(--tweed) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 50% { background-position: 100% 0; } }
.lede { font-size: 1.25rem; color: var(--muted); margin-top: 24px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-note .icon { color: var(--good); }

.hero-stage { position: relative; height: 620px; }
.stage-disc {
  position: absolute; left: 50%; top: 52%; width: 470px; height: 470px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0%, var(--cream) 60%, var(--tweed-pale) 100%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { scale: 1.04; } }
/* The photo's background is near-white, so multiply blends it into the page. */
.hero-fiona {
  position: absolute; left: 50%; bottom: 0; width: 600px; max-width: none; translate: -50% 0;
  mix-blend-mode: multiply; animation: rise 1.2s var(--ease) both;
}
@keyframes rise { from { opacity: 0; translate: -50% 40px; } }

.toast {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.3; white-space: nowrap;
  opacity: 0; translate: 0 16px; scale: .96;
  animation: toastIn .8s var(--ease) forwards, float 6s ease-in-out infinite;
}
.toast b { display: block; color: var(--ink); font-weight: 800; }
.toast small { color: var(--muted); font-weight: 600; }
.toast-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--tile); color: var(--ink); }
.toast-ico.good { background: var(--good-bg); color: var(--good); }
.toast-ico.warm { background: var(--tweed-pale); color: var(--tweed-dark); }
.t1 { top: 64px; left: -70px; animation-delay: .7s, 1.5s; }
.t2 { top: 190px; right: -20px; animation-delay: 1.3s, 2.1s; animation-duration: .8s, 7s; }
.t3 { bottom: 170px; left: -30px; animation-delay: 1.9s, 2.7s; animation-duration: .8s, 6.5s; }
.t4 { bottom: 60px; right: 0; animation-delay: 2.5s, 3.3s; animation-duration: .8s, 7.5s; }
@keyframes toastIn { to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes float { 50% { transform: translateY(-10px); } }

.marquee { margin-top: 48px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { padding: 10px 18px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; color: var(--muted); font-size: .92rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Acronym ---------- */

.acronym { padding: 120px 0 110px; text-align: center; background: var(--cream); }
.acro-line { font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 900; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 0; }
.acro-word { display: inline-block; white-space: nowrap; }
.acro-word b { color: var(--tweed); display: inline-block; transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease) calc(var(--i) * 110ms), opacity .7s var(--ease) calc(var(--i) * 110ms); }
.acro-word em { font-style: normal; display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; opacity: 0; transition: max-width 1s var(--ease) calc(700ms + var(--i) * 140ms), opacity .8s var(--ease) calc(800ms + var(--i) * 140ms); }
.acronym.in .acro-word b { transform: none; opacity: 1; }
.acronym.in .acro-word em { max-width: 6em; opacity: 1; }
.acro-sub { margin-top: 28px; color: var(--muted); font-size: 1.2rem; opacity: 0; transition: opacity 1s 1.8s; }
.acronym.in .acro-sub { opacity: 1; }

/* ---------- Ask Fiona ---------- */

.ask { padding: 120px 0; }
.ask-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.ask-try { font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.ask-prompts { display: grid; gap: 10px; }
.ask-prompts button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; text-align: left;
  border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--ink); transition: border-color .2s, box-shadow .3s, transform .3s var(--ease);
}
.ask-prompts button .icon { color: var(--tweed); }
.ask-prompts button:hover { border-color: var(--ink); transform: translateX(4px); }
.ask-prompts button[aria-pressed="true"] { border-color: var(--ink); box-shadow: var(--shadow); background: var(--soft); }
.ask .ticks { margin-top: 28px; }

.chat { border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-face { width: 44px; height: 44px; border-radius: 50%; background: #eceef3; }
.chat-head b { display: block; color: var(--ink); font-weight: 900; line-height: 1.2; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #2fb35a; box-shadow: 0 0 0 3px rgba(47, 179, 90, .18); }
.chat-body { height: var(--chat-h, 440px); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; background: linear-gradient(var(--soft), #fff 40%); }
.msg { max-width: 84%; padding: 12px 16px; border-radius: 18px; line-height: 1.45; font-size: .97rem; animation: msgIn .45s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg.her { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(27, 31, 59, .05); }
.msg.her b { color: var(--ink); }
.msg.typing { display: inline-flex; gap: 4px; padding: 16px 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: dot 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
.msg-action { align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--good-bg); color: var(--good); font-weight: 800; font-size: .88rem; animation: msgIn .45s var(--ease) both; }
.msg-action .icon { width: 18px; height: 18px; }
.msg-choice { align-self: flex-start; display: flex; gap: 8px; animation: msgIn .45s var(--ease) both; }
.msg-choice span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 800; font-size: .85rem; color: var(--ink); }
.msg-choice span.picked { background: var(--ink); color: #fff; border-color: var(--ink); }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 16px; padding: 10px 10px 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); font-weight: 600; }
.chat-input.active { color: var(--ink); }
.send { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }

/* ---------- Feature tabs ---------- */

.features { padding: 110px 0; background: var(--soft); }
.tab-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab-list button {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-weight: 800; color: var(--text); cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.tab-list button:hover { border-color: var(--ink); }
.tab-list button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #d9c3ab; }
.tab-list button[aria-selected="true"] .tab-progress { animation: progress var(--tab-ms, 7000ms) linear forwards; }
.tabs.paused .tab-progress { animation: none !important; width: 0; }
@keyframes progress { to { width: 100%; } }

.tab-panel[hidden] { display: none; }
.tab-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.tab-panel.active .panel-copy > * { animation: fadeUp .6s var(--ease) both; }
.tab-panel.active .panel-copy > :nth-child(2) { animation-delay: .08s; }
.tab-panel.active .panel-copy > :nth-child(3) { animation-delay: .16s; }
.tab-panel.active .panel-screen { animation: screenIn .7s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@keyframes screenIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.panel-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 900; }
.panel-copy p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.ticks .icon { color: var(--good); background: var(--good-bg); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

.panel-screen { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.screen-chrome { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.screen-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.screen-body { padding: 24px 26px 28px; min-height: 340px; font-size: .9rem; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mock-head > b { font-size: 1.15rem; font-weight: 900; color: var(--ink); }
.muted-sm { color: var(--muted); font-size: .85rem; } .muted-sm b { color: var(--ink); }
.pill { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--tile); font-weight: 800; font-size: .8rem; color: var(--ink); }
.pill.dark { background: var(--ink); color: #fff; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.mock-tiles div { background: var(--tile); border-radius: 14px; padding: 14px 16px; }
.mock-tiles small { display: block; color: var(--muted); font-weight: 700; font-size: .75rem; }
.mock-tiles b { font-size: 1.45rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.good { color: var(--good) !important; } .bad { color: var(--bad) !important; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--text); }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.tab-panel.active .mock-table tbody tr { animation: fadeUp .5s var(--ease) both; }
.tab-panel.active .mock-table tbody tr:nth-child(2) { animation-delay: .1s; }
.tab-panel.active .mock-table tbody tr:nth-child(3) { animation-delay: .2s; }
.tab-panel.active .mock-table tbody tr:nth-child(4) { animation-delay: .3s; }
.tab-panel.active .mock-table tbody tr:nth-child(5) { animation-delay: .4s; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--tile); color: var(--muted); }
.status.good { background: var(--good-bg); }
.status.bad { background: var(--bad-bg); }
.status .icon { width: 14px; height: 14px; }
.mock-table.vat td:first-child { width: 36px; font-weight: 900; color: var(--faint); }
.mock-table.vat tr.total td { font-weight: 900; color: var(--ink); background: var(--tile); }

.rec { display: grid; gap: 12px; }
.rec-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.rec-line, .rec-match { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.rec-line small, .rec-match small { grid-column: 1 / -1; color: var(--faint); font-weight: 700; font-size: .72rem; }
.rec-line b, .rec-match b { grid-column: 1 / 3; color: var(--ink); font-size: .85rem; }
.rec-match { background: var(--good-bg); border-color: #cfe9d7; }
.rec-match small { color: var(--good); }
.rec-match.rule { background: var(--tweed-pale); border-color: #e5d5c2; }
.rec-match.rule small { color: var(--tweed-dark); }
.amt-in { color: var(--good); font-weight: 800; } .amt-out { color: var(--ink); font-weight: 800; }
.ok { border: 0; border-radius: 999px; padding: 8px 16px; background: var(--ink); color: #fff; font: inherit; font-weight: 900; font-size: .8rem; }
.tab-panel.active .rec-row { animation: recDone 4.5s var(--ease) both; }
.tab-panel.active .rec-row:nth-child(2) { animation-delay: .6s; }
.tab-panel.active .rec-row:nth-child(3) { animation-delay: 1.2s; }
@keyframes recDone { 0% { opacity: 0; transform: translateX(-16px); } 12%, 70% { opacity: 1; transform: none; } 100% { opacity: .45; } }

.bill-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.bill-doc { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 22px 18px 56px; background: linear-gradient(#fff, var(--soft)); }
.doc-lines { display: grid; gap: 12px; }
.doc-lines i { height: 8px; border-radius: 4px; background: var(--line); }
.doc-lines i.short { width: 60%; }
.doc-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; font-weight: 800; color: var(--muted); }
.bill-fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bill-fields div { background: var(--tile); border-radius: 12px; padding: 10px 14px; }
.bill-fields dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bill-fields dd { margin: 2px 0 0; color: var(--ink); font-weight: 700; }

.seg { display: inline-flex; background: var(--tile); padding: 4px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.seg span { padding: 5px 12px; border-radius: 999px; color: var(--muted); }
.seg .on { background: var(--ink); color: #fff; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-bottom: 18px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(var(--ink), #3a4170); transform-origin: bottom; }
.tab-panel.active .bars i { animation: grow .8s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.bars i:last-child { background: linear-gradient(var(--tweed), #b0815a); }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- Bank spotlight ---------- */

.spot { padding: 120px 0; background: var(--soft); }
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spot-art { position: relative; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, #fff 50%, var(--tile) 100%); aspect-ratio: 1; }
.spot-art img { mix-blend-mode: multiply; }
.spot-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 800; font-size: .88rem; color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.spot-chip .icon { color: var(--good); }
.spot-chip.c1 { left: -10px; top: 22%; }
.spot-chip.c2 { right: -10px; bottom: 18%; animation-delay: 1.5s; }
.spot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.spot-stats div { padding: 18px; border-radius: 16px; background: var(--tile); }
.spot-stats b { display: block; font-size: 1.5rem; font-weight: 900; color: var(--ink); }
.spot-stats small { color: var(--muted); font-weight: 700; font-size: .85rem; line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- Fiona's inbox ---------- */

.inbox { padding: 120px 0; background: var(--cream); }
.inbox-flow { position: relative; padding: 110px 0; background: var(--ink); overflow: hidden; }
.inbox-flow::before { content: ''; position: absolute; width: 800px; height: 800px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 106, 79, .38), transparent 65%); }
.inbox-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.inbox-art img { mix-blend-mode: multiply; max-width: 460px; margin: 0 auto; width: 100%; }
.inbox h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.inbox-copy > p { font-size: 1.15rem; margin-top: 20px; color: var(--muted); }
.soon { white-space: nowrap; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; letter-spacing: .06em; }
.inbox-more { margin-top: 24px !important; font-size: 1rem !important; border-left: 3px solid var(--tweed); padding-left: 16px; }
.inbox-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.inbox-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.inbox-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 18px; border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; }
.inbox-steps li.on { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.inbox-steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 900; transition: background .4s, color .4s; }
.inbox-steps li.on span { background: #d9c3ab; color: var(--ink); }
.inbox-steps b { display: block; color: #fff; font-size: 1.1rem; }
.inbox-steps small { font-size: .95rem; color: #b5bad2; }
.demo-panel { position: relative; }
.inbox-demo { position: relative; height: 640px; }
.mail-card, .bill-card, .reader { position: absolute; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.mail-card { left: 0; top: 10px; width: 360px; padding: 20px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); opacity: 0; transform: translate(-40px, 20px) rotate(-4deg); }
.mail-top { display: flex; gap: 12px; align-items: center; }
.mail-top small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mail-top b { color: var(--ink); }
.mail-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tile); color: var(--ink); }
.mail-subject { margin-top: 16px; font-weight: 900; color: var(--ink); }
.mail-body { display: grid; gap: 8px; margin-top: 12px; }
.mail-body i { height: 8px; border-radius: 4px; background: var(--line); } .mail-body i.short { width: 55%; }
.mail-attach { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: var(--tweed-pale); color: var(--tweed-dark); font-weight: 800; font-size: .85rem; }
.mail-attach small { margin-left: auto; font-weight: 700; opacity: .7; }

.reader { left: 12px; top: 218px; display: flex; align-items: center; gap: 12px; opacity: 0; transform: scale(.9); }
.reader-head { width: 64px; height: 64px; border-radius: 50%; background: #eceef3; object-fit: cover; box-shadow: 0 0 0 6px rgba(217, 195, 171, .25); }
.reader-bubble { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 18px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; white-space: nowrap; }
.dots { display: inline-flex; gap: 4px; } .dots i { width: 6px; height: 6px; border-radius: 50%; background: #d9c3ab; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .5; } }

.bill-card { right: 0; bottom: 0; width: 380px; padding: 22px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); opacity: 0; transform: translate(40px, 20px) rotate(3deg); }
.bill-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.bill-card-head b { color: var(--ink); font-weight: 900; font-size: 1.1rem; }
.bill-card-head .status { opacity: 0; transition: opacity .5s; }
.bill-card.done .bill-card-head .status { opacity: 1; }
.bill-card dl { margin: 0; display: grid; gap: 8px; }
.bill-card dl div { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: var(--tile); }
.bill-card dt { color: var(--muted); font-weight: 700; font-size: .85rem; }
.bill-card dd { margin: 0; color: var(--ink); font-weight: 800; min-height: 1.4em; }
.bill-card dd.strong { font-weight: 900; }
.bill-card dd.typing::after { content: '|'; margin-left: 1px; color: var(--tweed); animation: blink .7s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.inbox-demo.s1 .mail-card, .inbox-demo.s2 .mail-card, .inbox-demo.s3 .mail-card { opacity: 1; transform: none; }
.inbox-demo.s2 .mail-card, .inbox-demo.s3 .mail-card { opacity: .5; transform: scale(.94) translate(-10px, -10px); }
.inbox-demo.s2 .reader, .inbox-demo.s3 .reader { opacity: 1; transform: none; }
.inbox-demo.s3 .bill-card { opacity: 1; transform: none; }

/* ---------- How it works ---------- */

.how { padding: 120px 0; }
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.how-steps { display: grid; gap: 14px; position: relative; }
.how-step { display: flex; gap: 20px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .3s, transform .3s var(--ease); }
.how-step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.how-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 900; font-size: 1.1rem; flex: none; }
.how-step p { color: var(--muted); margin-top: 6px; }
.how-art { border-radius: 28px; background: linear-gradient(180deg, #fff, var(--cream)); overflow: hidden; }
.how-art img { mix-blend-mode: multiply; width: 100%; }

/* ---------- More features ---------- */

.more { padding: 110px 0; background: var(--soft); }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.more-card { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.more-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.more-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tile); color: var(--ink); margin-bottom: 18px; transition: background .3s, color .3s, transform .4s var(--ease); }
.more-ico .icon { width: 24px; height: 24px; }
.more-card:hover .more-ico { background: var(--ink); color: #fff; transform: rotate(-6deg) scale(1.06); }
.more-card h3 { font-size: 1.1rem; }
.more-card p { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* ---------- FAQ ---------- */

.faq { padding: 110px 0; background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .3s; }
details[open] { box-shadow: var(--shadow); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 800; color: var(--ink); cursor: pointer; list-style: none; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
.plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tile); flex: none; transition: transform .35s var(--ease), background .3s; }
details[open] .plus { transform: rotate(45deg); background: var(--ink); color: #fff; }
details p { padding: 0 22px 22px; color: var(--muted); }

.faq-art { margin-top: 32px; border-radius: 24px; overflow: hidden; background: #fff; }
.faq-art img { mix-blend-mode: multiply; width: 150%; max-width: none; margin-left: -25%; }

/* ---------- Final call to action ---------- */

.final { padding: 120px 0; }
.final-card { position: relative; text-align: center; padding: 72px 32px 64px; border-radius: 36px; background: linear-gradient(160deg, var(--cream), var(--tweed-pale)); overflow: hidden; }
.final-head { width: 140px; height: 140px; margin: 0 auto 20px; border-radius: 50%; background: #eceef3; box-shadow: 0 0 0 10px rgba(255, 255, 255, .5); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.final-card > p { color: var(--muted); font-size: 1.2rem; margin-top: 12px; }
.signup { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px auto 0; max-width: 560px; }
.signup input { flex: 1 1 260px; height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid #e0d2c2; background: #fff; font: inherit; color: var(--ink); }
.signup input:focus { outline: 2px solid var(--tweed); outline-offset: 2px; }
.signup-done { display: none; width: 100%; align-items: center; justify-content: center; gap: 8px; font-weight: 800; color: var(--good); }
.signup.sent input, .signup.sent button { display: none; }
.signup.sent .signup-done { display: flex; animation: fadeUp .5s var(--ease); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 12px; }
.footer-grid div > a:not(.logo) { display: block; text-decoration: none; color: var(--text); font-weight: 600; padding: 4px 0; }
.footer-grid div > a:not(.logo):hover { color: var(--ink); text-decoration: underline; }
.footer-tag { color: var(--muted); margin-top: 12px; font-weight: 700; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .88rem; }

.notfound { padding: 120px 0; }
.notfound-inner { text-align: center; display: grid; justify-items: center; gap: 24px; }


/* ---------- Shared bits for inner pages ---------- */

.center { text-align: center; }
.muted { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--tweed-pale); padding-bottom: 2px; transition: border-color .2s, gap .2s; }
.text-link:hover { border-color: var(--tweed); gap: 12px; }
.blend { mix-blend-mode: multiply; }
.tbc { background: #fff3c4; color: #7a5a00; border-radius: 4px; padding: 0 4px; font-weight: 700; }

/* Home: quote to invoice flow */
.jobs { padding: 120px 0; }
.flow { display: flex; align-items: center; justify-content: center; margin-bottom: 64px; }
.flow-step { display: grid; justify-items: center; gap: 4px; padding: 20px 16px; width: 170px; border-radius: 20px; border: 1px solid var(--line); background: #fff; text-decoration: none; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) calc(var(--i) * 260ms), transform .6s var(--ease) calc(var(--i) * 260ms), box-shadow .3s; }
.flow-step:hover { box-shadow: var(--shadow); }
.flow-step small { color: var(--muted); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.flow-step b { color: var(--ink); }
.flow-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 6px; }
.flow-line { flex: 1; max-width: 60px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.flow-line::after { content: ''; position: absolute; inset: 0; background: var(--tweed); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease) calc(var(--i) * 260ms + 200ms); }
.flow.in .flow-step { opacity: 1; transform: none; }
.flow.in .flow-line::after { transform: scaleX(1); }
.jobs-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.jobs-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 900; }
.jobs-copy > p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

/* Legal */
.legal { padding: 72px 0 110px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.draft-note { display: flex; align-items: center; gap: 10px; margin: 24px 0 32px; padding: 14px 18px; border-radius: 14px; background: #fff3c4; color: #7a5a00; font-weight: 700; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text); font-size: 1.05rem; }
.prose p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 12px 0 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--link); }

/* More mock screens */
.doc-mock { font-size: .85rem; }
.doc-mock-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.doc-logo { font-size: 1.1rem; font-weight: 900; color: var(--tweed); display: block; }
.doc-mock small { color: var(--muted); display: block; }
.doc-mock-title { text-align: right; } .doc-mock-title b { font-size: 1.3rem; color: var(--ink); }
.doc-mock-to { margin-bottom: 10px; } .doc-mock-to b { color: var(--ink); }
.doc-mock-total { display: flex; justify-content: space-between; padding: 8px 10px; color: var(--muted); }
.doc-mock-total.big { background: var(--tile); border-radius: 10px; color: var(--ink); font-weight: 900; margin-top: 6px; }
.doc-mock-pay { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--good-bg); color: var(--good); font-weight: 800; }
.timeline { display: grid; gap: 14px; }
.tl { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--soft); }
.tl b { display: block; color: var(--ink); } .tl small { color: var(--muted); font-size: .88rem; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--good); margin-top: 6px; flex: none; }
.tl-dot.warm { background: var(--tweed); } .tl-dot.bad { background: var(--bad); }
.accept { display: grid; gap: 14px; }
.accept-doc { padding: 20px; border-radius: 14px; border: 1px solid var(--line); }
.accept-doc small { color: var(--muted); font-weight: 700; } .accept-doc > b { display: block; color: var(--ink); font-size: 1.15rem; margin-top: 4px; }
.accept-lines { display: grid; gap: 8px; margin: 14px 0; } .accept-lines i { height: 8px; border-radius: 4px; background: var(--line); } .accept-lines i.short { width: 55%; }
.accept-total { display: flex; justify-content: space-between; font-weight: 900; color: var(--ink); }
.accept-actions { display: flex; gap: 10px; }
.accept-flow { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--good-bg); color: var(--good); font-weight: 800; font-size: .88rem; }
.match3 { display: flex; align-items: center; gap: 8px; }
.m3 { flex: 1; padding: 14px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 2px; }
.m3 small { color: var(--muted); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.m3 b { color: var(--ink); font-size: .9rem; } .m3 span { display: flex; align-items: center; gap: 4px; font-weight: 800; color: var(--ink); }
.m3.good { background: var(--good-bg); border-color: #cfe9d7; } .m3.good .icon { color: var(--good); width: 16px; height: 16px; }
.m3-arrow { color: var(--faint); }
.m3-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--good); font-weight: 800; font-size: .9rem; }
.budget { display: grid; gap: 10px; margin-bottom: 16px; }
.budget-row { display: grid; grid-template-columns: 80px 1fr 70px; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.budget-row b { color: var(--ink); text-align: right; }
.bar { height: 10px; border-radius: 999px; background: var(--tile); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--ink); transform-origin: left; animation: growX 1.2s var(--ease) both; }
.bar.warm i { background: var(--tweed); } .bar.faint i { background: var(--faint); }
@keyframes growX { from { transform: scaleX(0); } }
.dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-card { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.dash-card small { display: block; color: var(--muted); font-weight: 700; font-size: .75rem; } .dash-card b { font-size: 1.4rem; font-weight: 900; color: var(--ink); }
.code { margin: 0; padding: 22px; border-radius: 14px; background: var(--ink); color: #e6e8f1; font: 600 .85rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
.code .c { color: #8c93ad; } .code .k { color: #d9c3ab; }

@media (max-width: 1100px) {
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 0 0; display: none; }
  .nav-drop.open .mega { display: block; }
  .nav-drop:hover .mega { display: none; } .nav-drop.open:hover .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-foot { flex-direction: column; }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.1rem; }
  .nav-mobile-only { display: block !important; }
  .main-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .page-hero-grid, .fblock, .addon-grid, .jobs-grid, .form-grid, .signup-grid, .pp-grid { grid-template-columns: 1fr; }
  .fblock.flip .fblock-copy { order: 0; }
  .fblock { gap: 32px; }
  .steps3, .steps3.four, .related-grid, .fgroup-grid, .plans, .more-grid.three, .stat-grid { grid-template-columns: 1fr 1fr; }
  .mini-plans { grid-template-columns: 1fr 1fr; }
  .flow { flex-wrap: wrap; gap: 10px; } .flow-line { display: none; }
  .ask-strip-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .mega-grid { grid-template-columns: 1fr; }
  .steps3, .steps3.four, .related-grid, .fgroup-grid, .plans, .more-grid.three, .stat-grid, .mini-plans, .dash-row { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 48px; }
  .fblocks, .steps-band, .related, .fgroup, .jobs, .addon-band, .compare-wrap, .perks, .partner-price, .story { padding: 72px 0; }
  .fblock + .fblock { margin-top: 72px; }
  .flow-step { width: calc(50% - 5px); }
  .ask-strip-card { padding: 28px 22px; }
  .form-card { padding: 22px; }
  .match3 { flex-direction: column; align-items: stretch; } .m3-arrow { transform: rotate(90deg); align-self: center; }
  .budget-row { grid-template-columns: 64px 1fr 60px; }
  .page-hero-art .panel-screen.tilt { transform: none; }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .header-cta .link-quiet { display: none; }
  .menu-open .main-nav {
    display: grid; position: absolute; top: 72px; left: 0; right: 0; padding: 12px 16px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(27, 31, 59, .1);
  }
  .menu-open .main-nav a { padding: 14px 12px; font-size: 1.1rem; }
  .ask-grid, .hero-grid, .tab-panel, .inbox-grid, .inbox-intro, .spot-grid, .how-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .spot-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .inbox-art img { max-width: 360px; }
  .faq-art { display: none; }
  .hero-grid { min-height: 0; }
  .hero-stage { height: 520px; }
  .hero-fiona { width: 500px; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inbox-demo { max-width: 520px; width: 100%; margin: 0 auto; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header-cta .btn { display: none; }
  .hero { padding-top: 32px; }
  .hero-actions .btn { width: 100%; }
  .hero-stage { height: 440px; }
  .hero-fiona { width: 420px; }
  .stage-disc { width: 340px; height: 340px; }
  .toast { font-size: .8rem; padding: 10px 14px 10px 10px; }
  .toast-ico { width: 32px; height: 32px; }
  .t1 { left: 0; top: 170px; } .t2 { display: none; } .t3 { right: 0; left: auto; bottom: 120px; } .t4 { left: 0; right: auto; bottom: 30px; }
  .ask-grid { gap: 32px; }
  .chat-body { height: 400px; padding: 16px; }
  .msg { max-width: 92%; font-size: .92rem; }
  .acronym, .ask, .features, .inbox, .spot, .how, .more, .pricing, .faq, .final { padding: 80px 0; }
  .spot-stats { grid-template-columns: 1fr; }
  .spot-chip { font-size: .78rem; padding: 8px 12px; }
  .spot-chip.c1 { left: 0; } .spot-chip.c2 { right: 0; }
  .inbox-flow { padding: 72px 0; }
  .tab-list { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; scrollbar-width: none; }
  .tab-list button { flex: none; }
  .screen-body { padding: 18px 14px; min-height: 0; }
  .mock-tiles b { font-size: 1.05rem; }
  .mock-table:not(.vat) th:nth-child(-n+1), .mock-table:not(.vat) td:nth-child(-n+1),
  .mock-table:not(.vat) th:nth-child(3), .mock-table:not(.vat) td:nth-child(3) { display: none; }
  .rec-row { grid-template-columns: 1fr; }
  .rec-row .ok { justify-self: center; }
  .bill-split { grid-template-columns: 1fr; }
  .bill-doc { display: none; }
  .more-grid { grid-template-columns: 1fr; }
  .inbox-demo { height: 690px; }
  .mail-card { width: 88%; }
  .bill-card { width: 92%; }
  .reader { left: 0; top: 230px; }
  .reader-bubble { font-size: .9rem; }
  .price-card { padding: 28px 20px; }
  .final-card { padding: 56px 20px 48px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}

/* Small fixes */
.how-steps .text-link { justify-self: start; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.header-cta { margin-left: auto; }

/* ---------- Polish pass ---------- */

/* Mock screens: never wrap table cells; drop the least important column when the window is narrow */
.panel-screen { container-type: inline-size; }
.mock-table th, .mock-table td { white-space: nowrap; }
.mock-table td { overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
@container (max-width: 600px) {
  .screen-body { padding: 20px 18px 22px; }
  .mock-table.trim3 th:nth-child(3), .mock-table.trim3 td:nth-child(3) { display: none; }
  .mock-table td, .mock-table th { padding-left: 8px; padding-right: 8px; }
  .mock-tiles b { font-size: 1.25rem; }
}
@container (max-width: 420px) {
  .mock-table.trim1 th:nth-child(1), .mock-table.trim1 td:nth-child(1) { display: none; }
  .mock-tiles { grid-template-columns: 1fr 1fr; } .mock-tiles div:nth-child(3) { display: none; }
}
.fblock .chat { --chat-h: 320px; }
.faq-grid .section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.panel-screen { width: 100%; }
.page-hero-art > .chat { width: 100%; }

/* Alignment: everything lines up with the logo's left edge. Text is kept to a readable width
   inside the full-width container, rather than the container itself shrinking into the middle. */
.page-hero-grid.solo .page-hero-copy { max-width: 860px; }
.page-hero.center .page-hero-grid.solo .page-hero-copy { margin: 0 auto; }
.story-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.story-row + .story-row { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.story-row h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.story-text p:first-child { margin-top: 0; }
.story.alt { background: var(--soft); }
.story .text-link { margin-top: 18px; }
@media (max-width: 1100px) { .story-row { grid-template-columns: 1fr; gap: 16px; } }
.points-card { padding: 36px; border-radius: 28px; background: var(--cream); }
.points-card .ticks { margin: 0; gap: 18px; }
.points-card .ticks li { font-size: 1.1rem; }

/* One container sets the width of everything: .wrap (1200px wide, 24px side padding, centred).
   Layouts sit inside it and never change its width, so every section lines up with the logo. */
.fgroup-grid { grid-template-columns: repeat(var(--cols, 3), 1fr); }
@media (max-width: 600px) { .fgroup-grid { grid-template-columns: 1fr; } }
.status, .pill, .seg span { white-space: nowrap; }

/* =====================================================================
   The coming-soon page's own pieces
   ===================================================================== */

/* Header: anchors on wide screens; Log in and Join always visible */
.header-cta { gap: 10px; }
.btn-login .icon { width: 18px; height: 18px; }
.btn .icon { width: 20px; height: 20px; }
@media (max-width: 1100px) {
  .main-nav { display: none !important; }
  .menu-btn { display: none !important; }
}
@media (max-width: 600px) {
  .header-cta .btn { display: inline-flex; }
  .header-row { gap: 10px; }
  .logo { font-size: 1.35rem; gap: 8px; }
  .logo-head { width: 32px; height: 32px; }
  .header-cta .btn-sm { height: 38px; padding: 0 14px; font-size: .88rem; }
  .btn-login .icon { display: none; }
}
@media (max-width: 370px) { .btn-join { padding: 0 12px !important; } .logo span { display: none; } }

/* Headings balance their lines rather than leaving one word on its own */
h1, h2, h3 { text-wrap: balance; }
.inbox-copy > p.eyebrow { font-size: .78rem; margin-top: 0; }

/* Hero */
.soon-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--tweed); flex: none; }
.soon-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--tweed); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); }
.hero-stage picture { display: contents; }

/* Fiona's day */
.day { padding: 120px 0; }
.day-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.day-copy h2 { margin-top: 0; }
.day-copy .section-lede { margin-top: 18px; }
.feed { border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.feed-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.feed-head b { display: block; color: var(--ink); }
.feed-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .85rem; }
.feed-face { width: 44px; height: 44px; border-radius: 50%; background: #eceef3; }
.feed-date { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--tile); font-weight: 800; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.feed-list { list-style: none; margin: 0; padding: 14px 18px 6px; display: grid; gap: 8px; background: linear-gradient(var(--soft), #fff 60%); position: relative; }
.feed-list::before { content: ''; position: absolute; left: 92px; top: 30px; bottom: 40px; width: 2px; background: var(--line); }
.feed-item { position: relative; display: grid; grid-template-columns: 46px 40px 1fr 28px; gap: 12px; align-items: start; padding: 12px 10px; border-radius: 16px; transition: opacity .5s var(--ease), transform .5s var(--ease), background .4s; }
.js-feed .feed-item { opacity: .3; transform: translateX(-6px); }
.feed-item.on { opacity: 1 !important; transform: none !important; }
.feed-item time { font-weight: 800; color: var(--faint); font-size: .85rem; padding-top: 9px; font-variant-numeric: tabular-nums; }
.feed-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; }
.feed-ico.warm { background: var(--tweed); }
.feed-item b { display: block; color: var(--ink); font-weight: 800; }
.feed-item small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.feed-done { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 6px; border-radius: 50%; background: var(--good-bg); color: var(--good); transform: scale(0); transition: transform .4s var(--ease); }
.feed-done .icon { width: 16px; height: 16px; }
.feed-item.done .feed-done { transform: scale(1); }
.feed-item.ask { background: var(--cream); border: 1px solid #eadccb; grid-template-columns: 46px 40px 1fr; }
.feed-choice { display: flex; gap: 8px; margin-top: 12px; }
.feed-choice span { padding: 7px 14px; border-radius: 999px; border: 1px solid #e0d2c2; background: #fff; font-weight: 800; font-size: .84rem; color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.feed-item.picked .feed-choice .yes { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.04); }
.feed-sent { display: flex; align-items: center; gap: 6px; margin-top: 10px !important; color: var(--good); font-weight: 800; font-size: .88rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .4s; }
.feed-sent .icon { width: 16px; height: 16px; }
.feed-item.sent .feed-sent { max-height: 40px; opacity: 1; }
.feed-item.sent .feed-choice { display: none; }
.feed-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .92rem; }
.feed-foot b { color: var(--good); font-weight: 900; font-size: 1.05rem; }

/* Ask Fiona sits on the soft grey */
.ask { background: var(--soft); }
.ask .ask-prompts button { background: #fff; }

/* Things you'll never do again */
.never { padding: 120px 0; }
.never-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.never-item { display: grid; gap: 6px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .3s, transform .3s var(--ease); }
.never-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.never-old { font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.never-old s { text-decoration: none; background: linear-gradient(var(--tweed), var(--tweed)) no-repeat 0 56% / 0 3px; transition: background-size .7s var(--ease) calc(var(--i) * 140ms + 200ms), color .7s calc(var(--i) * 140ms + 200ms); }
.never-new { display: flex; align-items: center; gap: 8px; color: var(--good); font-weight: 800; font-size: .95rem; opacity: 0; transform: translateY(6px); transition: opacity .5s calc(var(--i) * 140ms + 700ms), transform .5s var(--ease) calc(var(--i) * 140ms + 700ms); }
.never-new .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--good-bg); }
.never-list.in .never-old s { background-size: 100% 3px; color: var(--muted); }
.never-list.in .never-new { opacity: 1; transform: none; }
.no-js .never-new { opacity: 1; transform: none; }

/* Features: on the soft grey (from the base styles) */
.tab-list button { font: inherit; font-weight: 800; }

/* Builders: white, with CIS underneath */
.jobs { background: #fff; }
.flow-step { cursor: default; }
.cis-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; margin-top: 96px; }
.cis-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tweed-pale); color: var(--tweed-dark); margin-bottom: 18px; }
.cis-ico .icon { width: 26px; height: 26px; }
.cis-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 900; }
.cis-copy p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }
.mock-table.cis td:nth-child(2) { color: var(--muted); }

/* Trust */
.trust { padding: 120px 0; background: var(--cream); }
.trust-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.trust-copy .section-lede { margin-top: 18px; }
.trust-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-card { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid #eadccb; }
.trust-card h3 { font-size: 1.12rem; }
.trust-card p { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.trust-card .more-ico { background: var(--tweed-pale); color: var(--tweed-dark); }
.confirm-card { margin-top: 32px; max-width: 460px; padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid #eadccb; box-shadow: var(--shadow-lg); rotate: -1.5deg; }
.confirm-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.confirm-top b { display: block; color: var(--ink); line-height: 1.2; }
.confirm-top small { color: var(--tweed-dark); font-weight: 800; font-size: .8rem; }
.confirm-face { width: 40px; height: 40px; border-radius: 50%; background: #eceef3; }
.confirm-card p { color: var(--text); font-size: .98rem; }
.confirm-card p b { color: var(--ink); }
.confirm-actions { display: flex; gap: 10px; margin-top: 16px; }
.confirm-actions .btn-dark { animation: nudge 3.2s var(--ease) infinite 1s; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 6px 18px rgba(27, 31, 59, .22); } 80% { box-shadow: 0 0 0 8px rgba(27, 31, 59, .1), 0 6px 18px rgba(27, 31, 59, .22); } }

/* FAQ links */
details p a { color: var(--link); font-weight: 700; }
.section-head.left { text-align: left; margin: 0; }

/* The waitlist */
.waitlist { padding: 120px 0; }
.wl-card { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 72px 64px; border-radius: 36px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.wl-card::before { content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 106, 79, .45), transparent 65%); pointer-events: none; }
.wl-card::after { content: ''; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 195, 171, .18), transparent 65%); pointer-events: none; }
.wl-copy, .wl-form-wrap { position: relative; z-index: 1; }
.wl-face { width: 120px; height: 120px; border-radius: 50%; background: #eceef3; box-shadow: 0 0 0 8px rgba(217, 195, 171, .25); margin-bottom: 28px; animation: bob 4s ease-in-out infinite; }
.wl-copy .eyebrow { color: #d9c3ab; }
.wl-copy h2 { margin-top: 10px; color: #fff; }
.wl-lede { color: #c5c9db; font-size: 1.2rem; margin-top: 16px; }
.wl-copy .ticks li { color: #fff; }
.wl-copy .ticks .icon { background: rgba(255, 255, 255, .12); color: #9fe0b4; }
.wl-form-wrap { position: relative; }
.wl-form, .wl-done { padding: 32px; border-radius: 28px; background: #fff; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.wl-form { display: grid; gap: 16px; }
.wl-form h3 { font-size: 1.4rem; font-weight: 900; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; color: var(--ink); font-size: .95rem; }
.field input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid #cfd3e2; background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #9aa0b8; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(27, 31, 59, .1); }
.field input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-error { color: var(--bad); font-weight: 700; font-size: .95rem; }
.wl-error:empty { display: none; }
.wl-submit { width: 100%; margin-top: 4px; }
.wl-submit:disabled { opacity: .7; cursor: progress; }
.sending .wl-submit .icon { animation: slide .8s ease-in-out infinite; }
@keyframes slide { 50% { transform: translateX(5px); } }
.wl-consent { color: var(--muted); font-size: .88rem; text-align: center; }
.wl-consent a, .wl-done a { color: var(--link); font-weight: 700; }
.wl-done { position: relative; text-align: center; display: grid; justify-items: center; gap: 10px; padding: 48px 32px; animation: fadeUp .6s var(--ease); outline: none; }
.wl-done[hidden], .wl-form[hidden] { display: none; }
.wl-done-face { width: 96px; height: 96px; border-radius: 50%; background: #eceef3; }
.wl-done-badge { position: relative; display: block; width: 96px; height: 96px; }
.wl-done-tick { position: absolute; right: -10px; bottom: -6px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--good); color: #fff; box-shadow: 0 0 0 4px #fff; animation: pop .6s var(--ease) .3s both; }
.wl-done-tick .icon { width: 20px; height: 20px; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.2); } }
.wl-done h3 { font-size: 1.8rem; font-weight: 900; margin-top: 8px; }
.wl-done p { color: var(--muted); font-size: 1.05rem; max-width: 340px; overflow-wrap: anywhere; }
.wl-done .wl-done-small { font-size: .9rem; margin-top: 6px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--link); text-decoration: underline; cursor: pointer; }

/* Footer: one row */
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand { max-width: 420px; }
.footer-small { color: var(--muted); margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 8px; }
.footer-links a { text-decoration: none; font-weight: 700; color: var(--text); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { margin-top: 40px; }

/* Privacy and not-found pages */
.legal { padding: 72px 0 110px; background: linear-gradient(180deg, var(--soft) 0, #fff 360px); }
.legal-inner { max-width: 760px; }
.legal .lede { max-width: none; }
.legal h1 { margin-top: 10px; }
.prose { margin-top: 24px; }
.legal-back { margin-top: 40px; }
.icon.flip { transform: scaleX(-1); }
.notfound { padding: 96px 0 120px; }
.notfound-inner .lede { margin-top: 0; }

/* Smaller screens */
@media (max-width: 1100px) {
  .day-grid, .trust-grid, .cis-grid, .wl-card { grid-template-columns: 1fr; }
  .day-grid, .trust-grid { gap: 48px; }
  .cis-grid { margin-top: 72px; gap: 32px; }
  .wl-card { padding: 48px; gap: 40px; }
  .never-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .day, .never, .trust, .waitlist, .jobs { padding: 80px 0; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  .lede { font-size: 1.12rem; }
  .feed-list { padding: 10px 8px 4px; }
  .feed-list::before { left: 74px; }
  .feed-item { grid-template-columns: 40px 36px 1fr 24px; gap: 10px; padding: 10px 8px; }
  .feed-item.ask { grid-template-columns: 40px 36px 1fr; }
  .feed-ico { width: 36px; height: 36px; border-radius: 10px; }
  .feed-item time { font-size: .78rem; padding-top: 8px; }
  .feed-done { width: 24px; height: 24px; }
  .feed-head { padding: 14px 16px; }
  .feed-date { display: none; }
  .feed-foot { padding: 14px 16px; font-size: .86rem; }
  .never-list { grid-template-columns: 1fr; gap: 10px; }
  .never-item { padding: 18px 20px; }
  .never-old { font-size: 1.08rem; }
  .trust-cards { grid-template-columns: 1fr; }
  .confirm-card { rotate: none; }
  .wl-card { padding: 32px 18px; border-radius: 28px; }
  .wl-form, .wl-done { padding: 24px 18px; border-radius: 22px; }
  .wl-face { width: 96px; height: 96px; }
  .footer-row { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .never-old s { background-size: 100% 3px; color: var(--muted); }
  .never-new { opacity: 1; transform: none; }
  .feed-item { opacity: 1 !important; transform: none !important; }
  .soon-dot::after { display: none; }
}

/* ---------- The platform: a full accounts package, not just the AI ---------- */
.platform { padding: 110px 0; background: var(--soft); }
.app-frame { margin: 0 auto; max-width: 1080px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(27, 31, 59, .16), 0 6px 18px rgba(27, 31, 59, .08); }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #f3f4f8; border-bottom: 1px solid var(--line); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9dbe5; }
.app-bar span { margin-left: 14px; padding: 3px 14px; border-radius: 999px; background: #fff; font-size: .8rem; color: var(--muted, #6b7088); }
.app-frame img { display: block; width: 100%; height: auto; }
.platform-list { list-style: none; padding: 0; margin: 56px auto 0; max-width: 1180px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .platform-list { grid-template-columns: repeat(3, 1fr); } }
.platform-list li { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.platform-list b { color: var(--ink); font-weight: 800; }
.platform-list span { font-size: .93rem; color: var(--muted, #6b7088); line-height: 1.45; }
@media (max-width: 700px) { .platform { padding: 80px 0; } .app-bar span { display: none; } .platform-list { margin-top: 36px; grid-template-columns: repeat(2, 1fr); gap: 10px; } .platform-list li { padding: 14px; border-radius: 14px; } .platform-list b { font-size: .95rem; line-height: 1.3; } .platform-list span { font-size: .82rem; } }
