/* Home page (public landing, commercial version of 2026-11-12). Self-contained: the other public pages keep styles.css / landing.css.
   Official palette only (frontend/merchant-portal/src/app/brand.ts, DESIGN.md): navy, red, yellow and their official tints; the Kanban demo uses the
   SAME stage tokens as the real board (brand.workspace.stage). Inter is self-hosted (the CSP allows no external font). No inline style anywhere. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --navy: #052b61; --navy-deep: #031d44; --navy-mid: #1f4a8d;
  --red: #ff2d2d; --red-dark: #b90f28;
  --yellow: #ffd032; --yellow-2: #ffe27a; --yellow-soft: #fff8de; --yellow-line: #f3e3a6;
  --form: #eaf2ff; --form-line: #c9dcf8;
  --white: #ffffff; --paper: #f7faff;
  --ink: #0a1f44; --ink-soft: #4a5878; --line: #dbe2ee;
  --muted: #c9d6ec; /* text on navy (>= 8:1) */
  --success: #0a7a4f;
  /* the board stages (brand.workspace.stage) */
  --new-ink: #9f1d3a; --new-head: #fde8ec; --new-line: #f1b8c3;
  --prep-ink: #8f4300; --prep-head: #ffedd5; --prep-line: #f6c98d;
  --ready-ink: #6b5200; --ready-head: #fff3c4; --ready-line: #ebd36c;
  --deliv-ink: #1d4f91; --deliv-head: #dbeafe; --deliv-line: #a9c8f2;
  --done-ink: #0a6a45; --done-tint: #f5fbf8; --done-line: #a6dcc0;
  --shadow: 0 20px 50px rgba(5, 43, 97, .11);
  --font: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red-dark); outline-offset: 3px; border-radius: 6px; }
.top :focus-visible, .hero :focus-visible, .final-cta :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--navy); font-weight: 800; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.tiny { font-size: .78rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 14px; border: 2px solid transparent; font-size: .95rem; font-weight: 800; text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-gold { background: var(--yellow); color: var(--navy); box-shadow: 0 5px 0 #e0a800, 0 10px 22px rgba(3, 18, 45, .25); }
.btn-gold:hover { background: var(--yellow-2); transform: translateY(-2px); }
.btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.btn-outline:hover { background: rgba(255, 255, 255, .14); }
.btn-xl { min-height: 56px; padding: 15px 24px; font-size: 1rem; }

/* ---------- header (navy, the logo is white + yellow) ---------- */
.top { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 8px 28px rgba(3, 29, 68, .18); }
.nav-bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 220px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--white); font-size: .9rem; font-weight: 700; }
.nav > a:not(.btn) { text-decoration: none; padding: 6px 0; }
.nav > a:not(.btn):hover { color: var(--yellow-2); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn-nav { min-height: 44px; padding: 9px 16px; font-size: .88rem; }
.btn-register { background: var(--yellow); color: var(--navy); }
.btn-register:hover { background: var(--yellow-2); }
.btn-portal { background: var(--navy); color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn-portal:hover { background: var(--navy-mid); }
.menu-toggle { display: none; min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .6); background: transparent; color: var(--white); font-weight: 800; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 72% 38%, #1f4a8d 0%, #0b3a7a 38%, var(--navy) 72%, var(--navy-deep) 100%); padding: 64px 0 40px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 22% 92%, rgba(255, 208, 50, .18), transparent 36%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: 520px; }
.overline { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--yellow-2); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.overline svg { width: 17px; height: 17px; fill: none; stroke: var(--yellow); stroke-width: 2; }
.hero h1 { margin: 16px 0 22px; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -.05em; }
.hero h1 span { color: var(--yellow); }
.hero h1 .h1-sub { display: block; margin-top: 12px; color: var(--white); font-size: .46em; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.hero-highlight { max-width: 580px; margin: 18px 0 0; padding: 12px 16px; border: 1px solid rgba(255, 208, 50, .45); border-radius: 14px; background: rgba(255, 208, 50, .1); color: var(--yellow-2); font-size: 1.05rem; font-weight: 800; }
.hero-lead { max-width: 580px; margin: 0; color: #e3ebfa; font-size: 1.1rem; line-height: 1.65; }
.hero-lead strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin: 28px 0 22px; }
.small-print { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 600; }

.hero-art { position: relative; min-height: 540px; isolation: isolate; }
.maia-frame { position: absolute; top: 40px; left: 10px; width: 300px; height: 330px; overflow: hidden; border-radius: 170px 170px 60px 60px; background: radial-gradient(circle at 50% 35%, #fff8de 0%, #ffe27a 60%, #ffd032 100%); border: 4px solid rgba(255, 255, 255, .75); box-shadow: 0 20px 50px rgba(3, 18, 45, .4); }
.maia-frame img { position: absolute; left: 50%; bottom: -6px; width: 320px; height: auto; transform: translateX(-50%); }
.speech { position: absolute; z-index: 3; top: 0; right: 0; width: 270px; margin: 0; padding: 18px 22px; border-radius: 22px; background: var(--white); color: var(--navy); font-size: .95rem; line-height: 1.4; box-shadow: var(--shadow); transform: rotate(2deg); }
.speech::after { content: ""; position: absolute; left: 26px; bottom: -18px; border: 10px solid transparent; border-top-color: var(--white); }
.speech-hello { display: block; font-size: 1.12rem; font-weight: 900; }
.hero-phone { position: absolute; z-index: 2; right: 0; bottom: 84px; width: 250px; padding: 14px; border: 7px solid #10203f; border-radius: 30px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 55px rgba(3, 18, 45, .55); transform: rotate(4deg); }
.phone-header { padding-bottom: 9px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: .9rem; }
.phone-dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; background: var(--success); }
.phone-bubble { margin: 12px 0 0 26px; padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: var(--form); font-size: .82rem; }
.phone-bubble.bot { margin: 10px 26px 0 0; border-radius: 14px 14px 14px 4px; background: var(--yellow-soft); border: 1px solid var(--yellow-line); }
.phone-order { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--success); font-size: .8rem; font-weight: 800; }
.phone-order svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hero-voice { position: absolute; z-index: 4; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 18px 10px 10px; border: 3px solid var(--white); border-radius: 999px; background: var(--red-dark); color: var(--white); text-align: left; box-shadow: 0 12px 28px rgba(3, 18, 45, .45); transform: rotate(-3deg); transition: transform .2s, background-color .2s; }
.hero-voice:hover { background: #8f0c1f; transform: rotate(-3deg) translateY(-2px); }
.hero-voice-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.hero-voice-icon svg { width: 22px; height: 22px; fill: currentColor; }
.hero-voice-text { display: grid; line-height: 1.25; }
.hero-voice-text b { font-size: 1rem; }
.hero-voice-text small { color: #ffe1e5; font-size: .78rem; }
.hero-voice-wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.hero-voice-wave i { display: block; width: 4px; height: 8px; border-radius: 2px; background: var(--yellow); }
.hero-voice-wave i:nth-child(2), .hero-voice-wave i:nth-child(4) { height: 16px; }
.hero-voice-wave i:nth-child(3) { height: 22px; }
.is-playing .hero-voice-wave i { animation: voice-bar .9s ease-in-out infinite alternate; }
.is-playing .hero-voice-wave i:nth-child(2) { animation-delay: .15s; }
.is-playing .hero-voice-wave i:nth-child(3) { animation-delay: .3s; }
.is-playing .hero-voice-wave i:nth-child(4) { animation-delay: .45s; }
.is-playing .hero-voice-wave i:nth-child(5) { animation-delay: .6s; }
@keyframes voice-bar { from { transform: scaleY(.45); } to { transform: scaleY(1.15); } }
.icon-pause { display: none; }
.is-playing .icon-play { display: none; }
.is-playing .icon-pause { display: block; }
.is-loading { cursor: progress; }

.benefit-ribbon { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; padding: 20px 8px; border-radius: 20px; background: var(--white); color: var(--navy); box-shadow: 0 15px 45px rgba(3, 18, 45, .35); }
.benefit-ribbon li { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 4px 14px; border-right: 1px solid var(--line); font-size: .92rem; text-align: left; }
.benefit-ribbon li:last-child { border-right: 0; }
.benefit-ribbon svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--red-dark); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p, .maia-copy > p, .delivery-copy > p, .rates-box p { color: var(--ink-soft); font-size: 1.08rem; }
.section h2 { margin: 14px 0 16px; color: var(--navy); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--yellow-line); background: var(--yellow-soft); color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* tones of the icon tiles: official tints with a dark ink (>= 4.5:1) */
.tone-red { background: var(--new-head); color: var(--red-dark); }
.tone-yellow { background: var(--ready-head); color: var(--ready-ink); }
.tone-blue { background: var(--form); color: var(--deliv-ink); }
.tone-navy { background: var(--navy); color: var(--yellow); }
.tone-green { background: #d9f2e4; color: var(--done-ink); }

/* journey */
.journey-section { background: linear-gradient(var(--white), var(--paper)); }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.journey-card { position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 9px 25px rgba(5, 43, 97, .06); transition: transform .2s; }
.journey-card:hover { transform: translateY(-4px); }
.journey-card h3 { margin: 14px 0 7px; color: var(--navy); font-size: 1.06rem; line-height: 1.3; }
.journey-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.who { display: inline-block; margin-top: 14px; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.who + h3 { margin-top: 8px; }
.who-maia { background: var(--yellow); color: var(--navy); }
.who-auto { background: var(--form); color: var(--deliv-ink); }
.who-team { background: var(--navy); color: var(--white); }
.step-num { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red-dark); color: var(--white); font-size: .85rem; font-weight: 900; }
.journey-icon, .cap-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; }
.journey-icon svg, .cap-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Maia */
.maia-section { background: var(--white); }
.maia-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.voice-player { display: flex; align-items: center; gap: 14px; max-width: 570px; margin-top: 24px; padding: 16px 18px; border: 1px solid var(--form-line); border-radius: 20px; background: var(--form); box-shadow: 0 12px 25px rgba(5, 43, 97, .08); }
.voice-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: var(--navy); color: var(--yellow); }
.voice-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.voice-center { flex: 1; min-width: 0; }
.voice-center strong { display: block; color: var(--navy); font-size: 1.05rem; }
.audio-status { display: block; color: var(--ink-soft); font-size: .85rem; }
.audio-status.is-error { color: var(--red-dark); font-weight: 700; }
.progress-track { height: 6px; margin-top: 9px; overflow: hidden; border-radius: 99px; background: var(--form-line); }
.progress-fill { width: 100%; height: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left center; transition: transform .25s linear; }
.audio-time { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .75rem; font-variant-numeric: tabular-nums; }
.audio-toggle { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 #e0a800; }
.audio-toggle:hover { background: var(--yellow-2); }
.audio-toggle svg { width: 24px; height: 24px; fill: currentColor; }
.audio-note { margin: 10px 0 0; color: var(--ink-soft); font-size: .82rem; }
.capabilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.maia-rules { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 0; padding: 14px 16px; border: 1px dashed var(--form-line); border-radius: 16px; color: var(--ink-soft); font-size: .9rem; }
.soon { flex: none; padding: 4px 10px; border-radius: 99px; background: var(--red-dark); color: var(--white); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.capabilities li { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 21px; background: var(--paper); }
.capabilities h3 { margin: 8px 0 6px; color: var(--navy); font-size: 1.08rem; }
.capabilities p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* Kanban demo (stage colours of the real board; the column is told by title + count, the colour only helps) */
.kanban-section { background: var(--paper); }
.kanban-shell { padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.kanban-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.kanban-top h3 { margin: 4px 0 0; color: var(--navy); font-size: 1.45rem; }
.kanban-brand { color: var(--red-dark); font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.demo-label { padding: 8px 12px; border-radius: 99px; background: var(--form); color: var(--navy); font-size: .74rem; font-weight: 800; text-align: center; }
.kanban-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kanban-column { min-height: 240px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.kanban-column h4 { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0; padding: 12px; font-size: .9rem; border-bottom: 1px solid; }
.kanban-column .count { min-width: 26px; padding: 2px 8px; border-radius: 20px; background: var(--white); font-size: .8rem; text-align: center; }
.stage-new h4 { background: var(--new-head); color: var(--new-ink); border-color: var(--new-line); }
.stage-preparing h4 { background: var(--prep-head); color: var(--prep-ink); border-color: var(--prep-line); }
.stage-ready h4 { background: var(--ready-head); color: var(--ready-ink); border-color: var(--ready-line); }
.stage-delivering h4 { background: var(--deliv-head); color: var(--deliv-ink); border-color: var(--deliv-line); }
.kanban-items { padding: 10px; }
.order-card { margin-bottom: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 4px 10px rgba(5, 43, 97, .06); }
.order-card b { color: var(--navy); font-size: .82rem; }
.order-card p { margin: 6px 0; color: var(--ink-soft); font-size: .8rem; }
.order-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.order-foot strong { color: var(--ink); font-size: .82rem; }
.move-order { min-height: 34px; padding: 5px 10px; border: 0; border-radius: 9px; background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 800; }
.move-order:hover { background: var(--navy-mid); }
.order-card.completed { border-color: var(--done-line); background: var(--done-tint); }
.order-card .done-label { color: var(--done-ink); font-size: .78rem; font-weight: 800; }
.kanban-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 14px 2px 0; color: var(--ink-soft); font-size: .88rem; }
.text-button { min-height: 40px; padding: 4px 6px; border: 0; background: none; color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.swipe-hint { display: none; margin: 0 0 10px; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.kanban-extra { display: flex; align-items: flex-start; gap: 14px; max-width: 820px; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--yellow-line); border-radius: 16px; background: var(--yellow-soft); }
.kanban-extra p { margin: 0; color: var(--ink); font-size: .95rem; }
.tag { flex: none; padding: 5px 11px; border-radius: 99px; background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 800; }

/* delivery */
.delivery-section { background: var(--white); }
.delivery-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.delivery-points { display: grid; gap: 12px; margin: 22px 0; }
.delivery-points li { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; border: 1px solid var(--form-line); border-radius: 16px; background: var(--form); color: var(--navy); font-weight: 700; }
.delivery-points svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.delivery-copy > p.tiny { color: var(--ink-soft); font-size: .82rem; }
.delivery-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(5, 43, 97, .12)); font-family: var(--font); }

/* rates */
.rates-section { background: var(--paper); }
.rates-box { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: center; padding: 46px; border: 1px solid var(--yellow-line); border-radius: 30px; background: linear-gradient(120deg, var(--yellow-soft), #fff3c4); }
.rates-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.rates-chips li { padding: 8px 13px; border: 1px solid var(--yellow-line); border-radius: 99px; background: var(--white); color: var(--navy); font-size: .85rem; font-weight: 800; }
.rates-box .rates-footnote { max-width: 640px; font-size: .82rem; }
.money-graphic svg { display: block; width: 100%; height: auto; font-family: var(--font); }

/* FAQ */
.faq-section { background: var(--white); }
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq-list summary { cursor: pointer; padding: 18px 20px; color: var(--navy); font-weight: 800; list-style-position: inside; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-list p { margin: 0; padding: 16px 20px 20px; color: var(--ink-soft); }
.faq-list a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }

/* final call to action */
.final-cta { padding: 60px 0; background: linear-gradient(95deg, var(--navy), #114f9d); color: var(--white); }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-inner h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.final-inner h2 span { color: var(--yellow); }
.final-inner p { margin: 0; color: #e3ebfa; }
.final-inner p a { color: var(--yellow-2); font-weight: 700; text-underline-offset: 3px; }

/* footer */
.footer { padding: 46px 0; background: var(--navy-deep); color: var(--white); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer .brand img { width: 200px; }
.footer .tiny { margin: 8px 0 0; color: var(--muted); }
.footer .tiny a { color: var(--yellow-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: #e3ebfa; font-size: .9rem; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--yellow-2); }
.hidden { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 14px; font-size: .85rem; }
  .brand img { width: 190px; }
  .journey-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 76px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; border-radius: 16px; background: var(--navy-deep); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 12px 8px; }
  .nav .btn-nav { min-height: 52px; width: 100%; margin-top: 6px; }
  .hero-grid, .maia-layout, .delivery-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; min-height: 0; }
  .hero-art { width: 100%; max-width: 540px; margin: 0 auto; }
  .benefit-ribbon { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .benefit-ribbon li:nth-child(2) { border-right: 0; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .kanban-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rates-box { grid-template-columns: 1fr 200px; }
  .final-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .section h2 { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .section-heading { margin-bottom: 26px; }
  .section-heading p, .maia-copy > p, .delivery-copy > p, .rates-box p { font-size: 1rem; }
  .nav-bar { min-height: 64px; }
  .nav { top: 64px; }
  html { scroll-padding-top: 72px; }
  .brand img { width: 164px; }

  /* hero: a calm stack. Maia and her speech bubble side by side, then the voice button full width; the phone mock-up stays on larger screens */
  .hero { padding: 34px 0 28px; }
  .hero h1 { margin: 12px 0 20px; font-size: clamp(2.5rem, 12.5vw, 3.3rem); }
  .hero-lead { font-size: 1rem; line-height: 1.6; }
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }               /* phone: Maia and her voice come right after the title */
  .overline { order: 1; }
  .hero h1 { order: 2; }
  .hero-art { order: 3; margin-bottom: 22px; }
  .hero-lead { order: 4; }
  .hero-actions { order: 5; gap: 12px; margin: 22px 0 16px; }
  .small-print { order: 6; }
  .hero-actions .btn { width: 100%; white-space: normal; }
  .small-print { font-size: .84rem; }
  .hero-art { display: grid; grid-template-columns: 116px 1fr; align-items: end; gap: 14px; min-height: 0; padding: 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; background: rgba(255, 255, 255, .07); }
  .maia-frame { position: relative; top: auto; left: auto; width: 116px; height: 132px; border-width: 3px; border-radius: 60px 60px 24px 24px; box-shadow: 0 10px 24px rgba(3, 18, 45, .35); }
  .maia-frame img { width: 132px; bottom: -4px; }
  .speech { position: relative; top: auto; right: auto; width: auto; align-self: center; padding: 13px 15px; font-size: .86rem; transform: none; border-radius: 18px 18px 18px 6px; }
  .speech::after { left: -14px; bottom: 16px; border: 8px solid transparent; border-right-color: var(--white); }
  .speech-hello { font-size: 1rem; }
  .hero-phone { display: none; }
  .hero-voice { position: relative; top: auto; left: auto; grid-column: 1 / -1; width: 100%; justify-content: flex-start; min-height: 68px; padding: 10px 16px 10px 10px; transform: none; }
  .hero-voice:hover { transform: none; }
  .hero-voice-text { flex: 1; }
  .hero-voice-text b { font-size: 1.02rem; }

  /* conditions: a compact 2 x 2 grid */
  .benefit-ribbon { grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 18px; padding: 6px; }
  .benefit-ribbon li { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 14px 8px; border-right: 0; text-align: center; font-size: .84rem; line-height: 1.3; }
  .benefit-ribbon li:nth-child(odd) { border-right: 1px solid var(--line); }
  .benefit-ribbon li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .benefit-ribbon svg { width: 26px; height: 26px; }

  /* journey: a vertical timeline (number on the rail, the icon tile only on larger screens) */
  .journey-grid { grid-template-columns: 1fr; gap: 0; }
  .journey-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 0 0 22px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .journey-card:hover { transform: none; }
  .journey-card::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
  .journey-card:last-child { padding-bottom: 0; }
  .journey-card:last-child::before { display: none; }
  .step-num { position: relative; top: auto; right: auto; grid-row: 1 / span 2; width: 40px; height: 40px; font-size: 1rem; box-shadow: 0 0 0 5px var(--paper); }
  .journey-icon { display: none; }
  .journey-card h3 { margin: 8px 0 4px; }
  .journey-card .who, .journey-card h3, .journey-card p { grid-column: 2; }
  .journey-card .who { justify-self: start; margin-top: 6px; }
  .journey-card .who + h3 { margin-top: 6px; }
  .hero-highlight { order: 4; margin: 0 0 4px; font-size: .98rem; }

  /* Maia: compact rows, the voice player first */
  .voice-player { gap: 12px; padding: 14px; border-width: 2px; border-color: var(--navy); }
  .voice-icon { display: none; }
  .audio-toggle { width: 58px; height: 58px; }
  .capabilities { grid-template-columns: 1fr; gap: 10px; }
  .capabilities li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 16px; }
  .capabilities .cap-icon { width: 48px; height: 48px; border-radius: 14px; }
  .capabilities h3 { margin: 2px 0 4px; font-size: 1rem; }

  /* Kanban: swipe between the columns, like the app on a phone */
  .kanban-shell { padding: 14px 0 14px 14px; border-radius: 20px; }
  .kanban-top { flex-direction: column; align-items: flex-start; padding-right: 14px; }
  .kanban-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 14px 10px 0; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .kanban-column { flex: 0 0 80%; min-height: 250px; scroll-snap-align: start; }
  .swipe-hint { display: block; }
  .kanban-bottom { padding-right: 14px; }
  .kanban-extra { flex-direction: column; gap: 10px; }

  .delivery-art { order: -1; }
  .delivery-points li { padding: 13px 14px; font-size: .95rem; }
  .rates-box { grid-template-columns: 1fr; padding: 26px 22px; border-radius: 24px; }
  .money-graphic { order: -1; max-width: 120px; margin: 0 auto; }
  .faq-list summary { padding: 16px; }
  .faq-list p { padding: 14px 16px 18px; }
  .final-cta { padding: 48px 0; }
  .final-inner .btn { width: 100%; white-space: normal; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .hero-art { grid-template-columns: 92px 1fr; padding: 14px; }
  .maia-frame { width: 92px; height: 108px; }
  .maia-frame img { width: 108px; }
  .speech { font-size: .8rem; }
  .hero-voice-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-gold:hover, .journey-card:hover { transform: none; }
  .hero-voice, .hero-voice:hover { transform: none; }
}
