/* Flex Academy — prototype. Tokens mirror the Figma variables. */
:root {
  --ink: #0B0F1A; --ink-850: #161C2B; --ink-800: #2A3247;
  --slate-600: #4B5568; --slate-500: #616B7E; --slate-400: #8A93A6; --slate-300: #B5BCCB; --slate-200: #DCE1EC; --slate-100: #E9ECF3;
  --paper: #F6F7FC; --white: #FFFFFF; --error: #C62828;
  --base360: #5070FE;
  --r-sm: 4px; --r-md: 8px; --r-phone: 24px;
  --pad: 64px; --max: 1312px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: 'Geist', system-ui, sans-serif;
  color: var(--ink); background: var(--paper);
}
body[data-mode="launch"] {
  --accent: #20D6B0; --accent-hover: #4FE0BF; --accent-pressed: #17B596; --accent-subtle: #E3FAF4;
  --on-accent: #0B0F1A; --accent-text: #0F7A63; --accent-display: #179F82; --accent-dark: #20D6B0;
  --glow: rgba(32, 214, 176, .40); --grad-a: #20D6B0; --grad-b: #0BC5D8;
}
body[data-mode="scale"] {
  --accent: #8E4CFF; --accent-hover: #7A35F5; --accent-pressed: #6A28E0; --accent-subtle: #F1EAFF;
  --on-accent: #FFFFFF; --accent-text: #7A3BF0; --accent-display: #8E4CFF; --accent-dark: #C49BFF;
  --glow: rgba(161, 106, 255, .40); --grad-a: #A16AFF; --grad-b: #E575EF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .02em; }
.muted { color: var(--slate-500); }
.secondary { color: var(--slate-600); }
.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Type */
.display { font-size: 88px; line-height: 92px; letter-spacing: -.04em; font-weight: 500; margin: 0; }
.h1 { font-size: 56px; line-height: 60px; letter-spacing: -.03em; font-weight: 500; margin: 0; }
.h2 { font-size: 40px; line-height: 44px; letter-spacing: -.02em; font-weight: 500; margin: 0; }
.h3 { font-size: 24px; line-height: 30px; letter-spacing: -.01em; font-weight: 500; margin: 0; }
.body-l { font-size: 20px; line-height: 30px; }
.accent { color: var(--accent-display); }
.before-word { color: var(--slate-400); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-sm); padding: 16px 24px; font-size: 15px; line-height: 20px; font-weight: 500; text-decoration: none; transition: background .15s, transform .1s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-pressed); transform: translateY(1px); }
body[data-mode="launch"] .btn-primary:active { color: var(--ink); }
.btn-secondary { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--slate-300); }
.btn-secondary:hover { background: var(--slate-100); }
.btn-ghost { background: none; color: var(--ink); padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { color: var(--accent-text); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; background: none; border-top: 0; border-left: 0; border-right: 0; }
.link-arrow:hover { opacity: .8; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(246, 247, 252, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-200); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo b { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.switch { display: flex; padding: 3px; gap: 2px; background: var(--slate-100); border-radius: 999px; }
.switch button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--slate-600); transition: background .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.switch .short { display: none; }

/* Notifications + phone */
.notif { background: var(--ink-850); border: 1px solid var(--ink-800); border-radius: var(--r-md); padding: 12px 16px; color: var(--paper); transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .4s; }
.notif .top { display: flex; justify-content: space-between; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .02em; color: var(--slate-400); }
.notif .app { transition: color .3s; }
.notif .msg { font-size: 14px; line-height: 20px; font-weight: 500; margin-top: 4px; transition: color .3s; }
.notif.before .msg { color: var(--slate-400); }
.notif.after .app { color: var(--accent-dark); }
.notif.decision { border-left: 3px solid var(--accent); }
.notif.decision .app { color: var(--accent-dark); }
.notif.enter { opacity: 0; transform: translateY(-8px); }
.phone { width: 340px; background: var(--ink); border: 1px solid var(--ink-800); border-radius: var(--r-phone); padding: 24px 16px; box-shadow: 0 24px 48px rgba(11, 15, 26, .18); transition: box-shadow .8s var(--ease); }
.phone.glow { box-shadow: 0 0 120px 8px var(--glow), 0 24px 48px rgba(11, 15, 26, .12); }
.phone .lock { text-align: center; color: var(--slate-400); margin-bottom: 20px; }
.stack { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }

/* Hero */
.hero { padding: 96px 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 32px; max-width: 700px; }
.hero .cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; border-top: 1px solid var(--slate-200); padding-top: 24px; font-size: 14px; }
.hero .visual { position: relative; display: flex; justify-content: center; }
.replay { position: absolute; bottom: -36px; right: 70px; background: none; border: 0; color: var(--slate-500); }
.replay:hover { color: var(--ink); }
.swap { position: relative; display: inline-block; }
.swap.struck::after { content: ""; position: absolute; left: 0; top: 52%; height: 6px; background: var(--slate-400); width: 100%; animation: strike .5s var(--ease); }
@keyframes strike { from { width: 0; } }
.counter { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--slate-400); display: flex; justify-content: space-between; margin-bottom: 12px; }
.counter b { font-weight: 500; color: #F09595; transition: color .3s; }
.counter b.calm { color: var(--accent-dark); }

/* Route strip */
.route { border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); background: var(--white); }
.route .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.route p { margin: 0; font-size: 16px; }
.route .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }

/* Sections */
section.block { padding: 128px 0; }
.block-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 64px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--slate-600); line-height: 24px; }
.card .tag { color: var(--accent-text); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Journey (Launch) */
.journey .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; }
.steps { display: flex; flex-direction: column; }
.step { min-height: 34vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; border-left: 2px solid var(--slate-200); padding-left: 32px; transition: border-color .4s; }
.step .num { color: var(--slate-500); }
.step p { margin: 0; color: var(--slate-600); max-width: 520px; line-height: 26px; font-size: 18px; }
.step.active { border-color: var(--accent); }
.step.active .num { color: var(--accent-text); }
.journey .sticky { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.status { display: flex; flex-direction: column; gap: 16px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--slate-200); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-400); transition: background .3s; }
.bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bars div span { display: block; height: 3px; background: var(--slate-200); transition: background .4s; }
.bars div em { display: block; font-style: normal; margin-top: 6px; color: var(--slate-500); font-family: 'Geist Mono', monospace; font-size: 11px; }
.bars div.on span { background: var(--accent); }
.bars div.on em { color: var(--ink); }
.journey .phone { width: 100%; }

/* Paying for */
.price-card { background: var(--ink); color: var(--paper); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.price-card .price { font-size: 56px; line-height: 60px; letter-spacing: -.03em; font-weight: 500; }
.price-card .mono { color: var(--slate-400); }
.paying { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.2fr; gap: 16px; }

/* Leave with */
.strike { position: relative; color: var(--slate-400); }
.strike::after { content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 4px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease) .3s; }
.in .strike::after { transform: scaleX(1); }
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.doc { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-sm); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc .id { color: var(--accent-text); }
.doc b { font-weight: 500; font-size: 16px; }
.note { margin-top: 16px; color: var(--slate-500); font-size: 14px; }

/* Founders */
.founders .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--slate-100) 0 12px, var(--paper) 12px 24px); border: 1px dashed var(--slate-300); border-radius: var(--r-md); display: grid; place-items: center; color: var(--slate-500); }
blockquote { margin: 0; font-size: 32px; line-height: 40px; letter-spacing: -.02em; font-weight: 500; }
blockquote cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; line-height: 20px; color: var(--slate-500); letter-spacing: 0; font-weight: 400; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.facts div b { display: block; font-size: 32px; line-height: 40px; font-weight: 500; letter-spacing: -.02em; }

/* FAQ */
.faq { max-width: 880px; }
details { border-bottom: 1px solid var(--slate-200); }
summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 20px; line-height: 28px; font-weight: 500; display: flex; justify-content: space-between; gap: 24px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: 'Geist Mono', monospace; color: var(--accent-text); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 24px; color: var(--slate-600); font-size: 17px; line-height: 27px; max-width: 720px; }

/* Final CTA */
.final { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 80px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, var(--glow), transparent 70%); pointer-events: none; }
.final .h1 { color: var(--paper); }
.final .secondary { color: var(--slate-300); }
.capture { background: var(--ink-850); border: 1px solid var(--ink-800); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.capture .row { display: flex; gap: 8px; }
.capture input { flex: 1; min-width: 0; border: 1px solid var(--ink-800); background: var(--ink); color: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; font: inherit; font-size: 15px; }
.capture input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.capture .ok { color: var(--accent-dark); }
.final .route-line { color: var(--slate-300); font-size: 15px; }
.final .route-line .link-arrow { color: var(--accent-dark); }

footer { padding: 64px 0 120px; color: var(--slate-500); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--slate-200); padding-top: 32px; }

/* Scale specific */
.pain .grid-3 .card { background: var(--ink); border-color: var(--ink-800); color: var(--paper); }
.pain .card p { color: var(--slate-400); }
.pain .card .mono { color: #F09595; }
.proof-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.proof-nums div { border-top: 2px solid var(--accent); padding-top: 16px; }
.proof-nums b { display: block; font-size: 48px; line-height: 52px; letter-spacing: -.03em; font-weight: 500; }
.product { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.frame360 { border-radius: 12px; border: 1px solid var(--slate-200); background: var(--white); box-shadow: 0 24px 48px rgba(11, 15, 26, .08); overflow: hidden; }
.frame360 .bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--slate-200); font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--slate-500); }
.frame360 .bar .lbl { background: var(--base360); color: #fff; border-radius: 4px; padding: 2px 8px; }
.cal { display: grid; grid-template-columns: 120px repeat(7, 1fr); font-size: 12px; }
.cal div { border-bottom: 1px solid var(--slate-100); border-right: 1px solid var(--slate-100); padding: 10px 8px; min-height: 40px; position: relative; }
.cal .h { color: var(--slate-500); font-family: 'Geist Mono', monospace; font-size: 11px; }
.cal .bk { position: absolute; top: 8px; bottom: 8px; left: 4px; background: rgba(80, 112, 254, .12); border-left: 3px solid var(--base360); border-radius: 3px; font-size: 11px; padding: 3px 6px; color: #2B3A99; white-space: nowrap; overflow: hidden; }
.quote360 { margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--slate-600); border-left: 2px solid var(--slate-300); padding-left: 16px; }
.weeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.week { background: var(--ink); border-radius: var(--r-md); padding: 24px; color: var(--paper); display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.week .mono { color: var(--slate-400); }
.week .n { font-family: 'Geist Mono', monospace; font-size: 12px; }
.week .n.hi { color: #F09595; } .week .n.mid { color: #FAC775; } .week .n.lo { color: var(--accent-dark); }
.week .notif { font-size: 13px; }
.rhythm { margin-top: 24px; display: flex; gap: 24px; flex-wrap: wrap; color: var(--slate-600); }
.rhythm span::before { content: "·"; margin-right: 8px; color: var(--accent-text); }

/* Modal / flows */
dialog { border: 0; padding: 0; border-radius: 16px; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px rgba(11, 15, 26, .3); }
dialog::backdrop { background: rgba(11, 15, 26, .55); backdrop-filter: blur(4px); }
.flow { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.flow-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.close { border: 0; background: var(--slate-100); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; line-height: 1; flex: none; }
.steps-ind { display: flex; gap: 6px; }
.steps-ind span { flex: 1; height: 3px; background: var(--slate-200); border-radius: 2px; }
.steps-ind span.on { background: var(--accent); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .q { font-size: 14px; font-weight: 500; }
.field input, .field select { height: 48px; border: 1px solid var(--slate-300); border-radius: var(--r-sm); background: var(--white); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border: 2px solid var(--ink); padding: 0 13px; }
.field.err input { border: 2px solid var(--error); padding: 0 13px; }
.field .help { font-size: 14px; color: var(--slate-500); }
.field.err .help { color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--slate-300); background: var(--white); border-radius: var(--r-sm); padding: 12px 16px; font-size: 15px; font-weight: 500; }
.chip:hover { background: var(--slate-100); }
.chip[aria-pressed="true"] { background: var(--accent-subtle); border: 2px solid var(--accent-text); color: var(--accent-text); padding: 11px 15px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.day { flex: none; border: 1px solid var(--slate-300); background: var(--white); border-radius: var(--r-sm); padding: 10px 14px; text-align: left; }
.day[aria-pressed="true"] { border: 2px solid var(--ink); padding: 9px 13px; }
.day small { display: block; color: var(--slate-500); font-family: 'Geist Mono', monospace; font-size: 11px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--slate-300); background: var(--white); border-radius: var(--r-sm); padding: 12px 14px; text-align: left; font-weight: 500; }
.slot small { display: block; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--slate-500); font-weight: 400; }
.slot:disabled { background: var(--slate-100); color: var(--slate-400); border-color: transparent; text-decoration: line-through; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot[aria-pressed="true"] small { color: var(--accent-dark); }
.confirm-phone { background: var(--ink); border-radius: var(--r-phone); padding: 20px 16px; box-shadow: 0 0 80px 4px var(--glow); }
.confirm-phone .notif { border-left: 3px solid var(--accent); }
.confirm-phone .when { font-size: 20px; font-weight: 500; margin-top: 6px; }
.cal-links { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cal-links a { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--paper); border: 1px solid var(--ink-800); border-radius: 4px; padding: 8px 10px; text-decoration: none; }
.cal-links a:hover { border-color: var(--accent-dark); }
.reroute { background: var(--white); border: 1px solid var(--slate-200); border-left: 3px solid #20D6B0; border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.reroute .btn-primary { background: #20D6B0; color: var(--ink); align-self: flex-start; }

/* Mobile sticky CTA */
.sticky-cta { display: none; }

/* Mode transition */
main { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
[hidden] { display: none !important; }

.switch button, .logo b { white-space: nowrap; }
@media (max-width: 1100px) {
  .logo .mono, .nav .btn { display: none; }
  .hero .wrap, .journey .wrap, .founders .wrap, .final, .product { grid-template-columns: 1fr; }
  .paying, .docs, .grid-4, .proof-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --pad: 16px; }
  .display { font-size: 44px; line-height: 46px; letter-spacing: -.03em; }
  .h1 { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 30px; line-height: 34px; }
  .body-l { font-size: 17px; line-height: 26px; }
  .nav .wrap { height: 64px; }
  .logo .mono { display: none; }
  .logo b { font-size: 18px; }
  .nav .btn { display: none; }
  .switch .long { display: none; } .switch .short { display: inline; }
  .switch button { padding: 8px 14px; }
  .hero { padding: 32px 0 48px; }
  .hero .wrap { gap: 24px; }
  .hero .copy { gap: 24px; display: contents; }
  .hero .eyebrow { order: 1; } .hero .headline { order: 2; } .hero .visual { order: 3; } .hero .sub { order: 4; } .hero .cta { order: 5; } .hero .trust { order: 6; }
  .hero .cta .btn { width: 100%; }
  /* Mobile: no phone frame — notifications land on the visitor's own screen */
  .hero .phone { width: 100%; background: none; border: 0; padding: 0; box-shadow: none; }
  .hero .phone.glow .stack { filter: drop-shadow(0 0 32px var(--glow)); }
  .hero .phone .lock { display: none; }
  .replay { position: static; align-self: flex-end; margin-top: 8px; }
  .hero .visual { flex-direction: column; }
  section.block { padding: 72px 0; }
  .block-head { margin-bottom: 40px; }
  .grid-3, .grid-4, .paying, .docs, .facts, .weeks, .proof-nums { grid-template-columns: 1fr; }
  .journey .sticky { position: sticky; top: 64px; z-index: 5; background: var(--paper); padding: 12px 0; margin: 0 -16px; padding: 12px 16px; border-bottom: 1px solid var(--slate-200); }
  .journey .phone { display: none; }
  .journey .sticky { order: -1; }
  .journey .wrap > div:first-child .block-head { margin-top: 24px; }
  .journey .wrap { gap: 0; }
  .step { min-height: 38vh; padding-left: 20px; }
  .step .mob-notif { display: block; }
  .final { padding: 40px 20px; border-radius: 12px; }
  blockquote { font-size: 24px; line-height: 32px; }
  .cal { grid-template-columns: 90px repeat(4, 1fr); }
  .cal .x { display: none; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(246, 247, 252, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--slate-200); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  .flow { padding: 24px 20px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  dialog { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
}
.mob-notif { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Round 2 */
.photo-img { width: 100%; aspect-ratio: 579 / 401; object-fit: cover; border-radius: var(--r-md); display: block; }
/* Hero phones: fixed frame, fixed number of cards — only text and colour change */
.hero .notif .msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .notif { transition: border-color .4s, background .4s; }
.hero .notif .app, .hero .notif .msg { transition: color .4s; }
.counter b { transition: color .4s; }
/* Journey: content sits at the top of each step so its top can align with the phone */
.step { justify-content: flex-start; padding-top: 0; padding-bottom: 160px; min-height: 0; }
.steps { padding-bottom: 30vh; }
@media (max-width: 720px) { .step { padding-bottom: 96px; } .steps { padding-bottom: 20vh; } }
