/* HADIQ Talk — talk.hadiq.io. The app's palette (ios/HadiqDeutsch/Core/DesignSystem/Theme.swift); system fonts only. */
:root {
  --teal: #006B63; --teal-deep: #00403B; --teal-soft: #D7EEEB; --mint: #7FD8CC;
  --bg: #F6F5F0; --paper: #FFFDF8; --line: #E3E0D5; --ink: #161A19; --ink-2: #4F5654;
  --amber: #975A00; --amber-soft: #FCEBCF; --hl: #FFD66B; --coral: #C8553D;
  --on-teal: #FFFFFF;
  --serif: ui-serif, "New York", "Iowan Old Style", Charter, "Charter BT", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hand: "Bradley Hand", "Segoe Print", Noteworthy, "Comic Neue", cursive;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(22, 26, 25, .06), 0 18px 50px -18px rgba(22, 26, 25, .28);
}
@media (prefers-color-scheme: dark) {
  :root {
    --teal: #4FB3A9; --teal-deep: #0C2725; --teal-soft: #173A37; --mint: #7FD8CC;
    --bg: #111312; --paper: #1A1D1C; --line: #2C312F; --ink: #F1F3F2; --ink-2: #AEB5B3;
    --amber: #F2B24C; --amber-soft: #3A2E19; --hl: #8A6A12; --coral: #E58A73; --on-teal: #0B1514;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 50px -18px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--sans); overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background: url(/img/grain.svg); opacity: .07; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { body::after { mix-blend-mode: screen; opacity: .05; } }
img { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.listen :focus-visible, .final :focus-visible, .ticker :focus-visible { outline-color: #F2B24C; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 200; }

h1, h2, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(50px, 7vw, 100px); line-height: .98; margin: 0 0 28px; }
h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; margin: 0 0 24px; max-width: 18ch; }
h3 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.kicker { font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 18px; }
.lead { font-size: clamp(19px, 1.7vw, 22px); color: var(--ink-2); max-width: 34em; }
.small, .fineprint { font-size: 14px; color: var(--ink-2); }
.fineprint { margin: 16px 0 0; }
section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.scrolled .top, .inner .top { background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 10px; width: 34px; height: 34px; }
.top-right { display: flex; align-items: center; gap: 18px; }
.langs { font-size: 14px; }
.langs a { color: var(--ink-2); text-decoration: none; padding: 10px 2px; }
.langs a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.button { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg);
  font-weight: 600; text-decoration: none; padding: 16px 26px; border-radius: 999px; min-height: 48px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.button:hover { transform: translateY(-2px); background: var(--teal); color: var(--on-teal); }
.button span { transition: transform .25s var(--ease); }
.button:hover span { transform: translateX(4px); }
.small-button { padding: 10px 18px; min-height: 44px; font-size: 15px; }
.ghost { color: var(--ink); font-weight: 600; text-decoration: none; padding: 14px 6px; border-bottom: 2px solid var(--hl); }
.ghost:hover { border-color: var(--teal); }
.pill { display: inline-block; background: var(--amber-soft); color: var(--amber); border-radius: 999px;
  padding: 5px 12px; margin-right: 10px; letter-spacing: .06em; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 130px); margin-top: -68px; padding-top: calc(68px + clamp(40px, 6vw, 80px));
  background: radial-gradient(1200px 600px at 85% 10%, var(--teal-soft), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, var(--amber-soft), transparent 60%); overflow: hidden; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 2 12; stroke-linecap: round; opacity: .35; vector-effect: non-scaling-stroke; }
.route-dot { fill: var(--amber); opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.hero h1 .scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: .02em; width: 100%; height: .16em; overflow: visible; }
.scribble path { fill: none; stroke: var(--amber); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.2s .9s var(--ease) forwards; }
.serif-italic { font-style: italic; font-weight: 400; color: var(--teal); }
.actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin: 28px 0 26px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; font-size: 14px; color: var(--ink-2); }
.trust li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 7px; }

.hero-phone { position: relative; justify-self: center; }
.phone { width: 300px; height: 620px; border-radius: 54px; background: #0F1211; padding: 11px; position: relative;
  box-shadow: 0 0 0 2px #2A2F2D inset, 0 50px 90px -30px rgba(0, 64, 59, .55), 0 30px 40px -30px rgba(0, 0, 0, .5);
  transform: rotate(3deg); }
.island { position: absolute; top: 22px; left: 50%; width: 92px; height: 27px; background: #000; border-radius: 20px; transform: translateX(-50%); z-index: 2; }
.screen { height: 100%; border-radius: 44px; background: #F6F5F0; color: #161A19; overflow: hidden; display: flex; flex-direction: column; padding: 62px 16px 18px; }
.chat-head { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #E3E0D5; }
.chat-head .avatar img { width: 40px; height: 40px; border-radius: 12px; display: block; }
.chat-head strong { display: block; font-size: 16px; }
.chat-head small { color: #006B63; font-size: 13px; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; font-size: 15px; line-height: 1.4; }
.bubble { border-radius: 20px; padding: 10px 14px; max-width: 88%; }
.bubble small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .65; margin-bottom: 2px; }
.bubble.me { align-self: flex-end; background: #006B63; color: #fff; border-bottom-right-radius: 6px; }
.bubble.hadi { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.bubble del { text-decoration: none; background: linear-gradient(#FFB4A2, #FFB4A2) no-repeat 0 58% / 0 2px; opacity: .9; }
.bubble ins { text-decoration: none; display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; white-space: nowrap;
  background: #FFD66B; color: #161A19; border-radius: 5px; font-weight: 700; }
.note { align-self: flex-end; max-width: 88%; font: 15px/1.35 var(--hand); color: #975A00; background: #FCEBCF; padding: 8px 12px; border-radius: 12px; transform: rotate(-1.5deg); }
.typing { align-self: flex-start; display: flex; gap: 4px; background: #fff; padding: 12px 14px; border-radius: 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA19F; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.wave { display: flex; gap: 4px; align-items: center; justify-content: center; height: 54px; }
.wave i { width: 5px; height: 40px; border-radius: 3px; background: #006B63; transform: scaleY(.15); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; background: #7FD8CC; }
.earbud { position: absolute; left: -60px; bottom: -34px; font: 19px/1.25 var(--hand); color: var(--amber); transform: rotate(-5deg); white-space: nowrap; }

.b1 { animation: b1 12s infinite; } .b2 { animation: b2 12s infinite; } .b3 { animation: b3 12s infinite; } .b4 { animation: b4 12s infinite; }
.b1 del { animation: strike 12s infinite; } .b1 ins { animation: insert 12s infinite; }
@keyframes b1 { 0%, 3% { opacity: 0; transform: translateY(14px); } 7%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes strike { 0%, 16% { background-size: 0 2px; } 22%, 100% { background-size: 100% 2px; } }
@keyframes insert { 0%, 22% { max-width: 0; padding: 0; margin-left: 0; } 27%, 100% { max-width: 4em; padding: 0 4px; margin-left: 4px; } }
@keyframes b2 { 0%, 28% { opacity: 0; transform: translateY(10px) rotate(-1.5deg); } 32%, 92% { opacity: 1; transform: rotate(-1.5deg); } 97%, 100% { opacity: 0; } }
@keyframes b4 { 0%, 38% { opacity: 0; } 40%, 52% { opacity: 1; } 54%, 100% { opacity: 0; } }
.reply { display: grid; justify-items: start; }
.reply > * { grid-area: 1 / 1; }
@keyframes b3 { 0%, 52% { opacity: 0; transform: translateY(14px); } 56%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes wave { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- ticker ---------- */
.ticker { background: var(--teal-deep); color: #F6F5F0; overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .08); }
@media (prefers-color-scheme: light) { .ticker { background: #00403B; } }
.ticker-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: ticker 60s linear infinite;
  font: italic 400 clamp(22px, 2.6vw, 32px)/1 var(--serif); white-space: nowrap; }
.ticker b { color: var(--hl); font-style: normal; font-size: .7em; }
@media (prefers-color-scheme: dark) { .ticker b { color: #F2B24C; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- listen ---------- */
.listen { background: #0E1716; color: #EAF2F0; overflow: hidden; }
.listen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 30%, rgba(79, 179, 169, .22), transparent 70%); }
.listen .kicker { color: var(--mint); }
.listen p { color: #B9C6C3; }
.listen h2 { color: #fff; }
.listen-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.hint { font-family: var(--hand); font-size: 20px; color: #F2B24C !important; transform: rotate(-2deg); display: inline-block; }
.player { background: linear-gradient(180deg, #172322, #111A19); border: 1px solid #22312F; border-radius: 28px; padding: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }
.sentences { display: grid; gap: 8px; }
.sentences button, .conditions button { font: inherit; color: inherit; cursor: pointer; border: 1px solid #2A3B39; background: transparent;
  transition: background .2s, border-color .2s, color .2s; }
.sentences button { text-align: left; border-radius: 16px; padding: 12px 16px; display: grid; gap: 2px; }
.sentences b { font: 600 19px/1.3 var(--serif); color: #fff; }
.sentences span { font-size: 14px; color: #8FA19E; }
.sentences button[aria-checked="true"] { background: #1F3533; border-color: var(--mint); }
.scope { display: block; width: 100%; height: 120px; margin: 18px 0; border-radius: 14px; background:
  repeating-linear-gradient(90deg, rgba(127, 216, 204, .06) 0 1px, transparent 1px 40px),
  repeating-linear-gradient(0deg, rgba(127, 216, 204, .06) 0 1px, transparent 1px 30px), #0A1110; }
.conditions { display: flex; flex-wrap: wrap; gap: 8px; }
.conditions button { border-radius: 999px; padding: 9px 15px; font-size: 15px; min-height: 44px; color: #C9D6D3; }
.conditions button[aria-checked="true"] { background: var(--mint); border-color: var(--mint); color: #0B1514; font-weight: 600; }
.sentences button:hover, .conditions button:hover { border-color: var(--mint); }
.play { margin-top: 18px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; font: 600 18px var(--sans);
  background: #F2B24C; color: #1A1203; border: 0; border-radius: 999px; padding: 16px; cursor: pointer; min-height: 56px;
  transition: transform .2s var(--ease), background .2s; }
.play:hover { transform: translateY(-2px); background: #FFC566; }
.play-icon { width: 0; height: 0; border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.play.playing .play-icon { width: 14px; height: 14px; border: 0; background: currentColor; border-radius: 2px; }
.listen .fineprint { color: #7F918E; text-align: center; }
.player.no-audio [data-play] { display: none; }

/* ---------- a day with Hadi ---------- */
.day { background: var(--bg); }
.timeline { position: relative; margin-top: 70px; }
.timeline-line { position: absolute; left: 50%; top: 0; width: 20px; height: 100%; transform: translateX(-50%); overflow: visible; }
.timeline-line path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 1)); }
.timeline-line .track { stroke: var(--line); stroke-dasharray: none; stroke-dashoffset: 0; }
.stop { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; margin-bottom: clamp(90px, 10vw, 150px); position: relative; }
.stop:last-child { margin-bottom: 0; }
.stop-pin { grid-column: 2; grid-row: 1; justify-self: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
  border: 3px solid var(--line); transition: border-color .4s, background .4s, transform .4s var(--ease); z-index: 1; }
.stop.on .stop-pin { border-color: var(--teal); background: var(--hl); transform: scale(1.25); }
.stop.left .stop-media { grid-column: 1; grid-row: 1; }
.stop.left .stop-copy { grid-column: 3; grid-row: 1; }
.stop.right .stop-media { grid-column: 3; grid-row: 1; }
.stop.right .stop-copy { grid-column: 1; grid-row: 1; text-align: right; justify-self: end; }
.stop-copy { max-width: 440px; }
.stop-copy p { color: var(--ink-2); margin: 0; }
.stop-time { font: 400 clamp(56px, 7vw, 96px)/1 var(--serif) !important; color: var(--teal) !important; margin: 0 0 14px !important;
  font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.stop-copy h3 { font: 600 clamp(24px, 2.4vw, 30px)/1.15 var(--serif); margin-bottom: 12px; }
.stop-media { position: relative; margin-bottom: 70px; }
.scene { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.stop.left .scene { transform: rotate(-1.2deg); } .stop.right .scene { transform: rotate(1.2deg); }
.stop-shot { position: absolute; width: 31%; height: auto; bottom: -70px; border-radius: 24px; border: 5px solid #0F1211; box-shadow: var(--shadow); background: #0F1211; }
.stop.left .stop-shot { right: -1%; transform: rotate(4deg); }
.stop.right .stop-shot { left: -1%; transform: rotate(-4deg); }
.paper { position: absolute; width: 64%; bottom: -80px; right: -2%; transform: rotate(-3deg); background: #FFFDF6; color: #2A2B28;
  border-radius: 6px; padding: 22px 22px 26px; font: 14px/1.5 var(--serif); box-shadow: var(--shadow); }
.stop.right .paper { right: auto; left: -2%; }
.paper p { margin: 0 0 8px; color: #2A2B28 !important; }
.paper .paper-from { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #006B63 !important; margin-bottom: 14px; }
.paper-lines { display: grid; gap: 7px; margin-top: 12px; }
.paper-lines i { height: 6px; border-radius: 3px; background: #ECE8DC; }
.paper-lines i:nth-child(2) { width: 82%; } .paper-lines i:nth-child(3) { width: 56%; }
.hl { background: linear-gradient(#FFD66B, #FFD66B) no-repeat 0 85% / 0 70%; color: inherit; padding: 0 2px; transition: background-size 1.1s .5s var(--ease); }
.in .hl { background-size: 100% 70%; }
.sticky { position: absolute; bottom: -64px; left: -70px; width: 200px; background: #FFE58F; color: #3B2F0B !important;
  font: 17px/1.25 var(--hand); padding: 14px 14px 18px; transform: rotate(-4deg); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .4); }
.sticky::before { content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 255, 255, .55); }

/* ---------- numbers ---------- */
.numbers { background: var(--paper); border-block: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.numbers p { color: var(--ink-2); }
.bars { display: grid; gap: 30px; }
.bar { display: grid; grid-template-columns: 1fr 4.2em; gap: 8px 18px; align-items: end; }
.bar .label { grid-column: 1 / -1; font-weight: 600; font-size: 16px; }
.track { height: 26px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.track i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--ink-2); transition: width 1.8s var(--ease); min-width: 0; }
.bar.accent .track i { background: var(--teal); }
.bar.free .track i { background: var(--amber); }
.bars.in .bar .track i { width: 100%; }
.bars.in .bar.accent .track i { width: 17.9%; transition-delay: .3s; }
.bars.in .bar.free .track i { width: 10px; transition-delay: .6s; }
.bar b { font: 600 clamp(32px, 3.6vw, 48px)/1 var(--serif); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.bar.accent b { color: var(--teal); }
.bar.free b { color: var(--amber); }

/* ---------- your words ---------- */
.flow { display: grid; grid-template-columns: 1fr 170px 1fr; gap: 0; align-items: center; margin-top: 50px; }
.zone { border-radius: 28px; padding: 30px; height: 100%; }
.zone h3 { font: 600 24px/1.2 var(--serif); margin-bottom: 18px; }
.zone ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.zone li { padding-left: 30px; position: relative; color: var(--ink-2); }
.zone li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.device { background: var(--teal); color: var(--on-teal); box-shadow: var(--shadow); }
.device li { color: var(--on-teal); opacity: .92; }
.device li::before { content: "●"; color: var(--mint); font-size: 12px; top: 4px; }
@media (prefers-color-scheme: dark) { .device li::before { color: #0B1514; } }
.cloud { border: 2px dashed var(--line); background: var(--paper); }
.cloud li::before { content: "↗"; color: var(--teal); }
.pipe { position: relative; text-align: center; }
.pipe svg { width: 100%; height: 60px; overflow: visible; }
.pipe path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 3 9; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.pipe span { display: block; font: 17px/1.2 var(--hand); color: var(--amber); transform: rotate(-3deg); margin-top: -6px; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.promise { margin: 56px 0 0; font: italic 400 clamp(24px, 2.6vw, 34px)/1.25 var(--serif); color: var(--ink); text-align: center; }

/* ---------- story ---------- */
.story { background: linear-gradient(180deg, var(--bg), var(--teal-soft)); }
.letter { margin: 0; background: var(--paper); border: 0; border-radius: 6px; padding: clamp(32px, 6vw, 70px); box-shadow: var(--shadow);
  transform: rotate(-.6deg); position: relative;
  background-image: repeating-linear-gradient(transparent 0 37px, color-mix(in srgb, var(--teal) 10%, transparent) 37px 38px); }
.letter::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; transform: translateX(-50%) rotate(2deg);
  background: color-mix(in srgb, var(--hl) 60%, transparent); }
.letter p { font: 400 clamp(20px, 2vw, 24px)/38px var(--serif); margin: 0 0 38px; color: var(--ink); }
.letter p:first-child::first-letter { float: left; font-size: 92px; line-height: 76px; padding: 6px 10px 0 0; color: var(--teal); font-weight: 600; }
.letter footer { border: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
.signature { position: relative; display: inline-block; font: 54px/1.1 var(--hand); color: var(--teal); padding: 0 14px 10px 0;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.8s .4s ease-in-out; }
.in .signature { clip-path: inset(0 0 0 0); }
.signature svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 14px; overflow: visible; }
.signature path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.letter cite { font: 600 15px var(--sans); font-style: normal; color: var(--ink-2); letter-spacing: .02em; }

/* ---------- levels ---------- */
.levels h2 { max-width: none; }
.ladder { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; height: 360px; }
.ladder li { border-radius: 22px 22px 6px 6px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  color: var(--on-teal); background: var(--teal); height: 0; transition: height 1.2s var(--ease); overflow: hidden; }
.ladder li b { font: 600 clamp(30px, 3.4vw, 46px)/1 var(--serif); }
.ladder li span { font-size: 15px; line-height: 1.3; }
/* Text colours chosen for at least 4.5:1 contrast on each step, light and dark. */
.ladder li:nth-child(1) { background: color-mix(in srgb, var(--teal) 40%, var(--bg)); color: #0B1514; }
.ladder li:nth-child(2) { background: color-mix(in srgb, var(--teal) 58%, var(--bg)); color: #0B1514; }
.ladder li:nth-child(3) { background: color-mix(in srgb, var(--teal) 88%, var(--bg)); color: #fff; }
.ladder li:nth-child(5) { background: var(--teal-deep); color: #fff; }
@media (prefers-color-scheme: dark) {
  .ladder li:nth-child(1) { background: color-mix(in srgb, var(--teal) 45%, var(--bg)); color: #F1F3F2; }
  .ladder li:nth-child(2) { background: color-mix(in srgb, var(--teal) 62%, var(--bg)); color: #F1F3F2; }
  .ladder li:nth-child(3) { background: color-mix(in srgb, var(--teal) 85%, var(--bg)); color: #0B1514; }
}
.ladder.in li:nth-child(1) { height: 50%; } .ladder.in li:nth-child(2) { height: 62%; transition-delay: .1s; }
.ladder.in li:nth-child(3) { height: 74%; transition-delay: .2s; } .ladder.in li:nth-child(4) { height: 87%; transition-delay: .3s; }
.ladder.in li:nth-child(5) { height: 100%; transition-delay: .4s; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font: 600 clamp(20px, 2vw, 24px)/1.3 var(--serif); padding: 24px 40px 24px 0; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 32px var(--sans); color: var(--teal); transition: transform .3s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink-2); margin: 0 0 24px; max-width: 40em; }

/* ---------- final ---------- */
.final { background: var(--teal-deep); color: #F6F5F0; text-align: center; overflow: hidden; }
@media (prefers-color-scheme: light) { .final { background: #00403B; } }
.final::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(127, 216, 204, .14), transparent 30%);
  animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(44px, 7vw, 96px); max-width: 14ch; color: #fff; }
.final p { color: #C3D3D0; max-width: 36em; font-size: 19px; }
.final .button { background: #F2B24C; color: #1A1203; margin-top: 18px; }
.final .button:hover { background: #fff; color: #00403B; }
.final .fineprint { color: #8FB0AB; }
.big { font-size: 19px; padding: 20px 34px; }
.beta-form { width: 100%; max-width: 560px; margin: 30px auto 0; text-align: left; display: grid; gap: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; padding: clamp(22px, 4vw, 34px); }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 16px; color: #fff; padding: 0; }
.beta-form input:not([type=radio]):not([type=checkbox]), .beta-form select {
  font: 17px var(--sans); width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .28);
  background: #FFFDF8; color: #161A19; }
.beta-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #00403B 50%),
  linear-gradient(135deg, #00403B 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #fff; padding: 12px 18px; min-height: 48px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); cursor: pointer; }
.choices label:has(input:checked) { background: #F2B24C; color: #1A1203; border-color: #F2B24C; font-weight: 700; }
.beta-form input[type=radio], .beta-form input[type=checkbox] { width: 20px; height: 20px; accent-color: #F2B24C; margin: 0; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #C3D3D0; cursor: pointer; }
.consent a { color: #fff; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.beta-form .button.big { justify-self: center; margin-top: 4px; }
.beta-form .button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-error { margin: 0; color: #FFD2C4 !important; font-weight: 600; text-align: center; }
.beta-done { margin: 30px auto 0; max-width: 560px; background: #F2B24C; color: #1A1203; border-radius: 26px; padding: 30px; }
.beta-done p { color: #1A1203 !important; margin: 0; }
.beta-done .done-title { font: 600 clamp(26px, 3vw, 34px)/1.15 var(--serif); margin-bottom: 8px; }
.final noscript p { margin-top: 24px; }
.final noscript a { color: #fff; }

/* ---------- inner pages (support, legal) ---------- */
.inner main section { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(40px, 6vw, 64px); }
.prose h2 { font: 600 28px/1.2 var(--serif); margin: 44px 0 12px; max-width: none; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose li { margin: 6px 0; }
.table { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--paper); border-radius: 12px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose blockquote { margin: 16px 0; padding: 12px 16px; background: var(--paper); border-left: 4px solid var(--teal); border-radius: 8px; }
mark { background: var(--amber-soft); color: var(--ink); padding: 0 3px; border-radius: 4px; }
code { font-size: .9em; }

body > footer { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 15px; }
body > footer p { margin: 6px 0; }
body > footer a { color: var(--ink); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; } .js .hero .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero .reveal:nth-child(4) { transition-delay: .24s; } .js .hero .reveal:nth-child(5) { transition-delay: .32s; }
.js .hero-phone.reveal { transition-delay: .2s; transform: translateY(60px) rotate(2deg); }
.js .hero-phone.reveal.in { transform: none; }
html:not(.js) .bars .track i { width: 100%; } html:not(.js) .bar.accent .track i { width: 17.9%; } html:not(.js) .bar.free .track i { width: 10px; }
html:not(.js) .ladder li { height: auto; } html:not(.js) .signature { clip-path: none; } html:not(.js) .hl { background-size: 100% 70%; }
html:not(.js) .player [data-play] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .listen-grid, .numbers-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-phone { margin-top: 10px; }
  .earbud { left: auto; right: -10px; bottom: -30px; transform: rotate(-4deg); }
  .flow { grid-template-columns: 1fr; }
  .pipe svg { width: 60px; height: 90px; transform: rotate(90deg); margin: 10px auto 0; display: block; }
  .pipe span { margin: -10px 0 14px; }
  .timeline-line { left: 11px; transform: none; }
  .stop { grid-template-columns: 24px 1fr; column-gap: 20px; margin-bottom: 120px; align-items: start; }
  .stop-pin { grid-column: 1 !important; grid-row: 1 !important; margin-top: 40px; }
  .stop .stop-copy, .stop .stop-media { grid-column: 2 !important; text-align: left !important; justify-self: start !important; }
  .stop .stop-copy { grid-row: 1 !important; }
  .stop .stop-media { grid-row: 2 !important; margin-top: 34px; width: 100%; }
  .stop-shot { width: 34%; }
  .stop.right .stop-shot { left: auto; right: -2%; transform: rotate(4deg); }
  .stop.right .paper, .paper { left: auto; right: -2%; width: 78%; }
  .sticky { right: -6px; width: 160px; font-size: 15px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .top-right { gap: 10px; }
  .top .small-button { display: none; }
  .phone { width: 270px; height: 560px; transform: rotate(2deg); }
  .ladder { grid-template-columns: 1fr; height: auto; gap: 8px; }
  .ladder li { height: auto !important; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 16px; border-radius: 16px; padding: 14px 18px;
    width: 0; transition: width 1s var(--ease); }
  .ladder li b { min-width: 2.2ch; }
  .ladder.in li:nth-child(1) { width: 72%; } .ladder.in li:nth-child(2) { width: 79%; } .ladder.in li:nth-child(3) { width: 86%; }
  .ladder.in li:nth-child(4) { width: 93%; } .ladder.in li:nth-child(5) { width: 100%; }
  html:not(.js) .ladder li { width: 100%; }
  .stop-time { font-size: 60px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
  .signature { clip-path: none; }
  .b1, .b2, .b3 { opacity: 1; } .b4 { display: none; }
  .b1 del { background-size: 100% 2px; } .b1 ins { max-width: 4em; padding: 0 4px; margin-left: 4px; }
  .wave i { transform: scaleY(.5); }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; white-space: normal; padding: 0 24px; }
  .ticker-track > :nth-child(n+17) { display: none; }
  .route-dot { display: none; }
  .hl { background-size: 100% 70%; }
  .bars .track i { width: 100% !important; } .bar.accent .track i { width: 17.9% !important; } .bar.free .track i { width: 10px !important; }
  .ladder li { height: auto; } @media (min-width: 641px) { .ladder li:nth-child(1) { height: 50%; } .ladder li:nth-child(2) { height: 62%; } .ladder li:nth-child(3) { height: 74%; } .ladder li:nth-child(4) { height: 87%; } .ladder li:nth-child(5) { height: 100%; } }
  .ladder li { width: auto; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
