/* =====================================================================
   TheTradingWebsite — product landing (Landing 3)
   Restrained, product-first: near-black canvas, one accent, hairlines,
   a scroll-driven tour of every member page inside an app window.
   ===================================================================== */

:root {
  --bg: #07080b;
  --bg-2: #0a0c10;
  --panel: #0d1015;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f2f4f7;
  --text-2: #a3aab7;
  --text-3: #6c7380;
  --accent: #7ea6ff;
  --accent-2: #4f7dff;
  --up: #3dd68c;
  --down: #f2555a;

  /* app replica (matches the member area) */
  --app-bg: #0a0f1c;
  --app-side: #070b14;
  --app-line: rgba(148, 163, 184, .12);
  --app-text: #cbd5e1;

  --nav-h: 64px;
  --radius: 16px;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* tour window sizing (desktop) */
  --side-w: 200px;
  --chrome-h: 38px;
  --screen-ar: 1.6;          /* width / height of the page screen */
  --stage-reserve: 300px;    /* nav + caption + progress + gaps */
  --intro: 70svh;
  --step: 72svh;
  --outro: 30svh;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--bg);
}

body.l3 {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* resets at zero specificity so component rules always win */
:where(.l3) img { max-width: 100%; display: block; }
:where(.l3) a { color: inherit; text-decoration: none; }
:where(.l3) :where(h1, h2, h3, h4) { color: var(--text); margin: 0; font-weight: 600; }
:where(.l3) :where(p, figure, blockquote) { margin: 0; }
:where(.l3) ul { margin: 0; padding: 0; list-style: none; }
:where(.l3) button { font: inherit; color: inherit; }
.l3 ::selection { background: rgba(126, 166, 255, .32); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #000 !important; padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: #fff; color: #08090b !important; }
.btn-primary:hover { background: #e7eaf0; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text) !important; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 500; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- top navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(7, 8, 11, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 31px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links a {
  font-size: 14px; color: var(--text-2); padding: 8px 12px; border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }
.nav-menu {
  display: none; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03); cursor: pointer; position: relative;
}
.nav-menu span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-menu span:first-child { top: 15px; }
.nav-menu span:last-child { top: 23px; }
.nav-menu[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.nav-sheet {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(7, 8, 11, .97); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
}
.nav-sheet a.sheet-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 16px;
}
.nav-sheet a.sheet-link svg { width: 16px; height: 16px; color: var(--text-3); flex: none; }
.nav-sheet .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

/* =====================================================================
   STAGE — hero + scroll-driven product tour
   ===================================================================== */
.stage {
  position: relative;
  height: calc(100svh + var(--intro) + var(--steps, 13) * var(--step) + var(--outro));
}
@supports not (height: 100svh) {
  .stage { height: calc(100vh + 70vh + var(--steps, 13) * 72vh + 30vh); }
}
.stage-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + 14px);
  isolation: isolate;
}
/* quiet backdrop: faint grid + one soft light behind the window */
.stage-pin::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.stage-pin::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 42%; width: min(1200px, 120vw); height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(79, 125, 255, .16), rgba(79, 125, 255, .05) 55%, transparent);
  filter: blur(10px);
}

.stage-head {
  position: relative;
  z-index: 3;              /* the hero overflows down over the window area: keep its buttons on top */
  flex: none;
  height: var(--cap-h, 132px);
}

/* hero copy (visible before the tour begins) */
.hero {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 0;
  max-width: 980px; margin: 0 auto;
  text-align: center;
  will-change: opacity, transform;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font-size: 13px; color: var(--text-2);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.hero-pill:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.hero-pill .tag {
  font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #fff;
  padding: 3px 9px; border-radius: 999px; background: rgba(79, 125, 255, .28);
  border: 1px solid rgba(126, 166, 255, .45);
}
.hero-pill svg { width: 13px; height: 13px; color: var(--text-3); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.45rem, 1.2rem + 3.9vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.042em;
  font-weight: 600;
  text-wrap: balance;
}
.hero h1 .soft { color: #8d95a3; }
.hero-sub {
  margin: 20px auto 0; max-width: 640px;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.6; color: var(--text-2);
  text-wrap: pretty;
}
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-proof {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 22px; font-size: 13px; color: var(--text-3);
}
.hero-proof .stars { color: #e8c468; letter-spacing: 1px; font-size: 12px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .proof-terms { gap: 18px; }
.hero-proof .sep { width: 3px; height: 3px; border-radius: 50%; background: #3a3f48; flex: none; }

/* entrance after the page loader (html.ttw-in): hero lines rise in, then the window */
@keyframes l3-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.ttw-in .hero > * { animation: l3-rise .9s var(--ease) both; }
html.ttw-in .hero > :nth-child(2) { animation-delay: .07s; }
html.ttw-in .hero > :nth-child(3) { animation-delay: .14s; }
html.ttw-in .hero > :nth-child(4) { animation-delay: .21s; }
html.ttw-in .hero > :nth-child(5) { animation-delay: .28s; }
html.ttw-in .hero > :nth-child(6) { animation-delay: .34s; }
html.ttw-in .stage-body { animation: l3-rise 1.1s var(--ease) .22s both; }
@media (prefers-reduced-motion: reduce) { html.ttw-in .hero > *, html.ttw-in .stage-body { animation: none; } }

/* tour captions (one per page, cross-faded) */
.captions {
  position: absolute; inset: 0 var(--gutter);
  max-width: var(--win-w, 1160px); margin: 0 auto;
  opacity: 0; pointer-events: none;
}
.captions.is-on { pointer-events: auto; }
.cap {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px 48px;
  align-items: end;
  padding-bottom: 18px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  visibility: hidden;
}
.cap.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: .05s; }
.cap-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cap-num { color: var(--text); }
.cap-num i { font-style: normal; color: var(--text-3); }
.cap-cat { padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); }
.cap-title {
  font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem); line-height: 1.15; letter-spacing: -.03em;
}
.cap-desc { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 610px; }
.cap-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cap-points { display: grid; gap: 7px; }
.cap-points li {
  position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--text-2);
}
.cap-points li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
}
.cap-access {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-2);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025);
}
.cap-access i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cap-access[data-tier="free"] i { background: var(--up); }
.cap-access[data-tier="mentorship"] i { background: #f0717d; }

/* ---------- the app window ---------- */
.stage-body {
  position: relative; flex: 1 1 auto; min-height: 0;
  display: flex; justify-content: center; align-items: center;
  padding: 0 var(--gutter);
  perspective: 2200px;
  perspective-origin: 50% 0%;
  pointer-events: none;    /* only the window itself takes clicks */
}
.stage-body .win { pointer-events: auto; }
.win {
  --win-w: min(1160px, calc(100vw - var(--gutter) * 2), calc((100svh - var(--stage-reserve) - var(--chrome-h)) * var(--screen-ar) + var(--side-w)));
  position: relative;
  width: var(--win-w);
  border-radius: 14px;
  background: #0c0f15;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 30px 80px -20px rgba(0, 0, 0, .85),
    0 60px 140px -40px rgba(30, 50, 120, .35);
  overflow: hidden;
  transform-origin: 50% 0%;
  will-change: transform;
}
.win-chrome {
  position: relative;
  height: var(--chrome-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 14px;
  background: linear-gradient(#11141b, #0d1016);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f39; }
.win-url {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 7px;
  height: 24px; min-width: min(360px, 46%); padding: 0 14px; justify-content: center;
  border-radius: 7px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px; color: #8b93a1; white-space: nowrap;
}
.win-url svg { width: 11px; height: 11px; color: #6c7380; flex: none; }
.win-url .host { color: #c5cbd5; }
.win-url .path { color: #8b93a1; transition: opacity .2s var(--ease); }
.win-url .path.is-swap { opacity: 0; }
.win-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.win-expand {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px; border: 0; background: transparent; cursor: pointer; color: #7b8391;
}
.win-expand:hover { background: rgba(255, 255, 255, .06); color: #d6dbe3; }
.win-expand svg { width: 14px; height: 14px; }

.win-body { display: flex; position: relative; }

/* replica of the member-area sidebar */
.app-side {
  flex: none; width: var(--side-w);
  background: var(--app-side);
  border-right: 1px solid var(--app-line);
  display: flex; flex-direction: column;
  min-height: 0;
  position: relative;
  contain: size;          /* the screen's aspect ratio sets the height, not the nav list */
}
.app-brand {
  height: 56px; flex: none; display: flex; align-items: center; padding: 0 16px;
  border-bottom: 1px solid var(--app-line);
}
.app-brand img { height: 22px; width: auto; }
.app-navclip { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 10px 10px 0; }
.app-nav { position: relative; transition: transform .5s var(--ease); }
.app-item {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 11px; margin-bottom: 3px;
  border-radius: 9px; border: 1px solid transparent;
  font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: #aeb8c8;
  white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.app-item svg { width: 16px; height: 16px; flex: none; stroke: currentColor; }
.app-item.is-active { color: #fff; }
.app-item.is-mentor {
  color: #fff;
  background: linear-gradient(135deg, rgba(176, 38, 68, .42), rgba(110, 20, 44, .30));
  border-color: rgba(239, 68, 68, .32);
}
.app-item.is-course {
  color: #fff;
  background: linear-gradient(var(--app-side), var(--app-side)) padding-box,
              linear-gradient(90deg, #7c3aed, #ef4444) border-box;
}
.app-item.is-mentor.is-active { border-color: rgba(248, 113, 113, .75); box-shadow: 0 0 0 1px rgba(248, 113, 113, .25), 0 8px 24px -10px rgba(239, 68, 68, .6); }
.app-item.is-course.is-active { box-shadow: 0 8px 24px -10px rgba(239, 68, 68, .55); }
.app-badge {
  position: absolute; right: 6px; top: -7px;
  font-size: 8.5px; font-weight: 700; letter-spacing: .06em; color: #fff;
  padding: 2px 6px; border-radius: 999px;
  background: linear-gradient(90deg, #db2777, #ef4444);
}
.app-item.is-faq { color: #8c96a8; }
.app-sep { height: 1px; background: var(--app-line); margin: 8px 4px; }
.app-hl {
  position: absolute; left: 0; right: 0; top: 0; z-index: 0;
  height: 34px; border-radius: 9px;
  background: rgba(37, 99, 235, .17);
  border: 1px solid rgba(59, 130, 246, .5);
  box-shadow: 0 6px 20px -8px rgba(59, 130, 246, .55);
  transition: transform .5s var(--ease), opacity .3s var(--ease);
  pointer-events: none;
}
.app-hl.is-hidden { opacity: 0; }
.app-session {
  flex: none; margin: 10px 14px 14px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--app-line); background: rgba(255, 255, 255, .02);
  text-align: center; line-height: 1.2;
}
.app-session strong { display: block; color: #e6ebf2; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.app-session small { display: block; margin-top: 2px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #7d8697; }
.app-session.is-live { border-color: rgba(61, 214, 140, .35); background: rgba(61, 214, 140, .06); }
.app-session.is-live strong { color: var(--up); }

/* the page "screen" */
.app-screen {
  position: relative; flex: 1 1 auto; min-width: 0;
  aspect-ratio: var(--screen-ar);
  background: var(--app-bg);
  overflow: hidden;
  cursor: zoom-in;
}
.frame {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s, transform .7s var(--ease);
  transform: scale(1.012);
}
.frame.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), visibility 0s, transform .7s var(--ease); }
.frame-pan { will-change: transform; }
.frame img { width: 100%; max-width: none; height: auto; user-select: none; -webkit-user-drag: none; }
.frame-loading::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .03) 50%, transparent 70%) var(--app-bg);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
/* soft fade at the bottom edge of the screen, like a page continuing below */
.app-screen::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; pointer-events: none;
  background: linear-gradient(transparent, rgba(10, 15, 28, .55));
}

/* demo cursor */
.demo-cursor {
  position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px;
  pointer-events: none; will-change: transform;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55));
  opacity: 0; transition: opacity .4s var(--ease);
}
.demo-cursor.is-on { opacity: 1; }
.demo-cursor svg { width: 22px; height: 22px; display: block; }
.demo-cursor::after {
  content: ""; position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85); opacity: 0; transform: scale(.4);
}
.demo-cursor.is-click::after { animation: click-ring .55s var(--ease); }
@keyframes click-ring {
  0% { opacity: .9; transform: scale(.4); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* progress + skip under the window */
.stage-foot {
  flex: none; height: 54px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  position: relative; z-index: 2;
}
.tour-progress { display: flex; align-items: center; gap: 4px; }
.tour-seg {
  position: relative; width: 30px; height: 18px; border: 0; padding: 0; background: transparent; cursor: pointer;
}
.tour-seg::before, .tour-seg i {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px;
}
.tour-seg::before { background: rgba(255, 255, 255, .12); }
.tour-seg i { background: #e8ecf3; transform-origin: left center; transform: scaleX(0); }
.tour-seg:hover::before { background: rgba(255, 255, 255, .28); }
.tour-hint { font-size: 12.5px; color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; }
.tour-skip {
  font-size: 12.5px; color: var(--text-2); background: none; border: 0; cursor: pointer; padding: 6px 8px; border-radius: 7px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tour-skip:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.tour-skip svg { width: 13px; height: 13px; }
.stage-foot .tour-progress,
.stage-foot .tour-skip { transition: opacity .3s var(--ease); }
.stage.is-hero .stage-foot .tour-progress { opacity: .55; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { position: relative; padding: clamp(84px, 10vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--accent); }
.h2 {
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.1rem); line-height: 1.06; letter-spacing: -.037em;
  text-wrap: balance;
}
.lead { margin-top: 18px; font-size: clamp(1rem, .96rem + .25vw, 1.13rem); color: var(--text-2); text-wrap: pretty; }
.section-head.center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }

/* partners band */
.band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.band-inner { display: flex; align-items: center; gap: 28px 40px; flex-wrap: wrap; justify-content: space-between; padding: 26px var(--gutter); }
.band-items { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 44px; }
.band-item { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.band-item img { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: .66; }
.band-item .k { color: var(--text-3); }

/* ---------- process / session timeline ---------- */
.clock {
  margin-top: 48px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01));
  padding: 22px 24px 26px;
}
.clock-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.clock-now { display: flex; align-items: baseline; gap: 12px; }
.clock-time { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--text); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clock-status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2);
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2);
}
.clock-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.clock-status.is-live { border-color: rgba(61, 214, 140, .4); color: #c9f5de; }
.clock-status.is-live i { background: var(--up); box-shadow: 0 0 0 0 rgba(61, 214, 140, .6); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, .55); } 70% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); } }
.bar { position: relative; margin-top: 26px; height: 40px; }
.bar-track { position: absolute; left: 0; right: 0; top: 14px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar-seg { position: absolute; top: 0; bottom: 0; }
.bar-seg.pre { background: rgba(126, 166, 255, .16); }
.bar-seg.open { background: linear-gradient(90deg, rgba(126, 166, 255, .85), rgba(79, 125, 255, .85)); }
.bar-seg.day { background: rgba(126, 166, 255, .1); }
.bar-tick { position: absolute; top: 26px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.bar-tick::before { content: ""; position: absolute; left: 50%; top: -10px; width: 1px; height: 6px; background: rgba(255, 255, 255, .18); }
.bar-now {
  position: absolute; top: 4px; width: 2px; height: 26px; border-radius: 2px; background: #fff;
  transform: translateX(-1px); box-shadow: 0 0 12px rgba(255, 255, 255, .6);
  transition: left 1s linear;
}
.bar-now::after {
  content: attr(data-label); position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; color: var(--text); white-space: nowrap;
  padding: 2px 6px; border-radius: 5px; background: #1a1e26; border: 1px solid var(--line-2);
}
.bar-now[hidden] { display: none; }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.phase {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 20px; background: var(--bg-2);
  display: flex; flex-direction: column; gap: 10px;
}
.phase h3 { font-size: 19px; letter-spacing: -.02em; }
.phase p { font-size: 14.5px; line-height: 1.55; }
.phase .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chip {
  font-size: 12px; color: var(--text-2); padding: 3px 9px; border-radius: 7px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
}
.phase.is-now { border-color: rgba(126, 166, 255, .45); box-shadow: inset 0 0 0 1px rgba(126, 166, 255, .12); }
.phase .mono.when { color: var(--accent); }

/* ---------- deep dives ---------- */
.dives { display: grid; gap: clamp(72px, 9vw, 128px); margin-top: clamp(56px, 7vw, 88px); }
.dive { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.dive.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.dive.flip .dive-copy { order: 2; }
.dive-copy h3 { font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.033em; text-wrap: balance; }
.dive-copy p { margin-top: 16px; font-size: 16px; }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 4px;
  border: 1px solid rgba(126, 166, 255, .45); background: rgba(126, 166, 255, .1);
}
.ticks li::after {
  content: ""; position: absolute; left: 4px; top: calc(.45em + 4px); width: 6px; height: 3.5px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
.shot {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); background: var(--app-bg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5);
  aspect-ratio: 16 / 11;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.shot figcaption {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 12px; color: #c9cfd9; padding: 5px 10px; border-radius: 8px;
  background: rgba(7, 8, 11, .72); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ---------- community cards ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .012));
}
.card-media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.02); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 19px; letter-spacing: -.02em; }
.card-body p { margin-top: 8px; font-size: 15px; }

/* ---------- reviews ---------- */
.rating { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.rating b { font-size: 40px; font-weight: 600; color: var(--text); letter-spacing: -.04em; line-height: 1; }
.rating .stars { color: #e8c468; font-size: 15px; letter-spacing: 2px; }
.rating small { display: block; font-size: 13px; color: var(--text-3); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.quote {
  margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 20px;
  background: var(--bg-2); display: flex; flex-direction: column; gap: 18px;
}
.quote blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #c8ced8; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); font-weight: 500; }
.quote .av {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 11.5px; font-weight: 600; color: #cdd6ff; background: rgba(79, 125, 255, .16); border: 1px solid rgba(126, 166, 255, .3);
}
.quote .stars { margin-left: auto; color: #e8c468; font-size: 11px; letter-spacing: 1.5px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; align-items: stretch; }
.plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-left: auto; margin-right: auto; gap: 20px; }
.plans-2 + .plans-foot { max-width: 880px; margin-left: auto; margin-right: auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px 26px;
  background: var(--bg-2);
}
.plan.is-featured {
  border-color: rgba(126, 166, 255, .45);
  background: linear-gradient(180deg, rgba(79, 125, 255, .09), rgba(79, 125, 255, .02) 40%, var(--bg-2));
  box-shadow: 0 30px 80px -40px rgba(79, 125, 255, .45);
}
.plan-flag {
  position: absolute; top: -11px; left: 26px;
  font-size: 11.5px; font-weight: 600; color: #fff; padding: 3px 10px; border-radius: 999px;
  background: #2b4fd6; border: 1px solid rgba(126, 166, 255, .6);
}
.plan h3 { font-size: 18px; letter-spacing: -.015em; }
.plan-desc { margin-top: 6px; font-size: 14px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.price b { font-size: 42px; font-weight: 600; letter-spacing: -.045em; color: var(--text); line-height: 1; }
.price s { font-size: 18px; color: var(--text-3); text-decoration-color: rgba(242, 85, 90, .8); }
.price span { font-size: 14px; color: var(--text-3); }
.price-note { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text-2);
}
.badge.good { border-color: rgba(61, 214, 140, .35); color: #b5f0d2; background: rgba(61, 214, 140, .06); }
.plan .btn { margin-top: 22px; }
.plan-list { display: grid; gap: 11px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: #c3c9d3; }
.plan-list li::before {
  content: ""; position: absolute; left: 3px; top: .38em; width: 10px; height: 6px;
  border-left: 1.5px solid var(--up); border-bottom: 1.5px solid var(--up); transform: rotate(-45deg);
}
.plan-list li.no { color: var(--text-3); }
.plan-list li.no::before { border: 0; height: 1.5px; width: 10px; top: .7em; background: #4a505b; transform: none; }
.plan-list .new {
  font-size: 10.5px; font-weight: 600; color: #fff; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: rgba(79, 125, 255, .3); border: 1px solid rgba(126, 166, 255, .5); vertical-align: 1px;
}
.plans-foot {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .015);
}
.assure { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13.5px; color: var(--text-2); }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { width: 15px; height: 15px; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px; color: var(--text); font-size: 16px; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq-list summary .pm::before, .faq-list summary .pm::after {
  content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 1.5px; background: var(--text-3); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.faq-list summary .pm::after { transform: rotate(90deg); }
.faq-list details[open] summary .pm::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 2px 22px; max-width: 680px; font-size: 15px; }
.faq-more { margin-top: 22px; font-size: 14.5px; }
.faq-more a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.faq-more a:hover { border-color: var(--text); }

/* ---------- final CTA ---------- */
.final { text-align: center; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 100vw); height: 100%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side at 50% 0%, rgba(79, 125, 255, .14), transparent);
}
.final .hero-ctas { margin-top: 34px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand img { height: 29px; width: auto; }
.foot-brand p { margin-top: 14px; max-width: 280px; color: var(--text-3); }
.foot h4 { font-size: 12px; font-weight: 500; color: var(--text-3); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.foot ul { display: grid; gap: 10px; margin-top: 14px; }
.foot ul a { color: var(--text-2); transition: color .2s var(--ease); }
.foot ul a:hover { color: var(--text); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.foot-bottom .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--text-3); font-size: 13px; }
.risk { font-size: 12px; line-height: 1.6; color: #5d6470; max-width: 980px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(4, 5, 8, .9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: block; animation: lb-in .25s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-bar {
  position: absolute; inset: 0 0 auto 0; height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(7, 8, 11, .8);
}
.lightbox-bar b { color: var(--text); font-weight: 500; font-size: 15px; }
.lightbox-close {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.lightbox-close svg { width: 16px; height: 16px; }
.lightbox-scroll { position: absolute; inset: 60px 0 0 0; overflow: auto; overscroll-behavior: contain; padding: 24px; }
.lightbox-scroll img { margin: 0 auto; max-width: min(1400px, 100%); border-radius: 10px; border: 1px solid var(--line-2); }
/* pop-ups keep the page scrollbar (no sideways jump); landing3.js freezes scrolling instead */
body.l3.optin-locked { overflow: visible; }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links + .nav-actions { margin-left: auto; }   /* buttons sit at the right edge without the link row */
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --side-w: 172px; }
  .cap { grid-template-columns: minmax(0, 1fr); align-items: end; }
  .cap-side { display: none; }
  .dive, .dive.flip { grid-template-columns: minmax(0, 1fr); }
  .dive.flip .dive-copy { order: 0; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan-desc { min-height: 0; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 58px;
    --gutter: 18px;
    --side-w: 46px;
    --chrome-h: 30px;
    --screen-ar: 1.3333;
    --stage-reserve: 262px;
    --intro: 62svh;
    --step: 64svh;
  }
  .nav-actions .btn-primary { display: none; }
  .nav-menu { display: inline-block; }
  .brand img { height: 26px; }

  .stage-pin { padding-top: calc(var(--nav-h) + 8px); }
  .hide-sm, .br-lg { display: none; }
  .hero { text-align: left; }
  .hero h1 { margin-top: 18px; font-size: clamp(2.1rem, 1.4rem + 4.6vw, 2.75rem); letter-spacing: -.038em; }
  .hero-sub { margin-top: 14px; font-size: 15.5px; }
  .hero-ctas { justify-content: flex-start; margin-top: 22px; }
  .hero-ctas .btn { flex: 1 1 0; }
  .hero-proof { justify-content: flex-start; margin-top: 16px; font-size: 12.5px; gap: 6px 14px; }
  .hero-pill { font-size: 12px; }

  .cap { padding-bottom: 12px; gap: 6px; }
  .cap-meta { margin-bottom: 4px; }
  .cap-title { font-size: 1.3rem; }
  .cap-desc { font-size: 14px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  .win { border-radius: 12px; }
  .win-dots i { width: 8px; height: 8px; }
  .win-dots { gap: 5px; }
  .win-url { height: 20px; min-width: 0; font-size: 10.5px; padding: 0 10px; }
  .win-expand { width: 22px; height: 22px; }
  .app-brand { height: 42px; padding: 0; justify-content: center; }
  .app-brand img { height: 15px; width: 15px; object-fit: cover; object-position: left center; }
  .app-navclip { padding: 6px 6px 0; }
  .app-item { height: 30px; padding: 0; justify-content: center; margin-bottom: 3px; border-radius: 8px; }
  .app-item span, .app-item .app-badge { display: none; }
  .app-item svg { width: 15px; height: 15px; }
  .app-hl { height: 30px; border-radius: 8px; }
  .app-sep { margin: 6px 2px; }
  .app-session { display: none; }
  .demo-cursor { display: none; }

  .stage-foot { height: 46px; gap: 10px; }
  .tour-seg { width: 16px; }
  .tour-hint { display: none; }

  .band-inner { padding: 22px var(--gutter); }
  .band-items { gap: 14px 28px; }
  .clock { padding: 18px 16px 20px; }
  .clock-time { font-size: 18px; }
  .bar-tick.opt { display: none; }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .quotes {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: center; }
  .plans-foot { padding: 16px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot { aspect-ratio: 4 / 3; }
}

@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 1.95rem; }
  .hero-sub { font-size: 14.5px; }
  .hero-ctas .btn { padding: 0 12px; font-size: 14px; }
}

/* short viewports: keep the tour window big enough */
@media (max-height: 760px) and (min-width: 721px) {
  :root { --stage-reserve: 270px; }
  .cap-desc { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 3.6rem); margin-top: 16px; }
  .hero-sub { margin-top: 14px; }
  .hero-ctas { margin-top: 20px; }
  .hero-proof { display: none; }
}
@media (max-height: 640px) and (max-width: 720px) {
  :root { --stage-reserve: 230px; }
  .cap-desc { display: none; }
  .hero-proof { display: none; }
  .hero-sub { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   SIGN-UP POP-UPS: the shared opt-in markup (_optin_popup.html),
   restyled for this page only. Other pages keep their own look.
   ===================================================================== */
.l3 .optin-modal {
  background: rgba(4, 5, 8, .72);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  padding: 20px;
}
.l3 .optin-modal.active .optin-card { animation: optin-in .3s var(--ease) both; }
@keyframes optin-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.l3 .optin-card {
  width: 440px;
  max-height: calc(100vh - 40px);
  max-height: calc(100svh - 40px);
  background: linear-gradient(180deg, rgba(126, 166, 255, .06), rgba(126, 166, 255, 0) 120px), #0b0d11;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 120px -24px rgba(0, 0, 0, .9), 0 30px 90px -40px rgba(79, 125, 255, .35);
  padding: 30px 28px 24px;
  font-family: var(--font);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
.l3 .optin-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 166, 255, .7), transparent);
}
.l3 .optin-close {
  top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  color: #c5cbd5; font-size: 19px; font-weight: 300; line-height: 1;
  display: grid; place-items: center; padding: 0 0 2px;
}
.l3 .optin-close:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.l3 .optin-form { gap: 14px; }
.l3 .optin-head { text-align: center; margin: 0 0 6px; padding: 0 24px; }
.l3 .optin-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--accent); }
.l3 .optin-eyebrow::before, .l3 .optin-eyebrow::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7; }
.l3 .optin-title { font-size: 23px; font-weight: 600; letter-spacing: -.028em; color: var(--text); line-height: 1.2; margin: 0 0 8px; }
.l3 .optin-sub { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.l3 .optin-field { gap: 7px; }
.l3 .optin-label { font-size: 13px; font-weight: 500; color: #c3c9d3; }
.l3 .optin-req { color: var(--text-3); }
.l3 .optin-input {
  height: 46px; padding: 0 14px; font-size: 15px; font-family: var(--font);
  color: var(--text); background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.l3 .optin-input::placeholder { color: #5f6672; }
.l3 .optin-input:hover { border-color: rgba(255, 255, 255, .2); }
.l3 .optin-input:focus { border-color: rgba(126, 166, 255, .75); background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 3px rgba(79, 125, 255, .18); }
.l3 .optin-err { color: #f2555a; font-size: 12.5px; }
.l3 .optin-submit,
.l3 .optin-modal--free .optin-submit {
  margin-top: 4px; height: 48px; padding: 0 18px; border-radius: 10px;
  background: #fff; color: #08090b; font-family: var(--font);
  font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.l3 .optin-submit:hover { background: #e7eaf0; opacity: 1; }
.l3 .optin-legal { font-size: 11.5px; color: var(--text-3); text-align: center; line-height: 1.55; }
.l3 .optin-legal a { color: var(--text-2); text-underline-offset: 2px; }
.l3 .optin-assure { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 0; font-size: 12px; color: var(--text-3); }
.l3 .optin-assure span { display: inline-flex; align-items: center; gap: 6px; }
.l3 .optin-assure i { width: 5px; height: 5px; border-radius: 50%; background: var(--up); }
/* country-code picker inside the Premium form */
.l3 .optin-phone-row .pdd-container { width: 124px; }
.l3 .pdd-wrap[data-theme="dark"] .pdd-btn {
  height: 46px; border-radius: 10px; background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line-2); color: var(--text); font-size: 14px; font-family: var(--font);
}
.l3 .pdd-wrap[data-theme="dark"] .pdd-btn:hover { border-color: rgba(255, 255, 255, .2); }
.l3 .pdd-wrap[data-theme="dark"] .pdd-panel { background: #111419; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .65); }
.l3 .pdd-wrap[data-theme="dark"] .pdd-search { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; font-family: var(--font); }
.l3 .pdd-wrap[data-theme="dark"] .pdd-item { color: #d2d7df; }
.l3 .pdd-wrap[data-theme="dark"] .pdd-item:hover { background: rgba(255, 255, 255, .06); }
.l3 .pdd-wrap[data-theme="dark"] .pdd-item--active { background: rgba(79, 125, 255, .22); }
.l3 .pdd-search:focus { border-color: rgba(126, 166, 255, .75) !important; }

/* =====================================================================
   PHONES (max 720px)
   The pinned tour needs a wide screen, so phones get a normal hero with
   one framed shot, then the tour as cards with a sticky nav strip.
   Everything is centred for an even rhythm.
   ===================================================================== */
.mtour, .mhero-shot { display: none; }
.mshot-bar {
  height: 28px; display: flex; align-items: center; gap: 10px; padding: 0 10px;
  background: linear-gradient(#11141b, #0d1016); border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.mshot-bar .win-dots { gap: 5px; }
.mshot-bar .win-dots i { width: 7px; height: 7px; }
.mshot-url {
  flex: 1; min-width: 0; margin-right: 31px; text-align: center;
  font-size: 10.5px; color: #c5cbd5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mshot-url b { font-weight: 400; color: #7b8391; }

@media (max-width: 720px) {
  /* hero: normal flow (the tour engine is off on phones) */
  .stage { height: auto; }
  .stage-pin { position: relative; height: auto; overflow: hidden; display: block; padding: calc(var(--nav-h) + 26px) 0 40px; }
  .stage-pin::after { width: 100%; }
  .stage-head { height: auto !important; }
  .hero { position: relative; left: auto; right: auto; padding: 0 var(--gutter); text-align: center; opacity: 1 !important; transform: none !important; visibility: visible !important; pointer-events: auto !important; }
  .captions, .stage-body, .stage-foot { display: none !important; }
  .hero h1 { font-size: clamp(2.05rem, 1.35rem + 4.4vw, 2.6rem); }
  .hero-sub { margin-left: auto; margin-right: auto; max-width: 360px; }
  .hero-ctas { justify-content: center; }
  .hero-ctas .btn { flex: 1 1 0; max-width: 200px; }
  .hero-proof { flex-direction: column; justify-content: center; gap: 8px; margin-top: 20px; }
  .hero-proof .proof-sep { display: none; }
  .hero-proof .proof-terms { justify-content: center; }
  .mhero-shot, .mshot {
    display: block; margin: 30px 0 0; border-radius: 12px; overflow: hidden; text-align: left;
    border: 1px solid rgba(255, 255, 255, .1); background: var(--app-bg);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 28px 70px -28px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(30, 50, 120, .45);
  }
  .mhero-shot img, .mshot img { width: 100%; height: auto; }

  /* tour as cards */
  .mtour { display: block; position: relative; padding: 72px 0 0; border-top: 1px solid var(--line); }
  .mtour-head { text-align: center; }
  .mtour-head .lead { margin-left: auto; margin-right: auto; max-width: 330px; }
  .mtour-strip {
    position: sticky; top: var(--nav-h); z-index: 20; margin-top: 28px;
    background: rgba(7, 8, 11, .88);
    -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .mtour-track {
    display: flex; gap: 6px; overflow-x: auto; padding: 9px var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .mtour-track::-webkit-scrollbar { display: none; }
  .mtour-pill {
    flex: none; display: inline-flex; align-items: center; gap: 7px;
    height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid transparent;
    font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: #aeb8c8; white-space: nowrap;
    transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  }
  .mtour-pill svg { width: 15px; height: 15px; flex: none; }
  .mtour-pill.is-active { color: #fff; background: rgba(37, 99, 235, .17); border-color: rgba(59, 130, 246, .5); }
  .mcard { padding: 44px 0 48px; text-align: center; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 64px); }
  .mcard:last-child { border-bottom: 0; }
  .mcard .cap-meta { justify-content: center; margin-bottom: 12px; }
  .mcard-title { font-size: 1.65rem; line-height: 1.15; letter-spacing: -.032em; }
  .mcard-desc { margin: 10px auto 0; max-width: 360px; font-size: 15px; line-height: 1.6; }
  .mshot { margin-top: 24px; }
  .mshot + .mshot { margin-top: 12px; }
  .mshot-zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
  .mcard-foot { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .mcard-foot .cap-points { display: inline-grid; text-align: left; gap: 8px; }

  /* centred sections */
  .section-head, .faq-grid .section-head { text-align: center; margin-left: auto; margin-right: auto; }
  .section-head .lead { margin-left: auto; margin-right: auto; }
  .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--accent); }
  .band-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 30px var(--gutter); }
  .band-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; width: 100%; max-width: 380px; }
  .band-item { flex-direction: column; justify-content: center; gap: 8px; font-size: 12.5px; }
  .band-item img { height: 19px; }
  .clock { text-align: center; }
  .clock-top { flex-direction: column; align-items: center; gap: 12px; }
  .clock-now { justify-content: center; }
  .phase { text-align: center; align-items: center; padding: 24px 20px; }
  .phase .chips { justify-content: center; }
  .dive-copy { text-align: center; }
  .dive-copy .ticks { display: inline-grid; text-align: left; }
  .dive .shot { display: none; }          /* the tour cards above already show these pages */
  .dives { gap: 64px; }
  .duo { margin-top: 40px; }
  .card-body { text-align: center; }
  .quotes { margin-top: 40px; }
  .plans.plans-2 { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-top: 40px; gap: 26px; }
  .plan { text-align: center; padding: 30px 22px 24px; }
  .plan-flag { left: 50%; transform: translateX(-50%); }
  .plan .price, .plan .price-note { justify-content: center; }
  .plan-list { text-align: left; }
  .plans-foot { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; }
  .assure { flex-direction: column; align-items: center; gap: 10px; }
  .faq-more { text-align: center; }
  .final .hero-ctas .btn { flex: 1 1 0; max-width: 220px; }
  .foot-top { text-align: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .foot-brand img { margin: 0 auto; }
  .foot-brand p { margin-left: auto; margin-right: auto; }
  .foot-bottom { text-align: center; }
  .foot-bottom .legal { justify-content: center; flex-direction: column; align-items: center; }
  .risk { margin: 0 auto; }

  .l3 .optin-modal { padding: 12px; }
  .l3 .optin-card { padding: 26px 20px 20px; max-height: calc(100vh - 24px); max-height: calc(100svh - 24px); }
  .l3 .optin-head { padding: 0 28px; }
  .l3 .optin-title { font-size: 21px; }
}

/* =====================================================================
   LOGIN PAGE (/login): same system as the landing page
   ===================================================================== */
.l3-login { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.login {
  position: relative; flex: 1 0 auto; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 64px; overflow: hidden; isolation: isolate;
}
.login::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.login::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 48%; width: min(1100px, 100%); height: 80%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(79, 125, 255, .15), rgba(79, 125, 255, .04) 55%, transparent);
  filter: blur(10px);
}
.login-grid {
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px); align-items: center;
}
/* entrance plays when the page loader hands over (html.ttw-in, see partials/loader.html) */
html.ttw-in .login-panel { animation: login-in .7s var(--ease) both; }
html.ttw-in .login-visual { animation: login-in .9s var(--ease) .08s both; }
@keyframes login-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.login-title { margin-top: 2px; font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.042em; }
.login-sub { margin-top: 14px; max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.login-notice {
  margin-top: 22px; display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; text-align: left;
  border: 1px solid rgba(126, 166, 255, .32); background: rgba(79, 125, 255, .08); color: #d8e2ff;
}
.login-notice svg { flex: none; margin-top: 2px; color: var(--accent); }
.login-notice.is-warn { border-color: rgba(232, 196, 104, .35); background: rgba(232, 196, 104, .07); color: #f1e4c2; }
.login-notice.is-warn svg { color: #e8c468; }
.login-card {
  position: relative; margin-top: 26px; padding: 24px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(126, 166, 255, .06), rgba(126, 166, 255, 0) 120px), #0b0d11;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 30px 90px -44px rgba(79, 125, 255, .35);
}
.login-card::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 166, 255, .7), transparent);
}
.btn-lg { height: 50px; font-size: 15.5px; border-radius: 11px; }
.login-discord svg { width: 20px; height: 16px; }
.login-sep { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; font-size: 12.5px; color: var(--text-3); }
.login-sep::before, .login-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-alt { display: grid; gap: 10px; }
.login-fine { margin-top: 16px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--text-3); }
.login-fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.login-assure { margin-top: 22px; display: grid; gap: 9px; font-size: 13.5px; color: var(--text-2); }
.login-assure li { display: flex; align-items: center; gap: 10px; }
.login-assure i { width: 6px; height: 6px; border-radius: 50%; background: var(--up); flex: none; }
.login-visual { position: relative; }
.login-shot {
  margin: 0; border-radius: 14px; overflow: hidden; background: var(--app-bg);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 60px 140px -50px rgba(30, 50, 120, .5);
}
.login-shot img { width: 100%; height: auto; }
.login-foot { position: relative; border-top: 1px solid var(--line); padding: 22px 0 26px; font-size: 13px; }
.login-foot .risk { color: #5d6470; font-size: 12px; }
.login-foot .legal { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; color: var(--text-3); }
.login-foot .legal a { color: var(--text-2); }
.login-foot .legal a:hover { color: var(--text); }

@media (max-width: 960px) {
  .login-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .login-visual { display: none; }
  .login-panel { width: 100%; max-width: 440px; text-align: center; }
  .login-panel .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--accent); }
  .login-sub { margin-left: auto; margin-right: auto; }
  .login-card { text-align: left; }
  .login-assure { display: inline-grid; text-align: left; }
}
@media (max-width: 720px) {
  .login { align-items: flex-start; padding: calc(var(--nav-h) + 30px) 0 44px; }
  .login-title { font-size: clamp(2.1rem, 1.4rem + 4vw, 2.6rem); }
  .login-sub { font-size: 15px; }
  .login-card { padding: 20px 18px; }
  .login-foot { text-align: center; }
  .login-foot .legal { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .login-panel, .login-visual { animation: none; }
}

/* =====================================================================
   HERO ACCENT + PHONE HERO (showcase)
   ===================================================================== */
.hero h1 .grad {
  background: linear-gradient(95deg, #d3dfff 0%, #a9c1ff 48%, #7ea6ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sub-short { display: none; }
.mshow { display: none; }

@media (max-width: 720px) {
  /* tighter, calmer top so the showcase shows above the fold */
  .stage-pin { padding-top: calc(var(--nav-h) + 20px); }
  .hero h1 { margin-top: 16px; }
  .hero-sub { margin-top: 12px; max-width: 340px; }
  .sub-long { display: none; }
  .sub-short { display: inline; }
  .hero-ctas { margin-top: 20px; }
  .hero-proof { flex-direction: row; flex-wrap: wrap; gap: 6px 12px; margin-top: 16px; font-size: 12.5px; }
  .hero-proof .proof-sep { display: block; }
  .hero-proof .proof-terms { gap: 12px; }
  .hero-proof .hide-sm { display: none; }
  /* the background light drifts slowly */
  .stage-pin::after { top: 62%; height: 70%; background: radial-gradient(closest-side, rgba(79, 125, 255, .22), rgba(79, 125, 255, .06) 55%, transparent); animation: l3-drift 14s ease-in-out infinite alternate; }
  @keyframes l3-drift {
    from { transform: translate(-58%, -50%) scale(1); }
    to { transform: translate(-42%, -46%) scale(1.12); }
  }

  .mshow { display: block; position: relative; margin: 40px 2px 0; text-align: left; }
  .mshow::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 14%; bottom: -6%; z-index: -1;
    background: radial-gradient(closest-side, rgba(79, 125, 255, .38), rgba(79, 125, 255, 0) 72%);
    filter: blur(26px);
  }
  .mshow-frame {
    position: relative; border-radius: 16px; overflow: hidden; background: var(--app-bg);
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 34px 80px -30px rgba(0, 0, 0, .95), 0 40px 90px -46px rgba(79, 125, 255, .55);
    animation: mshow-float 7s ease-in-out infinite;
  }
  @keyframes mshow-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  .mshow-screen { position: relative; aspect-ratio: 10 / 9; overflow: hidden; }
  .mshow-screen::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none;
    background: linear-gradient(transparent, rgba(7, 9, 16, .82));
  }
  .mshow-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
  .mshow-slide.is-active { opacity: 1; animation: mshow-zoom 5s ease-out both; }
  @keyframes mshow-zoom { from { transform: scale(1.05); } to { transform: none; } }
  .mshow-slide img { position: absolute; left: 0; top: 0; width: 100%; max-width: none; height: auto; }
  .mshow-label {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; font-weight: 500; color: #f2f4f7; letter-spacing: -.005em;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .mshow-label .mono { color: var(--accent); font-size: 11px; padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(126, 166, 255, .45); background: rgba(79, 125, 255, .14); }
  .mshow-label.is-swap { opacity: 0; transform: translateY(4px); }
  .mshow-live {
    position: absolute; top: -25px; right: 12px; z-index: 3;
    display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px;
    font-size: 12px; font-weight: 500; color: #e6e9ee; white-space: nowrap;
    background: rgba(12, 14, 19, .82); border: 1px solid rgba(255, 255, 255, .15);
    -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .9);
    animation: mshow-float 7s ease-in-out infinite;
  }
  .mshow-live i { width: 7px; height: 7px; border-radius: 50%; background: #7ea6ff; box-shadow: 0 0 0 3px rgba(126, 166, 255, .18); }
  .mshow-live.is-live i { background: var(--up); box-shadow: none; animation: live 1.8s infinite; }
  .mshow-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .mshow-dots i { position: relative; width: 22px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
  .mshow-dots i.is-done { background: rgba(255, 255, 255, .5); }
  .mshow-dots i.is-active::after { content: ""; position: absolute; inset: 0; background: #e8ecf3; transform-origin: left center; animation: mshow-dot var(--mshow-ms, 3600ms) linear forwards; }
  @keyframes mshow-dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .stage-pin::after, .mshow-frame, .mshow-live, .mshow-slide.is-active, .mshow-dots i.is-active::after { animation: none; }
}
