/* WICKFORGE — gold on black. One stylesheet, no framework, no external font.
   Every colour here is measured against the brand: #f5c542 is the forge gold,
   #a8741a its shadow, #060607 the anvil. Text never sits on pure gold without
   black behind it, because thin gold on gold is unreadable at 14px. */

:root {
  --gold-1: #fff4c8;
  --gold-2: #f6cb57;
  --gold-3: #dfa528;
  --gold-4: #a8741a;
  --ink: #060607;
  --ink-2: #0c0c0f;
  --line: rgba(223, 165, 40, 0.18);
  --line-strong: rgba(246, 203, 87, 0.42);
  --text: #ece7dc;
  --muted: #a49d92;
  --up: #4ade80;
  --down: #f87171;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  --max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(223, 165, 40, 0.16), transparent 62%),
    radial-gradient(700px 500px at 8% 12%, rgba(223, 165, 40, 0.07), transparent 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(223, 165, 40, 0.06), transparent 65%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; position: relative; z-index: 1; }

/* The header floats over the page, so an anchor jump must stop below it. */
section[id], footer[id], main[id] { scroll-margin-top: 92px; }

.gold {
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 38%, var(--gold-3) 66%, var(--gold-4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ header */
/* The header and the phone chip bar travel together: one sticky block, so the
   chip bar lands exactly under the header at every height without a magic
   offset per breakpoint. */
.head { position: sticky; top: 0; z-index: 40; }

.topbar {
  position: relative;
  background: linear-gradient(180deg, rgba(6, 6, 7, 0.96), rgba(6, 6, 7, 0.78));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 165, 40, 0.12);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 0 14px rgba(246, 203, 87, 0.35)); }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.brand-word span {
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav { display: flex; gap: 22px; margin-inline-start: 14px; min-width: 0; }
.nav a {
  font-size: 14px;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cfc8bb;
  padding: 8px 2px;
  position: relative;
  transition: color 0.18s ease;
}
.nav a:hover, .nav a:focus-visible { color: #fff; }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  box-shadow: 0 0 16px rgba(246, 203, 87, 0.8);
}

/* The phone bar: same five destinations as the header nav, as scrollable
   chips. Hidden on wide screens, where the header nav is the better tool. */
.chips {
  display: none;
  position: relative;
  background: linear-gradient(180deg, rgba(6, 6, 7, 0.98), rgba(8, 8, 10, 0.96));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 165, 40, 0.14);
}
/* The bar scrolls, so both edges fade: that sliver of a chip is the only hint
   that there is more. Mirrored for RTL, where "more" is on the left. */
.chips::before, .chips::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 20px;
  pointer-events: none;
  z-index: 1;
}
.chips::before { inset-inline-start: 0; background: linear-gradient(90deg, rgba(6, 6, 7, 0.9), transparent); }
.chips::after { inset-inline-end: 0; background: linear-gradient(270deg, rgba(6, 6, 7, 0.9), transparent); }
[dir="rtl"] .chips::before { background: linear-gradient(270deg, rgba(6, 6, 7, 0.9), transparent); }
[dir="rtl"] .chips::after { background: linear-gradient(90deg, rgba(6, 6, 7, 0.9), transparent); }
.chips-inner {
  display: flex;
  gap: 8px;
  padding: 9px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.chips-inner::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #cfc8bb;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.chip:hover, .chip:focus-visible { color: #fff; border-color: var(--line-strong); }
.chip.active {
  color: #1a1204;
  border-color: transparent;
  background: linear-gradient(180deg, #fbe08a, #edb936 55%, #d19a24);
  box-shadow: 0 6px 18px rgba(223, 165, 40, 0.26);
}

.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ded7c9;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary::after { content: "▾"; font-size: 11px; color: var(--muted); }
.lang[open] > summary { border-color: var(--line-strong); }
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  background: #0b0b0e;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
  z-index: 50;
}
.lang-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 14px;
  color: #d6cfc2;
}
.lang-menu a:hover { background: rgba(246, 203, 87, 0.09); color: #fff; }
.lang-menu a[aria-current="true"] { color: var(--gold-2); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, #fbe08a 0%, #edb936 45%, #c8901f 100%);
  color: #1a1204;
  box-shadow: 0 12px 30px rgba(223, 165, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover { box-shadow: 0 16px 40px rgba(223, 165, 40, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
  color: #efeadd;
}
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(246, 203, 87, 0.07); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 10px 16px; font-size: 13.5px; border-radius: 9px; }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; padding: 68px 0 40px; }
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: -12%;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(223, 165, 40, 0.18), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: linear-gradient(90deg, rgba(246, 203, 87, 0.12), rgba(246, 203, 87, 0.02));
}
.pill svg { width: 16px; height: 16px; }

h1.hero-title {
  margin: 22px 0 0;
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-weight: 800;
  text-transform: uppercase;
}
h1.hero-title span { display: block; }
h1.hero-title .line-2 {
  background: linear-gradient(180deg, #fff6d4 0%, #f7cf61 42%, #d99f24 74%, #a8741a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 26px rgba(223, 165, 40, 0.18));
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 30em;
  font-size: 17px;
  color: #bdb6a9;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: #7d7669;
  letter-spacing: 0.02em;
}

/* live device composition */
.stage { position: relative; min-height: 430px; padding-bottom: 26px; }
.stage .emblem {
  position: absolute;
  inset-inline-end: -4%;
  top: -8%;
  width: 62%;
  opacity: 0.09;
  filter: blur(2px) saturate(1.15);
  pointer-events: none;
}

.laptop {
  position: relative;
  width: min(560px, 100%);
  margin-inline-start: auto;
  z-index: 2;
}
.laptop-screen {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px 14px 4px 4px;
  background: #08080a;
  padding: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.laptop-deck {
  height: 12px;
  margin: 0 -22px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #2a2a2e, #101013 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
}

.desk-ui {
  border-radius: 9px;
  background:
    radial-gradient(600px 220px at 80% -20%, rgba(246, 203, 87, 0.12), transparent 70%),
    #0a0a0d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 16px 16px;
  font-size: 12.5px;
}
.desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #8e877a;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.desk-live { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.14);
}
.dot.closed { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14); }
.dot.stalled { background: var(--down); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.14); }

.desk-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}
.desk-price b {
  font-size: 30px;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.desk-price span { font-size: 11.5px; color: #8e877a; }
.desk-meta { color: #9a9387; font-size: 11.5px; margin-top: 2px; }

.desk-rows { margin-top: 12px; display: grid; gap: 7px; }
.desk-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  color: #cfc8bb;
}
.desk-row .side { font-weight: 700; letter-spacing: 0.06em; }
.desk-row .side.buy { color: var(--up); }
.desk-row .side.sell { color: var(--down); }
.desk-row .q { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.desk-empty { color: #7d7669; font-size: 11.5px; padding: 6px 2px; }

.phone {
  position: absolute;
  /* The mock has four rows now, so the phone sits lower and further out: it may
     cover the laptop's base, never the prices. */
  inset-inline-end: -20px;
  bottom: -58px;
  width: 176px;
  z-index: 3;
  border-radius: 26px;
  padding: 7px;
  background: linear-gradient(180deg, #26262b, #08080a);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}
.phone-screen {
  border-radius: 20px;
  background:
    radial-gradient(240px 160px at 50% 0%, rgba(246, 203, 87, 0.16), transparent 70%),
    #07070a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 12px 16px;
  text-align: center;
}
.phone-screen img { width: 62px; margin: 0 auto 8px; }
.phone-screen .pname {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.phone-screen .psub {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.phone-card {
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid rgba(246, 203, 87, 0.22);
  background: rgba(246, 203, 87, 0.06);
  padding: 9px 8px;
  font-size: 10.5px;
  color: #ded7c9;
}
.phone-card b { display: block; font-size: 11.5px; letter-spacing: 0.04em; }
.phone-card .tp { color: var(--gold-2); }

/* --------------------------------------------------------------- regime card */
.context { padding: 44px 0 6px; }
.context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: stretch;
}
.context-main,
.context-bias {
  border: 1px solid rgba(223, 165, 40, 0.16);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(28, 25, 18, 0.86), rgba(8, 8, 11, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 24px 26px;
}
.context-regime {
  margin: 12px 0 0;
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.context-desc { margin: 10px 0 0; color: var(--muted); max-width: 54ch; font-size: 14.5px; }
.context-facts { margin: 12px 0 0; font-size: 12.5px; color: #8e877a; }
.context-facts + .context-facts { margin-top: 4px; }
.context-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--gold-2);
}
.context-bias { display: flex; flex-direction: column; gap: 10px; }
.context-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e877a;
}
.bias-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; flex: 1; align-content: space-evenly; }
.bias-list li {
  display: grid;
  grid-template-columns: 42px 18px minmax(52px, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.bias-list .tf { font-weight: 700; color: var(--gold-2); letter-spacing: 0.06em; }
.bias-list .num { font-variant-numeric: tabular-nums; color: #cfc8bb; }
.bias-list .word { color: #8e877a; font-size: 12px; justify-self: end; }
.bias-list .up { color: #6fe08a; }
.bias-list .down { color: #ff8f7f; }
.bias-list .flat { color: #8e877a; }
.bias-list .arrow { display: inline-flex; align-items: center; justify-content: center; }
.bias-list .bar {
  display: block;
  width: 11px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.context-net {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-2);
}
/* Direction: structure, local leg, scenario, reversal radar, two-sided watch.
   Text only — the same sentences the bot prints, so the two never disagree. */
.context-dir {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.context-dir .dir-line { margin: 0; font-size: 13px; color: #cfc8bb; }
.context-dir .dir-scenario { margin: 4px 0 0; font-size: 13.5px; color: #efe7d6; }
.context-dir .dir-rev {
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 13px;
  color: #cfc8bb;
}
.context-dir .dir-rev-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-2);
  font-weight: 600;
}
/* One dot per stage, the same four colours the bot's emoji use. */
.context-dir .dir-rev .dot { background: #8e877a; box-shadow: 0 0 0 3px rgba(142, 135, 122, 0.16); }
.context-dir .rev-watch .dot { background: #f5c542; box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.16); }
.context-dir .rev-developing .dot { background: #fb923c; box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.18); }
.context-dir .rev-confirmed .dot { background: var(--up); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.16); }
.context-dir .rev-failed .dot { background: var(--down); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16); }
.context-dir .dir-watch-label {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e877a;
}
.context-dir .dir-watch { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.context-dir .dir-watch li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 12.5px;
  color: #cfc8bb;
  font-variant-numeric: tabular-nums;
}
.context-dir .dir-watch .dot { flex: 0 0 auto; }
.context-dir .dir-watch .dot.down { background: var(--down); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.14); }
.context-dir .dir-note { margin: 4px 0 0; font-size: 11.5px; color: #7d766a; }

/* ------------------------------------------------------------- feature strip */
.strip { padding: 26px 0 8px; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.feat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(223, 165, 40, 0.16);
  background: linear-gradient(160deg, rgba(30, 27, 20, 0.85), rgba(9, 9, 11, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.feat svg { width: 30px; height: 30px; flex: 0 0 auto; }
.feat b { display: block; font-size: 13.5px; letter-spacing: 0.01em; }
.feat span { display: block; font-size: 11.5px; color: #918a7d; line-height: 1.35; }

/* -------------------------------------------------------------------- plans */
.plans { padding: 84px 0 40px; position: relative; }
.plans::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 12% 30%, rgba(223, 165, 40, 0.09), transparent 68%);
  pointer-events: none;
}
.plans-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-3); }
.plans h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  text-transform: uppercase;
  font-weight: 800;
}
.plans h2 .line-2 {
  display: block;
  background: linear-gradient(180deg, #fff6d4, #f0be46 60%, #b17c1c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plans-copy { margin-top: 16px; color: #b3aca0; max-width: 26em; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.tier {
  position: relative;
  border-radius: 20px;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(24, 22, 18, 0.92), rgba(8, 8, 10, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}
.tier.pro {
  border-color: rgba(246, 203, 87, 0.55);
  background:
    radial-gradient(420px 220px at 50% -10%, rgba(246, 203, 87, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(30, 25, 15, 0.96), rgba(9, 8, 6, 0.98));
  box-shadow: 0 0 0 1px rgba(246, 203, 87, 0.16), 0 30px 70px rgba(223, 165, 40, 0.16);
}
.ribbon {
  position: absolute;
  top: 14px;
  inset-inline-end: -8px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1204;
  background: linear-gradient(180deg, #ffe9a3, #e2ab2b);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(223, 165, 40, 0.35);
}
.tier-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #efe7d5;
}
.tier-name svg { width: 18px; height: 18px; }
.tier-price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.tier-price b { font-size: 40px; line-height: 1; letter-spacing: -0.01em; }
.tier-price span { color: #8e877a; font-size: 12.5px; }
.tier-sub { color: #a9a196; font-size: 13px; margin-top: 6px; }
.tier ul { margin-top: 16px; display: grid; gap: 9px; }
.tier li { display: flex; gap: 10px; font-size: 13.5px; color: #d6cfc2; align-items: flex-start; }
.tier li .tick { color: var(--gold-2); font-weight: 800; line-height: 1.5; flex: 0 0 auto; }
.tier li.soon { color: #8b8478; }
.tier li .tag {
  margin-inline-start: auto;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 2px 7px;
  color: #8b8478;
  white-space: nowrap;
}
.tier .btn { width: 100%; margin-top: 20px; }
.tier-note { margin-top: 12px; font-size: 11px; color: #7d7669; text-align: center; }

/* --------------------------------------------------------------- live band */
.band {
  margin-top: 54px;
  border-top: 1px solid rgba(223, 165, 40, 0.16);
  border-bottom: 1px solid rgba(223, 165, 40, 0.16);
  background: linear-gradient(90deg, rgba(246, 203, 87, 0.05), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(246, 203, 87, 0.05));
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
}
.stat { display: flex; align-items: flex-start; gap: 12px; padding-inline: 18px; border-inline-start: 1px solid rgba(255, 255, 255, 0.07); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat .num { font-size: 19px; font-weight: 800; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 11px; color: #8e877a; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 1px; }

/* ---------------------------------------------------------- performance etc */
.section { padding: 74px 0; }
.section-head { max-width: 42em; }
.section h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
}
.section p.lead { color: #b3aca0; margin-top: 14px; }

.perf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.perf-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(20, 19, 16, 0.8), rgba(8, 8, 10, 0.9));
}
.perf-card b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.perf-card span { font-size: 11.5px; color: #8e877a; letter-spacing: 0.1em; text-transform: uppercase; }
.honest {
  margin-top: 22px;
  padding: 16px 18px;
  border-inline-start: 2px solid var(--gold-3);
  background: rgba(246, 203, 87, 0.05);
  border-radius: 0 12px 12px 0;
  font-size: 13.5px;
  color: #bdb6a9;
}

.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.sup-card {
  border: 1px solid rgba(223, 165, 40, 0.18);
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(170deg, rgba(26, 23, 17, 0.85), rgba(8, 8, 10, 0.92));
}
.sup-card b { display: block; font-size: 15px; margin-bottom: 6px; }
.sup-card p { margin: 0; color: #a49d92; font-size: 13.5px; }

/* ------------------------------------------------------------------ footer */
footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 0 34px;
  color: #8e877a;
  font-size: 13px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand img { width: 40px; }
.foot-brand b {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.06em;
  color: #e6dfd0;
  font-size: 15px;
}
.foot-brand p { margin: 6px 0 0; max-width: 26em; font-size: 12.5px; line-height: 1.55; }
.foot-col b { display: block; color: #c9c2b4; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }
.foot-col a { display: block; padding: 4px 0; }
.foot-col a:hover { color: var(--gold-2); }
.risk {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: #6f695e;
  line-height: 1.6;
}
.copy { margin-top: 12px; font-size: 11.5px; color: #6f695e; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------------- misc */
/* Reveal is opt-in: fx.js adds .reveal and .in, and only under html.fx. With
   no JavaScript, or with motion turned off, every section is simply visible. */
html.fx .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.fx .reveal.in { opacity: 1; transform: none; }
/* A section someone linked to directly arrives, it does not fade in. */
html.fx :target .reveal { opacity: 1; transform: none; transition: none; }
.mono { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------- rtl */
[dir="rtl"] .nav { margin-inline-start: 18px; }
[dir="rtl"] .brand-word { text-align: right; }
[dir="rtl"] .laptop { margin-inline-start: 0; margin-inline-end: auto; }
[dir="rtl"] .honest { border-radius: 12px 0 0 12px; }
[dir="rtl"] .desk-row .q { text-align: left; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .brand-word span { display: none; }
  .nav { gap: 18px; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stage { min-height: 380px; }
  .laptop { margin-inline: auto; }
  /* One column: the composite owns the whole width, so nothing may bleed past
     it or the page gets a horizontal scrollbar (RTL notices first). */
  .stage .emblem, .phone { inset-inline: 0; }
  .plans-grid { grid-template-columns: 1fr; gap: 30px; }
  .strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
  .band-grid .btn { grid-column: 1 / -1; margin-top: 8px; }
  .stat { border-inline-start: 0; padding-inline: 0; }
  .perf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Under 1100 px the five figures stop being a hairline row and become cards:
     a column of numbers split by dividers reads as a table nobody asked for. */
  .stat {
    border: 1px solid rgba(223, 165, 40, 0.16);
    border-radius: 14px;
    padding: 12px 14px;
    align-items: center;
    background: linear-gradient(160deg, rgba(28, 25, 19, 0.78), rgba(9, 9, 11, 0.9));
  }
  /* Five cells, three columns: the regime word is the long one, so it takes the
     two spare cells and leaves 3 + 3 with no hole. */
  .band-grid .stat:nth-child(2) { grid-column: span 2; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .chips { display: block; }
  /* An anchor must clear the header *and* the chip bar under it. */
  section[id], footer[id], main[id] { scroll-margin-top: 132px; }
}

@media (max-width: 860px) {
  .topbar-inner { height: 68px; gap: 14px; }
  .brand img { width: 44px; height: 44px; }
  .brand-word b { font-size: 17px; }
  .hero { padding-top: 44px; }
  .hero-lead { font-size: 15.5px; }
  .section { padding: 56px 0; }
  .plans { padding: 60px 0 30px; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .context-grid { grid-template-columns: 1fr; }
  .context-main, .context-bias { padding: 20px 20px; }
  .tiers { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* The brand gets its own line; the two link lists share the next one, so a
     phone does not scroll past three full-width stacks of text. */
  .foot-brand { grid-column: 1 / -1; }
  .phone { position: relative; inset: auto; margin: 18px auto 0; width: 210px; }
  .laptop-deck { margin: 0 -12px; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--max), 100% - 30px); }
  /* The header is three things on one line: mark, language, one button. On a
     phone every one of them gives up a little room so nothing is ever cut. */
  .topbar-inner { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-word b { font-size: 15px; letter-spacing: 0.1em; }
  .brand-word span { display: none; }
  .lang > summary { padding: 9px 10px; font-size: 12.5px; gap: 6px; }
  .top-actions .btn { padding: 10px 13px; font-size: 12.5px; }
  /* Two columns, not one: a single column on a phone is the "everything
     stacked" page the desk must not be. Only the last card goes full width. */
  .strip-grid, .perf-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .band-grid .stat:nth-child(2) { grid-column: span 1; }
  .band-grid .stat:last-of-type { grid-column: 1 / -1; }
  .band-grid .stat:last-of-type > div { display: flex; align-items: baseline; gap: 10px; }
  .band-grid .btn { width: 100%; }
  .band .stat .num { font-size: 17px; }
  .band .stat .lbl { font-size: 10px; letter-spacing: 0.1em; margin-top: 3px; }
  .band-note { font-size: 11.5px; padding-bottom: 14px; }
  h1.hero-title { font-size: clamp(30px, 9vw, 40px); }
  .hero { padding: 38px 0 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .section h2, .plans h2 { font-size: clamp(25px, 7.4vw, 32px); }
  .feat {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 14px 13px;
    border-radius: 13px;
  }
  .feat b { font-size: 12.5px; }
  .feat span { font-size: 11px; }
  .strip-grid .feat:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .perf-card { padding: 16px 15px; }
  .perf-card b { font-size: 23px; }
  .context-main, .context-bias { padding: 18px 16px; }
  .desk-price b { font-size: 24px; }
  .desk-row { grid-template-columns: 54px 1fr auto; font-size: 10.5px; }
}

@media (max-width: 420px) {
  /* Below 420 px the globe and the caron are the first things that can go:
     the language is still named, still one tap away. */
  .lang > summary .globe, .lang > summary::after { display: none; }
  .lang > summary { padding: 8px 9px; }
  /* Two columns still beat one at 360 px; the numbers shrink, the layout does
     not collapse into the stacked page. */
  .band .stat .num { font-size: 16px; }
  .perf-card b { font-size: 21px; }
  .feat span { font-size: 10.5px; }
  .chip { padding: 8px 13px; font-size: 12px; }
}

@media (max-width: 380px) {
  /* 360 px phones: the mark alone carries the brand, the name is in the title
     and the footer, and the one gold button stays whole. */
  .brand-word b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand { gap: 0; }
  .top-actions .btn { padding: 10px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ------------------------------------------------- live furniture, build.py */
/* The feature icons sit on black; gold at 30px is the only accent they need. */
.feat svg { color: var(--gold-2); }

/* One published setup in the laptop mock: the row, then its engine state. */
.desk-item { display: block; }
.desk-item .desk-meta { padding-inline-start: 10px; }

/* The status line under the band. The dot is the same one the desk uses. */
.band-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 20px;
  color: #9a9387;
  font-size: 12px;
}

/* A feed that is unknown must not look alive: green means open, only open. */
.dot.unknown { background: #6b7280; box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.18); }

/* The regime word is long in some languages ("BREAKOUT EXPANSION"). */
.band .stat .num { line-height: 1.2; }

/* Prices and counts never jitter while polling. */
.tier-price b, .band .stat .num { font-variant-numeric: tabular-nums; }

.tier-note { max-width: 46em; margin-inline: auto; margin-top: 10px; }
/* Three lines under the cards, in falling order of importance: the shared cap,
   then the one honest constraint on PRO today, then the price note. */
.tier-cap { color: #b9b1a3; }
.tier-key { margin-top: 14px; font-size: 11.5px; color: #7d7669; }
.tier-note .soon-tag {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

/* ================================================================ motion ====
   Everything below is decoration and can be removed without losing a number.
   It is gated on the visitor's own setting: no parallax, no pulse, no shimmer
   for anyone who asked their system for less movement. */
@media (prefers-reduced-motion: no-preference) {

  /* A slow drift on the fixed gold haze. Two percent, forty seconds: you feel
     it more than you see it, and it costs one composited layer. */
  body::before { animation: drift 44s ease-in-out infinite; }
  @keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-2%, 1.6%, 0); }
  }

  /* The gold in the headline is a gradient, so it can travel. */
  .gold { background-size: 220% 100%; animation: shimmer 11s ease-in-out infinite; }
  @keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  /* The live dot beats while the feed is open. A closed market does not. */
  .dot { animation: beat 2.8s ease-out infinite; }
  .dot.closed { animation: beat-amber 4s ease-out infinite; }
  .dot.stalled, .dot.unknown { animation: none; }
  @keyframes beat {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
  }
  @keyframes beat-amber {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
    70% { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
  }

  /* The phone floats a little, so the composite is not a flat picture. */
  .phone { animation: float 8s ease-in-out infinite; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
  }

  /* Cards lift on hover; the tilt below is pointer-driven (fx.js). */
  .laptop { transition: transform 0.4s ease; }
  .tier, .perf-card, .sup-card, .feat, .stat .num {
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease,
      color 0.5s ease;
  }
  .tier:hover, .tier:focus-within { transform: translateY(-5px); border-color: var(--line-strong); }
  .perf-card:hover, .sup-card:hover, .feat:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  }
  .feat svg { transition: transform 0.35s ease, color 0.35s ease; }
  .feat:hover svg { transform: translateY(-2px) scale(1.06); color: var(--gold-1); }

  /* A gold button is metal: it catches the light once as the pointer crosses. */
  .btn-gold { position: relative; overflow: hidden; }
  .btn-gold::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.42) 50%, transparent 66%);
    transform: translateX(-130%);
  }
  .btn-gold:hover::after, .btn-gold:focus-visible::after { animation: sweep 0.85s ease; }
  @keyframes sweep { to { transform: translateX(130%); } }

  /* Nav links grow a gold filament from the middle. */
  .nav a::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold-2);
    transform: scaleX(0);
    transition: transform 0.28s ease;
  }
  .nav a:hover::before { transform: scaleX(1); }

  /* The pointer leaves a warm spot on the hero stage. */
  .stage::after {
    content: "";
    position: absolute;
    inset: -10% -2%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: radial-gradient(
      340px 340px at var(--gx, 50%) var(--gy, 40%),
      rgba(246, 203, 87, 0.22),
      transparent 62%
    );
  }
  .stage:hover::after { opacity: 1; }

  /* A number that moved gets one warm flash, then settles. */
  .bumped { animation: bump 0.95s ease; }
  @keyframes bump {
    0% { color: var(--gold-1); text-shadow: 0 0 20px rgba(246, 203, 87, 0.75); }
    100% { text-shadow: none; }
  }

}

/* The header earns a shadow only once the page has moved. */
body.scrolled .topbar {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  border-bottom-color: rgba(223, 165, 40, 0.22);
}

.topbar { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
