/* kakatua.ai holding page. Every colour, radius and space comes from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 24px;
  background: var(--surface); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-synthesis: none;
}
img, svg { display: block; }
p, h1, h2, h3, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
i, em { font-style: normal; font-weight: 600; }       /* Readex Pro has no italic: emphasis is weight */
b { font-weight: 600; }
a { color: inherit; }
[data-theme] { background: var(--surface); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
::selection { background: var(--sulphur); color: var(--night); }

[hidden] { display: none !important; }
.sprite { 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; }
.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 10; background: var(--sulphur); color: var(--night); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: clamp(16px, 4.5vw, 56px); }
.muted { color: var(--ink-muted); }
.label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.body-lg { font-size: 19px; line-height: 28px; }
.body-sm { font-size: 14px; line-height: 20px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons (pills, the shape of a crest bar) ---------- */
.kk-btn {
  font: inherit; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  border-radius: var(--radius-pill); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease-out, background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out;
}
.kk-btn:active { transform: translateY(1px); }
.kk-btn-md { font-size: 15px; height: 40px; padding: 0 var(--space-4); }
.kk-btn-lg { font-size: 17px; height: 56px; padding: 0 var(--space-8); }
.kk-btn-primary { background: var(--accent); color: var(--on-accent); }
.kk-btn-primary:hover { background: color-mix(in oklab, var(--accent) 88%, var(--night)); }
.kk-btn-primary .ico { transition: transform .16s ease-out; }
.kk-btn-primary:hover .ico { transform: translateX(3px); }
.kk-btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.kk-btn-quiet:hover { background: var(--surface-raised); border-color: var(--ink-muted); }
.kk-btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- Crest badge (situation status only) ---------- */
.kk-crest { flex: none; }
.kk-crest-on { fill: currentColor; }
.kk-crest-off { fill: none; stroke: currentColor; }
.kk-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px 4px 8px; border-radius: var(--radius-pill); white-space: nowrap;
  transition: background-color .2s ease-out, color .2s ease-out, box-shadow .2s ease-out;
}
.kk-badge-can-do { background: var(--can-do-soft); color: var(--can-do); }
.kk-badge-partial { background: var(--partial-soft); color: var(--accent-text); }
.kk-badge-new { background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 1.5px var(--line-strong); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 11vw, 144px); position: relative; }
.section-head { max-width: 760px; display: grid; gap: var(--space-4); }
.section-head.wide { max-width: 1040px; }
.eyebrow { color: var(--ink-muted); }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.h2.big { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.voice-line { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; color: var(--ink-muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(100svh, 980px); display: flex; flex-direction: column; isolation: isolate; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-6); padding-bottom: var(--space-4); position: relative; z-index: 2; }
.brand img { height: 34px; width: auto; }
.topbar-right { display: flex; align-items: center; gap: var(--space-4); }
.status-pill { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 16px; font-weight: 500; color: var(--ink-muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sulphur); box-shadow: 0 0 0 4px color-mix(in oklab, var(--sulphur) 22%, transparent); }

.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: var(--space-8); padding-block: var(--space-12) var(--space-8); position: relative; z-index: 1; }
.hero-copy { display: grid; gap: var(--space-6); justify-items: start; }
.hero-copy .eyebrow { color: var(--sulphur); }
.hero-title { font-size: clamp(52px, 7.4vw, 112px); line-height: .94; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
.hero-voice { font-family: var(--font-serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; color: var(--sulphur); margin-top: calc(var(--space-2) * -1); }
.hero-lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.mic-note { font-size: 13px; line-height: 18px; color: var(--ink-muted); max-width: 30em; margin-top: calc(var(--space-2) * -1); }
#mic-btn[aria-pressed="true"] { border-color: var(--sulphur); color: var(--sulphur); }

.hero-art { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 76 / 92; }
.hero-mark { position: absolute; inset: 14% 0 0 0; width: 100%; height: 86%; }
.mk-head { fill: var(--ink); }
.mk-beak, .mk-crest rect { fill: var(--sulphur); }
.mk-crest rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--s, 1)); }
.hero-mark.listening .mk-crest rect { transition: none; }
.hero-mark:not(.listening) .mk-crest rect { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }

/* Large cropped crest, 15% sulphur tint on night, bleeding off the top-right */
.crest-tint { position: absolute; z-index: 0; right: clamp(-90px, -4vw, -24px); top: -140px; display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 34px); pointer-events: none; }
.crest-tint span { width: clamp(56px, 7.2vw, 104px); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--sulphur) 15%, var(--night)); }
.crest-tint span:nth-child(1) { height: clamp(260px, 33vw, 470px); }
.crest-tint span:nth-child(2) { height: clamp(380px, 46vw, 660px); margin-bottom: clamp(36px, 5vw, 70px); }
.crest-tint span:nth-child(3) { height: clamp(310px, 39vw, 560px); }

/* Reply bubble from the mark */
.mic-reply {
  position: absolute; left: -24%; top: 2%; max-width: 270px; padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4);
  background: var(--surface-raised); border-radius: 20px 20px 20px 6px; box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: 0 100%; transition: opacity .2s ease-out, transform .2s ease-out; pointer-events: none;
}
.mic-reply.show { opacity: 1; transform: none; }
.mr-arabizi { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.mr-arabic { font-family: var(--font-arabic); font-size: 18px; line-height: 30px; font-weight: 500; opacity: .82; text-align: left; }
.mr-gloss { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 2px; }

.hero-foot { position: relative; z-index: 1; padding-bottom: var(--space-8); }
.hero-foot p { border-top: 1px solid var(--line); padding-top: var(--space-6); max-width: 100%; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hero-foot i { color: var(--ink); }

/* ---------- How it works ---------- */
.how .section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); counter-reset: none; }
.step { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); padding: var(--space-8) var(--space-6) var(--space-8); display: grid; align-content: start; gap: var(--space-3); }
.step-num { font-size: 13px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; margin-bottom: var(--space-8); display: inline-flex; align-items: center; gap: var(--space-3); }
.step-num::after { content: ""; height: 1px; width: 40px; background: var(--line-strong); }
.step-title { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }
.step p { color: var(--ink-muted); }
.step i { color: var(--ink); }
.no-list { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: 15px; color: var(--ink-muted); }
.no-list span { display: inline-flex; align-items: center; gap: var(--space-2); }
.no-list span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); margin-right: var(--space-4); }
.no-list span:last-child { color: var(--ink); font-weight: 500; }

/* ---------- Try it ---------- */
.try { background: var(--surface-sunken); }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(40px, 7vw, 112px); align-items: center; }
.try-copy { display: grid; gap: var(--space-6); align-content: center; }
.controls { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-2); }

.seg { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.seg legend:not(.sr-only) { width: 100%; color: var(--ink-muted); margin-bottom: var(--space-2); padding: 0; float: left; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .16s ease-out, color .16s ease-out, box-shadow .16s ease-out; }
.seg label:hover span { background: var(--surface-raised); }
.seg input:checked + span { background: var(--invert); color: var(--on-invert); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.phone { justify-self: center; width: 100%; max-width: 370px; height: 700px; border-radius: 52px; background: var(--night); padding: 12px; box-shadow: 0 2px 0 rgba(16,32,30,.06), 0 40px 80px -24px rgba(16,32,30,.35), 0 18px 36px -18px rgba(16,32,30,.3); }
.screen { height: 100%; border-radius: 41px; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); position: relative; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 46px 18px 12px; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.ph-av, .vn-av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--night); color: var(--pearl); display: grid; place-items: center; }
.ph-av svg, .vn-av svg { width: 60%; height: 60%; }
.ph-name { font-weight: 600; font-size: 16px; line-height: 20px; }
.ph-sub { font-size: 12px; line-height: 16px; color: var(--ink-muted); transition: color .16s ease-out; }
.ph-sub.rec { color: var(--accent-text); }
.ph-body { flex: 1; overflow-y: auto; padding: 16px 12px 8px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; overscroll-behavior: contain; }
.ph-body::-webkit-scrollbar { display: none; }
.ph-foot { padding: 8px 10px 14px; background: var(--surface); display: grid; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: 13px; line-height: 16px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-pill); border: 0; cursor: pointer; background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .16s ease-out; text-align: left; }
.chip:hover { background: var(--partial-soft); }
.chip.ghost { box-shadow: none; background: transparent; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 6px; }
.chip.ghost .ico { width: 14px; height: 14px; }
.ph-input { display: flex; gap: 6px; align-items: center; background: var(--surface-raised); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); padding: 4px 4px 4px 16px; }
.ph-input input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); height: 36px; }
.ph-input input::placeholder { color: var(--ink-muted); }
.ph-input input:focus { outline: none; }
.ph-input:focus-within { box-shadow: inset 0 0 0 2px var(--focus-ring); }
.ph-input button { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; }
.ph-input button .ico { width: 18px; height: 18px; }

/* Chat messages */
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; animation: msg-in .2s ease-out both; }
.msg.me { align-self: flex-end; }
.msg .vn-av { width: 28px; height: 28px; }
.bubble { background: var(--surface-raised); border-radius: 18px 18px 18px 6px; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 14px 10px 12px; min-width: 0; }
.msg.me .bubble { background: var(--invert); color: var(--on-invert); border-radius: 18px 18px 6px 18px; box-shadow: none; padding: 10px 14px; font-size: 15px; line-height: 21px; font-weight: 500; }
.vn-row { display: flex; align-items: center; gap: 10px; }
.wave { display: inline-flex; align-items: center; gap: 2.5px; height: 24px; color: var(--accent-text); }
.wave i { display: block; width: 3px; border-radius: 2px; background: currentColor; }
.msg .wave i:nth-child(n+15) { opacity: .35; color: var(--ink); background: var(--ink); }
.vn-time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.vn-text { margin-top: 8px; font-size: 15px; line-height: 21px; }
.vn-gloss { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.vn-meta { margin-top: 4px; font-size: 11px; line-height: 14px; color: var(--ink-muted); }
.recording .wave i { animation: crest-pulse 900ms ease-in-out infinite; }
.recording .wave i:nth-child(3n+2) { animation-delay: -300ms; }
.recording .wave i:nth-child(3n) { animation-delay: -600ms; }
.recording .wave i:nth-child(n) { opacity: 1; color: var(--accent-text); background: var(--accent-text); }
@keyframes crest-pulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Phrase hint card inside the chat */
.phrase { align-self: stretch; margin-left: 36px; background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; animation: msg-in .2s ease-out both; }
.phrase-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.phrase-top .label { font-size: 10px; color: var(--ink-muted); }
.phrase-to { font-size: 11px; line-height: 16px; font-weight: 500; color: var(--karak); }
.phrase-arabizi { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.phrase-arabic { font-family: var(--font-arabic); font-size: 17px; line-height: 28px; font-weight: 500; opacity: .82; text-align: left; }
.phrase-en { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 2px; }

/* Mission brief card (karak = real-world moments) */
.brief { align-self: stretch; margin-left: 36px; border-radius: var(--radius-md); padding: 14px 16px 16px; background: var(--invert); color: var(--on-invert); animation: msg-in .2s ease-out both; }
.brief .label { font-size: 10px; color: var(--sulphur); }
.brief h4 { margin: 6px 0 4px; font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
.brief p { font-size: 13px; line-height: 19px; opacity: .8; }

/* ---------- Promise / situation map ---------- */
.promise .section-head { margin-bottom: var(--space-12); }
.hl { color: var(--sulphur); }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.map-bar b { color: var(--ink); }
.seg-dark span { height: 36px; font-size: 14px; }
.seg-dark input:checked + span { background: var(--sulphur); color: var(--night); }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); }
.tile { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); padding: var(--space-4) var(--space-4) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); min-height: 200px; transition: box-shadow .2s ease-out; }
.tile.is-can-do { box-shadow: inset 0 0 0 1.5px var(--can-do); }
.tile-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); min-height: 24px; }
.tile-num { font-size: 13px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tile-title { margin-top: var(--space-3); font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
.tile-phrase { margin-top: auto; padding-top: var(--space-4); font-size: 15px; line-height: 20px; font-weight: 600; color: var(--sulphur); }
.tile-gloss { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.to { color: var(--karak); white-space: nowrap; }
.map-count { margin-top: var(--space-6); font-size: 14px; color: var(--ink-muted); }
.map-count b { color: var(--ink); }

/* ---------- Roadmap ---------- */
.road-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.road .section-head { position: sticky; top: var(--space-12); }
.timeline { position: relative; display: grid; gap: var(--space-2); }
.timeline::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 28px; width: 1.5px; background: var(--line); }
.tl { position: relative; padding: var(--space-6) var(--space-6) var(--space-6) 56px; border-radius: var(--radius-md); display: grid; gap: var(--space-2); }
.tl p:not(.label) { color: var(--ink-muted); }
.tl-dot { position: absolute; left: 4px; top: 27px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.tl-when { color: var(--ink-muted); }
.tl-title { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }
.tl.now { background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.tl.now .tl-dot { background: var(--sulphur); box-shadow: 0 0 0 5px var(--partial-soft); }
.tl.now .tl-when { color: var(--accent-text); }

/* ---------- Join the pilot ---------- */
.pilot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 7vw, 112px); align-items: center; }
.pilot-copy { display: grid; gap: var(--space-6); align-content: center; }
.hook { display: grid; font-size: clamp(56px, 9vw, 128px); line-height: .9; letter-spacing: -0.045em; font-weight: 600; margin-bottom: var(--space-4); }
.hook em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--sulphur); }
.pilot-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.pilot-facts li { display: grid; gap: 2px; }
.pilot-facts b { font-size: 20px; line-height: 26px; letter-spacing: -0.01em; }
.pilot-facts span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

.pilot-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.join { display: grid; gap: var(--space-6); }
.field { display: grid; gap: var(--space-2); border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-size: 14px; line-height: 20px; font-weight: 600; padding: 0; margin-bottom: var(--space-2); }
.field > label { margin-bottom: 0; }
.opt { font-weight: 400; color: var(--ink-muted); margin-left: 4px; }
.field input[type="text"], .select select {
  width: 100%; height: 52px; border-radius: var(--radius-sm); border: 0; padding: 0 var(--space-4);
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: box-shadow .12s ease-out;
}
.field input::placeholder { color: color-mix(in oklab, var(--ink-muted) 75%, transparent); }
.field input:focus, .select select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus-ring); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-err, .form-err { font-size: 13px; line-height: 18px; color: var(--danger); min-height: 0; }
.field-err:empty, .form-err:empty { display: none; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--surface-raised); transition: background-color .12s ease-out, box-shadow .12s ease-out; }
.pick label:hover span { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.pick input:checked + span { background: var(--night); color: var(--pearl); box-shadow: none; }
.pick input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-btn { width: 100%; }
.fine { font-size: 12px; line-height: 17px; color: var(--ink-muted); text-align: center; margin-top: calc(var(--space-3) * -1); }

.joined { display: grid; gap: var(--space-6); }
.joined:focus { outline: none; }
.joined .vn { display: flex; gap: var(--space-2); align-items: flex-end; }
.joined .vn-body { background: var(--surface-raised); border-radius: 18px 18px 18px 6px; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 16px 12px 14px; }
.joined .vn-text { font-size: 18px; line-height: 26px; font-weight: 500; }
.joined .wave { color: var(--accent-text); }
.joined-note { padding-left: 46px; }

/* ---------- Footer ---------- */
.foot { padding-block: var(--space-12) var(--space-8); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: var(--space-6) var(--space-8); }
.foot-logo { height: 56px; width: auto; }
.foot-line { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; color: var(--sulphur); }
.foot-meta { font-size: 13px; color: var(--ink-muted); text-align: right; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: var(--space-8); }
  .hero-art { order: -1; width: min(62vw, 300px); justify-self: start; margin-left: 10%; }
  .mic-reply { left: 78%; top: 6%; max-width: 230px; }
  .crest-tint { top: -220px; opacity: .8; }
  .steps { grid-template-columns: 1fr; }
  .step-num { margin-bottom: var(--space-2); }
  .try-grid, .road-grid, .pilot-grid { grid-template-columns: 1fr; }
  .road .section-head { position: static; }
  .foot-grid { grid-template-columns: 1fr; align-items: start; }
  .foot-meta { text-align: left; }
}
@media (max-width: 640px) {
  .status-pill { display: none; }
  .brand img { height: 28px; }
  .hero-art { width: 46vw; margin-left: 4%; }
  .mic-reply { left: 80%; top: 0; width: 50vw; max-width: 220px; padding: 12px 14px; }
  .mr-arabizi { font-size: 17px; line-height: 22px; }
  .mr-arabic { font-size: 15px; line-height: 24px; }
  .hero-ctas .kk-btn { width: 100%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 180px; }
  .tile-title { font-size: 15px; line-height: 20px; }
  .phone { padding: 8px; border-radius: 40px; aspect-ratio: auto; height: 640px; }
  .screen { border-radius: 33px; }
  .pilot-facts { grid-template-columns: 1fr; }
  .controls { gap: var(--space-4); }
}
@media (max-width: 380px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .recording .wave i { animation: none; }
  .msg, .phrase, .brief { animation: none; }
  .mic-reply, .hero-mark .mk-crest rect { transition: none !important; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-12); padding: var(--space-6) clamp(16px, 4.5vw, 56px) var(--space-16); max-width: 1200px; margin: 0 auto; }
.lost .brand img { height: 34px; width: auto; }
.lost-body { display: grid; gap: var(--space-6); justify-items: start; }
.lost .hook { margin: 0; }
