/* OTM Aurum Club: landing page styles
   Fonts: Manrope and Geist, SIL Open Font License 1.1 (see /fonts). */

@font-face {
  font-family: "Geist";
  font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-latin-wght.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Manrope";
  font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/manrope-latin-wght.woff2") format("woff2-variations");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #151515;
  --card: #1c1c1c;
  --card-2: #222222;
  --card-3: #2a2a2a;
  --fg: #efefef;
  --fg-2: #c9c9c9;
  --muted: #868686;
  --faint: #5a5a5a;
  --border: rgba(255, 255, 255, 0.05);
  --border-2: rgba(255, 255, 255, 0.09);
  --border-3: rgba(255, 255, 255, 0.14);
  --red: #e5533d;
  --amber: #d9a520;

  /* Accent: blue (default). Preview others with ?accent=gold or ?accent=green */
  --accent: #0276db;
  --accent-hi: #3b90f0;
  --accent-deep: #0a3f78;
  --on-accent: #ffffff;
  --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);
  --accent-line: color-mix(in oklab, var(--accent) 32%, transparent);

  --font-display: "Manrope", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1152px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);
}
:root[data-accent="gold"] { --accent: #c8921a; --accent-hi: #e6b84a; --accent-deep: #5c4108; --on-accent: #151515; }
:root[data-accent="green"] { --accent: #0f9d58; --accent-hi: #34c47d; --accent-deep: #0b4a2c; --on-accent: #ffffff; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 24px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in oklab, var(--accent) 45%, transparent); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 6px; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 14px; height: 14px; }
.icon-xs { width: 12px; height: 12px; stroke-width: 2; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.section { padding: 64px 16px; }
.section-lg { padding: 96px 16px; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 700; color: var(--fg); }
.h1 { font-size: 60px; line-height: 62px; letter-spacing: -1.8px; }
.h2 { font-size: 32px; line-height: 38px; letter-spacing: -0.9px; }
.h3 { font-size: 20px; line-height: 28px; letter-spacing: -0.3px; }
.eyebrow { font-size: 14px; line-height: 20px; color: var(--muted); }
.lead { font-size: 16px; line-height: 28px; color: var(--muted); }
.body-sm { font-size: 14px; line-height: 24px; color: var(--muted); }
.caption { font-size: 12px; line-height: 16px; color: var(--muted); }
.tone { background: linear-gradient(180deg, #9a9a9a 0%, #6a6a6a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; line-height: 1; font-weight: 500; white-space: nowrap; vertical-align: middle;
  transition: transform 0.16s var(--ease), background-color 0.16s, border-color 0.16s, color 0.16s, box-shadow 0.3s var(--ease), filter 0.16s;
}
.btn > span { display: block; line-height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn-sm { height: 36px; padding: 0 14px; }
.btn-primary {
  color: var(--on-accent); background-color: var(--accent);
  background-image: linear-gradient(180deg, var(--accent-hi), var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.35), 0 8px 22px -8px color-mix(in oklab, var(--accent) 75%, transparent); }
.btn-ghost { border: 1px solid var(--border-2); color: var(--fg); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--border-3); }
.btn-white { background: #fff; color: #151515; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12); }
.btn-white:hover { background: #ececec; }
.btn-glass { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn-block { width: 100%; }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .i-arrow { transform: translateX(2px); }
.btn:hover .i-out { transform: translate(2px, -2px); }
/* press ripple */
.btn::after, .seg-btn::after {
  content: ""; position: absolute; z-index: -1; left: var(--rx, 50%); top: var(--ry, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: currentColor; opacity: 0; transform: scale(0); pointer-events: none;
}
.ripple::after { animation: ripple 0.6s var(--ease); }
@keyframes ripple { from { opacity: 0.2; transform: scale(0); } to { opacity: 0; transform: scale(34); } }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-hi)); pointer-events: none; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 28px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(21, 21, 21, 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.brand {
  justify-self: start; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  opacity: 0; transform: translateY(6px) scale(0.7); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.45s var(--spring), background-color 0.2s;
}
.brand:hover { background: rgba(255, 255, 255, 0.05); }
.brand img { width: 24px; height: 24px; }
.site-header.show-mark .brand { opacity: 1; transform: none; pointer-events: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; font-size: 14px; line-height: 1; color: var(--muted); border-radius: 999px; transition: color 0.2s; }
.nav a:hover, .nav a.is-current { color: var(--fg); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: currentColor; opacity: 0.5; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border-2); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-btn i { display: block; width: 14px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.mobile-nav {
  position: fixed; top: 60px; left: 12px; right: 12px; z-index: 49; padding: 8px;
  background: var(--card); border: 1px solid var(--border-2); border-radius: var(--r-md); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.32s var(--ease), visibility 0s linear 0.32s;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mobile-nav a:not(.btn) { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 12px; border-radius: 10px; font-size: 15px; color: var(--fg-2); }
.mobile-nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.04); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 112px 16px 40px; text-align: center; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -220px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 22%, transparent), transparent);
  opacity: 0.55; pointer-events: none;
}
.hero > * { position: relative; }
.hero-logo { width: 188px; margin: 0 auto 28px; }
.logo-full { display: block; width: 100%; height: auto; fill: #fff; overflow: visible; }
.lf-words, .lf-mark { transform-box: fill-box; transform-origin: center top; }
.lf-words { opacity: calc(1 - var(--lp, 0) * 1.8); transform: translateY(calc(var(--lp, 0) * 12px)); }
.lf-mark { opacity: calc(1 - var(--lp, 0) * 0.9); transform: translateY(calc(var(--lp, 0) * -8px)) scale(calc(1 - var(--lp, 0) * 0.3)); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 4px 4px 4px 12px;
  border-radius: 999px; border: 1px solid var(--border-2); background: var(--bg); font-size: 12px; line-height: 1; color: var(--fg);
}
.pill-dots { display: inline-flex; gap: 4px; }
.pill-dot { width: 24px; height: 24px; border-radius: 999px; background: var(--card-2); display: grid; place-items: center; color: var(--fg-2); }
.hero h1 { margin-top: 24px; }
.hero .lead { max-width: 576px; margin: 20px auto 0; }
.hero-ctas { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.checks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; }
.checks li { display: inline-flex; align-items: center; gap: 6px; height: 16px; font-size: 12px; line-height: 1; color: var(--muted); }

/* Segmented tabs with sliding indicator */
.segmented {
  position: relative; isolation: isolate; display: inline-flex; gap: 2px; padding: 4px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--border);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.seg-btn { position: relative; overflow: hidden; isolation: isolate; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 14px; line-height: 1; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.2s; }
.seg-btn:hover, .seg-btn[aria-selected="true"], .seg-btn[aria-pressed="true"] { color: var(--fg); }
.seg-ind { position: absolute; z-index: -1; top: 4px; left: 0; height: 32px; width: 0; border-radius: 999px; background: var(--card-3); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.3); transition: transform 0.32s var(--spring), width 0.32s var(--spring); pointer-events: none; }

/* Browser-frame preview */
.showcase { margin-top: 56px; }
.frame {
  margin: 24px auto 0; max-width: 906px; border-radius: 18px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #191919, #161616); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6); overflow: hidden; text-align: left;
  transition: border-color 0.3s, box-shadow 0.5s var(--ease);
}
.frame:hover { border-color: var(--border-3); }
.frame-bar { height: 34px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--border); position: relative; }
.frame-dots { display: flex; gap: 6px; }
.frame-dots span { width: 8px; height: 8px; border-radius: 999px; background: #3a3a3a; }
.frame-url { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 12px; line-height: 20px; color: var(--muted); background: var(--card-2); padding: 0 10px; border-radius: 6px; transition: opacity 0.15s; white-space: nowrap; }
.frame-body { position: relative; height: 440px; }
.panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.99); filter: blur(6px); transition: opacity 0.32s var(--ease), transform 0.56s var(--ease), filter 0.32s var(--ease), visibility 0s linear 0.32s; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.panel.is-active .msg, .panel.is-active .course, .panel.is-active .chart-wrap, .panel.is-active .live-video, .panel.is-active .live-chat { animation: rise 0.56s var(--ease) both; }
.panel.is-active .msg:nth-child(3), .panel.is-active .course:nth-child(3) { animation-delay: 40ms; }
.panel.is-active .msg:nth-child(4), .panel.is-active .course:nth-child(4) { animation-delay: 80ms; }
.panel.is-active .course:nth-child(5) { animation-delay: 120ms; }
.panel.is-active .course:nth-child(6) { animation-delay: 160ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.frame-caption { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); display: flex; justify-content: center; gap: 6px; align-items: center; }
.frame-caption b { color: var(--fg); font-weight: 500; transition: opacity 0.15s; }
.is-swapping { opacity: 0; }

/* Mock app UI inside the frame */
.app { display: grid; grid-template-columns: 200px 1fr; height: 100%; }
.app-side { border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.side-title { font-size: 11px; line-height: 16px; color: var(--faint); padding: 6px 8px; text-transform: uppercase; letter-spacing: 0.8px; }
.side-item { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border-radius: 8px; font-size: 13px; line-height: 1; color: var(--muted); }
.side-item.is-on { background: var(--card-2); color: var(--fg); }
.side-item .badge { margin-left: auto; display: grid; place-items: center; min-width: 18px; height: 16px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10px; line-height: 1; }
.app-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.app-head { display: flex; align-items: center; justify-content: space-between; height: 22px; }
.app-head h4 { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; line-height: 1; color: var(--fg-2); background: var(--card-2); border: 1px solid var(--border); white-space: nowrap; }
.tag-accent { color: var(--accent-hi); background: var(--accent-soft); border-color: var(--accent-line); }
.tag-live { color: #ff6b6b; background: rgba(255, 80, 80, 0.1); border-color: rgba(255, 80, 80, 0.22); }
.tag-live::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.msg { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.avatar { width: 28px; height: 28px; border-radius: 999px; flex: none; display: grid; place-items: center; font-size: 11px; line-height: 1; font-weight: 600; color: #fff; background: linear-gradient(180deg, var(--accent-hi), var(--accent-deep)); }
.avatar.b { background: linear-gradient(180deg, #8b7cf6, #34287a); }
.avatar.c { background: linear-gradient(180deg, #3cc0b2, #0d4b45); }
.avatar.d { background: linear-gradient(180deg, #ee8a5c, #6b2a12); }
.avatar.e { background: linear-gradient(180deg, #e3bf58, #6a4c0b); }
.msg-body { flex: 1; min-width: 0; }
.msg-top { display: flex; align-items: center; gap: 6px; height: 22px; font-size: 12px; line-height: 1; color: var(--muted); }
.msg-top b { color: var(--fg); font-weight: 500; }
.msg-top .tag { margin-left: auto; }
.msg-text { font-size: 13px; line-height: 20px; color: var(--fg-2); margin-top: 4px; }
.skel { display: block; height: 8px; border-radius: 999px; background: var(--card-3); }
.skel-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.kv { display: flex; gap: 8px; margin-top: 10px; }
.kv > div { flex: 1; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); padding: 8px 10px; }
.kv span { display: block; font-size: 10px; line-height: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.6px; }
.kv .skel { margin-top: 8px; width: 70%; }
.chart-wrap { position: relative; flex: 1; border-radius: 14px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.chart-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-grid { display: grid; grid-template-columns: 1fr 220px; gap: 12px; flex: 1; min-height: 0; }
.live-video { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: radial-gradient(80% 90% at 70% 20%, color-mix(in oklab, var(--accent) 35%, #111), #111 70%); }
.live-video svg { position: absolute; left: 24px; right: 24px; top: 40px; bottom: 56px; width: calc(100% - 48px); height: calc(100% - 96px); }
.live-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; }
.live-bar .tag { background: rgba(0, 0, 0, 0.4); }
.live-bar .tag:last-child { margin-left: auto; }
.live-chat { border-radius: 14px; background: var(--card); border: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.chat-line { display: flex; gap: 8px; align-items: center; }
.chat-line .avatar { width: 20px; height: 20px; font-size: 9px; }
.course { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.course-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--card-2); color: var(--fg-2); flex: none; }
.course-name { font-size: 13px; line-height: 18px; color: var(--fg); }
.course-meta { font-size: 11px; line-height: 16px; color: var(--muted); }
.course .meter { width: 120px; margin-left: auto; flex: none; }
.meter { height: 6px; border-radius: 999px; background: var(--card-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); transform-origin: left; }
.panel.is-active .meter i { animation: grow 0.9s var(--ease) 0.15s both; }
@keyframes grow { from { transform: scaleX(0); } }
.cdl { animation: cdl 0.45s var(--ease) both; animation-delay: calc(var(--i) * 12ms); }
@keyframes cdl { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Strip ---------- */
.strip { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 40px 16px 8px; }
.strip .caption { letter-spacing: 1.2px; text-transform: uppercase; font-weight: 500; }
.strip-item { display: inline-flex; align-items: center; gap: 8px; height: 24px; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1; color: var(--fg-2); }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head .h2 { margin-top: 8px; }
.section-head .body-sm { margin-top: 8px; max-width: 460px; }
.section-head-center { flex-direction: column; align-items: center; justify-content: center; gap: 0; text-align: center; }
.section-head-center .body-sm { max-width: 480px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color 0.3s var(--ease); }

/* ---------- VIP bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bc { display: flex; flex-direction: column; overflow: hidden; }
.bc:hover { border-color: var(--border-2); }
.bc-4 { grid-column: span 4; }
.bc-5 { grid-column: span 5; }
.bc-7 { grid-column: span 7; }
.bc-12 { grid-column: span 12; }
.bc-art { position: relative; height: 240px; overflow: hidden; }
.bc-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 48px; background: linear-gradient(180deg, transparent, var(--card)); pointer-events: none; }
.bc-text { padding: 4px 24px 24px; }
.bc-text h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 26px; letter-spacing: -0.3px; }
.bc-text p { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--muted); }
.bc-row { flex-direction: row; }
.bc-row .bc-text { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 32px; }
.bc-row .bc-text .eyebrow { margin-bottom: 8px; }
.bc-row .bc-text h3 { font-size: 24px; line-height: 30px; letter-spacing: -0.6px; }
.bc-row .bc-text p { max-width: 440px; }
.bc-row .bc-text .btn { margin-top: 24px; }
.bc-row .bc-art { flex: 0 0 50%; height: auto; min-height: 260px; }
.bc-row .bc-art::after { display: none; }
.glow {
  background:
    radial-gradient(60% 70% at 78% 18%, color-mix(in oklab, var(--accent) 70%, #000) 0%, transparent 70%),
    radial-gradient(70% 70% at 12% 100%, color-mix(in oklab, var(--accent-deep) 80%, #000) 0%, transparent 70%),
    #121212;
}
.pane { background: var(--card-2); border: 1px solid var(--border-2); border-radius: 14px; }

/* 01 alerts */
.alerts { position: absolute; inset: 0 20px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%); }
.alerts-track { display: grid; gap: 8px; padding-top: 8px; animation: alerts 16s linear infinite; }
@keyframes alerts { to { transform: translateY(-50%); } }
.bc:hover .alerts-track { animation-play-state: paused; }
.alert { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; }
.al-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; height: 16px; font-size: 12.5px; line-height: 1; }
.al-top b { font-weight: 500; }
.al-top span { color: var(--faint); font-size: 11px; white-space: nowrap; }
.al-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; height: 18px; font-size: 12px; line-height: 1; color: var(--muted); white-space: nowrap; overflow: hidden; }
.pill-dir { display: inline-grid; place-items: center; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: 0.5px; flex: none; }
.dir-buy { background: var(--accent-soft); color: var(--accent-hi); }
.dir-sell { background: rgba(229, 83, 61, 0.14); color: #f07a66; }

/* 02 copier */
.art-copier { display: flex; flex-direction: column; justify-content: center; padding: 0 20px 24px; }
.acct { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
.acct-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--card-3); color: var(--fg-2); }
.acct-you { border-color: var(--accent-line); }
.acct-you .acct-ic { background: var(--accent-soft); color: var(--accent-hi); }
.acct b { display: block; font-size: 13px; line-height: 18px; font-weight: 500; }
.acct small { display: block; font-size: 11.5px; line-height: 16px; color: var(--muted); }
.pipe { position: relative; height: 24px; width: 1px; margin-left: 28px; background: repeating-linear-gradient(180deg, var(--border-3) 0 3px, transparent 3px 6px); }
.pipe i { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 8px var(--accent-hi); animation: flow 1.6s var(--ease) infinite; }
@keyframes flow { from { top: -4px; opacity: 0; } 25%, 75% { opacity: 1; } to { top: 20px; opacity: 0; } }
.switch-on { position: relative; width: 32px; height: 20px; border-radius: 999px; background: var(--accent); }
.switch-on::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.risk-set { display: flex; justify-content: space-between; align-items: center; height: 16px; margin-top: 14px; padding: 0 4px; font-size: 11.5px; line-height: 1; color: var(--muted); }
.mini-range { position: relative; width: 88px; height: 4px; border-radius: 4px; background: var(--card-3); }
.mini-range i { position: absolute; inset: 0 65% 0 0; border-radius: inherit; background: var(--accent); }
.mini-range i::after { content: ""; position: absolute; right: -5px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

/* 03 live */
.art-live { padding: 20px 20px 0; }
.screen { position: relative; height: 160px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-2); background: radial-gradient(90% 100% at 80% 0%, color-mix(in oklab, var(--accent) 28%, #111), #111 70%); }
.screen svg { position: absolute; left: 12px; right: 12px; top: 34px; bottom: 40px; width: calc(100% - 24px); height: calc(100% - 74px); }
.screen .tag-live { position: absolute; top: 10px; left: 10px; }
.screen-foot { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.screen-foot .tag { background: rgba(0, 0, 0, 0.45); }
.viewers { display: flex; align-items: center; height: 44px; }
.viewers .avatar { width: 22px; height: 22px; font-size: 9px; margin-left: -6px; box-shadow: 0 0 0 2px var(--card); }
.viewers .avatar:first-child { margin-left: 0; }
.viewers em { margin-left: 10px; font-style: normal; font-size: 12px; line-height: 1; color: var(--muted); }

/* 04 zones */
.art-zones { display: flex; flex-direction: column; padding: 16px 20px 0; }
.art-zones .segmented { align-self: flex-start; }
.zchart { position: relative; flex: 1; margin-top: 12px; }
.zchart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.z-layer { opacity: 0; transition: opacity 0.4s var(--ease); }
.z-layer.on { opacity: 1; }

/* 05 education */
.art-edu { display: grid; place-items: center; padding: 20px; }
.course-card { width: 100%; max-width: 340px; padding: 14px; }
.cc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.cc-head b { display: block; font-size: 13.5px; line-height: 18px; font-weight: 500; }
.cc-head small { display: block; font-size: 11.5px; line-height: 16px; color: var(--muted); }
.ring { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--v) * 360deg), var(--card-3) 0); }
.ring span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); font-size: 10px; line-height: 1; font-weight: 600; }
.modules { display: grid; margin-top: 6px; }
.modules li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 32px; font-size: 12.5px; line-height: 1; color: var(--muted); }
.modules .mk { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; border: 1.5px solid var(--border-3); }
.modules .done { color: var(--fg-2); }
.modules .done .mk { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.modules .now { color: var(--fg); }
.modules .now .mk { border-color: var(--accent-hi); }
.modules .now .mk::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); }
.modules em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--accent-hi); }

/* 06 calendar */
.art-cal { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 20px 24px; }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.day { height: 88px; padding-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; border-radius: 12px; }
.day span { font-size: 11px; line-height: 1; color: var(--muted); }
.day i { width: calc(100% - 8px); padding: 6px 0; border-radius: 7px; font-style: normal; font-size: 9.5px; line-height: 1.2; font-weight: 600; text-align: center; }
.day.is-event { border-color: var(--accent-line); }
.day.is-event i { background: var(--accent); color: var(--on-accent); }
.day.is-one i { box-shadow: inset 0 0 0 1px var(--accent-hi); color: var(--accent-hi); }
.booking { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; }
.booking b { display: block; font-size: 12.5px; line-height: 16px; font-weight: 500; }
.booking small { display: block; font-size: 11px; line-height: 14px; color: var(--muted); }
.slots { display: flex; gap: 4px; }
.slots span { display: grid; place-items: center; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--card-3); font-size: 10.5px; line-height: 1; font-weight: 500; color: var(--fg-2); }
.slots .on { background: #fff; color: #151515; }

/* 07 chat */
.art-chat { display: flex; align-items: center; padding: 0 20px 16px; }
.msgs { width: 100%; display: grid; gap: 8px; }
.m { display: flex; align-items: flex-end; gap: 8px; }
.m .avatar { width: 24px; height: 24px; font-size: 9.5px; }
.m .b { position: relative; max-width: 80%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--card-3); font-size: 12.5px; line-height: 18px; color: var(--fg-2); }
.m.me { justify-content: flex-end; }
.m.me .b { background: var(--accent); color: var(--on-accent); border-radius: 14px 14px 4px 14px; }
.react { position: absolute; right: -6px; bottom: -10px; padding: 1px 6px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--border-2); font-style: normal; font-size: 10px; line-height: 16px; }
.dots3 { display: inline-flex; gap: 4px; padding: 11px 12px !important; }
.dots3 i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: type 1.2s infinite; }
.dots3 i:nth-child(2) { animation-delay: 0.15s; }
.dots3 i:nth-child(3) { animation-delay: 0.3s; }
@keyframes type { 30% { transform: translateY(-3px); opacity: 1; } 0%, 60%, 100% { opacity: 0.4; transform: none; } }

/* 08 spaces */
.art-spaces { display: grid; place-items: center; padding: 20px; }
.spaces { width: 100%; max-width: 320px; padding: 6px; }
.sp-head { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); font-size: 12px; line-height: 1; color: var(--muted); }
.sp-row { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 9px; font-size: 13px; line-height: 1; color: var(--fg-2); }
.sp-row .hash { color: var(--faint); }
.sp-row.is-on { background: var(--card-3); color: var(--fg); }
.sp-row.is-on .hash { color: var(--accent-hi); }
.cnt { margin-left: auto; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10px; line-height: 1; }
.cnt-muted { background: var(--card-3); color: var(--fg-2); }

/* 09 risk */
.art-risk { display: grid; place-items: center; padding: 28px; }
.art-risk > * { position: relative; z-index: 1; }
.pretrade { width: 100%; max-width: 360px; padding: 6px; background: rgba(18, 18, 18, 0.62); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.pt-head { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; font-size: 12px; line-height: 1; color: var(--muted); }
.pt-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 40px; padding: 0 10px; border-top: 1px solid var(--border); }
.pt-row .mk { width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.pt-row b { font-size: 13px; line-height: 1; font-weight: 500; }
.pt-row em { font-style: normal; font-size: 12px; line-height: 1; color: var(--muted); }

/* ---------- Strategy (feature switcher) ---------- */
.process { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: stretch; }
.steps { display: flex; flex-direction: column; gap: 4px; }
.step { text-align: left; display: flex; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid transparent; transition: background-color 0.25s, border-color 0.25s; }
.step:hover { background: rgba(255, 255, 255, 0.02); }
.step.is-active { background: var(--card); border-color: var(--border-2); }
.step-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--muted); flex: none; transition: color 0.25s, background-color 0.25s; }
.step.is-active .step-icon { color: var(--fg); background: var(--card-2); }
.step-copy { padding-top: 4px; }
.step h3 { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); transition: color 0.25s; }
.step.is-active h3 { color: var(--fg); }
.step p { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 2px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.3s; }
.step.is-active p { max-height: 80px; opacity: 1; }
.glow-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 420px; border: 1px solid var(--border-2); }
.glow-orb { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; top: -20%; right: -10%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent-hi) 45%, transparent), transparent); filter: blur(30px); transition: transform 1.2s var(--ease); pointer-events: none; }
.glow-inner { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; }
.glass { position: relative; z-index: 1; width: min(440px, 100%); border-radius: 20px; padding: 20px; background: rgba(18, 18, 18, 0.62); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.glass-head { display: flex; align-items: center; justify-content: space-between; height: 22px; font-size: 12px; line-height: 1; color: var(--muted); }
.glass h4 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: -0.4px; margin-top: 14px; }
.glass ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.glass li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--fg-2); animation: rise 0.42s var(--ease) both; }
.glass li:nth-child(2) { animation-delay: 50ms; }
.glass li:nth-child(3) { animation-delay: 100ms; }
.glass li .icon { margin-top: 3px; color: var(--accent-hi); }
.swap { transition: opacity 0.22s var(--ease), transform 0.32s var(--ease), filter 0.22s var(--ease); }
.glass.is-out .swap { opacity: 0; transform: translateY(6px); filter: blur(4px); }
.process-progress { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; gap: 6px; z-index: 1; }
.process-progress span { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.process-progress span i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, 0.85); }
.process-progress span.is-done i { width: 100%; }
.process-progress span.is-active i { animation: fill var(--dur, 6s) linear forwards; }
.process-progress.is-paused span.is-active i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.note { margin-top: 20px; padding: 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.note-main { display: flex; gap: 16px; align-items: flex-start; }
.note p { font-size: 14px; line-height: 22px; color: var(--muted); max-width: 720px; }
.icon-box { width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--fg-2); flex: none; }

/* ---------- Risk calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 360px; padding: 8px; }
.calc-main { padding: 16px 16px 12px; }
.sliders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.slider-label { display: flex; justify-content: space-between; align-items: center; height: 20px; font-size: 13px; line-height: 1; color: var(--fg); margin-bottom: 8px; }
.slider-label output { color: var(--muted); font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 40px; margin: 0;
  border-radius: var(--r-sm); background: var(--card-2); border: 1px solid var(--border);
  background-image: linear-gradient(90deg, var(--card-3), var(--card-3)); background-size: var(--p, 50%) 100%; background-repeat: no-repeat;
  cursor: ew-resize; transition: border-color 0.16s;
}
input[type="range"]:hover { border-color: var(--border-3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 20px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06); transition: transform 0.16s var(--spring); }
input[type="range"]::-moz-range-thumb { width: 4px; height: 20px; border: 0; border-radius: 2px; background: #fff; }
input[type="range"]:active::-webkit-slider-thumb { transform: scaleY(1.2); }
.bars { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.bar-top { display: flex; justify-content: space-between; align-items: center; height: 16px; font-size: 13px; line-height: 1; color: var(--muted); margin-bottom: 8px; }
.bar-top b { color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 999px; background: var(--card-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; transition: width 0.6s var(--spring); }
.bar-a i { background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }
.bar-b i { background: var(--amber); }
.bar-c i { background: var(--red); }
.calc-note { margin-top: 18px; font-size: 12px; line-height: 18px; color: var(--muted); }
.calc-side { position: relative; overflow: hidden; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; min-height: 100%; }
.calc-side > * { position: relative; z-index: 1; }
.calc-side .caption { color: rgba(255, 255, 255, 0.7); }
.calc-big { font-family: var(--font-display); font-size: 48px; line-height: 52px; letter-spacing: -1.5px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; color: #fff; }
.calc-sub { font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, 0.65); }
.calc-facts { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.calc-facts li { display: flex; gap: 8px; align-items: center; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, 0.88); }
.calc-side .btn { margin-top: auto; }
.calc-side .fine { text-align: center; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, 0.6); margin-top: 10px; }

/* ---------- Compare table ---------- */
.table-card { padding: 8px 8px 16px; overflow-x: auto; }
.compare { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 20px; }
.compare th, .compare td { height: 40px; padding: 0 16px; text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { height: auto; padding-top: 30px; padding-bottom: 14px; font-weight: 500; vertical-align: bottom; border-bottom: 1px solid var(--border); }
.compare thead th small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.compare .group td { height: auto; padding-top: 22px; padding-bottom: 6px; font-size: 12px; line-height: 16px; color: var(--muted); }
.compare tbody td:first-child { color: var(--fg-2); }
.compare tbody tr:not(.group):hover td:not(.col-hl) { background: rgba(255, 255, 255, 0.02); }
.compare .col-hl { background: color-mix(in oklab, var(--accent) 7%, transparent); width: 200px; }
.compare thead .col-hl { border-radius: 16px 16px 0 0; position: relative; }
.compare tfoot .col-hl { border-radius: 0 0 16px 16px; }
.compare tfoot td { height: auto; padding-top: 18px; padding-bottom: 14px; }
.badge-top { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); height: 20px; padding: 0 8px; display: inline-grid; place-items: center; font-size: 11px; line-height: 1; font-weight: 500; border-radius: 999px; background: var(--accent); color: var(--on-accent); white-space: nowrap; }
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 999px; color: var(--fg); vertical-align: middle; }
.tick-hl { background: var(--accent); color: var(--on-accent); }
.dash { display: inline-block; width: 10px; height: 1.5px; background: var(--faint); vertical-align: middle; }

/* ---------- Reviews ---------- */
.avatars { display: flex; }
.avatars .avatar { width: 30px; height: 30px; margin-left: -8px; box-shadow: 0 0 0 2px var(--bg); font-size: 11px; }
.avatars .avatar:first-child { margin-left: 0; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.video-card { overflow: hidden; text-align: left; width: 100%; }
.video-card:hover { border-color: var(--border-2); }
.video-slot { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(70% 80% at 30% 20%, color-mix(in oklab, var(--accent) 30%, #141414), #141414 70%); }
.play { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); transition: transform 0.35s var(--spring), background-color 0.2s; }
.play .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.video-card:hover .play { transform: scale(1.08); background: rgba(255, 255, 255, 0.18); }
.video-meta { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 16px; font-size: 14px; line-height: 1; }
.video-meta span { color: var(--muted); font-size: 12px; }
.wall { columns: 3; column-gap: 16px; }
.review { break-inside: avoid; display: block; margin-bottom: 16px; padding: 20px; border-radius: 20px; }
.review:hover { border-color: var(--border-2); }
.review-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 22px; margin-bottom: 8px; }
.stars { display: flex; gap: 2px; height: 14px; color: #f2b638; margin-bottom: 10px; }
.stars .icon { fill: currentColor; stroke: none; }
.review-text { font-size: 14px; line-height: 22px; color: var(--fg-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; overflow: hidden; }
.review-text p + p { margin-top: 10px; }
.review.is-open .review-text { -webkit-line-clamp: unset; display: block; }
.more { display: inline-flex; align-items: center; gap: 4px; height: 20px; margin-top: 10px; font-size: 13px; line-height: 1; font-weight: 500; color: var(--accent-hi); }
.more .icon { transition: transform 0.3s var(--ease); }
.review.is-open .more .icon { transform: rotate(180deg); }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.review-author .who b { display: block; font-size: 13px; line-height: 18px; font-weight: 500; }
.review-author .who span { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.disclaimer { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--faint); max-width: 860px; }

/* ---------- Onboarding ---------- */
.onboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ob-card { padding: 20px; display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.3s var(--ease); }
.ob-card:hover { transform: translateY(-2px); }
.ob-card:not(.ob-hl):hover { border-color: var(--border-2); }
.step-pill { align-self: flex-start; display: inline-grid; place-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 12px; line-height: 1; color: var(--fg-2); }
.ob-card h3 { margin-top: 20px; }
.ob-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ob-card li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 13px; line-height: 20px; color: var(--fg-2); }
.ob-card li .tick { width: 16px; height: 16px; margin-top: 2px; background: var(--card-3); }
.ob-card li .tick .icon { width: 10px; height: 10px; }
.ob-card .spacer { flex: 1; min-height: 20px; }
.ob-hl {
  color: #fff;
  background: radial-gradient(90% 60% at 100% 0%, color-mix(in oklab, var(--accent-hi) 55%, transparent), transparent 70%), linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent) 70%, #000));
  border-color: color-mix(in oklab, var(--accent-hi) 50%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.ob-hl .step-pill { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.ob-hl li { color: rgba(255, 255, 255, 0.92); }
.ob-hl li .tick { background: rgba(255, 255, 255, 0.95); color: var(--accent); }
.ob-hl .h3 { color: #fff; }
:root[data-accent="gold"] .ob-hl, :root[data-accent="gold"] .ob-hl .h3 { color: #151515; }
:root[data-accent="gold"] .ob-hl li { color: rgba(21, 21, 21, 0.85); }
:root[data-accent="gold"] .ob-hl .step-pill { color: #151515; border-color: rgba(0, 0, 0, 0.3); }
:root[data-accent="gold"] .ob-hl li .tick { background: #151515; color: var(--accent-hi); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 576px; gap: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--border-2); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: 16px; min-height: 48px; padding: 14px 20px; font-size: 14px; font-weight: 500; line-height: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--muted); transition: transform 0.3s var(--spring); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 20px 18px; font-size: 14px; line-height: 24px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 40px;
  display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center;
  background:
    radial-gradient(60% 120% at 85% 50%, color-mix(in oklab, var(--accent-hi) 60%, transparent), transparent 70%),
    radial-gradient(80% 120% at 0% 0%, color-mix(in oklab, var(--accent-deep) 90%, #000), transparent 80%),
    linear-gradient(90deg, color-mix(in oklab, var(--accent-deep) 70%, #0d0d0d), color-mix(in oklab, var(--accent) 60%, #0d0d0d));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: rgba(255, 255, 255, 0.75); }
.cta h2 { color: #fff; margin-top: 6px; }
.cta p.body { color: rgba(255, 255, 255, 0.8); font-size: 14px; line-height: 24px; margin-top: 10px; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-checks { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 6px; }
.cta-checks li { display: inline-flex; gap: 6px; align-items: center; height: 18px; font-size: 12px; line-height: 1; color: rgba(255, 255, 255, 0.75); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 16px 40px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-logo { display: inline-block; }
.foot-logo img { width: 112px; height: auto; }
.footer p.body-sm { margin-top: 16px; max-width: 280px; }
.footer h4 { font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; line-height: 20px; color: var(--fg-2); transition: color 0.2s; }
.footer ul a:hover { color: var(--fg); }
.risk-warning { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; line-height: 19px; color: var(--muted); }
.risk-warning b { color: var(--fg-2); font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 12px; line-height: 16px; color: var(--faint); }

/* ---------- Dialogs: modal on desktop, bottom sheet on mobile ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--fg); width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; inset: 0; }
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: rgba(0, 0, 0, 0); transition: background-color 0.25s; }
.modal.is-shown::backdrop { background: rgba(0, 0, 0, 0.6); }
.modal-card {
  position: relative; width: min(440px, calc(100% - 32px)); padding: 24px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--border-2); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(10px) scale(0.97); transition: opacity 0.22s var(--ease), transform 0.36s var(--spring);
}
.modal.is-shown .modal-card { opacity: 1; transform: none; }
.modal-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(217, 165, 32, 0.12); color: var(--amber); border: 1px solid rgba(217, 165, 32, 0.24); }
.modal-icon .icon { width: 18px; height: 18px; }
.modal-card h3 { margin-top: 16px; }
.modal-card p { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--fg-2); }
.modal-card .modal-sub { color: var(--muted); }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.sheet-grab { display: none; }
.video-box { width: min(960px, calc(100% - 32px)); border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--border-2); opacity: 0; transform: scale(0.97); transition: opacity 0.22s var(--ease), transform 0.36s var(--spring); }
.modal.is-shown .video-box { opacity: 1; transform: none; }
.video-top { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--border); }
.video-top b { font-size: 14px; line-height: 1; font-weight: 500; }
.close { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); transition: background-color 0.2s, color 0.2s; }
.close:hover { background: rgba(255, 255, 255, 0.06); color: var(--fg); }
.video-frame { aspect-ratio: 16 / 9; background: #0b0b0b; display: grid; place-items: center; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-empty { text-align: center; padding: 24px; }
.video-empty b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 24px; }
.video-empty span { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted); }
body.modal-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .process { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .onboard { grid-template-columns: 1fr 1fr; }
  .wall { columns: 2; }
  .bc-4 { grid-column: span 6; }
  .bc-5, .bc-7 { grid-column: span 12; }
}
@media (max-width: 860px) {
  .nav, .hide-sm { display: none; }
  .menu-btn { display: flex; }
  .site-header { padding: 0 16px; grid-template-columns: 1fr auto; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-center { align-items: center; }
  .cta { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .live-grid { grid-template-columns: 1fr; }
  .live-chat { display: none; }
  .bc-row { flex-direction: column-reverse; }
  .bc-row .bc-art { flex: none; min-height: 240px; }
  .bc-row .bc-text { padding: 4px 24px 24px; }
}
@media (max-width: 640px) {
  .h1 { font-size: 40px; line-height: 44px; letter-spacing: -1.2px; }
  .h2 { font-size: 26px; line-height: 32px; letter-spacing: -0.7px; }
  .hero { padding-top: 88px; }
  .hero-logo { width: 152px; margin-bottom: 24px; }
  .hero-ctas .btn { flex: 1 1 100%; max-width: 320px; }
  .bento { gap: 12px; }
  .bc-4, .bc-5, .bc-7, .bc-12 { grid-column: span 12; }
  .sliders { grid-template-columns: 1fr; }
  .onboard { grid-template-columns: 1fr; }
  .wall { columns: 1; }
  .videos { grid-template-columns: 1fr; }
  .frame-body { height: 400px; }
  .frame-url { font-size: 11px; }
  .note { flex-direction: column; align-items: flex-start; }
  .note .btn { margin-left: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-lg { padding: 72px 16px; }
  .kv > div:nth-child(3) { display: none; }
  .modal[open] { place-items: end center; }
  .modal-card { width: 100%; border-radius: 24px 24px 0 0; padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); border-bottom: 0; opacity: 1; transform: translateY(100%); transition: transform 0.42s var(--ease); }
  .modal.is-shown .modal-card { transform: none; }
  .sheet-grab { display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--border-3); margin: 0 auto 16px; }
  .modal-actions { grid-template-columns: 1fr; }
  .modal-actions .btn-primary { order: -1; }
  .modal-actions .btn { height: 44px; }
  .modal-video[open] { place-items: center; }
  .video-box { width: calc(100% - 24px); }
}
@media (max-width: 380px) {
  .site-header .btn-sm { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .lf-words, .lf-mark { opacity: 1; transform: none; }
  .progress { display: none; }
}

/* Balanced line breaks: no orphans in headings and intros */
.h1, .h2, .h3, .lead, .section-head .body-sm, .bc-text h3 { text-wrap: balance; }
.bc-text p, .review-text p, .faq-a p { text-wrap: pretty; }
.hero-logo { margin-bottom: 32px; }
.t-short { display: none; }
.seg-btn { flex: none; }
@media (max-width: 640px) {
  [data-tabs="hero"] { display: flex; width: 100%; }
  [data-tabs="hero"] .seg-btn { flex: 1 1 0; padding: 0 8px; }
  .t-full { display: none; }
  .t-short { display: inline; }
  .strip { gap: 20px; padding-top: 32px; }
  .strip .caption { flex-basis: 100%; text-align: center; }
  .strip-item { font-size: 15px; }
}

/* ---------- Reviews carousel (3 up, auto-slides, pauses on hover) ---------- */
.carousel { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; align-items: stretch;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; outline: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.rail .review { margin: 0; display: flex; flex-direction: column; scroll-snap-align: start; }
.rail .review-author { margin-top: auto; padding-top: 16px; }
.rail .more { align-self: flex-start; }
.rail:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 4px; border-radius: 22px; }
.rail-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.rail-btn { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--fg); transition: background-color 0.2s, border-color 0.2s, opacity 0.2s, transform 0.15s var(--ease); }
.rail-btn:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--border-3); }
.rail-btn:active { transform: scale(0.94); }
.rail-dots { display: flex; align-items: center; gap: 6px; }
.rail-dots button { position: relative; width: 6px; height: 6px; border-radius: 6px; background: var(--card-3); overflow: hidden; transition: width 0.35s var(--ease), background-color 0.3s; }
.rail-dots button::before { content: ""; position: absolute; inset: -8px -3px; }
.rail-dots button[aria-current="true"] { width: 28px; background: var(--border-3); }
.rail-dots button[aria-current="true"] i { position: absolute; inset: 0; border-radius: inherit; background: var(--fg); transform-origin: left; transform: scaleX(0); }
.carousel.is-playing .rail-dots button[aria-current="true"] i { animation: dotfill var(--slide, 5s) linear forwards; }
.carousel.is-paused .rail-dots button[aria-current="true"] i { animation-play-state: paused; }
.carousel:not(.is-playing) .rail-dots button[aria-current="true"] i { transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }
@media (max-width: 1024px) { .rail { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 100%; gap: 12px; } }
/* Cards with a title show fewer preview lines so card heights stay even */
.review-title + .review-text { -webkit-line-clamp: 6; }
/* Mobile hero headline: always exactly two lines, scaled to the screen */
@media (max-width: 640px) {
  .hero h1 { white-space: nowrap; font-size: min(40px, calc((100vw - 34px) / 11)); line-height: 1.12; letter-spacing: -0.03em; }
}

/* ---------- Hero services marquee ---------- */
.marquee {
  position: relative; max-width: 760px; margin: 24px auto 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { display: flex; gap: 8px; padding-right: 8px; flex: none; }
.marquee li {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 5px; flex: none;
  border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.015);
  font-size: 13px; line-height: 1; color: var(--fg-2); white-space: nowrap;
}
.mq-ic { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: var(--card-2); color: var(--accent-hi); }
.mq-ic .icon { width: 13px; height: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .marquee { margin-top: 20px; margin-left: -16px; margin-right: -16px; max-width: none; }
  .marquee-track { animation-duration: 40s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee ul { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee ul[aria-hidden] { display: none; }
}

/* =========================================================
   Header logo: full logo at the top, condenses into the M on scroll
   ========================================================= */
.site-header .brand {
  position: absolute; left: 28px; top: 18px; z-index: 2;
  display: block; width: auto; height: auto; border-radius: 0; background: none;
  opacity: 1; transform: none; pointer-events: auto; transition: none;
}
.site-header .brand:hover { background: none; }
.brand-logo {
  --h: 84px;
  display: block; height: var(--h); width: calc(var(--h) * 1220 / 772);
  transform-origin: var(--ox, 0) var(--oy, 0);
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--ts, 1));
  will-change: transform;
}
.brand-logo .logo-full { width: 100%; height: 100%; }
.brand .lf-mark { opacity: 1; transform: none; }
.brand .lf-words { opacity: calc(1 - var(--lp, 0) * 2.2); transform: translateY(calc(var(--lp, 0) * -10px)) scale(calc(1 - var(--lp, 0) * 0.15)); transform-origin: center top; }
.hero { padding-top: 120px; }
@media (max-width: 860px) {
  .site-header .brand { left: 16px; top: 14px; }
  .brand-logo { --h: 60px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 104px; }
}

/* Services slider: no pills, just icon + label */
.marquee ul { gap: 36px; padding-right: 36px; }
.marquee li { height: 24px; padding: 0; gap: 10px; border: 0; background: none; border-radius: 0; font-size: 14px; color: var(--muted); }
.mq-ic { width: auto; height: auto; background: none; border-radius: 0; color: var(--fg-2); }
.mq-ic .icon { width: 16px; height: 16px; }
/* Keep nav centred and actions right now the logo floats */
.site-header .nav { grid-column: 2; }
.site-header .header-right { grid-column: 3; }
@media (max-width: 860px) { .site-header .header-right { grid-column: 2; } }

/* Video cards with real thumbnails */
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; }
.video-slot { overflow: hidden; }
.video-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.35)); pointer-events: none; }
.video-slot .play { position: relative; z-index: 1; }
.video-card:hover .video-poster { transform: scale(1.03); }
.video-meta [data-vid-note] { font-variant-numeric: tabular-nums; }
.video-frame video { max-height: calc(100dvh - 120px); }

/* Live tags: green */
.tag-live { color: #34d07f; background: rgba(52, 208, 127, 0.1); border-color: rgba(52, 208, 127, 0.24); }

/* Hero badge: icons stacked (overlapping), not side by side */
.pill-dots { gap: 0; }
.pill-dot { position: relative; box-shadow: 0 0 0 2px var(--bg); }
.pill-dot + .pill-dot { margin-left: -7px; }
.pill-dot:nth-child(1) { z-index: 3; }
.pill-dot:nth-child(2) { z-index: 2; }
.pill-dot:nth-child(3) { z-index: 1; }
.pill { padding: 3px 3px 3px 12px; }
.pill-dot { width: 26px; height: 26px; background: #262626; }
.pill-dot + .pill-dot { margin-left: -6px; }

/* =========================================================
   Buttons: rounded rectangles, not full pills
   ========================================================= */
.btn { border-radius: 10px; }
.btn-sm { border-radius: 9px; }
.segmented { border-radius: 12px; }
.seg-btn, .seg-ind { border-radius: 8px; }
.rail-btn, .menu-btn { border-radius: 10px; }
.seg-btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: -2px; border-radius: 8px; }

/* =========================================================
   VIP preview window (redesigned)
   ========================================================= */
.frame-body { height: 480px; }
.app { grid-template-columns: 212px minmax(0, 1fr); }
.app-side { padding: 12px 10px; gap: 1px; }
.ws { display: flex; align-items: center; gap: 10px; padding: 6px 8px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.ws-mark { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--card-3); flex: none; }
.ws > div > b { display: block; font-size: 12.5px; line-height: 16px; font-weight: 600; }
.ws > div > span { display: block; font-size: 11px; line-height: 14px; color: var(--muted); }
.side-title { padding: 10px 8px 4px; }
.side-item { width: 100%; text-align: left; transition: background-color 0.2s, color 0.2s; }
button.side-item { cursor: pointer; }
button.side-item:hover { background: rgba(255, 255, 255, 0.03); color: var(--fg); }
.side-item.is-static { color: var(--faint); }
.side-item .badge-muted { background: var(--card-3); color: var(--fg-2); }
.side-live { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #34d07f; box-shadow: 0 0 0 3px rgba(52, 208, 127, 0.15); animation: pulse 1.6s infinite; }
.mini-switch { margin-left: auto; position: relative; width: 22px; height: 13px; border-radius: 999px; background: var(--accent); opacity: 0.8; }
.mini-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.app-panels { position: relative; min-width: 0; }
.app-main { height: 100%; padding: 18px 20px 20px; gap: 12px; }
.app-head { height: auto; align-items: flex-start; }
.app-head h4 { font-size: 16px; line-height: 20px; }
.app-sub { margin-top: 3px; font-size: 12px; line-height: 16px; color: var(--muted); }
.head-right { display: flex; align-items: center; gap: 8px; }
.avatars-xs { display: flex; }
.avatars-xs .avatar { width: 22px; height: 22px; font-size: 8.5px; margin-left: -6px; box-shadow: 0 0 0 2px #181818; }
.avatars-xs .avatar:first-child { margin-left: 0; }

/* Trade ideas */
.idea { padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.idea-top { display: flex; align-items: center; gap: 10px; }
.idea-top .avatar { width: 30px; height: 30px; }
.idea-who { flex: 1; min-width: 0; }
.idea-who b { display: block; font-size: 13px; line-height: 17px; font-weight: 500; }
.idea-who span { display: block; font-size: 11.5px; line-height: 15px; color: var(--muted); }
.idea-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.idea-grid > div { padding: 8px 10px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); min-width: 0; }
.idea-grid span { display: block; font-size: 10px; line-height: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--faint); }
.idea-grid b { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; line-height: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idea-grid .icon { color: var(--accent-hi); }
.dir-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d07f; flex: none; }
.track { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.track li { display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 1; color: var(--faint); white-space: nowrap; }
.track li + li::before { content: ""; width: 18px; height: 1px; background: var(--border-3); margin-right: 2px; }
.track i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-3); flex: none; }
.track .done { color: var(--fg-2); }
.track .done i { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.track .done i .icon { width: 9px; height: 9px; stroke-width: 2.6; }
.track .now { color: var(--fg); }
.track .now i { border-color: var(--accent-hi); }
.track .now i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); animation: pulse 1.4s infinite; }
.idea-compact { padding: 12px 14px; }
.idea-text { margin-top: 8px; padding-left: 40px; font-size: 12.5px; line-height: 19px; color: var(--fg-2); }

/* Daily zones */
.tf { display: inline-flex; padding: 2px; gap: 2px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--border); }
.tf span { display: grid; place-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11px; line-height: 1; color: var(--muted); }
.tf .on { background: var(--card-3); color: var(--fg); }
.zones-layout { display: grid; grid-template-columns: minmax(0, 1fr) 196px; gap: 12px; flex: 1; min-height: 0; }
.zone-list { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.zl-title { display: block; font-size: 10.5px; line-height: 14px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.zone { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 10px; border-radius: 10px; border: 1px solid transparent; }
.zone.is-active { background: var(--card-2); border-color: var(--border-2); }
.zone b { display: block; font-size: 12.5px; line-height: 16px; font-weight: 500; }
.zone span { display: block; font-size: 11px; line-height: 15px; color: var(--muted); margin-top: 1px; }
.zk { width: 10px; height: 10px; border-radius: 3px; margin-top: 3px; }
.zk-up { background: rgba(255, 255, 255, 0.25); }
.zk-low { background: var(--accent-hi); }
.zk-flip { border: 1.5px dashed var(--accent-hi); }
.zl-note { margin-top: auto; font-size: 11px; line-height: 15px; color: var(--faint); }

/* Live sessions */
.live-grid { grid-template-columns: minmax(0, 1fr) 210px; }
.live-video svg { top: 64px; bottom: 92px; height: calc(100% - 156px); }
.lv-host { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; z-index: 1; }
.lv-host .avatar { width: 26px; height: 26px; font-size: 9.5px; }
.lv-host > div > b { display: block; font-size: 12.5px; line-height: 15px; font-weight: 500; }
.lv-host > div > span { display: block; font-size: 10.5px; line-height: 14px; color: rgba(255, 255, 255, 0.6); }
.lv-viewers { margin-left: auto; display: inline-flex !important; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.4); font-size: 11px !important; color: var(--fg-2) !important; }
.lv-caption { position: absolute; left: 12px; right: 12px; bottom: 46px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.5); font-size: 12px; line-height: 17px; color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(6px); }
.live-bar .tag:last-child { margin-left: 0; }
.live-chat { gap: 10px; }
.lc-title { font-size: 10.5px; line-height: 14px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--faint); }
.lc-msg { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.lc-msg .avatar { width: 22px; height: 22px; font-size: 9px; }
.lc-msg p { font-size: 12px; line-height: 16px; color: var(--fg-2); }
.lc-msg b { display: block; font-size: 11px; line-height: 14px; font-weight: 500; color: var(--muted); margin-bottom: 1px; }
.lc-next { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); color: var(--accent-hi); }
.lc-next b { display: block; font-size: 12px; line-height: 15px; font-weight: 500; color: var(--fg); }
.lc-next span { display: block; font-size: 11px; line-height: 14px; color: var(--muted); }

/* Education */
.edu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; flex: 1; min-height: 0; }
.mods { display: flex; flex-direction: column; gap: 6px; }
.mods li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.mods li.now { border-color: var(--accent-line); background: color-mix(in oklab, var(--accent) 6%, var(--card)); }
.mod-ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; border: 1.5px solid var(--border-3); }
.mods .done .mod-ic { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.mods .now .mod-ic { border-color: var(--accent-hi); }
.mods .now .mod-ic::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); }
.mods b { display: block; font-size: 12.5px; line-height: 16px; font-weight: 500; }
.mods div span { display: block; font-size: 11px; line-height: 14px; color: var(--muted); }
.mods em { font-style: normal; font-size: 11px; line-height: 1; color: var(--muted); }
.mods .done em { color: var(--accent-hi); }
.mod-meter { width: 64px; height: 5px; border-radius: 5px; background: var(--card-3); overflow: hidden; }
.mod-meter i { display: block; height: 100%; border-radius: inherit; background: var(--accent-hi); }
.edu-side { display: flex; flex-direction: column; gap: 8px; }
.course-ring { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.course-ring .ring span { background: var(--card); }
.course-ring b { display: block; font-size: 12.5px; line-height: 16px; font-weight: 500; }
.course-ring > div:last-child > span { display: block; font-size: 11px; line-height: 14px; color: var(--muted); }
.continue { padding: 12px; border-radius: 12px; background: radial-gradient(90% 100% at 100% 0%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 70%), var(--card); border: 1px solid var(--accent-line); }
.continue b { display: block; font-size: 13px; line-height: 17px; font-weight: 500; }
.cont-play { display: inline-flex; align-items: center; gap: 6px; height: 26px; margin-top: 10px; padding: 0 10px; border-radius: 8px; background: #fff; color: #151515; font-size: 11.5px; line-height: 1; font-weight: 500; }
.cont-play .icon { fill: currentColor; stroke: none; }
.edu-side .lc-next { margin-top: 0; }

/* Preview on smaller screens: drop side panels, keep the essentials */
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .zones-layout, .edu-layout { grid-template-columns: minmax(0, 1fr); }
  .zone-list, .edu-side { display: none; }
}
@media (max-width: 640px) {
  .frame-body { height: 460px; }
  .app-main { padding: 14px; }
  .idea-grid { grid-template-columns: 1fr 1fr; }
  .track li:last-child { display: none; }
  .idea-compact:last-child { display: none; }
  .avatars-xs { display: none; }
  .tf { display: none; }
  .lv-viewers { display: none !important; }
}
@media (max-width: 640px) { .frame-body { height: 412px; } }
.review-author .stars { margin: 0 0 0 auto; align-self: center; }

/* Review titles: bolder, brighter, in speech marks */
.review-title { font-size: 16px; line-height: 23px; font-weight: 700; letter-spacing: -0.2px; color: #fff; margin-bottom: 10px; }
.review-title::before { content: "\201C"; color: var(--accent-hi); margin-right: 1px; }
.review-title::after { content: "\201D"; color: var(--accent-hi); margin-left: 1px; }

/* =========================================================
   Horizontal logo in the header (M left, words right)
   ========================================================= */
.brand-logo { --h: 40px; width: calc(var(--h) * 1630 / 315); }
.site-header .brand { top: calc((56px - var(--bh, 40px)) / 2); }
.site-header { --bh: 40px; }
.brand .lf-words { opacity: calc(1 - var(--lp, 0) * 2); transform: translateX(calc(var(--lp, 0) * -40px)); transform-origin: left center; }
.foot-logo img { width: 190px; }
@media (max-width: 1100px) { .site-header { --bh: 34px; } .brand-logo { --h: 34px; } }
@media (max-width: 860px) { .site-header .brand { top: calc((56px - var(--bh)) / 2); } }
@media (max-width: 480px) {
  .site-header .t-full { display: none; }
  .site-header .t-short { display: inline; }
}
@media (max-width: 360px) { .site-header { --bh: 28px; } .brand-logo { --h: 28px; } }

/* Below 1100px the full nav no longer fits beside the logo: use the menu */
@media (max-width: 1100px) {
  .nav, .hide-sm { display: none; }
  .menu-btn { display: flex; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .header-right { grid-column: 2; }
}

/* Logo v3: M + equal-width OTM / AURUM CLUB, slightly smaller */
.brand-logo { --h: 34px; width: calc(var(--h) * 1087.13 / 255.13); }
.site-header { --bh: 34px; }
.foot-logo img { width: 160px; }
@media (max-width: 1100px) { .site-header { --bh: 32px; } .brand-logo { --h: 32px; } }
@media (max-width: 360px) { .site-header { --bh: 28px; } .brand-logo { --h: 28px; } }

/* =========================================================
   Avatars: coloured glass
   ========================================================= */
.avatar { --c: var(--accent-hi); }
.avatar.b { --c: #9b8cff; }
.avatar.c { --c: #45d0c1; }
.avatar.d { --c: #f59a6c; }
.avatar.e { --c: #ecc862; }
.avatar {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  background:
    radial-gradient(120% 120% at 30% 15%, color-mix(in oklab, var(--c) 62%, transparent) 0%, color-mix(in oklab, var(--c) 22%, transparent) 72%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--c) 60%, rgba(255, 255, 255, 0.25)),
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -4px 8px color-mix(in oklab, var(--c) 35%, transparent),
    0 4px 12px -5px color-mix(in oklab, var(--c) 70%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.avatar::before {
  content: ""; position: absolute; z-index: -1; left: 14%; right: 14%; top: 4%; height: 46%;
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
  pointer-events: none;
}
/* Stacked avatars keep a separating ring */
.avatars .avatar { box-shadow: 0 0 0 2px var(--bg), inset 0 0 0 1px color-mix(in oklab, var(--c) 60%, rgba(255,255,255,.25)), inset 0 1px 1px rgba(255,255,255,.45), inset 0 -4px 8px color-mix(in oklab, var(--c) 35%, transparent); background-color: var(--bg); }
.avatars-xs .avatar { box-shadow: 0 0 0 2px #181818, inset 0 0 0 1px color-mix(in oklab, var(--c) 60%, rgba(255,255,255,.25)), inset 0 1px 1px rgba(255,255,255,.45); background-color: #181818; }
.viewers .avatar { box-shadow: 0 0 0 2px var(--card), inset 0 0 0 1px color-mix(in oklab, var(--c) 60%, rgba(255,255,255,.25)), inset 0 1px 1px rgba(255,255,255,.45); background-color: var(--card); }

/* Avatars: flat frosted glass (no highlights or reflections) */
.avatar {
  background: color-mix(in oklab, var(--c) 26%, rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 38%, rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  text-shadow: none;
}
.avatar::before { content: none; }
.avatars .avatar { box-shadow: 0 0 0 2px var(--bg), inset 0 0 0 1px color-mix(in oklab, var(--c) 38%, rgba(255,255,255,.12)); background-color: transparent; }
.avatars-xs .avatar { box-shadow: 0 0 0 2px #181818, inset 0 0 0 1px color-mix(in oklab, var(--c) 38%, rgba(255,255,255,.12)); background-color: transparent; }
.viewers .avatar { box-shadow: 0 0 0 2px var(--card), inset 0 0 0 1px color-mix(in oklab, var(--c) 38%, rgba(255,255,255,.12)); background-color: transparent; }
.avatars .avatar { background: linear-gradient(color-mix(in oklab, var(--c) 26%, rgba(255,255,255,.06)), color-mix(in oklab, var(--c) 26%, rgba(255,255,255,.06))), var(--bg); }
.avatars-xs .avatar { background: linear-gradient(color-mix(in oklab, var(--c) 26%, rgba(255,255,255,.06)), color-mix(in oklab, var(--c) 26%, rgba(255,255,255,.06))), #181818; }
.viewers .avatar { background: linear-gradient(color-mix(in oklab, var(--c) 26%, rgba(255,255,255,.06)), color-mix(in oklab, var(--c) 26%, rgba(255,255,255,.06))), var(--card); }

/* Avatars: flat, like the Live pill (darker tint fill + thin tinted stroke) */
.avatar,
.avatars .avatar, .avatars-xs .avatar, .viewers .avatar {
  background: color-mix(in oklab, var(--c) 14%, #191919);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 34%, transparent);
  color: color-mix(in oklab, var(--c) 80%, #fff);
  backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: none;
}
.avatar::before { content: none; }
/* overlapping stacks: only a flat gap ring, no extra depth */
.avatars .avatar { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 34%, transparent), 0 0 0 2px var(--bg); }
.avatars-xs .avatar { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 34%, transparent), 0 0 0 2px #181818; }
.viewers .avatar { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 34%, transparent), 0 0 0 2px var(--card); }

/* Avatars: frosted glass. Overrides the old per-colour gradients (higher specificity). */
.avatar[class], .avatars .avatar[class], .avatars-xs .avatar[class], .viewers .avatar[class] {
  background: color-mix(in oklab, var(--c) 22%, rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 40%, transparent);
  color: #fff; text-shadow: none;
}
.avatars .avatar[class] { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 40%, transparent), 0 0 0 2px var(--bg); }
.avatars-xs .avatar[class] { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 40%, transparent), 0 0 0 2px #181818; }
.viewers .avatar[class] { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 40%, transparent), 0 0 0 2px var(--card); }
.avatar::before { content: none; }

/* VIP crown */
.i-crown { color: #e9c15b; }
.btn-primary .i-crown { color: currentColor; }
.eyebrow-vip { display: inline-flex; align-items: center; gap: 6px; }
.vip-name { display: inline-flex; align-items: center; gap: 6px; }

/* Long/short button labels: beat .btn > span */
.btn > .t-short { display: none; }
@media (max-width: 480px) {
  .site-header .btn > .t-full { display: none; }
  .site-header .btn > .t-short { display: block; }
}

/* Live session preview: single column when the chat is hidden */
@media (max-width: 860px) {
  .live-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   VIP bento becomes a swipe slider on phones
   ========================================================= */
.bento-nav { display: none; }
@media (max-width: 640px) {
  .bento {
    display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento > .bc { grid-column: auto; scroll-snap-align: start; }
  .bento > .bc-row { flex-direction: column-reverse; }
  .bento-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
  .bento-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--muted); }
  .bento-dots { display: flex; gap: 6px; }
  .bento-dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--card-3); transition: width 0.3s var(--ease), background-color 0.3s; }
  .bento-dots i.on { width: 20px; background: var(--fg-2); }
}
@media (max-width: 640px) {
  .bento-nav { justify-content: center; margin-top: 20px; }
  .bento-dots { gap: 8px; }
  .bento-dots i { width: 8px; height: 8px; border-radius: 8px; }
  .bento-dots i.on { width: 24px; }
}

/* Strategy note: compact drop-down */
.note-drop { margin-top: 20px; border-radius: var(--r-lg); }
.note-drop summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 16px; align-items: center; gap: 16px; padding: 16px 20px; min-height: 0; }
.nd-title { display: block; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--fg); }
.nd-sub { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--muted); }
.nd-chev { color: var(--muted); transition: transform 0.3s var(--ease); }
.note-drop[open] .nd-chev { transform: rotate(180deg); }
.nd-body { padding: 0 20px 20px 72px; }
.nd-body p { padding: 0; font-size: 14px; line-height: 22px; color: var(--muted); max-width: 720px; }
.nd-body .btn { margin-top: 16px; }
@media (max-width: 640px) {
  .note-drop summary { gap: 12px; padding: 14px 16px; }
  .nd-body { padding: 0 16px 18px; }
}
.note-drop[open] summary .icon { transform: none; }
.note-drop[open] summary .nd-chev { transform: rotate(180deg); }
.note-drop summary .icon-box .icon { color: var(--fg-2); }
/* A step you click fills its bar immediately */
.process-progress.is-picked span.is-active i { animation: none; width: 100%; }

/* Compare table: tighter, outlined free column matching the VIP column */
.table-card { max-width: 920px; margin: 0 auto; padding: 8px 8px 16px; }
.compare { border-spacing: 10px 0; }
.compare .col-free, .compare .col-hl { width: 220px; }
.compare .col-free { box-shadow: inset 1px 0 0 var(--border-2), inset -1px 0 0 var(--border-2); }
.compare thead .col-free { border-radius: 16px 16px 0 0; box-shadow: inset 1px 0 0 var(--border-2), inset -1px 0 0 var(--border-2), inset 0 1px 0 var(--border-2); border-bottom: 1px solid var(--border); }
.compare tfoot .col-free { border-radius: 0 0 16px 16px; box-shadow: inset 1px 0 0 var(--border-2), inset -1px 0 0 var(--border-2), inset 0 -1px 0 var(--border-2); }
.compare thead th:first-child { border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { padding-left: 14px; }

/* Live session: host webcam tile + chart beside it */
.live-video svg { left: 16px; right: 140px; width: calc(100% - 156px); }
.cam { position: absolute; z-index: 1; right: 12px; bottom: 46px; width: 112px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #202020; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7); display: grid; place-items: center; }
.cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cam-fallback { font-size: 18px; line-height: 1; font-weight: 600; color: var(--muted); }
.cam-name { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); font-size: 10.5px; line-height: 1; color: #fff; backdrop-filter: blur(6px); white-space: nowrap; }
.cam-name i { width: 6px; height: 6px; border-radius: 50%; background: #34d07f; }
.lv-caption { right: 136px; }
@media (max-width: 640px) {
  .cam { width: 84px; bottom: 44px; }
  .live-video svg { right: 108px; width: calc(100% - 124px); }
  .lv-caption { right: 104px; font-size: 11.5px; }
}
.cam { border-color: rgba(255, 255, 255, 0.08); background: #111; }
.cam::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); pointer-events: none; }

/* Live session: chart fills the screen behind; Oli's tile floats on top, smaller */
.live-video svg { left: 16px; right: 16px; width: calc(100% - 32px); }
.lv-caption { right: 12px; }
.cam { width: 84px; right: 12px; bottom: 92px; z-index: 2; }
.cam-name { left: 5px; bottom: 5px; height: 18px; padding: 0 6px; font-size: 9.5px; }
@media (max-width: 640px) {
  .live-video svg { right: 12px; width: calc(100% - 24px); }
  .lv-caption { right: 12px; }
  .cam { width: 64px; bottom: 96px; }
  .cam-name { font-size: 8.5px; height: 16px; }
}
.lv-caption b { font-weight: 600; color: #fff; margin-right: 2px; }
/* Live session without caption/tags: chart uses the full height, tile in the corner */
.live-video svg { top: 56px; bottom: 12px; height: calc(100% - 68px); }
.cam { bottom: 12px; }
@media (max-width: 640px) { .cam { bottom: 12px; } }
/* Oli's tile sits in the empty bottom-left of the live chart */
.cam { left: 12px; right: auto; bottom: 12px; }

/* Live session: smooth light falling from the top right (no orb) */
.live-video {
  background:
    radial-gradient(130% 95% at 100% 0%, color-mix(in oklab, var(--accent) 34%, transparent) 0%, color-mix(in oklab, var(--accent) 16%, transparent) 32%, color-mix(in oklab, var(--accent) 5%, transparent) 58%, transparent 80%),
    radial-gradient(70% 55% at 92% 4%, color-mix(in oklab, var(--accent-hi) 18%, transparent) 0%, transparent 70%),
    linear-gradient(205deg, color-mix(in oklab, var(--accent-deep) 42%, #121212) 0%, #131313 52%, #101010 100%);
}
/* Live session: subtle, eased fall-off from the top right (no banding, no grain) */
.live-video {
  background:
    radial-gradient(62% 58% at 100% 0%,
      color-mix(in oklab, var(--accent) 24%, transparent) 0%,
      color-mix(in oklab, var(--accent) 20%, transparent) 14%,
      color-mix(in oklab, var(--accent) 14%, transparent) 30%,
      color-mix(in oklab, var(--accent) 8%, transparent) 48%,
      color-mix(in oklab, var(--accent) 3.5%, transparent) 66%,
      color-mix(in oklab, var(--accent) 1%, transparent) 84%,
      transparent 100%),
    #121212;
}
.live-video::before { content: none; }

/* Second-line headings: blue-grey instead of neutral grey */
.tone { background: linear-gradient(180deg, #a3b2c7 0%, #6b7a91 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Compare table: continuous full-row hover (spacer column instead of border-spacing) */
.compare { border-spacing: 0; }
.compare .col-gap { width: 10px; padding: 0; }
.compare thead .col-gap { border-bottom: 0; }
.compare thead th:not(.col-gap) { border-bottom: 1px solid var(--border); }
.compare tbody tr td { transition: background-color 0.15s; }
.compare tbody tr:not(.group):hover td { background-color: rgba(255, 255, 255, 0.03); }
.compare tbody tr:not(.group):hover td.col-hl { background-color: color-mix(in oklab, var(--accent) 13%, transparent); }
.compare tbody tr:not(.group) td:first-child { border-radius: 10px 0 0 10px; }
.compare tbody tr:not(.group):hover td:not(.col-hl) { background-color: rgba(255, 255, 255, 0.03); }

/* Calendar events: room to breathe */
.day i { width: calc(100% - 14px); padding: 6px 4px; font-size: 10px; line-height: 12px; font-weight: 500; border-radius: 7px; }
.day.is-one i { padding: 6px 4px; }

/* Preview caption: small and quiet */
.frame-caption { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--muted); opacity: 0.55; }
.disclaimer-center { text-align: center; margin: 16px auto 0; max-width: 640px; }
/* Focus ring follows the button's own rounded shape */
.rail-btn:focus-visible, .btn:focus-visible { border-radius: 10px; outline-offset: 3px; }

/* =========================================================
   Closing CTA: big centred card (grid, top glow, floating M)
   ========================================================= */
.final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 88px 24px 80px; border-radius: 28px; border: 1px solid var(--border-2); background: var(--card);
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: radial-gradient(60% 75% at 50% 35%, #000, transparent 80%); mask-image: radial-gradient(60% 75% at 50% 35%, #000, transparent 80%);
}
.final::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -120px; width: 720px; height: 460px; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 30%, transparent), color-mix(in oklab, var(--accent) 8%, transparent) 60%, transparent);
  pointer-events: none;
}
.final-mark { display: inline-block; filter: drop-shadow(0 14px 34px color-mix(in oklab, var(--accent) 65%, transparent)); animation: final-bob 6s ease-in-out infinite; }
.final-mark img { width: 64px; height: 64px; }
@keyframes final-bob { 50% { transform: translateY(-6px); } }
.final-eyebrow { margin-top: 28px; }
.final-title { margin-top: 10px; font-size: 40px; line-height: 46px; letter-spacing: -1.2px; }
.final-lead { max-width: 560px; margin: 16px auto 0; }
.final-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.final-ctas .btn { height: 44px; padding: 0 22px; }
@media (max-width: 640px) {
  .final { padding: 64px 20px 56px; }
  .final-title { font-size: 30px; line-height: 36px; letter-spacing: -0.8px; }
  .final-ctas .btn { flex: 1 1 100%; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .final-mark { animation: none; } }

/* Second-line headings: bluer */
.tone { background: linear-gradient(180deg, #9cc0f0 0%, #5a86c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero badge: single gold bar */
.pill-gold { background: rgba(233, 193, 91, 0.12); box-shadow: inset 0 0 0 1px rgba(233, 193, 91, 0.28); }
.i-goldbar { color: #e9c15b; fill: rgba(233, 193, 91, 0.35); stroke-width: 1.5; }
.pill-up { color: #fff; }
.pill-up .icon { stroke-width: 1.8; }

/* Second-line headings: brand blue */
.tone { background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero badge: two matching grey circles, white icons; the right one sits on top, cut out of the left */
.pill-dot.pill-gold, .pill-dot.pill-up { background: #262626; color: #fff; }
.pill-gold { box-shadow: 0 0 0 2px var(--bg); }
.i-goldbar { color: #fff; fill: rgba(255, 255, 255, 0.18); }
.pill-dots .pill-dot:nth-child(1) { z-index: 1; }
.pill-dots .pill-dot:nth-child(2) { z-index: 2; box-shadow: 0 0 0 2px var(--bg); }
/* Left circle (gold bar) on top, cut out of the right one */
.pill-dots .pill-dot:nth-child(1) { z-index: 2; box-shadow: 0 0 0 2px var(--bg); }
.pill-dots .pill-dot:nth-child(2) { z-index: 1; box-shadow: none; }

/* Second-line headings: a slightly lighter brand blue */
.tone { background: linear-gradient(180deg, color-mix(in oklab, var(--accent-hi) 82%, #fff) 0%, color-mix(in oklab, var(--accent) 80%, #fff) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   Smooth shadows & gradients (no banding)
   ========================================================= */
/* No noise textures: every glow uses an eased fall-off (many stops on an
   ease-out curve) that reaches fully transparent before its box edge, so
   there is no banding, no grain and no visible rectangle. */
:root {
  /* short, soft shadows: on a near-black page a big dark spread reads as a halo */
  --shadow-lg: 0 1px 2px rgba(0,0,0,.18), 0 4px 8px -2px rgba(0,0,0,.16), 0 12px 24px -10px rgba(0,0,0,.22);
  --shadow-md: 0 1px 2px rgba(0,0,0,.16), 0 6px 14px -6px rgba(0,0,0,.22);
}
.frame, .frame:hover { box-shadow: var(--shadow-lg); }
.modal-card, .video-box { box-shadow: var(--shadow-lg); }
.glass, .pretrade, .cam, .mobile-nav { box-shadow: var(--shadow-md); }

.hero::before {
  opacity: 1;
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--accent) 13%, transparent) 0%,
    color-mix(in oklab, var(--accent) 10.7%, transparent) 15%,
    color-mix(in oklab, var(--accent) 7.8%, transparent) 30%,
    color-mix(in oklab, var(--accent) 5.2%, transparent) 45%,
    color-mix(in oklab, var(--accent) 2.9%, transparent) 60%,
    color-mix(in oklab, var(--accent) 1.2%, transparent) 75%,
    color-mix(in oklab, var(--accent) 0.3%, transparent) 88%,
    transparent 100%);
}
.final::after {
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--accent) 22%, transparent) 0%,
    color-mix(in oklab, var(--accent) 18%, transparent) 15%,
    color-mix(in oklab, var(--accent) 13.2%, transparent) 30%,
    color-mix(in oklab, var(--accent) 8.8%, transparent) 45%,
    color-mix(in oklab, var(--accent) 4.8%, transparent) 60%,
    color-mix(in oklab, var(--accent) 2%, transparent) 75%,
    color-mix(in oklab, var(--accent) 0.5%, transparent) 88%,
    transparent 100%);
}
/* "How to join" orb: a soft gradient alone, no blur filter on top */
.glow-orb {
  filter: none;
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--accent-hi) 34%, transparent) 0%,
    color-mix(in oklab, var(--accent-hi) 28%, transparent) 15%,
    color-mix(in oklab, var(--accent-hi) 20.4%, transparent) 30%,
    color-mix(in oklab, var(--accent-hi) 13.6%, transparent) 45%,
    color-mix(in oklab, var(--accent-hi) 7.5%, transparent) 60%,
    color-mix(in oklab, var(--accent-hi) 3%, transparent) 75%,
    color-mix(in oklab, var(--accent-hi) 0.8%, transparent) 88%,
    transparent 100%);
}
/* Risk card art */
.glow {
  background:
    radial-gradient(48% 56% at 78% 18%,
      color-mix(in oklab, var(--accent) 46%, transparent) 0%,
      color-mix(in oklab, var(--accent) 38%, transparent) 15%,
      color-mix(in oklab, var(--accent) 27.6%, transparent) 30%,
      color-mix(in oklab, var(--accent) 18.4%, transparent) 45%,
      color-mix(in oklab, var(--accent) 10%, transparent) 60%,
      color-mix(in oklab, var(--accent) 4.1%, transparent) 75%,
      color-mix(in oklab, var(--accent) 1.1%, transparent) 88%,
      transparent 100%),
    radial-gradient(56% 56% at 12% 100%,
      color-mix(in oklab, var(--accent-deep) 60%, transparent) 0%,
      color-mix(in oklab, var(--accent-deep) 49%, transparent) 15%,
      color-mix(in oklab, var(--accent-deep) 36%, transparent) 30%,
      color-mix(in oklab, var(--accent-deep) 24%, transparent) 45%,
      color-mix(in oklab, var(--accent-deep) 13%, transparent) 60%,
      color-mix(in oklab, var(--accent-deep) 5.4%, transparent) 75%,
      color-mix(in oklab, var(--accent-deep) 1.5%, transparent) 88%,
      transparent 100%),
    #121212;
}
/* Highlighted onboarding card */
.ob-hl {
  background:
    radial-gradient(70% 50% at 100% 0%,
      color-mix(in oklab, var(--accent-hi) 50%, transparent) 0%,
      color-mix(in oklab, var(--accent-hi) 41%, transparent) 15%,
      color-mix(in oklab, var(--accent-hi) 30%, transparent) 30%,
      color-mix(in oklab, var(--accent-hi) 20%, transparent) 45%,
      color-mix(in oklab, var(--accent-hi) 11%, transparent) 60%,
      color-mix(in oklab, var(--accent-hi) 4.5%, transparent) 75%,
      color-mix(in oklab, var(--accent-hi) 1.2%, transparent) 88%,
      transparent 100%),
    linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent) 70%, #000));
}
/* Telegram CTA band */
.cta {
  background:
    radial-gradient(46% 90% at 85% 50%,
      color-mix(in oklab, var(--accent-hi) 50%, transparent) 0%,
      color-mix(in oklab, var(--accent-hi) 41%, transparent) 15%,
      color-mix(in oklab, var(--accent-hi) 30%, transparent) 30%,
      color-mix(in oklab, var(--accent-hi) 20%, transparent) 45%,
      color-mix(in oklab, var(--accent-hi) 11%, transparent) 60%,
      color-mix(in oklab, var(--accent-hi) 4.5%, transparent) 75%,
      color-mix(in oklab, var(--accent-hi) 1.2%, transparent) 88%,
      transparent 100%),
    linear-gradient(90deg, color-mix(in oklab, var(--accent-deep) 62%, #0d0d0d), color-mix(in oklab, var(--accent) 55%, #0d0d0d));
}
/* Small tinted panels: same eased fall-off */
.screen, .video-slot { background-color: #121212; }
.screen {
  background-image: radial-gradient(90% 100% at 80% 0%,
    color-mix(in oklab, var(--accent) 24%, transparent) 0%,
    color-mix(in oklab, var(--accent) 16%, transparent) 25%,
    color-mix(in oklab, var(--accent) 8%, transparent) 50%,
    color-mix(in oklab, var(--accent) 2.5%, transparent) 75%,
    transparent 100%);
}
.video-slot {
  background-image: radial-gradient(70% 80% at 30% 20%,
    color-mix(in oklab, var(--accent) 26%, transparent) 0%,
    color-mix(in oklab, var(--accent) 17%, transparent) 25%,
    color-mix(in oklab, var(--accent) 8.5%, transparent) 50%,
    color-mix(in oklab, var(--accent) 2.6%, transparent) 75%,
    transparent 100%);
}
.continue {
  background:
    radial-gradient(90% 100% at 100% 0%,
      color-mix(in oklab, var(--accent) 30%, transparent) 0%,
      color-mix(in oklab, var(--accent) 20%, transparent) 25%,
      color-mix(in oklab, var(--accent) 10%, transparent) 50%,
      color-mix(in oklab, var(--accent) 3%, transparent) 75%,
      transparent 100%),
    var(--card);
}
/* Coloured glows: tighter and fainter so they don't flare */
.btn-primary:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.35), 0 2px 4px -1px rgba(0,0,0,.3), 0 6px 14px -6px color-mix(in oklab, var(--accent) 50%, transparent); }
.final-mark { filter: drop-shadow(0 8px 18px color-mix(in oklab, var(--accent) 38%, transparent)); }

/* =========================================================
   Strategy steps: a clean bento. Every step is an outlined
   card, and the four together run flush with the panel.
   ========================================================= */
.process { gap: 12px; }
.steps { gap: 12px; }
.step {
  flex: 1 1 auto;
  /* wrap + align-content centres the row in a tall card while the icon stays level with the title */
  flex-wrap: wrap; align-content: center; align-items: flex-start;
  padding: 16px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.012); border-color: var(--border-2);
}
.step-copy { flex: 1; min-width: 0; }
.step:hover { background: rgba(255, 255, 255, 0.025); border-color: var(--border-3); }
.step.is-active, .step.is-active:hover { background: var(--card); border-color: var(--border-3); }
@media (max-width: 1024px) { .step { flex: none; } }
/* the "full strategy stays inside VIP" card joins the same grid spacing */
.process + .note-drop { margin-top: 12px; }

/* VIP note: gold crown while collapsed, lock once opened (crossfade) */
.note-drop .icon-box > .icon { grid-area: 1 / 1; transition: opacity 0.25s var(--ease), transform 0.35s var(--spring); }
.note-drop summary .icon-box .nd-crown { color: #e9c15b; }
.note-drop .nd-lock { opacity: 0; transform: scale(0.7); }
.note-drop[open] summary .icon-box .nd-crown { opacity: 0; transform: scale(0.7); }
.note-drop[open] summary .icon-box .nd-lock { opacity: 1; transform: none; }

/* Reviews header: avatar stack with a members line beside it */
.members { display: flex; align-items: center; gap: 12px; flex: none; }
.members-note { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--fg-2); white-space: nowrap; }

/* No small labels above titles: titles now lead their blocks */
.section-head .h2:first-child, .faq .h2:first-child, .bc-text h3:first-child { margin-top: 0; }
.final-title { margin-top: 28px; }

/* Compare table: no "Full access" badge, so no space reserved above the headers */
.compare thead th { padding-top: 14px; }
/* a touch wider so every step title sits on one line */
@media (min-width: 1025px) { .process { grid-template-columns: 380px 1fr; } }

/* =========================================================
   Risk card (strategy section): flat, no glow, a row of
   check tiles, so it reads apart from the glowing panel
   ========================================================= */
.risk-card { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; padding: 28px 28px 28px 32px; }
.risk-copy h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: -0.6px; text-wrap: balance; }
.risk-copy p { margin-top: 8px; max-width: 420px; font-size: 14px; line-height: 22px; color: var(--muted); text-wrap: pretty; }
.risk-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; line-height: 16px; color: var(--muted); }
.risk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.risk-tile { display: flex; flex-direction: column; align-items: flex-start; padding: 14px; border-radius: 16px; background: #161616; border: 1px solid var(--border-2); }
.risk-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--fg-2); }
.risk-tile b { margin-top: 14px; font-size: 13px; line-height: 18px; font-weight: 500; }
.risk-st { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; line-height: 16px; color: #34d07f; white-space: nowrap; }
@media (max-width: 1024px) { .risk-card { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) {
  .risk-card { padding: 20px; }
  .risk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   VIP illustrations: one rhythm.
   Every illustration is centred in its area with the same 24px
   side inset as the text below it, and no fade over the bottom.
   ========================================================= */
.bc-art::after { display: none; }
.alerts { inset: 0 24px; }
.art-copier, .art-cal, .art-chat, .art-edu, .art-spaces { padding: 0 24px; }
.art-live { display: flex; flex-direction: column; justify-content: center; padding: 0 24px; }
.art-zones { padding: 20px 24px 0; }
.course-card, .spaces { max-width: none; }
.modules li { height: 28px; }
.viewers { height: 40px; align-items: flex-end; }
.viewers em { line-height: 22px; }

/* Charts draw in when their card arrives, not before */
.reveal:not(.is-in) .cdl { animation-play-state: paused; }

/* Course ring fills to its value as the card arrives */
@property --v { syntax: "<number>"; inherits: true; initial-value: 0; }
.ring { transition: --v 1.2s var(--ease) 0.25s; }
.reveal:not(.is-in) .ring { --v: 0 !important; }

/* Chat messages and risk tiles arrive one after another */
.m, .risk-tile { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.m:nth-child(1), .risk-tile:nth-child(1) { transition-delay: 0.2s; }
.m:nth-child(2), .risk-tile:nth-child(2) { transition-delay: 0.3s; }
.m:nth-child(3), .risk-tile:nth-child(3) { transition-delay: 0.4s; }
.m:nth-child(4), .risk-tile:nth-child(4) { transition-delay: 0.5s; }
.reveal:not(.is-in) .m, .reveal:not(.is-in) .risk-tile { opacity: 0; transform: translateY(8px); }

/* =========================================================
   Closing CTA: no box. The grid and glow dissolve into the page.
   ========================================================= */
.final { overflow: visible; padding: 8px 0 0; border: 0; border-radius: 0; background: none; }
.final::before {
  inset: auto; left: 50%; top: -150px; width: min(1180px, 100vw); height: calc(100% + 300px); transform: translateX(-50%);
  background-image: linear-gradient(var(--border-2) 1px, transparent 1px), linear-gradient(90deg, var(--border-2) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.72) 30%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.1) 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.72) 30%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.1) 80%, transparent 100%);
  pointer-events: none;
}
.final::after { top: -170px; width: min(760px, 100vw); height: 480px; }

/* =========================================================
   Phone audit
   ========================================================= */
@media (max-width: 640px) {
  /* tighter rhythm between sections */
  .section-lg { padding: 56px 16px; }
  .section { padding: 48px 16px; }

  /* Compare table fits the screen: both columns always visible, no sideways scroll */
  .table-card { overflow: visible; padding: 8px 8px 12px; }
  .compare { min-width: 0; table-layout: fixed; font-size: 13.5px; line-height: 19px; }
  .compare .col-free, .compare .col-hl { width: 68px; }
  .compare .col-gap { width: 6px; }
  .compare th, .compare td { height: 44px; padding: 0 4px; }
  .compare th:first-child, .compare td:first-child { padding: 9px 8px 9px 10px; }
  .compare .group td, .compare .group td:first-child { padding: 18px 8px 4px 10px; }
  .compare thead th, .compare thead th:first-child { padding-top: 14px; padding-bottom: 12px; font-size: 13.5px; }
  .compare thead th small { display: none; }
  .compare .vip-name { gap: 5px; }
  /* the buttons leave the columns and stack full width under the table */
  .compare tbody tr:last-child .col-hl { border-radius: 0 0 14px 14px; }
  .compare tbody tr:last-child .col-free { border-radius: 0 0 14px 14px; box-shadow: inset 1px 0 0 var(--border-2), inset -1px 0 0 var(--border-2), inset 0 -1px 0 var(--border-2); }
  .compare tfoot { display: table-caption; caption-side: bottom; }
  .compare tfoot tr { display: flex; flex-direction: column-reverse; gap: 8px; padding: 16px 2px 0; }
  .compare tfoot td, .compare tfoot td.col-free, .compare tfoot td.col-hl { display: block; width: auto !important; height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .compare tfoot td:first-child, .compare tfoot .col-gap { display: none; }
  .compare tfoot .btn { width: 100%; height: 44px; }
  .nw { white-space: nowrap; }
}

/* Anything marked hidden stays hidden, whatever its display rule */
[hidden] { display: none !important; }

/* Closing CTA: quieter grid and glow */
.final::before {
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.05) 78%, transparent 100%);
  mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.05) 78%, transparent 100%);
}
.final::after { opacity: 0.7; }

@media (max-width: 640px) {
  /* Calendar card: labels stay inside their chips, booking row stays on one line */
  .day i, .day.is-one i { width: calc(100% - 8px); padding: 6px 0; font-size: 9.5px; white-space: nowrap; }
  .booking b, .booking small { white-space: nowrap; }
  .slots { gap: 3px; }
  .slots span { padding: 0 6px; font-size: 10px; }
}

/* Trade idea card: three facts, nothing else */
.idea-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .idea-grid { grid-template-columns: 1fr 1fr; }
  .idea-grid > div:last-child { grid-column: 1 / -1; }
}

/* Copier card: the dot travels down once, then "Your account" lights up and switches on */
.pipe i { animation: flow-once 0.9s var(--ease) 0.5s both; }
@keyframes flow-once { from { top: -4px; opacity: 0; } 20%, 75% { opacity: 1; } to { top: 20px; opacity: 0; } }
.acct-you { animation: acct-on 1s var(--ease) 1.2s both; }
@keyframes acct-on {
  from { border-color: var(--border-2); box-shadow: none; }
  45% { border-color: color-mix(in oklab, var(--accent-hi) 70%, transparent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 16%, transparent), 0 8px 22px -12px color-mix(in oklab, var(--accent) 70%, transparent); }
  to { border-color: color-mix(in oklab, var(--accent-hi) 45%, transparent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 8%, transparent), 0 8px 22px -14px color-mix(in oklab, var(--accent) 55%, transparent); }
}
.acct-you .acct-ic { animation: acct-ic-on 0.5s var(--ease) 1.2s both; }
@keyframes acct-ic-on { from { background: var(--card-3); color: var(--fg-2); } }
.switch-on { animation: switch-bg 0.35s var(--ease) 1.3s both; }
.switch-on::after { animation: switch-knob 0.35s var(--spring) 1.3s both; }
@keyframes switch-bg { from { background: var(--card-3); } }
@keyframes switch-knob { from { transform: translateX(-12px); } }
.reveal:not(.is-in) .pipe i, .reveal:not(.is-in) .acct-you, .reveal:not(.is-in) .acct-you .acct-ic,
.reveal:not(.is-in) .switch-on, .reveal:not(.is-in) .switch-on::after { animation-play-state: paused; }

/* =========================================================
   Header: content lines up with the page column, with extra
   space above it at the top of the page that eases away on scroll
   ========================================================= */
.site-header {
  --edge: max(28px, calc((100% - var(--container)) / 2));
  --lift: 16px;
  height: calc(56px + var(--lift) * (1 - var(--hp, 0)));
  padding: calc(var(--lift) * (1 - var(--hp, 0))) var(--edge) 0;
}
.site-header .brand { left: var(--edge); top: calc(var(--lift) + (56px - var(--bh)) / 2); }
.hero { padding-top: calc(120px + 16px); }
.mobile-nav { top: calc(60px + 8px * (1 - var(--hp, 0))); }
@media (max-width: 860px) {
  .site-header { --edge: 16px; --lift: 8px; }
  .site-header .brand { left: 16px; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(104px + 8px); }
}

/* Phone slider: cards stay level while swiping. The page-level scroll-in slide is
   for vertical scrolling only; sideways, each card just appears in place and its
   own illustration animates as it comes into view. */
@media (max-width: 640px) {
  .bento > .bc.reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* VIP steps: the same swipe slider as the VIP grid on phones */
@media (max-width: 640px) {
  .onboard {
    display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px;
  }
  .onboard::-webkit-scrollbar { display: none; }
  .onboard > .ob-card { scroll-snap-align: start; }
  .onboard > .ob-card.reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .onboard > .ob-card:hover { transform: none; }
}

/* Footer on phones: logo and intro on top, the three link groups side by side */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer h4 { font-size: 11px; letter-spacing: 1px; }
  .footer ul { gap: 12px; }
  .footer ul a { font-size: 13.5px; line-height: 19px; }
}

/* =========================================================
   About Oli: photo beside a short first-person bio
   ========================================================= */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-2); background: var(--card); }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-copy p { margin-top: 16px; max-width: 540px; font-size: 16px; line-height: 28px; color: var(--muted); }
.about-copy .h2 + p { margin-top: 20px; color: var(--fg-2); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { aspect-ratio: 1 / 1; }
  .about-copy p { font-size: 15px; line-height: 26px; }
}

/* Bio photo: no frame. Dimmed a little and faded out on every side so it melts into the page. */
.about-photo { border: 0; border-radius: 0; background: none; overflow: visible; }
.about-photo img {
  filter: brightness(0.78) saturate(0.8);
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 52% 44%, #000 34%, rgba(0, 0, 0, 0.74) 54%, rgba(0, 0, 0, 0.36) 74%, rgba(0, 0, 0, 0.1) 90%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 58% at 52% 44%, #000 34%, rgba(0, 0, 0, 0.74) 54%, rgba(0, 0, 0, 0.36) 74%, rgba(0, 0, 0, 0.1) 90%, transparent 100%);
}

/* Bio photo: the whole picture, uncropped (3:4), dimmed, with only its edges melting into the page */
.about-photo { aspect-ratio: 3 / 4; }
.about-photo img {
  object-position: 50% 50%;
  filter: brightness(0.74) saturate(0.8);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.5) 93%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 6%, #000 15%, #000 72%, rgba(0, 0, 0, 0.45) 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 7%, #000 18%, #000 82%, rgba(0, 0, 0, 0.5) 93%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 6%, #000 15%, #000 72%, rgba(0, 0, 0, 0.45) 88%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (max-width: 860px) { .about-photo { aspect-ratio: 3 / 4; } }

/* Bio photo, final: the whole picture at full height (3:4), no edge fade, slightly dimmed, in a rounded frame */
.about-photo { aspect-ratio: 3 / 4; border: 1px solid var(--border-2); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.about-photo img { -webkit-mask-image: none; mask-image: none; filter: brightness(0.86) saturate(0.9); object-position: 50% 50%; }

/* Preview frame on phones: a little taller so six training videos sit with even space below */
@media (max-width: 640px) { .frame-body { height: 422px; } }

/* =========================================================
   Policy pages (privacy, terms, disclosures)
   ========================================================= */
.legal-header { border-bottom: 1px solid var(--border); padding: 0 16px; }
.legal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.legal-logo { display: block; }
.legal-logo img { display: block; width: 140px; height: auto; }
.legal { padding: 64px 16px 96px; }
.legal-doc { max-width: 720px; margin: 0 auto; }
.legal-doc h1 { font-size: 40px; line-height: 46px; letter-spacing: -1.2px; text-wrap: balance; }
.legal-updated { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--muted); }
.legal-intro { margin-top: 24px; font-size: 17px; line-height: 29px; color: var(--fg); }
.legal-doc h2 { margin-top: 48px; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: -0.4px; color: var(--fg); scroll-margin-top: 24px; }
.legal-doc h3 { margin-top: 28px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--fg); }
.legal-doc p, .legal-doc li { font-size: 15px; line-height: 26px; color: var(--fg-2); }
.legal-doc p { margin-top: 12px; }
.legal-doc ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.legal-doc li { padding-left: 4px; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc li::marker { color: var(--faint); }
.legal-doc strong { font-weight: 500; color: var(--fg); }
.legal-doc a { color: var(--accent-hi); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--accent-hi) 45%, transparent); text-underline-offset: 3px; }
.legal-doc a:hover { text-decoration-color: currentColor; }
.legal-summary { margin-top: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border-2); }
.legal-summary h2 { margin-top: 0; font-size: 16px; line-height: 22px; letter-spacing: 0; }
.legal-foot { border-top: 1px solid var(--border); padding: 24px 16px 40px; font-size: 13px; line-height: 20px; color: var(--faint); }
.legal-foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-foot a { color: var(--fg-2); transition: color 0.2s; }
.legal-foot a:hover, .legal-foot a[aria-current="page"] { color: var(--fg); }
@media (max-width: 640px) {
  .legal { padding: 40px 16px 64px; }
  .legal-doc h1 { font-size: 30px; line-height: 36px; letter-spacing: -0.8px; }
  .legal-doc h2 { margin-top: 40px; font-size: 20px; line-height: 26px; }
  .legal-summary { padding: 20px; }
}

/* Policy links in the main footer, and inside small print */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--fg); }
.disclaimer a, .modal-sub a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.disclaimer a:hover, .modal-sub a:hover { color: var(--fg-2); }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; gap: 12px; } }

/* Closing CTA: both buttons the same width (the wider label sets it) */
.final-ctas { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
@media (max-width: 640px) {
  .final-ctas { display: grid; grid-auto-flow: row; grid-template-columns: minmax(0, 320px); justify-content: center; }
  .final-ctas .btn { width: 100%; }
}

/* Footer bottom line: name, divider and strapline on the left; policies on the right */
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-sep { width: 1px; height: 12px; background: var(--border-3); flex: none; }
.footer-bottom { align-items: center; }
.footer-legal { justify-content: flex-end; }
@media (max-width: 640px) {
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-sep { display: none; }
  .footer-bottom { align-items: flex-start; }
  .footer-legal { justify-content: flex-start; }
}

/* Risk warning: a touch smaller and tighter, with less space around it */
.risk-warning { margin-top: 32px; padding-top: 20px; font-size: 11px; line-height: 17px; }

/* Policy pages: keep the "In short" heading tight to the top of its box on phones too */
.legal-doc .legal-summary h2 { margin-top: 0; }
/* Buttons inside policy pages (404 page) keep their own colours, not the link style */
.legal-doc a.btn { color: var(--on-accent); text-decoration: none; }

/* =========================================================
   Header logo, v4: two states and one GPU transition between them.
   The words and the M are separate layers; only transform and opacity animate,
   so nothing is redrawn while it moves. The header slides up by --lift as a whole.
   ========================================================= */
.brand-logo { position: relative; transform: none; will-change: auto; }
.brand-logo .lf-part { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 0 0; will-change: transform, opacity; }
.brand .lf-mark, .brand .lf-words { opacity: 1; transform: none; }
.site-header { height: calc(56px + var(--lift)); padding: var(--lift) var(--edge) 0; will-change: transform; }
.mobile-nav { top: calc(60px + 8px); }

html.is-compact .site-header { transform: translateY(calc(var(--lift) * -1)); }
html.is-compact .mobile-nav { top: 60px; }
html.is-compact .lf-part-mark { transform: translateY(var(--cy, 0px)) scale(var(--cs, 0.8)); }
html.is-compact .lf-part-words { transform: translateY(var(--cy, 0px)) scale(var(--cs, 0.8)) translateX(-28px); opacity: 0; }

/* Expanding: the logo grows back and the words fade in just behind it */
html.logo-anim .site-header { transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.6s var(--ease); }
html.logo-anim .lf-part-mark { transition: transform 0.6s var(--ease); }
html.logo-anim .lf-part-words { transition: transform 0.6s var(--ease), opacity 0.45s var(--ease) 0.1s; }
/* Collapsing: the words fade out quickly while everything settles into the M */
html.logo-anim.is-compact .lf-part-words { transition: transform 0.6s var(--ease), opacity 0.22s ease-out; }

@media (prefers-reduced-motion: reduce) {
  html.logo-anim .site-header, html.logo-anim .lf-part-mark, html.logo-anim .lf-part-words { transition: background-color 0.2s, border-color 0.2s; }
}

/* iPhone Safari paints the strip behind the clock in the page's background-colour.
   Make that colour the blue of the hero's glow, while a same-colour image keeps the page itself #151515. */
body { background-color: #121d25; background-image: linear-gradient(var(--bg), var(--bg)); }
/* Policy and 404 pages have no blue glow at the top, so their strip stays plain dark */
body.legal-page { background-color: var(--bg); }
