/* alertsify.com marketing site.
   Design system lifted from trade.alertsify.com: white page, soft and dark
   bands, Inter 800-900 headlines, JetBrains Mono for prices and numbers.
   Every color is a token here; nothing below uses a literal color. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f3f3f1;
  --ink: #0a0a0a;
  --body: #45474a;
  --muted: #6e7175;
  --line: #e6e6e4;
  --line-strong: #cfcfcc;
  --green: #00a85a;
  --green-bright: #2fe38a;
  --green-tint: rgba(47, 227, 138, 0.14);
  --red: #d23b3b;
  --dark: #0b0b0c;
  --dark-2: #161719;
  --dark-3: #1a1b1d;
  --dark-line: #232427;
  --dtext: #b9bdc1;
  --dtext-2: #9a9ea2;
  --dtext-3: #8a8e92;
  --on-dark: #ffffff;
  --device: #111111;
  --video-bg: #0e0f12;
  --star: #e8a317;
  --discord: #5865f2;
  --glass: rgba(255, 255, 255, 0.92);
  --shadow-monitor: 0 50px 120px rgba(0, 0, 0, 0.18), 0 12px 30px rgba(0, 0, 0, 0.1);
  --shadow-phone: 0 40px 90px rgba(0, 0, 0, 0.28);
  --pad: clamp(16px, 5vw, 80px);
  --max: 1240px;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
.dark a:focus-visible, .dark button:focus-visible, .dark summary:focus-visible { outline-color: var(--on-dark); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { padding-inline: var(--pad); }
.in { max-width: var(--max); margin-inline: auto; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--ink); color: var(--on-dark);
}
.btn.soft { background: var(--soft); color: var(--ink); }
.btn.light { background: var(--on-dark); color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.discord { background: var(--discord); color: var(--on-dark); }
.btn:hover { filter: brightness(1.12); }
.btn.soft:hover, .btn.light:hover, .btn.line:hover { filter: brightness(0.96); }
.arrow { font-weight: 700; color: var(--green); text-decoration: none; }
.arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .arrow { color: var(--green-bright); }

/* brand */
.logo { display: flex; align-items: center; gap: 9px; padding-block: 4px; text-decoration: none; white-space: nowrap; color: var(--ink); }
.logo svg.ic { overflow: visible; width: 28px; height: 28px; flex: none; }
.logo svg.wm { height: 15px; width: auto; }
.logo .prod { font-weight: 800; font-size: 17px; color: var(--green); letter-spacing: -0.02em; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; line-height: 1; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .in { height: 66px; display: flex; align-items: center; gap: 32px; }
.links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--body); }
.links a { text-decoration: none; white-space: nowrap; padding-block: 8px; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a[aria-current="page"] { font-weight: 700; }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-r .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.nav-r .signin, .nav-r .aux { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-r .aux { color: var(--body); font-weight: 500; }
.nav-r .aux:hover { color: var(--ink); }
.menu-btn {
  display: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent;
  color: var(--ink); cursor: pointer; border-radius: 12px; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu {
  display: none; border-top: 1px solid var(--line); background: var(--bg);
  padding: 8px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 66px); overflow-y: auto;
}
.menu.open { display: block; }
.menu a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; text-decoration: none; }
.menu a small { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.menu .menu-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.menu .menu-ctas .btn { width: 100%; }
.menu .menu-ctas a { border: 0; justify-content: center; }

/* hero */
.hero { padding-block: clamp(48px, 7vw, 96px) 0; text-align: center; }
.hero.left { text-align: left; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--soft); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.h1 { margin: 24px auto 0; max-width: 13ch; font-size: clamp(44px, 7.4vw, 104px); line-height: 0.95; font-weight: 900; letter-spacing: -0.055em; }
.hero.left .h1 { margin-inline: 0; }
.sub { margin: 24px auto 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--body); max-width: 44ch; }
.hero.left .sub { margin-inline: 0; }
.ctas { margin-top: 32px; display: flex; gap: 12px 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero.left .ctas { justify-content: flex-start; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
.dark .fine { color: var(--dtext-3); }
.rate {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  text-decoration: none; font-size: 14px; color: var(--body);
}
.rate b { color: var(--ink); font-size: 15px; }
.rate:hover { border-color: var(--line-strong); }
.stage { position: relative; margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1180px; padding-bottom: clamp(40px, 6vw, 90px); }
.stage .phone { position: absolute; left: -2%; bottom: 0; width: 21%; }
.vcap { margin-top: 14px; font-size: 13px; color: var(--muted); }
.split > div:not(.text) > .vcap, .live-phone > .vcap { text-align: center; }
.dark .vcap { color: var(--dtext-3); }

/* device frames and video */
.monitor { border-radius: 18px; background: var(--device); padding: 10px; box-shadow: var(--shadow-monitor); }
.phone { border-radius: 40px; background: var(--device); padding: 9px; box-shadow: var(--shadow-phone); }
.shot { border-radius: 22px; overflow: hidden; background: var(--device); padding: 8px; }
.dark .shot { background: var(--dark-3); }
.monitor img { border-radius: 10px; width: 100%; }
.phone img { border-radius: 32px; width: 100%; }
.vid { display: block; width: 100%; height: auto; background: var(--video-bg); }
.monitor .vid { border-radius: 10px; }
.phone .vid { border-radius: 32px; }
.shot .vid { border-radius: 15px; }
.split .phone, .live-phone { width: min(360px, 100%); margin-inline: auto; }

/* clip that still has to be recorded (preview builds only; strict builds fail) */
.todo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: clamp(16px, 3vw, 32px); overflow: hidden; color: var(--on-dark);
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, 0.05) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(255, 255, 255, 0.05) 63px 64px),
    var(--video-bg);
}
.monitor .todo { border-radius: 10px; }
.phone .todo { border-radius: 32px; padding: 22px 18px; }
.shot .todo { border-radius: 15px; }
.todo .tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font: 700 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--green-bright); background: var(--green-tint); padding: 7px 10px; border-radius: 999px;
}
.todo .tag::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.todo b { font-size: clamp(16px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.01em; max-width: 36ch; }
.phone .todo b { font-size: 16px; }
.todo span.mono { font-size: 12px; color: var(--dtext-3); }
.stage .monitor .todo { align-items: flex-end; text-align: right; }

/* sections */
.sec { padding-block: clamp(80px, 10vw, 140px); }
.sec.tight { padding-block: clamp(56px, 7vw, 96px); }
.sec.flush { padding-top: 0; }
.soft { background: var(--soft); }
.dark { background: var(--dark); color: var(--on-dark); }
.kick { font-size: 15px; font-weight: 700; color: var(--green); }
.dark .kick { color: var(--green-bright); }
.h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--body); max-width: 46ch; }
.dark .lede { color: var(--dtext); }
.head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.head.center { align-items: center; text-align: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .text > .h2 { margin-top: 18px; }
.split .text > .lede { margin-top: 20px; }
.split .text > .ctas { justify-content: flex-start; }
.stack { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }

.points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.points li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 16px; color: var(--body); }
.points li span { text-align: right; }
.points li b { color: var(--ink); font-weight: 700; }
.dark .points { border-color: var(--dark-line); }
.dark .points li { border-color: var(--dark-line); color: var(--dtext); }
.dark .points li b { color: var(--on-dark); }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats > div { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.dark .stats > div { border-color: var(--on-dark); }
.stats b { font-size: 17px; }
.stats span { font-size: 15px; line-height: 1.5; color: var(--body); }
.dark .stats span { color: var(--dtext); }

.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border-top: 2px solid var(--ink); padding-top: 22px; }
.nums > div { display: flex; flex-direction: column; gap: 6px; }
.nums b { font-size: clamp(34px, 3.6vw, 52px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.nums span { font-size: 15px; color: var(--body); }
.nums .stars { font-size: 22px; margin-left: 8px; vertical-align: middle; }

.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; border-top: 2px solid var(--ink); }
.feat > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.feat b { font-size: 17px; }
.feat span { font-size: 15px; line-height: 1.5; color: var(--body); }
.feat .pro { font: 700 11px/1 var(--mono); letter-spacing: 0.06em; color: var(--green); margin-left: 8px; vertical-align: 2px; }
.dark .feat { border-color: var(--on-dark); }
.dark .feat > div { border-color: var(--dark-line); }
.dark .feat span { color: var(--dtext); }

/* numbered steps (a real sequence) */
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.steps i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.steps li div { display: flex; flex-direction: column; gap: 4px; }
.steps b { font-size: 18px; letter-spacing: -0.01em; }
.steps span { font-size: 15px; line-height: 1.5; color: var(--body); }

/* brokers */
.bchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bchips li { height: 40px; padding: 0 16px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 700; color: var(--ink); }
.bchips li.hi { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.bchips li.hi::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); margin-left: 8px; }
.bgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bgrid li { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 112px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.bgrid b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.bgrid small { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.bgrid small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.bgrid li.hi { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.bgrid li.hi small { color: var(--green-bright); }
.bgrid li.hi small::before { background: var(--green-bright); }
.bnote { margin-top: 20px; font-size: 15px; color: var(--body); }

/* three doors (home) */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.door { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: 26px; background: var(--bg); text-decoration: none; }
.door:hover { border-color: var(--line-strong); }
.door .q { font-size: 14px; font-weight: 700; color: var(--muted); }
.door h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.door p { font-size: 16px; line-height: 1.5; color: var(--body); }
.door .door-price { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; }
.door .door-price span { font-weight: 500; color: var(--muted); }
.door .go { font-weight: 700; color: var(--green); }
.door.hot { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.door.hot .q, .door.hot .go { color: var(--green-bright); }
.door.hot p, .door.hot .door-price span { color: var(--dtext); }
.freeways { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; color: var(--body); }
.freeways a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 700; color: var(--ink); text-decoration: none; }
.freeways a:hover { border-color: var(--line-strong); }

/* reviews */
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 56px); }
.rev-head .t { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.score { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.score .big { font-size: 72px; font-weight: 900; letter-spacing: -0.05em; line-height: 0.9; }
.score .meta { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--dtext); }
.score .meta a { color: var(--on-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--dark-line); align-self: flex-start; padding-bottom: 1px; }
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rv { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 22px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.rv blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: var(--on-dark); flex: 1; }
.rv figcaption { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dtext-3); }
.rv figcaption i { width: 32px; height: 32px; border-radius: 50%; background: var(--dark-line); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 13px; color: var(--on-dark); }
.rv figcaption b { display: block; color: var(--on-dark); font-size: 14px; }

/* pricing */
.price { max-width: 980px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.card { border-radius: 26px; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.card.main { background: var(--ink); color: var(--on-dark); }
.card.alt { background: var(--bg); border: 1px solid var(--line); }
.card .kick { color: var(--green-bright); }
.card.alt .kick { color: var(--green); }
.card h3 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.amt { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 6px; font-size: clamp(64px, 8vw, 104px); font-weight: 900; letter-spacing: -0.05em; line-height: 0.9; }
.amt b { font: inherit; }
.amt span { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--dtext-2); }
.card.alt .amt span { color: var(--muted); }
.card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.4; }
.card.main ul { color: var(--dtext); }
.card.alt ul { color: var(--body); }
.card li { display: grid; grid-template-columns: 20px minmax(0, 1fr); }
.card li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); margin-top: 7px; }
.card.alt li::before { background: var(--green); }
.card .btn { margin-top: auto; }
.chip { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--green-bright); background: var(--green-tint); border-radius: 999px; padding: 6px 12px; }
.card.alt .chip { color: var(--green); background: var(--soft); }
.pnote { font-size: 14px; color: var(--dtext-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card.alt .pnote { color: var(--muted); }
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--dark-2); align-self: flex-start; }
.card.alt .billing { background: var(--soft); }
.billing button { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--dtext-2); font: 700 14px/1 var(--sans); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }
.card.alt .billing button { color: var(--muted); }
.card.alt .billing button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.trade-first #plan-trade { order: -1; }
.price-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }

/* comparison table */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--ink); }
.tbl { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.tbl tbody th { font-weight: 700; color: var(--ink); width: 34%; }
.tbl td { color: var(--body); }
.tbl .yes { color: var(--green); font-weight: 700; }
.tbl .no { color: var(--muted); }
.tbl .hl { background: var(--soft); }

/* faq */
.faq { max-width: 860px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; padding: 16px 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 64ch; }
.faq details p + p { margin-top: -8px; }
.faq-cta { margin-top: 36px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.faq-cta span { font-size: 14px; color: var(--muted); }

/* cta band */
.band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 26px; background: var(--ink); color: var(--on-dark); }
.band h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.band p { margin-top: 8px; color: var(--dtext-2); font-size: 16px; }
.band .ctas { margin-top: 0; }

/* callout card (cross-sell, notes) */
.callout { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 26px; background: var(--bg); }
.callout h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.callout p { font-size: 16px; line-height: 1.55; color: var(--body); max-width: 60ch; }
.callout .btn { align-self: flex-start; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* rule groups (risk rules) */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.rules h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.rules > div > p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.rules ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.rules li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--body); }
.rules li b { color: var(--ink); }
.rules li em { font-style: normal; font: 700 11px/1 var(--mono); letter-spacing: 0.06em; color: var(--green); margin-left: 6px; }

/* changelog / timeline */
.log { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); max-width: 900px; }
.log li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.log time { font: 500 14px/1.6 var(--mono); color: var(--muted); }
.log h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.log p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--body); }

/* legal and long text */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.doc .meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.doc h2 { margin-top: 44px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.doc h3 { margin-top: 28px; font-size: 18px; font-weight: 700; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--body); }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .tbl-wrap { border-top: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.toc a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.space { margin-top: 28px; }
.gap-xl { margin-top: clamp(80px, 10vw, 140px); }
.nums + .head { margin-top: clamp(64px, 8vw, 110px); }

/* disclaimer strip under a section */
.note { margin-top: 18px; font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 90ch; }
.dark .note { color: var(--dtext-3); }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 56px 44px; font-size: 14px; color: var(--muted); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 14px; font-size: 14px; line-height: 1.55; max-width: 34ch; }
.foot h2 { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.foot ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.foot ul a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; color: var(--body); }
.foot ul a:hover { color: var(--ink); }
.foot-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.6; }

/* sticky mobile cta */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.25s;
}
.sticky.on { transform: none; }
.sticky div { display: flex; flex-direction: column; font-size: 13px; color: var(--body); line-height: 1.3; min-width: 0; }
.sticky div b { color: var(--ink); font-size: 15px; }
.sticky .btn { height: 46px; padding: 0 20px; font-size: 15px; }

/* responsive */
@media (max-width: 420px) {
  .logo:has(.prod) svg.wm { display: none; }
}
@media (max-width: 1100px) {
  .links { gap: 20px; }
  .nav-r .aux { display: none; }
}
@media (max-width: 1000px) {
  .links, .nav-r .signin { display: none; }
  .menu-btn { display: inline-flex; }
  .nav .in { gap: 12px; }
  .nav-r { gap: 8px; }
  .split, .price, .rules { grid-template-columns: minmax(0, 1fr); }
  .split .text { order: -1; }
  .stats, .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stats.three { grid-template-columns: minmax(0, 1fr); }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors, .cards3 { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
  .steps i { margin: 0; flex: none; }
  .sticky { display: flex; }
  .foot { padding-bottom: 120px; }
  .cards2 { grid-template-columns: minmax(0, 1fr); }
  .log li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rules li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 640px) {
  .stage .phone { display: none; }
  .nav-r .btn { padding: 0 14px; }
  .duo, .stats, .feat, .rgrid { grid-template-columns: minmax(0, 1fr); }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgrid li { min-height: 92px; }
  .ctas .btn { width: 100%; }
  .monitor { padding: 5px; border-radius: 12px; }
  .monitor img, .monitor .vid, .monitor .todo { border-radius: 8px; }
  .hero { padding-top: 18px; padding-bottom: 48px; }
  .hero .in { display: flex; flex-direction: column; align-items: center; }
  .hero.left .in { align-items: stretch; }
  .hero .pill { display: none; }
  .hero .h1 { order: 1; margin-top: 0; font-size: clamp(38px, 11vw, 48px); max-width: none; }
  .hero .stage { order: 2; margin: 18px 0 0; padding-bottom: 0; width: 100%; }
  .hero .vcap { order: 3; margin-top: 8px; font-size: 12px; }
  .hero .sub { order: 4; margin-top: 16px; font-size: 17px; }
  .hero .ctas { order: 5; margin-top: 20px; width: 100%; }
  .hero .fine { order: 6; }
  .hero .rate { order: 7; }
  .points li { flex-direction: column; gap: 4px; }
  .stage .monitor .todo { align-items: flex-start; text-align: left; }
  .points li span { text-align: left; }
  .score .big { font-size: 56px; }
  .logo svg.wm { height: 13px; }
  .logo .prod { font-size: 15px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq summary { font-size: 17px; }
  .band .ctas { width: 100%; }
}
@media (min-width: 1000px) {
  .hero.tilt { padding-top: clamp(40px, 4vw, 64px); }
  .hero.tilt .in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 16px; }
  .hero.tilt .in > * { flex-basis: 100%; }
  .hero.tilt .pill { flex-basis: auto; }
  .hero.tilt .h1 { margin: 18px auto 0; max-width: none; font-size: clamp(52px, 4.6vw, 76px); }
  .hero.tilt .sub { margin: 16px auto 0; font-size: 19px; max-width: 62ch; }
  .hero.tilt .ctas { margin-top: 28px; }
  .hero.tilt .fine, .hero.tilt .rate { flex-basis: auto; margin-top: 16px; }
  .hero.tilt .stage { margin-top: 32px; padding-bottom: 40px; perspective: 2200px; }
  .hero.tilt .monitor { transform-origin: 50% 0; transform: rotateX(var(--tilt, 10deg)) scale(var(--sc, 0.94)); transition: transform 0.08s linear; will-change: transform; }
  .hero.tilt .stage .phone { width: 17%; left: -3%; bottom: -10px; z-index: 2; }
  .hero.tilt .vcap { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky { transition: none; }
  .hero.tilt .monitor { transform: none !important; }
}

/* launch: two-card row */
.cards3.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards3.two { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Site v3: the Skylit-structure home (hero, what you get, modules, what's
   next, live, university, reviews wall, why traders pay, pricing, partners)
   and the new pages (charts, marketplace, university, changelog, guides,
   live). Same tokens as above, plus three.
   ========================================================================== */
:root {
  --glow: #17271e;
  --glow-2: #0f1613;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.5 2.4L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* shared chips */
.soon {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 700 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green); background: var(--green-tint); white-space: nowrap;
}
.dark .soon, .mod-hero .soon { color: var(--green-bright); }
.mtag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--soft); font: 700 12px/1 var(--mono); color: var(--ink); white-space: nowrap;
}
.mtag.free { color: var(--green); background: var(--green-tint); }
.mtag.inv { background: var(--on-dark); color: var(--ink); }
.g { color: var(--green); }
.dark .g { color: var(--green-bright); }

/* hero v3 */
.hero.v3 .h1 { max-width: 16ch; }
.hero.v3 .sub { max-width: 52ch; }
.mrow { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mrow a {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px 0 8px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.mrow a:hover { border-color: var(--line-strong); }
.mrow .mi { width: 28px; height: 28px; border-radius: 9px; background: var(--green-tint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.mrow .mi svg { width: 16px; height: 16px; }
.proof { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 15px; font-weight: 500; color: var(--body); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--green) var(--check) center / 12px no-repeat; }
.stage .phone.copy { width: 19%; }

/* what you get */
.get { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.get > div { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px); border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.gi { width: 44px; height: 44px; margin-bottom: 8px; border-radius: 13px; background: var(--ink); color: var(--green-bright); display: flex; align-items: center; justify-content: center; }
.gi svg { width: 22px; height: 22px; }
.get h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.get p { font-size: 15.5px; line-height: 1.55; color: var(--body); }

/* modules */
.mod-hero {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(22px, 3.4vw, 44px); border-radius: 30px; background: var(--ink); color: var(--on-dark); margin-bottom: 16px;
}
.mod-hero .mod-top { margin-bottom: 18px; }
.mod-hero h3 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.mod-hero .lede { margin-top: 18px; color: var(--dtext); }
.mod-hero .points { border-color: var(--dark-line); }
.mod-hero .points li { border-color: var(--dark-line); color: var(--dtext); }
.mod-hero .points li b { color: var(--on-dark); }
.mod-hero .ctas { justify-content: flex-start; }
.mod-hero .monitor { background: var(--dark-3); box-shadow: none; }
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mod { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); overflow: hidden; text-decoration: none; color: var(--ink); }
.mod:hover { border-color: var(--line-strong); }
.mod:hover .go { text-decoration: underline; text-underline-offset: 3px; }
.mod-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--video-bg); }
.mod-media > img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.mod-media.ph { background: radial-gradient(120% 95% at 50% 0%, var(--glow) 0%, var(--video-bg) 62%); }
.mod-media.ph > img {
  position: absolute; left: 50%; top: 9%; width: 40%; height: auto; transform: translateX(-50%);
  border-radius: 20px; border: 5px solid var(--device); box-shadow: var(--shadow-phone);
}
.mod-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.mod-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mod-top .kick { font-size: 14px; }
.mod h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.mod p { font-size: 15px; line-height: 1.5; color: var(--body); }
.mod .go { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: var(--green); }

/* prop accounts mock (drawn in HTML, illustrative) */
.mod-media.prop { display: flex; align-items: center; justify-content: center; padding: 18px; background: radial-gradient(120% 95% at 50% 0%, var(--glow) 0%, var(--video-bg) 62%); }
.pm { width: min(100%, 330px); display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--dtext); }
.pm-src { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--dark-2); border: 1px solid var(--green); color: var(--on-dark); }
.pm-src b { font: 700 12.5px/1 var(--mono); color: var(--on-dark); }
.pm-src span { font: 700 11px/1 var(--mono); color: var(--green-bright); }
.pm ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pm li { display: flex; flex-direction: column; gap: 5px; padding: 9px 10px; border-radius: 10px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.pm li b { font-size: 12px; color: var(--on-dark); font-weight: 700; }
.pm li em { font: 700 10.5px/1 var(--mono); font-style: normal; color: var(--green-bright); }

/* what's next */
.next-hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(18px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 28px; background: var(--bg);
}
.next-hero .shot { padding: 6px; }
.next-hero .shot img { border-radius: 16px; width: 100%; }
.next-hero h3 { margin-top: 14px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.next-hero p { margin-top: 14px; font-size: 16.5px; line-height: 1.55; color: var(--body); max-width: 46ch; }
.next-hero ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--body); }
.next-hero li { display: flex; gap: 10px; align-items: flex-start; }
.next-hero li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; flex: none; border-radius: 50%; background: var(--green) var(--check) center / 11px no-repeat; }
.next-hero .ctas { justify-content: flex-start; margin-top: 24px; }
.next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.next-grid > div { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); }
.next-grid .gi { background: var(--soft); color: var(--ink); }
.next-grid h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.next-grid p { font-size: 15px; line-height: 1.5; color: var(--body); }
.next-grid .arrow { margin-top: auto; padding-top: 4px; font-size: 15px; }
.row-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* university */
.tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.track { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--ink); }
a.track:hover { border-color: var(--line-strong); }
.track .row-top span { font: 700 12px/1 var(--mono); color: var(--muted); }
.track h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.track p { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.track .cnt { font: 700 13px/1 var(--mono); color: var(--green); white-space: nowrap; }
.uni-cta { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.uni-cta span { font-size: 14px; color: var(--muted); }

/* reviews wall */
.rwall { columns: 3 280px; column-gap: 14px; }
.rwall .rv { break-inside: avoid; margin-bottom: 14px; }
.rv blockquote { flex: none; }
.rv time { display: block; margin-top: 2px; font-size: 12px; color: var(--dtext-3); }

/* why traders pay */
.tbl tfoot th, .tbl tfoot td { border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 18px; font-weight: 800; color: var(--ink); }
.tbl .us { color: var(--green); font-weight: 700; }
.tbl tbody th small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.tbl tr.grp th { padding: 26px 0 10px; border-bottom: 1px solid var(--line-strong); font: 700 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.tbl tbody tr.grp:first-child th { padding-top: 14px; }

/* pricing v3 */
.free-line {
  max-width: 980px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding: 16px 18px 16px 22px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line);
}
.free-line div { display: flex; flex-direction: column; gap: 4px; }
.free-line b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.free-line span { font-size: 15px; color: var(--body); }
.free-line .btn { height: 46px; padding: 0 20px; font-size: 15px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pop { font-size: 12.5px; font-weight: 800; color: var(--ink); background: var(--green-bright); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.fit-head { margin: clamp(56px, 7vw, 88px) auto 22px; max-width: 980px; }
.fit-head h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.035em; }
.fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.fit a { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.fit a:hover { border-color: var(--line-strong); }
.fit .q { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.fit p { font-size: 15px; line-height: 1.5; color: var(--body); }
.fit .ans { margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--green); font-size: 15px; }
.cmp { max-width: 980px; margin: clamp(56px, 7vw, 88px) auto 0; }
.cmp h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 22px; }
.cmp .tbl { background: transparent; }

/* partners and affiliates */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.partner { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
a.partner:hover { border-color: var(--line-strong); }
.badge { width: 50px; height: 50px; margin-bottom: 6px; border-radius: 15px; background: var(--ink); color: var(--green-bright); font-weight: 900; font-size: 17px; letter-spacing: -0.03em; display: flex; align-items: center; justify-content: center; }
.partner h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.partner p { font-size: 15px; line-height: 1.5; color: var(--body); }
.partner .arrow { margin-top: auto; font-size: 15px; }
.partner.join { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.partner.join p { color: var(--dtext); }
.partner.join .badge { background: var(--green-bright); color: var(--ink); }
.partner.join .arrow { color: var(--green-bright); }
.aff { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.aff h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.03em; }
.aff p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--body); max-width: 60ch; }

/* click-to-play films with sound */
.film { border-radius: 18px; background: var(--device); padding: 10px; box-shadow: var(--shadow-monitor); }
.film video { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--video-bg); }
.film.tall { width: min(380px, 100%); margin-inline: auto; border-radius: 34px; padding: 8px; }
.film.tall video { border-radius: 27px; }
.only-m { display: none; }

/* image gallery (charts, changelog) */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery img { width: 100%; border-radius: 16px; background: var(--video-bg); aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { font-size: 15px; line-height: 1.5; color: var(--body); }
.gallery figcaption b { color: var(--ink); }
.gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* guides */
.guide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.guide:first-of-type { border-top: 0; padding-top: 0; }
.guide .text { position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 14px; }
.guide h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.guide .lede { font-size: 16.5px; }
.gsteps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.gsteps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gsteps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.gsteps b { font-size: 17px; letter-spacing: -0.01em; }
.gsteps span { font-size: 15.5px; line-height: 1.55; color: var(--body); }
.gsteps .from { font-size: 13px; color: var(--muted); }

/* university page */
.uni { columns: 3 300px; column-gap: 14px; }
.uni .track { break-inside: avoid; margin-bottom: 14px; }
.uni ol { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; line-height: 1.45; color: var(--body); }
.uni ol li::marker { font: 700 12px var(--mono); color: var(--muted); }
.uni ol b { color: var(--ink); font-weight: 700; }

/* changelog entry */
.rel { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; padding-block: 8px 40px; }
.rel time { font: 500 14px/1.6 var(--mono); color: var(--muted); }
.rel h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.rel .lede { margin-top: 12px; }
.rel .film { margin-top: 26px; }
.rel h3 { margin-top: 36px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.rel .feat { margin-top: 14px; }

/* responsive */
@media (max-width: 1000px) {
  .get, .mods, .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mod-hero, .next-hero, .guide { grid-template-columns: minmax(0, 1fr); }
  .guide .text { position: static; }
  .gallery.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 760px) {
  .next-grid, .fit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .get, .mods, .tracks, .gallery, .gallery.three { grid-template-columns: minmax(0, 1fr); }
  .hero .mrow { order: 6; margin-top: 22px; }
  .hero .proof { order: 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; text-align: left; font-size: 14px; }
  .proof li { align-items: flex-start; }
  .mrow a { height: 38px; font-size: 13.5px; padding-right: 12px; }
  .mrow .mi { width: 24px; height: 24px; }
  .free-line .btn { width: 100%; }
  .only-m { display: block; }
  .only-d { display: none; }
  .mod-hero { border-radius: 24px; }
}

/* band secondary button on dark */
.btn.ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--dtext-3); }
.btn.ghost:hover { filter: none; box-shadow: inset 0 0 0 1px var(--on-dark); }

/* hero headline: own line next to the pill, about two lines wide */
@media (min-width: 1000px) {
  .hero.tilt.v3 .h1 { max-width: none; padding-inline: max(0px, calc((100% - 15.5em) / 2)); }
}

/* tables that stack into cards on phones (labels come from data-label, set at build) */
@media (max-width: 640px) {
  .tbl-wrap:has(.tbl.mstack) { overflow: visible; }
  .tbl.mstack { min-width: 0; }
  .tbl.mstack thead { display: none; }
  .tbl.mstack tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl.mstack th, .tbl.mstack td { border: 0; padding: 2px 0; }
  .tbl.mstack tbody th, .tbl.mstack tfoot th { grid-column: 1 / -1; width: auto; padding-bottom: 8px; }
  .tbl.mstack td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 12px; font-weight: 600; color: var(--muted); }
  .tbl.mstack tr.grp { display: block; padding: 0; border: 0; }
  .tbl.mstack tr.grp th { display: block; padding: 24px 0 10px; border-bottom: 1px solid var(--line-strong); }
  .tbl.mstack tfoot tr { border: 0; border-top: 2px solid var(--ink); }
  .tbl.mstack tfoot th, .tbl.mstack tfoot td { border: 0; }
  .rwall .rv:nth-child(n+7) { display: none; }
  .partners { grid-template-columns: minmax(0, 1fr); }
}

/* headline line control */
.nw { white-space: nowrap; }
.h1 .br { display: block; }

/* broker logos */
.bi { width: 40px; height: 40px; flex: none; border-radius: 11px; object-fit: contain; background: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line); }
.bi.pad { padding: 5px; }
.logos-sec { padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.logos-head { text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }
.logos { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1100px; }
.logos li { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px 0 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.logos-prop { margin: 14px auto 0; max-width: 640px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; padding: 10px 16px; border-radius: 16px; background: var(--soft); font-size: 15px; }
.logos-prop .lp-k { font: 700 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.logos-prop b { color: var(--ink); }
.logos-prop .lp-d { color: var(--body); font-size: 14px; }
.bchips li .bi { width: 22px; height: 22px; border-radius: 6px; margin: 0 8px 0 -8px; }
.bchips li .bi.pad { padding: 2px; }
.bchips li.hi::after { display: none; }
.bgrid li .bi { width: 36px; height: 36px; border-radius: 10px; }
.bgrid li { justify-content: flex-start; }
.bgrid li b { margin-top: auto; }
img.badge { object-fit: cover; background: var(--soft); }
.pm-src .bi { width: 22px; height: 22px; border-radius: 6px; }
.pm-src { gap: 8px; }
@media (max-width: 640px) {
  .logos { gap: 8px; }
  .logos li { height: 48px; padding: 0 12px 0 6px; font-size: 14px; gap: 8px; }
  .logos li .bi { width: 34px; height: 34px; border-radius: 9px; }
  .logos-prop { justify-content: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li { min-width: 0; }
  .logos li span { overflow: hidden; text-overflow: ellipsis; }
}

/* typing headline */
.typer .tyline { min-height: 0.95em; }
.caret { display: inline-block; width: 0.07em; height: 0.82em; margin-left: 0.05em; vertical-align: -0.06em; background: var(--green); border-radius: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 640px) { .typer .tyline { min-height: 1.9em; } }
@media (prefers-reduced-motion: reduce) { .caret { display: none; } }

/* "what you'd have made" calculator (home #fit) */
.yf-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.yf-side { display: flex; flex-direction: column; gap: 18px; }
.yf-side .h2 { font-size: clamp(34px, 3.8vw, 54px); }
.yf-side .ctas.left { justify-content: flex-start; margin-top: 8px; }
.yf-ctl { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.yf-lab { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.yf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.yf-chips button { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; }
.yf-chips button:hover { border-color: var(--ink); }
.yf-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.yf-sum { font-size: 14px; line-height: 1.5; color: var(--muted); }
.yf-sum b { color: var(--ink); }
.yf-cards { display: flex; flex-direction: column; gap: 12px; transition: opacity 0.2s; }
.yf-cards.busy { opacity: 0.45; }
.yf-c { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px 20px; padding: 20px 22px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); }
.yf-c.top { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 18px 40px rgba(0, 168, 90, 0.10); }
.yf-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.yf-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--soft); font-weight: 800; font-size: 14px; color: var(--ink); }
.yf-who b { display: block; font-size: 17px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yf-who div > span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.yf-who div > span em { font-style: normal; font-weight: 700; color: var(--green); }
.yf-res { text-align: right; }
.yf-res b { display: block; font: 700 26px/1.1 var(--mono); letter-spacing: -0.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.yf-res span { font-size: 12.5px; color: var(--muted); }
.yf-spark { grid-column: 1 / -1; display: block; width: 100%; height: 44px; }
.yf-st { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.yf-st div { padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.yf-st dt { font-size: 12px; color: var(--muted); }
.yf-st dd { margin: 2px 0 0; font: 700 15px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.yf-st dd.dn { color: var(--red); }
.yf-empty { padding: 28px; border-radius: 20px; background: var(--soft); font-size: 15px; line-height: 1.5; color: var(--body); }
@media (max-width: 900px) {
  .yf-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .yf-c { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .yf-res { text-align: left; }
  .yf-chips button { height: 40px; padding: 0 13px; font-size: 14px; }
}

/* waitlist page */
.wl-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.wl-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: sticky; top: 110px; }
.wl-intro .h2 { margin-top: 0 !important; }
.wl-now { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wl-now li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 3px solid var(--green); }
.wl-now b { font-size: 16px; }
.wl-now span { font-size: 15px; line-height: 1.5; color: var(--body); }
.wl-form { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(10, 10, 10, 0.06); }
.wl-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wl-form legend { margin-bottom: 12px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.wl-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wl-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.wl-opt:hover { border-color: var(--ink); }
.wl-opt input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); }
.wl-opt span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wl-opt b { font-size: 15px; }
.wl-opt small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.wl-opt:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.wl-field { display: flex; flex-direction: column; gap: 6px; }
.wl-field span { font-size: 14px; font-weight: 700; }
.wl-field input, .wl-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--sans); resize: vertical; }
.wl-field input:focus, .wl-field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-btn { width: 100%; }
.wl-btn[disabled] { opacity: 0.6; cursor: wait; }
.wl-msg { min-height: 1.2em; font-size: 14px; font-weight: 600; color: var(--red); }
.wl-form .note { margin-top: 0; }
.wl-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--soft); }
.wl-done[hidden] { display: none; }
.wl-check { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--on-dark); font-size: 26px; font-weight: 800; }
.wl-done .ctas.left { justify-content: flex-start; margin-top: 6px; }
@media (max-width: 900px) {
  .wl-grid { grid-template-columns: 1fr; }
  .wl-intro { position: static; }
}
@media (max-width: 520px) {
  .wl-opts { grid-template-columns: 1fr; }
}
.wl-form[hidden] { display: none; }

/* wins wall (home #wins), masonry of member screenshots */
.wins { columns: 3 280px; column-gap: 14px; }
.win { break-inside: avoid; margin: 0 0 14px; border-radius: 18px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.win img { width: 100%; height: auto; display: block; }
.win figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 12px 14px; font-size: 14px; color: var(--body); }
.win figcaption b { color: var(--ink); }
.win time { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.rh-shot img { width: 100%; height: auto; border-radius: 15px; }
@media (max-width: 900px) { .gallery.three { grid-template-columns: 1fr; } }

/* calculator v2: price tag, custom size, look-back toggle */
.yf-nm { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.yf-nm b { min-width: 0; max-width: 100%; }
.yf-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--soft); font: 600 12px/1 var(--sans); font-style: normal; color: var(--body); white-space: nowrap; }
.yf-tag.incl { border-color: color-mix(in srgb, var(--green) 35%, transparent); background: var(--green-tint); color: var(--green); }
.yf-tag[hidden] { display: none; }
.yf-in { display: inline-flex; align-items: center; gap: 2px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line-strong); background: var(--bg); color: var(--muted); font: 600 15px/1 var(--sans); cursor: text; }
.yf-in:hover, .yf-in:focus-within { border-color: var(--ink); border-style: solid; color: var(--ink); }
.yf-in.on { background: var(--ink); border: 1px solid var(--ink); color: var(--on-dark); }
.yf-in input { width: 84px; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-variant-numeric: tabular-nums; outline: none; }
.yf-in input::placeholder { color: var(--muted); opacity: 1; }
.yf-in.on input::placeholder { color: var(--on-dark); }
@media (max-width: 700px) { .yf-in { height: 40px; padding: 0 12px; font-size: 16px; } .yf-in input { width: 78px; } }

/* waitlist strip under What's next */
.next-wl { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 18px 20px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color 0.15s; }
.next-wl:hover { border-color: var(--ink); }
.next-wl .gi { flex: none; }
.next-wl .nw-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.next-wl .nw-t b { font-size: 17px; letter-spacing: -0.01em; }
.next-wl .nw-t span { font-size: 14.5px; color: var(--body); line-height: 1.45; }
.next-wl .btn { flex: none; }
@media (max-width: 700px) { .next-wl { flex-wrap: wrap; } .next-wl .btn { width: 100%; justify-content: center; } }

/* broker strip: chips link out, Robinhood gets its own page */
.logos li a { display: inline-flex; align-items: center; gap: inherit; height: 100%; color: inherit; text-decoration: none; min-width: 0; }
.logos li:has(a:hover) { border-color: var(--ink); }
.logos li.rh { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.logos li.rh em { font-style: normal; font: 700 10.5px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--green); padding: 4px 6px; border-radius: 6px; background: var(--green-tint); }
.logos-rh { margin: 12px auto 0; text-align: center; font-size: 15px; color: var(--body); }

/* calculator v3: tap a card for details */
.yf-c { cursor: pointer; transition: border-color 0.15s; }
.yf-c:not(.top):hover { border-color: var(--line-strong); }
.yf-av { overflow: hidden; }
.yf-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yf-tog { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 32px; margin: -2px 0 -4px; padding: 0; border: 0; background: none; font: 600 14px/1 var(--sans); color: var(--green); cursor: pointer; }
.yf-tog::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.yf-tog[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.yf-x { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line-strong); cursor: default; }
.yf-x[hidden] { display: none; }
.yf-x p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.yf-x p b { color: var(--ink); }
.yf-st2 dd.up { color: var(--green); }
.yf-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 700px) { .yf-ctas .btn { width: 100%; justify-content: center; } }
.yf-ctas .btn { white-space: normal; text-align: center; height: auto; min-height: 48px; padding-block: 12px; line-height: 1.25; }

/* ==========================================================================
   Header v3: Products and Learn dropdowns (desktop), full-screen sheet (phone), footer v3.
   Append to the end of site.css. Uses the tokens above; one new token.
   Desktop is 1000px and up, phone is below 1000px.
   ========================================================================== */
:root { --nx-shadow: 0 24px 60px rgba(10, 10, 10, 0.12), 0 4px 14px rgba(10, 10, 10, 0.06); }

.nav .in { gap: 28px; }
.nav .logo { min-height: 44px; }
.nav .nav-r { gap: 14px; }
.nav .nav-r .btn { height: 44px; padding: 0 18px; font-size: 14px; }

/* top level links */
.nx-links { display: flex; align-items: center; gap: 2px; }
.nx-top {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  font: 500 15px/1 var(--sans); color: var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.nx-top:hover, .nx-dd.open .nx-trigger { color: var(--ink); background: var(--soft); }
.nx-top:focus-visible { border-radius: 999px; outline-offset: 1px; }
.nx-chev { width: 14px; height: 14px; margin-right: -3px; transition: transform 0.18s; }
.nx-dd.open .nx-chev { transform: rotate(180deg); }
.nx-signin {
  display: inline-flex; align-items: center; height: 44px; padding: 0 6px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nx-signin:hover { text-decoration: underline; text-underline-offset: 4px; }

/* current page: nav.js marks [data-nav=<body data-page>] with aria-current and its group trigger with .is-cur */
.nx-top[aria-current="page"], .nx-trigger.is-cur { color: var(--ink); font-weight: 600; }
.nx-top[aria-current="page"]::after, .nx-trigger.is-cur::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 2px; margin-left: -8px;
  border-radius: 2px; background: var(--green);
}
.nx-card[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.nx-list a[aria-current="page"]::before {
  content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--green); flex: none;
}

/* product cards (shared) */
.nx-cards, .nx-stack, .nx-list { list-style: none; margin: 0; padding: 0; }
.nx-card {
  display: grid; border-radius: 16px; text-decoration: none; color: var(--ink);
  transition: background-color 0.15s, box-shadow 0.15s;
}
.nx-card:focus-visible { border-radius: 16px; outline-offset: 2px; }
.nx-ico {
  grid-area: ico; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green);
}
.nx-ico svg { width: 22px; height: 22px; }
.nx-price {
  grid-area: price; justify-self: end; align-self: start; white-space: nowrap;
  padding: 6px 9px; border-radius: 999px; background: var(--soft);
  font: 700 12px/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums;
}
.nx-price.nx-free { color: var(--green); background: var(--green-tint); }
.nx-price.nx-soon { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.nx-name { grid-area: name; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.nx-line { grid-area: line; font-size: 14px; line-height: 1.45; color: var(--body); text-wrap: pretty; }

/* desktop dropdown panel */
.nx-dd { position: relative; }
.nx-panel {
  position: absolute; top: calc(100% + 10px); left: -8px; z-index: 5;
  width: min(1000px, calc(100vw - 2 * var(--pad) - 150px)); padding: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--nx-shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
}
.nx-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nx-dd.open .nx-panel,
.nav:not(.nx-ready) .nx-dd:hover .nx-panel,
.nav:not(.nx-ready) .nx-dd:focus-within .nx-panel {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s;
}
.nx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.nx-cards li { display: flex; }
.nx-panel .nx-card {
  flex: 1; grid-template-columns: auto 1fr; grid-template-areas: "ico price" "name name" "line line";
  align-content: start; padding: 14px 14px 16px;
}
.nx-panel .nx-name { margin-top: 12px; font-size: 15px; }
.nx-panel .nx-line { font-size: 13.5px; }
.nx-panel .nx-line { margin-top: 5px; }
.nx-panel .nx-card:hover { background: var(--soft); }
.nx-panel .nx-card:hover .nx-price { background: var(--bg); }
.nx-quick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px;
  margin: 8px 6px 0; padding: 2px 10px 0; border-top: 1px solid var(--line);
}
.nx-quick a {
  display: inline-flex; align-items: center; gap: 6px; height: 44px;
  font-size: 14px; font-weight: 600; color: var(--body); text-decoration: none; white-space: nowrap;
}
.nx-quick a:hover { color: var(--ink); }
.nx-quick svg { width: 14px; height: 14px; color: var(--green); transition: transform 0.15s; }
.nx-quick a:hover svg { transform: translateX(2px); }

/* phone sheet (lives inside the header, opened by #menu-btn) */
.menu-btn .nx-x, .menu-btn[aria-expanded="true"] .nx-burger { display: none; }
.menu-btn[aria-expanded="true"] .nx-x { display: block; }
.nx-sheet {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - 66px - env(safe-area-inset-top, 0px));
  height: calc(100dvh - 66px - env(safe-area-inset-top, 0px));
  flex-direction: column; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--bg); border-top: 1px solid var(--line);
}
.nx-sheet.open { display: flex; animation: nx-sheet-in 0.18s ease-out; }
@keyframes nx-sheet-in { from { opacity: 0; transform: translateY(-6px); } }
.nx-sheet-body { flex: 1 0 auto; padding: 18px var(--pad) 20px; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.nx-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nx-stack { display: grid; gap: 10px; }
.nx-sheet .nx-card {
  grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "ico name price" "ico line line";
  align-items: center; gap: 4px 12px; padding: 14px; border: 1px solid var(--line);
}
.nx-sheet .nx-ico { align-self: start; }
.nx-sheet .nx-name { font-size: 17px; }
.nx-sheet .nx-card:active { background: var(--soft); }
.nx-list { margin-top: 12px; }
.nx-list a {
  display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.nx-list a::after {
  content: ""; width: 8px; height: 8px; margin: 0 4px 0 auto; flex: none;
  border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: rotate(45deg);
}
.nx-sheet-foot {
  position: sticky; bottom: 0; display: grid; grid-template-columns: 3fr 2fr; gap: 10px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.nx-sheet-foot .btn { width: 100%; padding: 0 12px; }
/* Signed in, the footer holds one My Account button (site.js): full width. */
.nx-sheet-foot .btn:only-child { grid-column: 1 / -1; }

/* open sheet: solid bar above the sticky CTA, page does not scroll */
html.nx-lock { overflow: hidden; }
html.nx-lock .nav { z-index: 40; background: var(--bg); }

/* Learn panel */
.nx-panel.nx-panel-sm { width: 380px; padding: 8px; }
.nx-learn { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nx-learn a { display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.nx-learn a:hover { background: var(--soft); }
.nx-learn b { font-size: 15px; font-weight: 700; }
.nx-learn span { font-size: 13.5px; color: var(--body); }
.nx-learn a[aria-current="page"] b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--green); vertical-align: 2px; }
.nx-eyebrow.nx-gap { margin-top: 24px; }

/* footer v3 */
.foot { border-top: 1px solid var(--line); padding-block: 56px 44px; font-size: 14px; color: var(--muted); background: var(--bg); }
.foot-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-head .foot-brand p { margin-top: 14px; font-size: 15px; line-height: 1.55; max-width: 46ch; color: var(--body); }
.foot-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-ctas .btn { height: 46px; padding: 0 20px; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; padding-top: 36px; }
.foot-cols h2 { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.foot-cols ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.foot-cols ul a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; color: var(--body); line-height: 1.3; }
.foot-cols ul a:hover { color: var(--ink); }
@media (max-width: 1000px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 640px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .foot-ctas { width: 100%; }
  .foot-ctas .btn { flex: 1; padding: 0 12px; }
}
@media (max-width: 760px) { .foot { padding-bottom: 120px; } }
@media (min-width: 1000px) and (max-width: 1180px) {
  .nx-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nx-panel .nx-line { display: none; }
}

@media (min-width: 1000px) {
  .nav .menu-btn, .nx-sheet, .nx-sheet.open { display: none; }
}
@media (min-width: 1000px) and (max-width: 1119.98px) {
  .nav .in { gap: 18px; }
  .nx-top { padding: 0 9px; }
  .nav .nav-r { gap: 10px; }
}
@media (max-width: 999.98px) {
  .nx-links, .nx-signin { display: none; }
  .nav .menu-btn { display: inline-flex; }
  .nav .in { gap: 12px; }
  .nav .nav-r { gap: 8px; }
}
@media (max-width: 640px) {
  .nav .nav-r .btn { padding: 0 14px; }
}
@media (max-width: 359.98px) {
  .nav .nav-r .btn { padding: 0 12px; font-size: 13px; }
  .nav .logo svg.wm { height: 11px; }
  .nx-sheet .nx-card { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "ico name" "ico line" "ico price"; }
  .nx-sheet .nx-price { justify-self: start; margin-top: 6px; }
}
@media (hover: none) {
  .nx-top:hover { background: transparent; }
  .nx-panel .nx-card:hover { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-top, .nx-card, .nx-chev, .nx-panel, .nx-quick svg { transition: none; }
  .nx-sheet.open { animation: none; }
}
