/* Emotionless website. Tokens from Design/Theme.swift; rules in the brand book. Dark only. */
:root {
  --bg: #1A1A1A;
  --bg-deep: #141414;
  --surface: #232323;
  --text: #FFFFFF;
  --text-2: #9A9A9A;
  --text-3: #6E6E6E;
  --border: rgba(255, 255, 255, 0.08);
  --raise: rgba(255, 255, 255, 0.04);
  --active: rgba(255, 255, 255, 0.09);
  --green: #50AA77;
  --neon: #34E39B;
  --neutral: #8296A3;
  --red: #FF6B6B;
  --gold-light: #F6DC8F;
  --gold: #D9A441;
  --gold-deep: #A8772A;
  --phase-2: #5FA3B8;
  --phase-3: #B79A5C;
  --phase-4: #9C86C9;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --pad: 24px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", system-ui, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0, 0, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--bg); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 112px 0; }
.section.band { background: var(--bg-deep); border-block: 1px solid var(--border); }
.center { text-align: center; }

/* Type */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.eyebrow.green { color: var(--green); }
.eyebrow.gold { background: linear-gradient(var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(31px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); line-height: 1.55; }
.small { font-size: 13px; color: var(--text-3); }
.hl { color: var(--green); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; display: grid; gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:active { transform: translateY(2px); opacity: 0.85; }
.btn-primary { background: var(--green); color: var(--bg); }
.btn-primary:hover { background: #5bb683; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: #2a2a2a; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1A1A1A; position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%; transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent); animation: shine 4s var(--ease) infinite; }
@keyframes shine { 0%, 75% { left: -60%; } 100% { left: 130%; } }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn :is(svg, .sf) { width: 18px; height: 18px; flex: none; }
.link-arrow { color: var(--text-2); text-decoration: none; font-weight: 500; }
.link-arrow:hover { color: var(--text); }

/* PRO plate */
.pro { display: inline-block; font: 800 11px/1 var(--round); letter-spacing: 0.14em; color: #1A1A1A; padding: 4px 8px; border-radius: 5px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep)); box-shadow: 0 1px 6px rgba(217,164,65,0.35); vertical-align: middle; }

/* Nav */
/* Nav: a floating glass pill, like Apple's materials. Stronger glass once the page scrolls under it. */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px var(--pad) 0; }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; max-width: 1080px; padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(30,30,30,0.42); border: 1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 12px 32px -12px rgba(0,0,0,0.7);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.nav.scrolled .wrap { background: rgba(30,30,30,0.62); border-color: rgba(255,255,255,0.11); }
.nav .btn-sm { border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img.mark { width: 34px; height: 34px; }
.brand img.word { height: 21px; width: auto; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; list-style: none; padding: 0; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--text); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.menu-btn :is(svg, .sf) { width: 24px; height: 24px; }
.mobile-menu { display: none; }

/* Hero: copy left, the app's welcome demo big on the right */
.hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 24px; position: relative; z-index: 1; } /* above the demo's invisible swipe margin */
.hero-copy .chip { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--raise); font-size: 13px; color: var(--text-2); }
.hero-copy .chip img { width: 20px; height: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 8px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 4px 0 0; font-size: 14px; color: var(--text-3); }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks :is(svg, .sf) { width: 14px; height: 14px; color: var(--green); }
/* The changing word: all words share one grid cell, so the line never jumps. */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; color: var(--neon); text-shadow: 0 0 18px rgba(52,227,155,0.55), 0 0 2px rgba(52,227,155,0.6);
  opacity: 0; transform: translateY(0.35em); filter: blur(6px); transition: opacity 0.5s var(--ease), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s var(--ease); }
.rotator > span.on { opacity: 1; transform: none; filter: none; }
.rotator > span.out { opacity: 0; transform: translateY(-0.35em); filter: blur(6px); }

/* Hero demo: the app's welcome demo as a video. The site draws the glow, so it is never cut off; the phone fades into the caption, like in the app. */
.demo { --pw: min(400px, 34vw, calc((100svh - 190px) * 0.4717)); --gp: 150px; position: relative; display: grid; justify-items: center; text-align: center; width: 100%; }
.stage { padding: var(--gp); margin: calc(var(--gp) * -1); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--gp) + var(--pw) * 1.45), transparent calc(var(--gp) + var(--pw) * 2.05));
  mask-image: linear-gradient(to bottom, #000 calc(var(--gp) + var(--pw) * 1.45), transparent calc(var(--gp) + var(--pw) * 2.05)); }
.stage:active { cursor: grabbing; }
.device { position: relative; width: var(--pw); aspect-ratio: 400 / 848; border-radius: 16% / 7.55%; will-change: transform; }
.device video { position: relative; width: 100%; height: 100%; display: block; border-radius: inherit; background: #0E0E0E; }
/* Two glows, green and red; only their opacity animates. Green breathes at Luna's calm pace, red takes over at the hard stop. */
.device::before, .device::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: opacity 1.2s var(--ease); }
.device::before { box-shadow: 0 0 40px 2px rgba(52,227,155,0.42), 0 0 110px 10px rgba(52,227,155,0.16); animation: breathe 10s ease-in-out infinite; }
.device::after { box-shadow: 0 0 40px 2px rgba(255,107,107,0.42), 0 0 110px 10px rgba(255,107,107,0.16); opacity: 0; }
.device.stopped::before { opacity: 0; animation: none; }
.device.stopped::after { opacity: 1; }
@keyframes breathe { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.demo-cap { margin-top: calc(var(--pw) * -0.42); align-self: start; position: relative; display: grid; align-content: start; gap: 8px; max-width: 400px; padding: 0 12px; }
.demo-title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.demo-title .less { color: var(--neon); text-shadow: 0 0 10px rgba(52,227,155,0.5); }
.demo-text { color: var(--text-2); font-size: 16px; line-height: 1.45; min-height: 2.9em; }
.demo-cap.swap { animation: cap 0.45s var(--ease); }
@keyframes cap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
/* Page dots, like the app's welcome screen: the active one stretches into a green capsule. */
/* Page dots, exactly like the app's welcome screen: small, close together, the active one a green capsule. */
.demo-nav { display: flex; align-items: center; justify-content: center; margin-top: 6px; position: relative; }
.pager { display: flex; align-items: center; }
.pager button { width: 11px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pager button::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.2); transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s var(--ease); }
.pager button:hover::before { background: rgba(255,255,255,0.45); }
.pager button[aria-pressed="true"] { width: 23px; }
.pager button[aria-pressed="true"]::before { width: 18px; background: var(--green); }
/* Pause: tap the phone; the button is there for the keyboard and shows when focused. */
.demo-pause { position: absolute; left: calc(100% + 8px); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--raise); color: var(--text-2); display: grid; place-items: center; cursor: pointer; opacity: 0; }
.demo-pause:focus-visible, .demo-pause[aria-pressed="true"] { opacity: 1; }
.demo-pause .sf { width: 11px; height: 11px; }

/* Press feedback on pointer-down, like iOS */
.btn:active, .tab:active, .demo-pause:active, .toggle button:active { transform: scale(0.97); transition-duration: 0.1s; }

/* Statement: two lines drift in from opposite sides as you scroll */
.statement { padding: 64px 0; overflow: hidden; }
.statement h2 { font-size: clamp(50px, 11.6vw, 170px); line-height: 0.98; letter-spacing: -0.05em; display: grid; }
.statement .l2 { color: var(--text-3); justify-self: end; }
/* --p runs from 1 (coming in at the bottom) to -1 (leaving at the top), set by site.js while you scroll. */
.statement .l1 { transform: translateX(calc(var(--p, 0) * -14vw)); }
.statement .l2 { transform: translateX(calc(var(--p, 0) * 14vw)); }

/* App icons: the app's own SF Symbols, as masks so they take the text colour */
.sf { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* Phone frame: CSS only */
.phone { width: 292px; border-radius: 48px; padding: 10px; background: #0b0b0b; position: relative;
  border: 1px solid #333; box-shadow: 0 0 0 1px #000, 0 40px 80px -24px rgba(0,0,0,0.8), 0 0 60px -20px rgba(52,227,155,0.25); }
/* The screen keeps the iPhone ratio, so nothing is cropped. The island and status bar sit in the app's safe area. */
.phone picture { display: block; position: relative; aspect-ratio: 393 / 852; border-radius: 38px; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone picture::before { content: ""; position: absolute; top: 1.3%; left: 50%; transform: translateX(-50%); width: 32%; height: 4.1%; border-radius: 99px; background: #000; z-index: 2; }
.phone .sb { position: absolute; top: 10px; left: 10px; right: 10px; aspect-ratio: 393 / 54; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 9% 0 12%; font: 600 12px/1 var(--font); color: #fff; pointer-events: none; }
.phone .sb svg { width: 46px; height: 11px; }
.phone.sm { width: 260px; border-radius: 42px; }
.phone.sm picture { border-radius: 33px; }

/* Brokers strip */
.strip { border-block: 1px solid var(--border); background: var(--bg-deep); padding: 22px 0; }
.strip .wrap { display: flex; align-items: center; gap: 24px; }
.strip .label { flex: none; font-size: 14px; color: var(--text-2); }
.marquee { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; width: max-content; animation: scroll 60s linear infinite; }
.marquee li { color: var(--text-3); font-weight: 600; font-size: 15px; white-space: nowrap; }
.marquee.paused ul { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.pause-btn { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.pause-btn :is(svg, .sf) { width: 14px; height: 14px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; display: grid; gap: 12px; align-content: start; }
.step .num { font: 700 13px/1 var(--round); color: var(--green); letter-spacing: 0.08em; }
.step .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(80,170,119,0.12); color: var(--green); }
.step .ico :is(svg, .sf) { width: 22px; height: 22px; }
.step h3 { font-size: 21px; }
.step p { color: var(--text-2); font-size: 16px; }

.quote-card { padding: 28px; display: grid; gap: 14px; }
.quote-card .q { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.quote-card p { color: var(--text-2); font-size: 15px; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tab { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-2); font: 500 15px/1 var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.tab :is(svg, .sf) { width: 16px; height: 16px; }
.tab:hover { color: var(--text); background: var(--raise); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px; }
.panel[hidden] { display: none; }
.panel .copy { display: grid; gap: 18px; }
.panel .phone { margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text-2); }
.checks :is(svg, .sf) { flex: none; width: 20px; height: 20px; color: var(--green); margin-top: 2px; }

/* Feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; }
.row + .row { border-top: 1px solid var(--border); }
.row.flip .visual { order: -1; }
.row .copy { display: grid; gap: 18px; max-width: 520px; }
.visual { display: flex; justify-content: center; }

/* Journey grid (program) */
.journey { padding: 24px; width: 100%; max-width: 460px; display: grid; gap: 14px; }
.journey .bar { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Journal dots */

/* Luna chat */
.luna-card { width: 100%; max-width: 440px; padding: 18px; border-color: rgba(52,227,155,0.35); display: grid; gap: 14px; }
.luna-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.luna-badge { width: 40px; height: 40px; border-radius: 50%; background: #0E0E0E; display: grid; place-items: center; border: 1.5px solid rgba(52,227,155,0.7); animation: ring 10s ease-in-out infinite; flex: none; }
.luna-badge img { width: 64%; height: 64%; }
.luna-badge.xs { width: 22px; height: 22px; border-width: 1px; }
.luna-badge.sm { width: 26px; height: 26px; border-width: 1px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 6px rgba(52,227,155,0.25); border-color: rgba(52,227,155,0.35); } 50% { box-shadow: 0 0 18px rgba(52,227,155,0.55); border-color: rgba(52,227,155,0.95); } }
.luna-name { color: var(--neon); font-weight: 600; text-shadow: 0 0 8px rgba(52,227,155,0.5); }
.luna-status { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.luna-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); }
.msg { display: flex; align-items: flex-end; gap: 8px; }
.msg .bubble { background: rgba(26,26,26,0.85); padding: 11px 14px; border-radius: 18px 18px 18px 4px; font-size: 15px; line-height: 1.45; max-width: 86%; }
.msg.cont .luna-badge { visibility: hidden; }
.msg.cont .bubble { border-radius: 18px; }
.msg.you { justify-content: flex-end; }
.msg.you .bubble { background: rgba(52,227,155,0.1); border: 1px solid rgba(52,227,155,0.35); color: var(--neon); font-weight: 600; border-radius: 18px 18px 4px 18px; text-align: right; }
.answer { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: var(--r); background: rgba(26,26,26,0.6); border: 1px solid rgba(52,227,155,0.3); color: var(--text-3); font-size: 14px; }
.timer-bubble b { font: 600 16px/1 var(--round); font-variant-numeric: tabular-nums; }
.timer-bubble :is(svg, .sf) { width: 14px; height: 14px; color: var(--red); vertical-align: -2px; margin-right: 6px; }

/* Hard stop */
.shield { width: 92px; height: 92px; border-radius: 50%; background: #0E0E0E; display: grid; place-items: center; border: 2px solid rgba(255,107,107,0.8); animation: red-ring 10s ease-in-out infinite; }
.shield .sf { width: 40px; height: 40px; color: var(--red); }
@keyframes red-ring { 0%, 100% { box-shadow: 0 0 10px rgba(255,107,107,0.25); } 50% { box-shadow: 0 0 32px rgba(255,107,107,0.6); } }
.tiles { display: flex; gap: 8px; }
.tiles div { width: 72px; height: 84px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid rgba(255,107,107,0.25); display: grid; place-content: center; gap: 4px; }
.tiles b { font: 700 32px/1 var(--round); font-variant-numeric: tabular-nums; }
.tiles small { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-3); }

/* Numbers */

/* Examples */

/* Pricing */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin: 0 auto 40px; }
.toggle button { min-height: 40px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font: 600 15px/1 var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.save { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 7px; border-radius: 999px; color: #1A1A1A; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.featured { border-color: rgba(217,164,65,0.6); background: linear-gradient(160deg, rgba(217,164,65,0.12), var(--surface) 45%); box-shadow: 0 0 60px -30px rgba(217,164,65,0.6); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan .price { font: 700 44px/1 var(--round); letter-spacing: -0.02em; }
.plan .price small { font: 500 15px/1 var(--font); color: var(--text-2); letter-spacing: 0; }
.plan .bill { font-size: 14px; color: var(--text-2); min-height: 2.9em; }
.plan .checks { flex: 1; align-content: start; }
.plan .checks li { font-size: 15px; }
.plan.featured .checks :is(svg, .sf) { color: var(--gold); }
.plan .btn { width: 100%; }
.price-note { margin-top: 28px; display: grid; gap: 8px; text-align: center; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-lg); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary :is(svg, .sf) { flex: none; width: 18px; height: 18px; color: var(--text-2); transition: transform 0.2s var(--ease); }
.faq details[open] summary :is(svg, .sf) { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--text-2); }

/* Final CTA */
.final .stores { justify-content: center; }
.final { position: relative; overflow: hidden; padding: 72px 32px; text-align: center; display: grid; gap: 20px; justify-items: center; border-radius: var(--r-xl); border-color: rgba(80,170,119,0.35); background: radial-gradient(80% 120% at 50% 0%, rgba(80,170,119,0.18), var(--surface) 70%); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 96px; margin-top: 112px; } /* bottom room for the help button */
.footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer .wm { display: grid; width: 230px; gap: 6px; }
.footer .wm img { width: 100%; height: auto; }
.footer .wm small { justify-self: center; padding-left: 0.17em; font: 400 7.5px/1 var(--font); letter-spacing: 0.17em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.footer nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: var(--text); }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: 13px; color: var(--text-3); max-width: 860px; }

/* Text pages (terms, privacy, support) */
.doc { max-width: 760px; margin: 0 auto; padding: 72px var(--pad) 0; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.doc .meta { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc a { color: var(--green); }
.todo { background: rgba(224,178,90,0.12); border: 1px solid rgba(224,178,90,0.4); color: #E0B25A; padding: 2px 6px; border-radius: 6px; font-size: 0.92em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .row, .panel { grid-template-columns: 1fr; gap: 40px; }
  .row.flip .visual { order: 0; }
  .panel { padding: 32px 24px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .nav-links, .nav .wrap .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-menu.open { display: block; margin-top: 8px; padding: 8px 20px 20px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); background: rgba(30,30,30,0.78); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
  .nav .wrap { padding: 0 4px 0 16px; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --pad: 16px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .strip .wrap { flex-wrap: wrap; gap: 14px; }
  .strip .label { width: 100%; }
  .tiles div { width: 64px; height: 76px; }
  .tiles b { font-size: 28px; }
  .plan { padding: 28px 20px; }
  .final { padding: 56px 20px; }
  .tab { padding: 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Hidden cost: research figures, in % only. Off-plan grey, never red (red is for the hard stop). */
.eyebrow.off { color: var(--neutral); }
.stat { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.stat > .sf { width: 22px; height: 22px; color: var(--neutral); }
.stat .v { font: 700 clamp(38px, 4vw, 48px)/1 var(--round); letter-spacing: -0.02em; }
.stat p { color: var(--text-2); font-size: 15px; }
.stat .src { color: var(--text-3); font-size: 12px; padding-top: 8px; border-top: 1px solid var(--border); margin-top: auto; min-height: 3.6em; }

/* Footer: columns, then the App Store button and a bottom line */
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer .meta { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.footer h4 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.footer .cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer .cols a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer .cols a:hover { color: var(--text); }
.store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border-radius: 9px; border: 1px solid #555; background: #000; color: #fff; text-decoration: none; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease); }
/* Not live yet: looks pressable, does nothing (no href). */
a.store.soon { pointer-events: auto; cursor: pointer; }
a.store.soon:hover { border-color: #8A8A8A; background: #111; }
a.store.soon:active { transform: scale(0.97); }
.store svg { width: 18px; height: 18px; }
.store span { display: grid; line-height: 1.05; font-size: 9px; }
.store b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.stores.lg { gap: 12px; }
.stores.lg .store { height: 52px; gap: 10px; padding: 0 18px 0 14px; border-radius: 12px; }
.stores.lg .store svg { width: 24px; height: 24px; }
.stores.lg .store span { font-size: 11px; }
.stores.lg .store b { font-size: 19px; }
@media (max-width: 420px) { .stores.lg { gap: 8px; } .stores.lg .store { height: 48px; gap: 8px; padding: 0 12px 0 10px; } .stores.lg .store svg { width: 20px; height: 20px; } .stores.lg .store span { font-size: 10px; } .stores.lg .store b { font-size: 16px; } }
.footer .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 13px; color: var(--text-3); }
.footer .bottom .brand img.word { height: 16px; }
.footer .bottom .brand img.mark { width: 24px; height: 24px; }
.footer .bottom .left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .bottom nav { display: flex; gap: 20px; }
.footer .bottom nav a { color: var(--text-3); text-decoration: none; }
.footer .bottom nav a:hover { color: var(--text); }
.footer .disclaimer { margin-top: 16px; padding-top: 0; border-top: 0; font-size: 12px; }
@media (max-width: 860px) {
  .footer .cols { grid-template-columns: repeat(2, 1fr); }
  }
@media (max-width: 980px) {
  .demo { --pw: min(380px, 78vw); margin-top: 8px; }
  .hero-copy { text-align: center; justify-items: center; }
  .hero-copy .chip { justify-self: center; }
  .rotator { display: grid; justify-items: center; } /* centred: the word gets its own line, so a short word leaves no gap */
  .hero-cta, .ticks, .hero-copy .stores { justify-content: center; }
}
@media (max-width: 560px) {
  .demo { --gp: 90px; }
  .demo-title { font-size: 22px; }
}
/* Scroll-driven motion (Chrome, Safari 26). Only transform and opacity; nothing moves for reduced motion. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head h2 { animation: brighten linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .row .visual { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .stat .v { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    .hero .demo .stage { animation: recede linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes brighten { from { opacity: 0.2; transform: translateY(24px); } }
@keyframes rise { from { opacity: 0; transform: translateY(64px) scale(0.94); } }
@keyframes grow { from { opacity: 0.3; transform: scale(0.85); } }
@keyframes recede { to { transform: scale(0.92) translateY(-24px); opacity: 0.4; } }
/* Without transparency: solid surfaces instead of glass */
@media (prefers-reduced-transparency: reduce) {
  .nav .wrap, .mobile-menu.open { background: #1E1E1E; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* One class per app icon; paths are relative to this stylesheet */
.sf-arrow-up { --i: url(../img/sf/arrow.up.png); }
.sf-book-closed { --i: url(../img/sf/book.closed.png); }
.sf-brain-head-profile { --i: url(../img/sf/brain.head.profile.png); }
.sf-chart-line-downtrend-xyaxis { --i: url(../img/sf/chart.line.downtrend.xyaxis.png); }
.sf-checklist { --i: url(../img/sf/checklist.png); }
.sf-checkmark { --i: url(../img/sf/checkmark.png); }
.sf-envelope { --i: url(../img/sf/envelope.png); }
.sf-exclamationmark-shield-fill { --i: url(../img/sf/exclamationmark.shield.fill.png); }
.sf-house { --i: url(../img/sf/house.png); }
.sf-line-3-horizontal { --i: url(../img/sf/line.3.horizontal.png); }
.sf-lock-fill { --i: url(../img/sf/lock.fill.png); }
.sf-map { --i: url(../img/sf/map.png); }
.sf-pause-fill { --i: url(../img/sf/pause.fill.png); }
.sf-percent { --i: url(../img/sf/percent.png); }
.sf-person-3 { --i: url(../img/sf/person.3.png); }
.sf-person { --i: url(../img/sf/person.png); }
.sf-play-fill { --i: url(../img/sf/play.fill.png); }
.sf-plus { --i: url(../img/sf/plus.png); }
.sf-sparkles { --i: url(../img/sf/sparkles.png); }
.sf-square-and-arrow-down { --i: url(../img/sf/square.and.arrow.down.png); }
.sf-sun-horizon { --i: url(../img/sf/sun.horizon.png); }
.sf-viewfinder { --i: url(../img/sf/viewfinder.png); }
.sf-info-circle { --i: url(../img/sf/info.circle.png); }
.sf-drop-fill { --i: url(../img/sf/drop.fill.png); }
.sf-exclamationmark { --i: url(../img/sf/exclamationmark.png); }
.sf-xmark { --i: url(../img/sf/xmark.png); }
.sf-arrow-uturn-backward { --i: url(../img/sf/arrow.uturn.backward.png); }
.sf-flame { --i: url(../img/sf/flame.png); }
.sf-repeat { --i: url(../img/sf/repeat.png); }
.sf-arrow-up-and-down { --i: url(../img/sf/arrow.up.and.down.png); }
.sf-waveform-path-ecg { --i: url(../img/sf/waveform.path.ecg.png); }
.sf-crown { --i: url(../img/sf/crown.png); }
.sf-shield-slash { --i: url(../img/sf/shield.slash.png); }
.sf-hourglass { --i: url(../img/sf/hourglass.png); }
.sf-clock-arrow-circlepath { --i: url(../img/sf/clock.arrow.circlepath.png); }
.sf-eye { --i: url(../img/sf/eye.png); }
.sf-gauge-with-dots-needle-67percent { --i: url(../img/sf/gauge.with.dots.needle.67percent.png); }
.sf-plus-forwardslash-minus { --i: url(../img/sf/plus.forwardslash.minus.png); }
.sf-scope { --i: url(../img/sf/scope.png); }
.sf-cloud-rain { --i: url(../img/sf/cloud.rain.png); }

/* Roadmap: the app's Program map. Done: filled in the phase colour. Today: tinted with an edge. Locked: faint. Selected: white outline. */
:root { --ph0: var(--neutral); --ph1: var(--green); --ph2: var(--phase-2); --ph3: var(--phase-3); --ph4: var(--phase-4); --ph5: #ECEEEC; }
.journey { max-width: 480px; }
.journey .bar { align-items: center; }
.key-btn { width: 44px; height: 44px; margin: -12px -12px -12px 0; border: 0; background: none; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.key-btn:hover { color: var(--text); }
.key-btn .sf { width: 15px; height: 15px; }
.map { display: grid; gap: 5px; }
.map .grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.tile { position: relative; aspect-ratio: 1; padding: 0; border-radius: 6px; border: 1px solid transparent; cursor: pointer; display: grid; place-items: center;
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent);
  transition: transform 0.1s var(--ease), filter 0.2s var(--ease); }
.tile:hover { filter: brightness(1.35); }
.tile:active { transform: scale(0.92); }
.tile.done { background: var(--c); color: #0E1A13; }
.tile.open { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: color-mix(in srgb, var(--c) 60%, transparent); color: var(--c); }
.tile[aria-pressed="true"] { border: 1.5px solid var(--text); }
.tile.wide { aspect-ratio: auto; min-height: 30px; font-size: 10px; letter-spacing: 0.06em; }
/* The checkpoint pin and the "needs attention" mark, drawn like the app's */
.tile .pin { position: absolute; top: -9px; right: -6px; width: 18px; height: 21px; filter: drop-shadow(0 0 1px var(--bg)) drop-shadow(0 0 1px var(--bg)); }
.tile .pin::before { content: ""; position: absolute; inset: 0; background: var(--green); -webkit-mask: url(../img/sf/drop.fill.png) center / contain no-repeat; mask: url(../img/sf/drop.fill.png) center / contain no-repeat; transform: rotate(180deg); }
.tile .pin::after { content: ""; position: absolute; left: 50%; top: 30%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #1A1A1A; }
.tile .att { position: absolute; top: -6px; left: -6px; width: 15px; height: 15px; border-radius: 50%; background: #E0B25A; border: 1.5px solid var(--bg); display: grid; place-items: center; }
.tile .att::before { content: ""; width: 9px; height: 9px; background: #1A1A1A; -webkit-mask: url(../img/sf/exclamationmark.png) center / contain no-repeat; mask: url(../img/sf/exclamationmark.png) center / contain no-repeat; }
.pick { padding: 12px 16px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: var(--surface); display: grid; gap: 3px; min-height: 92px; align-content: center; }
.pick .where { font: 600 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.05em; color: var(--c); }
.pick .title { font-size: 16px; font-weight: 500; line-height: 1.35; }
.pick .meta { font-size: 13px; color: var(--text-3); }
.pick.swap { animation: cap 0.35s var(--ease); }

/* The key behind the "i", like the sheet in the app */
.key { width: min(440px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--bg); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.key::backdrop { background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.key[open] { animation: cap 0.3s var(--ease); }
.key-head { display: flex; align-items: center; justify-content: space-between; margin: -10px -12px 8px 0; }
.key h4 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.key-close { width: 44px; height: 44px; border: 0; background: none; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.key-close .sf { width: 14px; height: 14px; }
.key > p { color: var(--text-2); font-size: 15px; }
.key ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.key li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--text-2); }
.key li.sep { border-top: 1px solid var(--border); padding-top: 16px; }
.key li b { display: block; color: var(--text); font-size: 15px; }
.key .t { position: relative; width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 20%, transparent); }
.key .t .pin, .key .t .att { position: absolute; }
.key .t .pin { top: -7px; right: -5px; width: 15px; height: 17px; }
.key .t .pin::before { content: ""; position: absolute; inset: 0; background: var(--green); -webkit-mask: url(../img/sf/drop.fill.png) center / contain no-repeat; mask: url(../img/sf/drop.fill.png) center / contain no-repeat; transform: rotate(180deg); }
.key .t .pin::after { content: ""; position: absolute; left: 50%; top: 34%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #1A1A1A; }
.key .t .att { top: -6px; left: -6px; width: 15px; height: 15px; border-radius: 50%; background: #E0B25A; border: 1.5px solid var(--bg); display: grid; place-items: center; }
.key .t .att::before { content: ""; width: 9px; height: 9px; background: #1A1A1A; -webkit-mask: url(../img/sf/exclamationmark.png) center / contain no-repeat; mask: url(../img/sf/exclamationmark.png) center / contain no-repeat; }

/* Sound familiar: a shuffled wall of what traders tell themselves. Columns start at different heights and drift at different speeds. */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; overflow: hidden; padding: 0 2px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 82%, transparent); }
.wall .col { display: grid; gap: 16px; align-content: start; transform: translateY(calc(var(--py, 0) * var(--s) * 1px)); will-change: transform; }
.wall .col:nth-child(1) { --s: 0.3; padding-top: 110px; }
.wall .col:nth-child(2) { --s: -0.24; padding-top: 24px; }
.wall .col:nth-child(3) { --s: 0.34; padding-top: 70px; }
.wall .col:nth-child(4) { --s: -0.2; padding-top: 150px; }
.voice { padding: 20px; border: 1px solid rgba(130,150,163,0.22); border-radius: 18px; background: radial-gradient(120% 70% at 0% 0%, rgba(130,150,163,0.13), var(--surface) 62%); display: grid; gap: 12px; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.voice:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.voice .who { display: flex; align-items: center; gap: 12px; }
.voice .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(130,150,163,0.14); display: grid; place-items: center; color: var(--neutral); }
.voice .ico .sf { width: 18px; height: 18px; }
.voice .who b { display: block; font-size: 15px; font-weight: 600; }
.voice .who small { display: block; font-size: 13px; color: var(--text-3); }
.voice .q { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.voice p:last-child { font-size: 14px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 980px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 1500px; }
  .wall .col:nth-child(3), .wall .col:nth-child(4) { padding-top: 0; }
}
@media (max-width: 560px) {
  .wall { grid-template-columns: 1fr; max-height: 1700px; }
  .wall .col { transform: none; padding-top: 0 !important; }
}

/* What's inside: the phones lean like a real product shot (Opal-style) and straighten a little as you scroll. */
.panel { perspective: 1600px; }
.panel .phone { --dir: 1; transform-style: preserve-3d;
  transform: rotateY(calc(var(--dir) * (-18deg - var(--p, 0) * 8deg))) rotateX(calc(7deg + var(--p, 0) * 4deg)) rotateZ(calc(var(--dir) * 3deg));
  background: linear-gradient(140deg, #555 0%, #1a1a1a 14%, #0b0b0b 50%, #1c1c1c 86%, #4a4a4a 100%); border-color: #444;
  box-shadow: calc(var(--dir) * 36px) 50px 90px -24px rgba(0,0,0,0.95), 0 0 0 1px #000, calc(var(--dir) * -14px) 0 70px -16px rgba(52,227,155,0.22); }
.panel:nth-of-type(odd) .phone { --dir: -1; }
.panel .phone::after { content: ""; position: absolute; left: -4px; top: 21%; width: 4px; height: 11%; border-radius: 3px 0 0 3px; background: linear-gradient(#5a5a5a, #222); box-shadow: 0 64px 0 #333; }
.panel .phone picture::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.10), transparent 32%, transparent 70%, rgba(255,255,255,0.04)); }
.sf-clock { --i: url(../img/sf/clock.png); }
.sf-target { --i: url(../img/sf/target.png); }
.sf-calendar { --i: url(../img/sf/calendar.png); }
.sf-bolt { --i: url(../img/sf/bolt.png); }
.sf-arrow-triangle-2-circlepath { --i: url(../img/sf/arrow.triangle.2.circlepath.png); }
.sf-bolt-trianglebadge-exclamationmark { --i: url(../img/sf/bolt.trianglebadge.exclamationmark.png); }
.sf-chart-xyaxis-line { --i: url(../img/sf/chart.xyaxis.line.png); }
.sf-bitcoinsign { --i: url(../img/sf/bitcoinsign.png); }
.sf-chart-bar-fill { --i: url(../img/sf/chart.bar.fill.png); }
.sf-building-columns { --i: url(../img/sf/building.columns.png); }
.sf-globe { --i: url(../img/sf/globe.png); }
.sf-hand-raised-fill { --i: url(../img/sf/hand.raised.fill.png); }
.sf-chart-line-uptrend-xyaxis { --i: url(../img/sf/chart.line.uptrend.xyaxis.png); }
.sf-dollarsign-arrow-circlepath { --i: url(../img/sf/dollarsign.arrow.circlepath.png); }
.sf-lock-shield-fill { --i: url(../img/sf/lock.shield.fill.png); }

/* Patterns & edge wall: the app's pattern rows (tinted icon square, title, detail) and edge cards, shuffled */
.insights { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.insights .col:nth-child(1) { padding-top: 60px; }
.insights .col:nth-child(2) { padding-top: 0; }
.insights .col:nth-child(3) { padding-top: 120px; }
.insights .col:nth-child(4) { padding-top: 30px; }
.ins { --t: var(--neutral); padding: 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.ins:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.16); }
.ins.good { --t: var(--green); }
.ins.pat { display: flex; align-items: center; gap: 14px; }
.ins .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--t); background: color-mix(in srgb, var(--t) 12%, transparent); }
.ins .ico .sf { width: 18px; height: 18px; }
.ins.pat b { display: block; font-size: 15px; font-weight: 600; }
.ins.pat small { display: block; font-size: 14px; color: var(--text-2); }
.ins .lbl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.ins .lbl .sf { width: 14px; height: 14px; color: var(--t); }
.ins.edge, .ins.stat2, .ins.luna-q { display: grid; gap: 6px; padding: 20px; }
.ins.edge { --t: var(--green); border-color: rgba(80,170,119,0.3); background: radial-gradient(120% 90% at 0% 0%, rgba(80,170,119,0.12), var(--surface) 60%); }
.ins .big { font: 700 34px/1.05 var(--round); letter-spacing: -0.02em; color: var(--t); font-variant-numeric: tabular-nums; }
.ins.stat2:not(.good) .big { color: var(--text); }
.ins.stat2 .big { font-size: 28px; }
.ins .sub { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.ins .bars { display: flex; align-items: center; gap: 4px; height: 56px; margin-top: 8px; }
.ins .bars i { flex: 1; height: var(--h); border-radius: 3px; background: var(--green); align-self: flex-end; transform-origin: bottom; }
.ins .bars i.n { background: var(--neutral); opacity: 0.55; }
.ins.luna-q { border-color: rgba(52,227,155,0.3); }
.ins.luna-q .lbl { color: var(--neon); }
.ins.luna-q p:last-child { font-size: 15px; line-height: 1.5; }

/* Journal: one week, filterable; tap a trade to open it */
.jr { width: 100%; max-width: 460px; padding: 22px; display: grid; gap: 16px; }
.jr-top { display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 88px; height: 88px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 10; }
.ring .fill { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.jr.in .ring .fill { stroke-dashoffset: 20; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 22px/1 var(--round); }
.jr-sum { font-size: 17px; font-weight: 600; margin: 2px 0; }
.seg { display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.seg button { flex: 1; min-height: 34px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: 600 14px/1 var(--font); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.seg button[aria-pressed="true"] { background: rgba(255,255,255,0.13); color: var(--text); }
.trades { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.trade { --t: var(--green); border-radius: 14px; border: 1px solid var(--border); border-left: 3px solid var(--t); background: rgba(255,255,255,0.03); overflow: hidden; animation: cap 0.3s var(--ease); }
.trade.off { --t: var(--neutral); }
.trade > button { width: 100%; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 14px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.trade .sym b { font-size: 15px; }
.trade .sym em { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 6px; padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--t) 16%, transparent); color: var(--t); }
.trade .st { font-size: 13px; font-weight: 600; color: var(--t); text-align: right; }
.trade .st small { display: block; font-weight: 400; color: var(--text-3); }
.trade .r { font: 600 15px/1 var(--round); min-width: 52px; text-align: right; color: var(--text-2); }
.trade dl { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0 14px 14px; }
.trade.open dl { display: grid; animation: cap 0.3s var(--ease); }
.trade dl div { padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.04); }
.trade dt { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.trade dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.trade dl p { grid-column: 1 / -1; font-size: 14px; color: var(--text-2); }

/* Luna: a chat you can type in */
.luna-card .log { display: grid; gap: 10px; max-height: 300px; overflow-y: auto; scroll-behavior: smooth; }
.luna-card .msg { animation: cap 0.3s var(--ease); }
.msg.typing .bubble { display: flex; gap: 4px; padding: 15px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: dot 1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { opacity: 0.3; transform: translateY(-3px); } }
.luna-card .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.luna-card .chips button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(52,227,155,0.35); background: rgba(52,227,155,0.06); color: var(--neon); font: 500 13px/1 var(--font); cursor: pointer; }
.luna-card .chips button:hover { background: rgba(52,227,155,0.14); }
.answer input { flex: 1; min-width: 0; height: 32px; border: 0; background: none; color: var(--text); font: 400 15px var(--font); outline: none; }
.answer input::placeholder { color: var(--text-3); }
.answer:focus-within { border-color: rgba(52,227,155,0.7); }
.answer button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--neon); color: var(--bg); display: grid; place-items: center; cursor: pointer; flex: none; }
.answer button .sf { width: 16px; height: 16px; }

/* Hard stop: pick a time, start it, the apps lock one by one */
.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; text-align: center; font-size: 11px; color: var(--text-3); }
.apps li { display: grid; justify-items: center; gap: 6px; }
.app { position: relative; width: 100%; max-width: 52px; aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, #3a3a3c, #232325); border: 1px solid rgba(255,255,255,0.08); transition: background 0.5s var(--ease); }
.app > .sf:first-child { width: 46%; height: 46%; }
.app .lock { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 2px var(--surface);
  -webkit-mask: none; mask: none; opacity: 0; transform: scale(0.4); transition: opacity 0.3s var(--ease), transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.app .lock::before { content: ""; display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask: url(../img/sf/lock.fill.png) center / contain no-repeat; mask: url(../img/sf/lock.fill.png) center / contain no-repeat; }
.hs.on .app { background: #1c1c1e; }
.hs.on .app > .sf:first-child { opacity: 0.3; transition: opacity 0.5s var(--ease); }
.hs.on .app .lock { opacity: 1; transform: none; filter: none; }
.hs.on .apps li:nth-child(2) .app, .hs.on .apps li:nth-child(2) .lock { transition-delay: 0.12s; }
.hs.on .apps li:nth-child(3) .app, .hs.on .apps li:nth-child(3) .lock { transition-delay: 0.24s; }
.hs.on .apps li:nth-child(4) .app, .hs.on .apps li:nth-child(4) .lock { transition-delay: 0.36s; }
.hs.on .apps li:nth-child(5) .app, .hs.on .apps li:nth-child(5) .lock { transition-delay: 0.48s; }
.hs.on .apps li:nth-child(6) .app, .hs.on .apps li:nth-child(6) .lock { transition-delay: 0.6s; }
.hs-pick { display: flex; gap: 8px; }
.hs-pick button { flex: 1; min-height: 48px; border-radius: var(--r); border: 0; background: var(--bg); color: var(--text); font: 600 16px/1 var(--font); cursor: pointer; }
.hs-pick button[aria-pressed="true"] { background: var(--red); color: #fff; }
@media (max-width: 560px) {
  .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trade dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insights .col { padding-top: 0 !important; }
}
@media (max-width: 980px) {
  .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.luna-card .chips[hidden] { display: none; }
@media (max-width: 560px) {
  .insights { grid-template-columns: 1fr; }
}

/* What's inside: the phones get real thickness, a titanium edge on the side that faces you */
.panel .phone {
  box-shadow:
    calc(var(--dir) * 1px) 1px 0 #6a6a6a, calc(var(--dir) * 2px) 1px 0 #4a4a4a, calc(var(--dir) * 3px) 2px 0 #3a3a3a,
    calc(var(--dir) * 4px) 2px 0 #303030, calc(var(--dir) * 5px) 3px 0 #2a2a2a, calc(var(--dir) * 6px) 3px 0 #252525,
    calc(var(--dir) * 7px) 4px 0 #202020, calc(var(--dir) * 8px) 4px 0 #1c1c1c, calc(var(--dir) * 9px) 5px 0 #161616,
    calc(var(--dir) * 10px) 5px 0 #111,
    calc(var(--dir) * 40px) 54px 90px -20px rgba(0,0,0,0.95), calc(var(--dir) * -14px) 0 70px -16px rgba(52,227,155,0.22);
}

/* Hidden cost: your own numbers, then how the leak gets closed */
.leak { margin-top: 56px; display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; padding: 0; }
.leak-in { padding: 36px; display: grid; gap: 18px; align-content: start; }
.leak-in h3 { margin: 0 0 4px; font-size: clamp(22px, 2.4vw, 28px); }
.rng { display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.rng span { display: flex; justify-content: space-between; gap: 12px; }
.rng b { color: var(--text); font: 600 15px/1.2 var(--round); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rng input { width: 100%; margin: 0; height: 24px; accent-color: var(--green); cursor: pointer; }
.leak-out { padding: 36px; display: grid; gap: 10px; align-content: center; border-left: 1px solid var(--border);
  background: radial-gradient(90% 80% at 70% 30%, rgba(130,150,163,0.16), transparent 70%), rgba(255,255,255,0.02); }
.leak-out .big { font: 700 clamp(64px, 8vw, 104px)/0.95 var(--round); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.leak-out .pct { font-size: 19px; font-weight: 600; line-height: 1.35; }
.fix { margin-top: 20px; padding: 36px; border-radius: var(--r-xl); border: 1px solid rgba(80,170,119,0.3); background: radial-gradient(70% 120% at 0% 0%, rgba(80,170,119,0.12), var(--surface) 60%); }
.fix h3 { margin: 0 0 24px; font-size: clamp(22px, 2.4vw, 28px); }
.fix ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: f; }
.fix li { display: grid; gap: 8px; align-content: start; }
.fix li b { font-size: 18px; }
.fix li b::before { counter-increment: f; content: counter(f) ". "; color: var(--text-3); }
.fix li p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.fix .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--green); background: rgba(80,170,119,0.12); }
.fix .ico.red { color: var(--red); background: rgba(255,107,107,0.12); }
.fix .ico .sf { width: 20px; height: 20px; }
.fix-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text); font-weight: 500; }

/* Hard stop, drawn like the app's alert: the shield sits on the card's edge, the edge breathes red */
.hs { position: relative; width: 100%; max-width: 420px; padding-top: 44px; }
.hs > .shield { position: absolute; z-index: 2; top: 0; left: 50%; margin-left: -44px; width: 88px; height: 88px; border: 1.5px solid rgba(255,107,107,0.6); animation: red-ring 6s ease-in-out infinite; }
.hs > .shield::before { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--red); opacity: 0; }
.hs.on > .shield::before { animation: wave 1.2s ease-out; }
@keyframes wave { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
.hs > .shield .sf { width: 38px; height: 38px; filter: drop-shadow(0 0 5px rgba(255,107,107,0.9)) drop-shadow(0 0 12px rgba(255,107,107,0.5)); }
.hs-card { padding: 60px 22px 20px; border-radius: 28px; background: #1C1C1C; border: 1px solid rgba(255,107,107,0.3); display: grid; gap: 16px; text-align: center; animation: hs-breathe 6s ease-in-out infinite; }
@keyframes hs-breathe { 50% { border-color: rgba(255,107,107,0.6); box-shadow: 0 0 36px rgba(255,107,107,0.2); } }
.hs-card h4 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.hs-card #hs-sub { margin-top: -8px; }
.hs .tiles { justify-content: center; }
.hs .tiles div { transition: border-color 0.4s var(--ease); }
.hs.on .tiles div { border-color: rgba(255,107,107,0.6); }
.hs-pick[hidden] { display: none; }
.apps-h { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: -6px; }
.hs.on .apps-h { color: var(--red); }
.slide { --x: 0px; --f: 0; position: relative; height: 60px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; margin-top: 6px; user-select: none; -webkit-user-select: none; }
.slide .txt { padding-left: 52px; font-weight: 500; color: var(--text-2); opacity: calc(1 - var(--f)); }
.slide .knob { position: absolute; left: 3px; top: 3px; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,107,107,0.5); background: rgba(255,107,107,0.18); color: var(--red);
  display: grid; place-items: center; cursor: grab; touch-action: none; transform: translateX(var(--x)); transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1); }
.slide.drag .knob { transition: none; cursor: grabbing; }
.slide .knob svg { width: 18px; height: 18px; }
.hs:not(.on) .slide:not(.drag) .knob { animation: nudge 3.2s ease-in-out 1.5s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(14px); } 90% { transform: translateX(0); } }

@media (max-width: 980px) {
  .leak { grid-template-columns: 1fr; }
  .leak-out { border-left: 0; border-top: 1px solid var(--border); }
  .fix ol { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .leak-in, .leak-out, .fix { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-card, .hs > .shield, .slide .knob { animation: none !important; }
}

/* Hard stop: tap to start, slide only to end early */
.hs-go { min-height: 52px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 600 16px/1 var(--font); cursor: pointer; margin-top: 6px; box-shadow: 0 0 30px -8px rgba(255,107,107,0.6); transition: transform 0.1s var(--ease); }
.hs-go:active { transform: scale(0.97); }
.hs-go[hidden], .slide[hidden] { display: none; }

/* Pricing: what PRO costs a day */
.per-day { margin-top: -8px; font-weight: 600; color: var(--gold); }
/* side cards have no per-day line: pad the bill so all three buttons line up */
@media (min-width: 981px) { .plan:not(.featured) .bill { min-height: calc(2.9em + 32px); } }
.plan .badge[hidden], .per-day [hidden] { display: none; }

/* What's inside on a phone: the tabs sit under the phone */
@media (max-width: 980px) {
  #features .wrap { display: flex; flex-direction: column; }
  #features .tabs { order: 1; margin: 24px 0 0; }
}

/* Footer: social links */
.footer .social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-2); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.social a:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.social svg { width: 18px; height: 18px; }

/* Mobile menu, like a list in the app: tinted icon tile, title, a grey line, chevron */
@media (max-width: 980px) {
  .mobile-menu.open { padding: 10px; animation: cap 0.3s var(--ease); border-color: rgba(80,170,119,0.25);
    background: radial-gradient(120% 60% at 50% 0%, rgba(80,170,119,0.12), transparent 70%), rgba(30,30,30,0.86); }
  .mobile-menu ul { display: grid; gap: 4px; }
  .mobile-menu li a { --t: var(--green); display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; text-decoration: none; color: var(--text); transition: background 0.2s var(--ease); }
  .mobile-menu li a:hover, .mobile-menu li a:active { background: rgba(255,255,255,0.06); }
  .mobile-menu li a::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-top: 2px solid var(--text-3); border-right: 2px solid var(--text-3); transform: rotate(45deg); flex: none; }
  .mobile-menu .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--t); background: color-mix(in srgb, var(--t) 14%, transparent); }
  .mobile-menu .ico .sf { width: 18px; height: 18px; }
  .mobile-menu li b { display: block; font-size: 16px; font-weight: 600; }
  .mobile-menu li small { display: block; font-size: 13px; color: var(--text-3); margin-top: 1px; }
  .mobile-menu .btn { width: 100%; margin-top: 10px; box-shadow: 0 0 30px -10px rgba(80,170,119,0.7); }
  .mobile-menu .stores { justify-content: center; margin-top: 10px; }
  .menu-note { margin: 8px 0 2px; text-align: center; font-size: 12px; color: var(--text-3); }
}

/* Until the app is in the App Store: the buttons say so and do nothing */
a.soon { cursor: default; pointer-events: none; white-space: nowrap; }

/* Help chat, bottom right */
.help-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 0; background: var(--green); color: var(--bg); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 28px -6px rgba(52,227,155,0.55), 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.2s var(--ease); animation: fab-breathe 4s ease-in-out infinite; }
.help-fab:hover { transform: scale(1.06); }
.help-fab svg { width: 26px; height: 26px; }
@keyframes fab-breathe { 50% { box-shadow: 0 0 40px -4px rgba(52,227,155,0.75), 0 10px 30px rgba(0,0,0,0.5); } }
.help { position: fixed; right: 20px; bottom: 88px; z-index: 61; width: 380px; height: min(580px, calc(100dvh - 120px)); display: flex; flex-direction: column; border: 1px solid rgba(80,170,119,0.25); border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 40% at 50% 0%, rgba(80,170,119,0.14), transparent 70%), #1E1E1E; box-shadow: 0 30px 80px rgba(0,0,0,0.6); animation: cap 0.25s var(--ease); }
.help[hidden] { display: none; }
.help-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--border); }
.help-head img { border-radius: 50%; box-shadow: 0 0 18px -4px rgba(52,227,155,0.6); }
.help-t { margin: 0; font-weight: 600; font-size: 16px; }
.help-s { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.help-x { margin-left: auto; flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--raise); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.help-x .sf { width: 12px; height: 12px; }
.help-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.help .msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; display: grid; gap: 4px; }
.help .msg.bot { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.help .msg.me { align-self: flex-end; background: var(--green); color: var(--bg); border-bottom-right-radius: 6px; }
.help .msg b { font-weight: 600; }
.help .msg a { color: var(--neon); font-weight: 600; }
.help .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.help .chips button { border: 1px solid rgba(80,170,119,0.4); background: rgba(80,170,119,0.1); color: var(--text); font: 500 13.5px/1.2 var(--font); padding: 8px 12px; border-radius: 999px; cursor: pointer; text-align: left; }
.help .chips button:hover { background: rgba(80,170,119,0.2); }
.help-in { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.help-in input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-deep); color: var(--text); font: 400 16px var(--font); }
.help-in input:focus, .ticket :is(input, select, textarea):focus { outline: none; border-color: var(--green); }
.help-in button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); color: var(--bg); display: grid; place-items: center; cursor: pointer; }
.help-in button .sf { width: 16px; height: 16px; }
.ticket { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(80,170,119,0.3); border-radius: 18px; background: var(--surface); }
.ticket-t { margin: 0; font-weight: 600; }
.ticket label { display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.ticket label small { color: var(--text-3); }
.ticket :is(input, select, textarea) { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-deep); color: var(--text); font: 400 16px/1.4 var(--font); }
.ticket textarea { resize: vertical; }
.ticket .hp { position: absolute; left: -9999px; }
.ticket-err { margin: 0; font-size: 13px; color: var(--red); }
.ticket-err:empty { display: none; }
.ticket-note { margin: 0; font-size: 12px; color: var(--text-3); }
@media (max-width: 560px) {
  .help { inset: 0; width: auto; height: 100dvh; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
  .help-fab { right: 16px; bottom: 16px; }
  .help-open .help-fab { display: none; }
}

/* Cookie choice, bottom left */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 59; width: min(400px, calc(100vw - 112px)); padding: 18px; border-radius: 20px; border: 1px solid rgba(80,170,119,0.25);
  background: radial-gradient(120% 70% at 0% 0%, rgba(80,170,119,0.12), transparent 70%), rgba(30,30,30,0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 60px rgba(0,0,0,0.55); animation: cap 0.3s var(--ease); }
.consent-t { margin: 0 0 4px; font-weight: 600; }
.consent-p { margin: 0 0 14px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.consent-p a { color: var(--text); }
.consent-b { display: flex; gap: 8px; }
.consent-b .btn { flex: 1; }
@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .consent-open .help-fab { display: none; }
}
