/* ==========================================================================
   Matrix Trade AI — brutalist / dark market telemetry
   Charcoal surface, visible dividers, square framing, restrained phosphor
   accent, static scanline + grid textures, monospace data rhythm.
   ========================================================================== */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/archivo-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plexmono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plexmono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plexmono-600.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --bg:           #0c100f;
  --surface:      #101514;
  --surface-2:    #151d1a;
  --border:       #26302d;
  --border-strong:#3a4742;
  --text:         #e8ece9;
  --text-muted:   #a3aea9;
  --accent:       #3ddc97;
  --accent-hover: #63e6ad;
  --accent-tint:  rgba(61, 220, 151, .09);
  --accent-line:  rgba(61, 220, 151, .35);
  --down:         #ef8f89;   /* muted signal red: losses, cross marks */
  --down-tint:    rgba(239, 143, 137, .10);
  --amber:        #e8c15a;

  --font-sans: 'Archivo', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --radius:    2px;   /* near-zero, mechanical corners */
  --radius-in: 6px;   /* inner chips only */

  --shadow-md: 0 10px 28px rgba(2, 6, 5, .55);
  --shadow-sm: 0 2px 10px rgba(2, 6, 5, .35);

  --container: 1200px;
  --header-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); text-transform: uppercase; letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
dl { margin: 0; }
dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
dd { margin: 0 0 .8em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.4rem 0; }
strong { color: var(--text); font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent); color: #08120d; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #08120d; padding: 10px 16px;
  font-family: var(--font-mono); font-size: .8rem;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.muted { color: var(--text-muted); }
.mono-label {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.section { padding: clamp(3rem, 6vw, 4.6rem) 0; border-top: 1px solid var(--border); position: relative; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section__head .mono-label { display: block; margin-bottom: .8em; }
.section__head p { color: var(--text-muted); font-size: 1.02rem; }

/* static grid texture for section bands (no repaint) */
.section--grid {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
}
/* scanline texture, extremely low contrast */
.section--scan {
  background-image: repeating-linear-gradient(0deg,
    rgba(232, 236, 233, .022) 0px, rgba(232, 236, 233, .022) 1px,
    transparent 1px, transparent 4px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: .95rem;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn--primary { background: var(--accent); color: #08120d; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #08120d; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent-line); }
.btn--secondary:hover { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-hover); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--wide { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 16, 15, .92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; }
.brand:hover { color: var(--text); }
.brand__word { font-size: .98rem; letter-spacing: .04em; line-height: 1.1; }
.brand__word em { font-style: normal; color: var(--accent); display: block; font-size: .72rem; letter-spacing: .3em; font-weight: 600; }
.brand-mark { color: var(--text); flex: none; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: var(--text); font-family: var(--font-sans);
  font-size: .92rem; font-weight: 600; padding: 9px 12px; cursor: pointer;
  border-radius: var(--radius);
}
.site-nav__trigger:hover { background: var(--surface-2); }
.site-nav__caret { width: 14px; height: 14px; transition: transform .16s ease; }
.site-nav__item { position: relative; }
.site-nav__item.open .site-nav__caret { transform: rotate(180deg); }

.site-nav__submenu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 110;
  min-width: 250px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(4px); visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.site-nav__item--wide .site-nav__submenu {
  min-width: 250px; max-width: 320px;
  columns: 1;
}
.site-nav__item.open .site-nav__submenu { opacity: 1; transform: translateY(0); visibility: visible; }
.site-nav__submenu.align-right { left: auto; right: 0; }
.site-nav__submenu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius);
  color: var(--text); font-size: .88rem;
}
.site-nav__submenu a:hover, .site-nav__submenu a:focus-visible { background: var(--accent-tint); color: var(--accent); }
.site-nav__icon { width: 16px; height: 16px; color: var(--accent); flex: none; }

.nav-burger {
  display: none; background: none; border: 1px solid var(--border-strong);
  border-radius: var(--radius); color: var(--text); padding: 8px;
  cursor: pointer; margin-left: auto;
}
.nav-burger__close { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__open { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--border); background: var(--surface);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 10px 0 24px;
}
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__group summary {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; padding: 13px 4px; font-weight: 700; font-size: .95rem;
  list-style: none;
}
.mobile-nav__group summary::-webkit-details-marker { display: none; }
.mobile-nav__group summary svg { width: 15px; height: 15px; color: var(--text-muted); transition: transform .15s ease; }
.mobile-nav__group[open] summary svg { transform: rotate(180deg); }
.mobile-nav__group ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-nav__group a { display: block; padding: 8px 4px 8px 14px; color: var(--text-muted); font-size: .9rem; border-left: 2px solid var(--border); }
.mobile-nav__group a:hover, .mobile-nav__group a[aria-current="page"] { color: var(--accent); border-left-color: var(--accent); }
.mobile-nav nav ul a { display: block; padding: 9px 4px; color: var(--text-muted); font-size: .92rem; border-bottom: 1px solid var(--border); }
.mobile-nav nav ul a:hover { color: var(--accent); }
.mobile-nav__cta { margin-top: 18px; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--surface); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.hero__bg { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.hero__grid { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__scan {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: repeating-linear-gradient(0deg,
    rgba(232, 236, 233, .02) 0px, rgba(232, 236, 233, .02) 1px,
    transparent 1px, transparent 4px);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "head form" "rest form";
  align-items: start;
  padding: clamp(2.6rem, 5vw, 4.4rem) 0 clamp(2.4rem, 5vw, 4rem);
}
.hero__head { grid-area: head; max-width: 640px; }
.hero__form { grid-area: form; }
.hero__rest { grid-area: rest; display: grid; gap: 1.3rem; margin-top: .4rem; }
.hero__title { text-transform: uppercase; letter-spacing: -.02em; margin-bottom: .4em; }
.hero__title .accent { color: var(--accent); }
.hero__text { color: var(--text-muted); font-size: 1.04rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 1.1em 0 0; }
.hero__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 1.6rem 0 0; background: var(--border); border: 1px solid var(--border); }
.hero__point { background: var(--surface); padding: 12px 14px; }
.hero__point b { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 3px; }
.hero__point span { font-size: .88rem; color: var(--text-muted); }

/* hero telemetry SVG */
.hero-motif { width: 100%; height: auto; display: block; }

/* hero form panel */
.hero .form-block { background: var(--surface); border: 1px solid var(--border-strong); padding: clamp(1.2rem, 2.6vw, 1.8rem); box-shadow: var(--shadow-md); }
.form-block__title { font-size: 1.05rem; margin-bottom: .35em; }
.form-block__note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--text-muted); margin: 12px 0 0; }
.form-block__note svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 2px; }

/* generic form block (inner-page heroes) */
.form-block { position: relative; }
.form-block--panel { background: var(--surface); border: 1px solid var(--border-strong); padding: clamp(1.2rem, 2.6vw, 1.8rem); box-shadow: var(--shadow-md); }
.form-block__intro { font-size: .9rem; color: var(--text-muted); margin-bottom: 12px; }
.form-legal { font-size: .78rem; color: var(--text-muted); margin: 10px 0 0; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* hero on doc/product pages: heading left, form right */
.hero--split { background-image: linear-gradient(115deg, var(--surface) 0%, var(--bg) 55%); }
.hero--split .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

/* flag chip */
.flag-chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border-strong); background: var(--surface);
  padding: 8px 14px; font-size: .84rem; color: var(--text);
}
.flag-chip__flag { display: block; width: 24px; height: 16px; flex: none; border: 1px solid var(--border-strong); }

/* icon links row */
.iconlinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.iconlinks a { display: flex; gap: 12px; align-items: center; background: var(--surface); padding: 14px 16px; color: var(--text); }
.iconlinks a:hover { background: var(--surface-2); }
.iconlinks .icon-badge { flex: none; }
.iconlinks b { display: block; font-size: .93rem; }
.iconlinks span { display: block; font-size: .8rem; color: var(--text-muted); }

/* ---------- icon badges & cards ---------- */
.icon-badge {
  width: 46px; height: 46px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); border: 1px solid var(--accent-line);
  border-radius: var(--radius-in); color: var(--accent);
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge--round { border-radius: 50%; width: 64px; height: 64px; }
.icon-badge--round svg { width: 30px; height: 30px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: transform .17s ease, border-color .17s ease, background-color .17s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent-line); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card > .icon-badge, .card .icon-badge { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 0; }
.card--link { display: block; color: var(--text); }

.card-grid { display: grid; gap: clamp(12px, 2vw, 18px); grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* asymmetric feature band */
.split { display: grid; gap: clamp(1.4rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

/* ---------- numbered steps ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { background: var(--surface); padding: 20px; counter-increment: step; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #08120d;
  font-family: var(--font-mono); font-weight: 600; font-size: .85rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1rem; }
.step p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
caption { caption-side: top; text-align: left; padding: 14px 16px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(232, 236, 233, .018); }
td .ok, td .no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; }
td .ok { color: var(--accent); background: var(--accent-tint); }
td .no  { color: var(--down); background: var(--down-tint); }
td .ok svg, td .no svg { width: 13px; height: 13px; }
.table-note { font-size: .8rem; color: var(--text-muted); margin: 10px 4px 0; }
.compare-col { background: var(--accent-tint); }

/* definition tables */
.facts-table td:first-child, .facts-table th:first-child { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); width: 34%; }

/* ---------- exchange logos ---------- */
.exchanges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.exchanges__item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); background: var(--surface);
  padding: 12px 18px; border-radius: var(--radius);
  color: var(--text-muted); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em;
  transition: border-color .16s ease, color .16s ease;
}
.exchanges__item:hover { border-color: var(--accent-line); color: var(--text); }
.exchanges__item svg { width: 22px; height: 22px; display: block; }
.exchanges--mono .exchanges__item svg * { fill: currentColor; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: clamp(12px, 2vw, 18px); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: transform .17s ease, border-color .17s ease; }
.review:hover { transform: translateY(-2px); border-color: var(--accent-line); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { border-radius: 50%; border: 1px solid var(--accent-line); background: var(--accent-tint); color: var(--accent); width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review__avatar svg { width: 24px; height: 24px; }
.review__who b { display: block; font-size: .95rem; }
.review__who span { font-size: .8rem; color: var(--text-muted); }
.review__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.review__stat { background: var(--surface-2); padding: 8px 10px; }
.review__stat dt { font-size: .62rem; }
.review__stat dd { margin: 0; font-family: var(--font-mono); font-size: .82rem; color: var(--text); }
.review__stat dd.up { color: var(--accent); }
.review__text { font-size: .9rem; color: var(--text-muted); margin: 0; flex: 1; }
.reviews-note { font-size: .78rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 840px; }
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
details.faq[open] { border-color: var(--accent-line); }
details.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 15px 18px; font-weight: 700; font-size: .96rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary svg { width: 16px; height: 16px; color: var(--accent); flex: none; transition: transform .15s ease; }
details.faq[open] summary svg { transform: rotate(180deg); }
details.faq .faq__a { padding: 0 18px 16px; color: var(--text-muted); font-size: .92rem; }
details.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- map ---------- */
.map-embed { border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); max-width: 900px; aspect-ratio: 16 / 9; min-height: 320px; background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- article cards ---------- */
.article-grid { display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.article { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 22px; }
.article h3 { font-size: 1.08rem; }
.article .mono-label { display: block; margin-bottom: 10px; }
.article p { color: var(--text-muted); font-size: .92rem; }

/* ---------- risk / info cards with left rule ---------- */
.rule-cards { display: grid; gap: clamp(12px, 2vw, 18px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.rule-card { border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius); padding: 18px; }
.rule-card--down { border-left-color: var(--down); }
.rule-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.rule-card h3 svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.rule-card--down h3 svg { color: var(--down); }
.rule-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 0; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 860px; }
.prose h2 { margin-top: 2em; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.08rem; }
.prose p, .prose li { color: var(--text-muted); font-size: .95rem; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { color: var(--text-muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-strong); background: var(--surface); margin-top: 0; }
.site-footer__grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(150px, 1fr)); padding: clamp(2.4rem, 5vw, 3.6rem) 0 2rem; }
.site-footer__tagline { color: var(--text-muted); font-size: .88rem; margin: 14px 0 18px; }
.site-footer__facts div { margin-bottom: 10px; }
.site-footer__facts dd { font-size: .85rem; }
.site-footer__heading { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col a { display: inline-block; padding: 4px 0; color: var(--text-muted); font-size: .85rem; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__disclaimer { border-top: 1px solid var(--border); padding: 1.4rem 0 2rem; }
.site-footer__disclaimer p { font-size: .76rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .8em; }
.site-footer__copy { margin-bottom: 0; }

/* ---------- special offer ---------- */
.offer-nav { margin-left: auto; display: flex; gap: 22px; }
.offer-nav a { color: var(--text-muted); font-size: .92rem; font-weight: 600; }
.offer-nav a:hover { color: var(--accent); }
@media (max-width: 1080px) { .offer-nav { display: none; } }

.urgency-strip { background: var(--accent); color: #08120d; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding-block: 8px; }
.urgency-strip b { font-weight: 600; }

.offer-count { display: inline-flex; gap: 6px; align-items: center; }
.offer-count__cell {
  min-width: 44px; padding: 8px 6px; text-align: center;
  background: var(--surface); border: 1px solid var(--accent-line);
  border-radius: var(--radius); font-family: var(--font-mono);
  font-size: 1.25rem; font-weight: 600; color: var(--accent);
}
.offer-count__sep { color: var(--accent); font-family: var(--font-mono); font-size: 1.1rem; }

.offer-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.offer-modal.is-open { display: flex; }
.offer-modal__overlay { position: absolute; inset: 0; background: rgba(4, 7, 6, .78); }
.offer-modal__card {
  position: relative; z-index: 1; width: min(460px, 100%);
  background: var(--surface); border: 1px solid var(--accent-line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 26px 24px 24px; text-align: center;
}
.offer-modal__close { position: absolute; top: 8px; right: 8px; background: none; border: 0; color: var(--text-muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 6px 10px; }
.offer-modal__close:hover { color: var(--text); }
.offer-modal__title { font-size: 1.3rem; text-transform: uppercase; }
.offer-modal__card p { color: var(--text-muted); font-size: .9rem; }

/* ---------- calculator section ---------- */
.section--calc { background: var(--surface); border-top: 1px solid var(--border); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.error-page .mono-label { display: block; margin-bottom: 14px; }
.error-page__code { font-family: var(--font-mono); font-size: clamp(4rem, 14vw, 8rem); font-weight: 600; color: var(--accent); line-height: 1; display: block; margin-bottom: 12px; }
.error-page .btn { margin-top: 18px; }

/* ---------- ticker (beacon injects; align to container) ---------- */
.site-header + .beacon-ticker, .ticker-row { width: 100%; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 920px) {
  .hero__inner, .hero--split .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__inner { grid-template-areas: "head" "form" "rest"; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .review__stats { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .site-header__cta { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO (concept E) — brutalist typography-led telemetry grid
   Massive stacked-word display left, vertical data rail, squared telemetry
   form panel right, grounded candlestick band. Scoped under .hero--tlx so
   inner-page heroes (.hero--split) keep their original layout.
   ========================================================================== */
.hero--tlx .hero__inner {
  grid-template-columns: 150px minmax(0, 1fr) 388px;
  grid-template-areas:
    "rail head form"
    "rail rest  form"
    "rail candles candles";
  column-gap: clamp(22px, 3vw, 40px);
  row-gap: 26px;
  padding-top: clamp(2.2rem, 4.4vw, 3.6rem);
}

/* kicker + macro display */
.hero--tlx .hero__head { grid-area: head; max-width: none; }
.hero--tlx .hero__kicker { display: block; margin-bottom: 1.1rem; }
.hero__display {
  margin: 0 0 1.2rem;
  border-top: 2px solid var(--border-strong);
  padding-top: 1rem;
}
.hero__display-line {
  display: block;
  font-size: clamp(2.3rem, 5.6vw, 4.35rem);
  line-height: .92;
  letter-spacing: -.035em;
  font-weight: 800;
  text-transform: uppercase;
}
.hero__display-line.accent { color: var(--accent); }
.hero__display-conj {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--text-muted);
  padding: .55em 0 .45em;
}
.hero__display-conj::before,
.hero__display-conj::after {
  content: ""; height: 1px; flex: 0 0 44px; background: var(--border-strong);
}
.hero--tlx .hero__text { max-width: 58ch; font-size: .98rem; }

/* vertical data-readout rail */
.hero--tlx .hero__rail {
  grid-area: rail;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero--tlx .hero__rail::after {           /* crosshair mark at the top rule */
  content: "+"; position: absolute; top: -13px; right: -8px;
  font-family: var(--font-mono); font-size: 15px; line-height: 1;
  color: var(--accent); background: var(--bg); padding: 0 1px;
}
.hero__rail-head {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  padding-bottom: 10px; border-bottom: 1px solid var(--border-strong);
}
.hero__rail-list { margin: 0; }
.hero__rail-cell { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--border); }
.hero__rail-cell dt {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.hero__rail-cell dd { margin: 0; font-size: .78rem; line-height: 1.45; color: var(--text); }

/* squared telemetry form panel */
.hero--tlx .hero__form { grid-area: form; position: relative; }
.tlx-panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.tlx-panel__head {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.tlx-panel__head span:last-child { color: var(--text-muted); }
.tlx-panel__body { padding: clamp(1.1rem, 2.2vw, 1.5rem); }
.hero--tlx .tlx-panel__body .form-block {
  background: none; border: 0; box-shadow: none; padding: 0;
}
.tlx-panel::before, .tlx-panel::after {   /* crosshair marks at panel corners */
  content: "+"; position: absolute; z-index: 3;
  font-family: var(--font-mono); font-size: 15px; line-height: 1;
  color: var(--accent); background: var(--bg); padding: 0 1px;
}
.tlx-panel::before { top: -13px; left: -8px; }
.tlx-panel::after  { top: -13px; right: -8px; }

/* grounded candlestick band */
.hero--tlx .hero__candles { grid-area: candles; height: 118px; overflow: hidden; }
.hero--tlx .hero__candles svg { width: 100%; height: 100%; display: block; }

/* hero grid breakpoints */
@media (max-width: 1180px) {
  .hero--tlx .hero__inner {
    grid-template-columns: minmax(0, 1fr) 348px;
    grid-template-areas:
      "head form"
      "rest form"
      "rail rail"
      "candles candles";
  }
  .hero--tlx .hero__rail { border-right: 0; border-top: 1px solid var(--border-strong); padding-top: 4px; }
  .hero--tlx .hero__rail::after { top: -13px; left: 0; right: auto; }
  .hero__rail-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__rail-cell { border-bottom: 0; border-right: 1px solid var(--border); padding: 10px 12px 0 0; }
  .hero__rail-cell:last-child { border-right: 0; }
}
.hero--tlx .iconlinks a { align-items: flex-start; }
.hero--tlx .iconlinks .icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.hero--tlx .iconlinks .icon-badge svg { display: block; width: 22px; height: 22px; flex: none; }
@media (max-width: 920px) {
  .hero--tlx .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "form" "rest" "rail" "candles";
  }
  .hero__display-line { font-size: clamp(2.05rem, 10.5vw, 3.2rem); }
  .hero__rail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__rail-cell:nth-child(2n) { border-right: 0; }
  .hero--tlx .hero__candles { height: 92px; }
}

/* ==========================================================================
   Mandatory kit overrides (all pages)
   ========================================================================== */
/* ticker — fixed 58px strip, no top padding */
.tv-ticker-wrapper { padding-top: 0px !important; height: 58px !important; }

/* intl telephone input labels use dark text, including the selected dial code. */
.iti__country-name,
.iti__dial-code { color: #000 !important; }
.iti__selected-dial-code { color: #000 !important; }

/* reviews — real photos, exactly 3 per row on desktop */
.reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review__photo {
  width: 52px; height: 52px; flex: none;
  border-radius: var(--radius-in);
  border: 1px solid var(--accent-line);
  object-fit: cover; display: block;
}
@media (max-width: 1023px) and (min-width: 641px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
}
