:root {
  /* ATLAS app theme (matches the private Explorer): deep navy, gold brand, blue data accent. */
  --bg: #090d13;
  --bg-2: #0c1118;
  --surface: #10161e;
  --surface-2: #141c27;
  --text: #e6eaf0;
  --muted: #98a5b7;
  --line: #26303d;
  --line-strong: #344255;
  --gold: #d4b576;
  --gold-2: #f0d9a4;
  --blue: #49aaff;
  --accent: #64b6ff;
  --accent-text: #0b1220;
  --accent-soft: #13233a;
  --danger: #ee8290;
  --ok: #6fd3a0;
  --focus: #f0d9a4;
  --radius: 14px;
  --glow: 0 0 0 1px rgba(212, 181, 118, .08), 0 18px 48px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.bar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { font-weight: 800; letter-spacing: .12em; text-decoration: none; color: var(--text); font-size: 20px; }
.badge { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.bar nav { margin-left: auto; }

.hero { padding: 56px 0 40px; }
.eyebrow { color: var(--accent); font-weight: 600; margin: 0 0 8px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; max-width: 22ch; }
h2 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.25; margin: 0 0 16px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 0 0 24px; }
.lead.small { font-size: 17px; }
.fine { font-size: 14px; color: var(--muted); max-width: 70ch; }
.note { color: var(--muted); }

.section { padding: 40px 16px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0 0 12px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 20px; border-radius: 10px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn-ghost { background: transparent; color: var(--accent); }
.btn-small { min-height: 44px; padding: 6px 14px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.shot { margin: 24px 0 0; }
.shots { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .shots { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.shot-placeholder {
  display: grid; place-items: center; text-align: center; min-height: 260px;
  border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--surface);
}
.muted { color: var(--muted); }
.pill { font-size: 13px; font-weight: 700; letter-spacing: .04em; border-radius: 999px; padding: 2px 10px; }
.pill.ok { color: var(--ok); border: 1px solid var(--ok); }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.demo-name { font-size: 20px; font-weight: 700; }
.demo-sub { margin: 4px 0 12px; font-size: 15px; }
.demo-flag { margin: 0 0 12px; padding: 8px 10px; border: 1px dashed var(--accent); border-radius: 8px; background: var(--accent-soft); font-size: 14px; font-weight: 600; }
.levels { margin: 0 0 12px; }
.levels div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--line); }
.levels dt { color: var(--muted); }
.levels dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.demo-reason { font-size: 15px; margin: 0 0 6px; }
.demo-ctx, .demo-foot { font-size: 14px; margin: 0 0 10px; }
.demo-chart { display: block; width: 100%; height: auto; margin: 4px 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.rates h3 { margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 13px; }
.stat strong { font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; margin-bottom: 10px; }
.rates table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.rates th, .rates td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
@media (max-width: 480px) { .rates table { font-size: 14px; } .rates th, .rates td { padding: 8px 6px; } }
.rates thead th { color: var(--muted); font-weight: 600; font-size: 14px; }
.rates tbody th { font-weight: 400; }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.steps { padding-left: 22px; }
.steps li { margin-bottom: 8px; }
.limits ul { padding-left: 22px; }
.limits li { margin-bottom: 8px; }

.signup .field { margin: 0 0 16px; }
.signup label { display: block; font-weight: 600; margin-bottom: 6px; }
.signup .opt { font-weight: 400; color: var(--muted); }
.signup input[type=email], .signup select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
.signup .check { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; }
.signup .check input { width: 24px; height: 24px; margin: 2px 0 0; }
.signup .check label { font-weight: 400; margin: 0; }
.signup .check .field-error { grid-column: 2; }
.signup [aria-invalid=true] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 15px; margin: 6px 0 0; }
.error-summary { border: 2px solid var(--danger); border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; color: var(--danger); }
.status { min-height: 1.6em; margin: 12px 0 0; }
.status.ok { color: var(--ok); }
.challenge { margin: 0 0 12px; min-height: 0; }
.notice { border: 1px solid var(--line); background: var(--accent-soft); border-radius: 8px; padding: 10px 12px; }
.done { background: var(--accent-soft); border-radius: 8px; padding: 14px; }
.done h4 { margin: 0 0 6px; font-size: 17px; }
.done p { margin: 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
details p { margin: 0 0 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }

.page { padding: 40px 16px 64px; max-width: 760px; }
.page h1 { font-size: clamp(26px, 4vw, 36px); }
.placeholder { background: #fff3c4; color: #5a4300; padding: 0 4px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---- ATLAS theme layer (2026-10-14): look only; no copy, form or behaviour changes. ---- */
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(73, 170, 255, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(212, 181, 118, .08), transparent 55%),
    var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
::selection { background: rgba(212, 181, 118, .35); color: #fff; }

/* Header: frosted, sticky, wordmark with the gold bar like the app. */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 17, 24, .78);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  position: relative; color: var(--text); font-size: 22px; font-weight: 800;
  letter-spacing: .32em; padding-bottom: 6px;
}
.brand::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.brand:hover { color: var(--text); }
.badge {
  color: var(--gold); border-color: rgba(212, 181, 118, .45); background: rgba(212, 181, 118, .08);
  font-weight: 600; letter-spacing: .04em;
}

/* Hero: grid texture + glow, gold eyebrow, gradient headline accent. */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(152, 165, 183, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152, 165, 183, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; }
.eyebrow {
  color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
h1 {
  font-size: clamp(34px, 6vw, 58px); letter-spacing: -.02em; line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 0%, #c9d3e0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { letter-spacing: -.01em; }
h2::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.page h1 { background: none; color: var(--text); }
.lead { color: #b4c0cf; }

/* Buttons: gold primary, outlined secondary. */
.btn {
  border: 1px solid transparent; border-radius: 12px; color: #1a1406;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 24px -12px rgba(212, 181, 118, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { color: #1a1406; filter: brightness(1.06); transform: translateY(-1px);
  box-shadow: 0 12px 28px -12px rgba(212, 181, 118, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(100, 182, 255, .06); color: var(--accent); border-color: rgba(100, 182, 255, .45);
  box-shadow: none;
}
.btn-ghost:hover { color: #fff; background: rgba(100, 182, 255, .14); box-shadow: none; }
.btn[disabled] { transform: none; filter: none; }

/* Cards: glassy surface with a soft gold edge on hover. */
.card, details {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); box-shadow: var(--glow);
}
.card { transition: border-color .2s ease, transform .2s ease; }
.grid.three .card:hover { border-color: rgba(212, 181, 118, .45); transform: translateY(-2px); }
.grid.three .card h3 { color: #fff; }
.grid.three .card h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px;
  vertical-align: middle; background: var(--gold); box-shadow: 0 0 12px rgba(212, 181, 118, .8);
}
.section { padding: 56px 16px; }

/* Demo + rates panels: app-like data styling. */
.pill.ok { color: var(--ok); border-color: rgba(111, 211, 160, .6); background: rgba(111, 211, 160, .10); }
.demo-flag { border-color: rgba(212, 181, 118, .55); background: rgba(212, 181, 118, .08); color: var(--gold-2); }
.levels dd, .stat strong, .rates td { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.stat { background: var(--bg-2); }
.stat strong { color: #fff; }
.demo-chart { background: var(--bg-2); }

/* How-it-works: numbered status timeline. */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 10px; }
.steps li {
  counter-increment: step; position: relative; margin: 0; padding: 14px 16px 14px 56px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 14px;
  color: var(--gold); border: 1px solid rgba(212, 181, 118, .55); background: rgba(212, 181, 118, .08);
}
.limits ul { list-style: none; padding: 0; }
.limits li { padding-left: 22px; position: relative; }
.limits li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }

/* Signup forms: highlighted panels with a gold top edge. */
.signup { position: relative; overflow: hidden; border-color: var(--line-strong); }
.signup::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.signup input[type=email], .signup select {
  background: var(--bg-2); border-color: var(--line-strong); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup input[type=email]:focus, .signup select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 181, 118, .22);
}
.signup .check input { accent-color: var(--gold); }
.signup .btn { width: 100%; }
.done { background: rgba(111, 211, 160, .08); border: 1px solid rgba(111, 211, 160, .45); }
.notice { background: rgba(100, 182, 255, .08); }

summary { color: #fff; }
summary::marker { color: var(--gold); }
.site-footer { background: var(--bg-2); }
.placeholder { background: rgba(212, 181, 118, .2); color: var(--gold-2); }

/* Content pages (thanks / confirm / unsubscribe / privacy / disclosures). */
.page { padding-top: 56px; }

@media (prefers-reduced-motion: reduce) { .btn, .card { transition: none; } .btn:hover, .grid.three .card:hover { transform: none; } }
.badge, .bar .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { font-size: 19px; letter-spacing: .24em; }
  .badge { font-size: 12px; padding: 2px 8px; }
  .bar { gap: 8px; }
  .bar .btn-small { padding: 6px 12px; font-size: 14px; }
}

/* 2026-11-12 refresh: logo mark + wordmark, who-chose-it tags, open-trade card, what's-new list. */
.brand { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0; padding-bottom: 0; min-height: 44px; }
.brand::after { content: none; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-word { width: 95px; height: 22px; display: block; }
.trade-tags { display: inline-flex; gap: 6px; align-items: center; }
.pill { color: var(--muted); border: 1px solid var(--line-strong); }
.src { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .03em; border-radius: 6px; padding: 1px 8px; border: 1px solid; white-space: nowrap; }
.src-atlas { color: var(--gold); border-color: rgba(212, 181, 118, .55); background: rgba(212, 181, 118, .10); }
.src-mine { color: var(--accent); border-color: rgba(100, 182, 255, .55); background: rgba(100, 182, 255, .10); }
.trade-card { border-left: 3px solid var(--accent); }
.pos { color: var(--ok); font-weight: 700; }
.news { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.news li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; color: var(--muted); }
.news li strong { color: var(--text); display: block; margin-bottom: 2px; }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; } .shots { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 420px) { .brand-word { width: 78px; height: 18px; } .brand-mark { width: 30px; height: 30px; } }
@media (min-width: 900px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Feature tour + facts strip (2026-11-12). Class-only styling (CSP: no inline styles). */
.facts { padding: 0 16px; }
.fact-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact-row li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 4px; }
.fact-row strong { font-size: 28px; line-height: 1.1; color: var(--gold-2); }
.fact-row span { color: var(--muted); font-size: 15px; }
.tour-row { display: grid; gap: 24px; align-items: center; margin-top: 40px; }
@media (min-width: 900px) {
  .tour-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; }
  .tour-row.flip .tour-copy { order: 2; }
}
.tour-copy h3 { font-size: 23px; }
.tour-copy p { color: var(--muted); }
.tour-visual { margin: 0; }
.tour-visual img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); }
.tour-visual figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.chip-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold) !important; margin: 16px 0 8px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li, .chip { font-size: 13px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; color: var(--text); background: var(--surface-2); }
.chips-soft li { color: var(--muted); }
.chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.mini-cal-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.cal-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid li { aspect-ratio: 1.3; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); display: flex; gap: 4px; align-items: center; justify-content: center; }
.cal-grid i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.d-a { background: var(--gold); }
.d-m { background: var(--accent); }
.cal-legend { font-size: 13px; margin: 12px 0 0; }
.heat { display: grid; gap: 6px; }
.heat-head, .heat-row { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 6px; align-items: center; }
.heat-head span { font-size: 13px; color: var(--muted); text-align: center; }
.heat-head span:first-child, .heat-row span { text-align: left; }
.heat-row span { font-size: 14px; font-weight: 600; }
.heat-row b { text-align: center; border-radius: 6px; padding: 6px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.h-hot { background: rgba(238, 130, 144, .38); } .h-warm { background: rgba(238, 130, 144, .18); }
.h-mid { background: var(--surface-2); color: var(--muted); }
.h-cool { background: rgba(100, 182, 255, .18); } .h-cold { background: rgba(100, 182, 255, .38); }
.heat-mood { font-size: 13px; margin: 8px 0 0; }
.search-mock { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; background: var(--bg-2); flex-wrap: wrap; }
.kbd { font-size: 12px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 6px; color: var(--muted); }
.typed { margin-left: auto; color: var(--accent); font-weight: 600; }
.why-title { font-weight: 700; margin: 16px 0 6px; }
.why-list { margin: 0; padding-left: 20px; color: var(--muted); }
.lab table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lab th, .lab td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lab thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.lab tbody th { font-weight: 600; }
.pill.stop { color: var(--danger); border-color: rgba(238, 130, 144, .55); background: rgba(238, 130, 144, .08); }
@media (max-width: 520px) { .lab td:nth-child(2), .lab th:nth-child(2) { display: none; } .lab .pill { white-space: normal; } }
.lab .pill { white-space: nowrap; }
.kept { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.why .why-title { margin-top: 20px; }

/* 2026-11-22 refresh: illustrative result card (synthetic numbers) for the "Every closed trade gets its moment" row. */
.result-mock { position: relative; overflow: hidden; padding: 22px; border-color: #33d68a55;
  background: radial-gradient(ellipse at 80% 0%, #33d68a26, transparent 60%), linear-gradient(160deg, #101a24, #0b1118); }
.result-mock::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0 70%, #33d68a55 80%, transparent 90%); opacity: .5; }
.rm-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rm-r { margin: 14px 0 6px; font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 800; line-height: 1; color: #33d68a;
  text-shadow: 0 0 28px #33d68a66; font-variant-numeric: tabular-nums; }
.rm-sub { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rm-share { margin: 16px 0 0; font-size: .85rem; }
