/* =========================================================================
   ExposedFlow — landing page styles
   Dark, technical, precise. One restrained accent (teal) with buy/sell hints.
   ========================================================================= */

:root {
  /* Surfaces */
  --bg: #060607;
  --bg-elev: #0a0b0c;
  --surface: #101113;
  --surface-2: #15171a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #e9ebee;
  --text-dim: #a2a8af;
  --text-faint: #6a7077;

  /* Accent + trading hints */
  --accent: #2DD4BF;
  --accent-ink: #052b22;
  --accent-glow: rgba(45, 212, 191, 0.14);
  --buy: #27c281;
  --sell: #ff5d5d;

  /* Type */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Soft radial wash to lift the near-black background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(45, 212, 191, 0.10), transparent 60%),
    radial-gradient(900px 600px at 85% 15%, rgba(45, 212, 191, 0.04), transparent 55%);
  pointer-events: none;
}

/* Animated heatmap/tape motif (JS-driven canvas) sits behind the hero */
.tape {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 46vh, transparent 78vh);
  mask-image: linear-gradient(to bottom, #000 0, #000 46vh, transparent 78vh);
  pointer-events: none;
}

/* --------------------------------------------------------- layout helpers */
main {
  display: block;
}

section {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-title {
  font-size: clamp(1.1rem, 1rem + 1vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.wordmark-mark {
  width: 24px;
  height: 24px;
  flex: none;
  display: block;
}
.wordmark.small .wordmark-mark {
  width: 20px;
  height: 20px;
}

.wordmark-text {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.wm-a { color: var(--text); }
.wm-b { color: var(--accent); }

.pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 0.35em 0.75em;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--accent-glow);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 1.1rem;
}

.hero-title {
  font-size: clamp(1.85rem, 1.1rem + 3.4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0 0 2rem;
  text-wrap: balance;
}

/* --------------------------------------------------------------- waitlist */
.waitlist {
  max-width: 520px;
}

.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.field-row {
  display: flex;
  gap: 0.6rem;
}

input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
input[type="email"]::placeholder { color: var(--text-faint); }
input[type="email"]:hover { border-color: rgba(255, 255, 255, 0.22); }
input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn {
  flex: none;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 0.85rem 1.3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s ease, filter 0.15s ease, opacity 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 0 1px var(--accent);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Honeypot — visually and functionally hidden from real users */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.25rem;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status.is-error { color: var(--sell); }
.form-status.is-success { color: var(--accent); }

.form-note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* Success state: collapse the inputs, show a confirmation */
.waitlist.is-done .field-row,
.waitlist.is-done .field-label,
.waitlist.is-done .form-note { display: none; }
.waitlist.is-done .form-status {
  font-size: 1.02rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--accent-glow);
}

/* -------------------------------------------------------------- what it is */
.whatitis {
  padding-top: 1rem;
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
.whatitis p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.2rem);
  color: var(--text-dim);
  border-left: 2px solid var(--accent);
  padding-left: 1.1rem;
}

/* ------------------------------------------------- rithmic / prop-account ready */
.compat {
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
.compat-band {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  overflow: hidden;
}
.compat-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}
.compat-badge {
  flex: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.4em 0.8em;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--accent-glow);
  white-space: nowrap;
}
.compat-text {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.compat-text strong {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 560px) {
  .compat-band { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* --------------------------------------------------------------- value props */
.props {
  padding-top: clamp(1rem, 3vh, 2rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.prop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 0.9; }

.card-index {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.card-title {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.card-body {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------ modular workspace */
.workspace {
  padding-top: clamp(1rem, 3vh, 2rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
.workspace-lead {
  max-width: 640px;
  margin: 0 0 2rem;
  color: var(--text-dim);
}
.panel-list {
  border-top: 1px solid var(--border);
}
.panel-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.panel-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.chips li:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface-2);
}
.workspace-note {
  margin: 1.3rem 0 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-faint);
}
@media (max-width: 600px) {
  .panel-row { grid-template-columns: 1fr; gap: 0.7rem; }
}

/* Featured panel callout */
.spotlight {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 1.75rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border-strong);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
}
.spotlight-body { flex: 1; }
.spotlight-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.spotlight-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.spotlight-text {
  margin: 0;
  max-width: 54ch;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.spotlight-viz {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  width: 150px;
  height: 84px;
}
.spotlight-viz .bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-height: 6px;
}
.spotlight-viz .bar.buy {
  background: linear-gradient(180deg, var(--buy), rgba(39, 194, 129, 0.25));
}
.spotlight-viz .bar.sell {
  background: linear-gradient(180deg, var(--sell), rgba(255, 93, 93, 0.25));
}
@media (max-width: 640px) {
  .spotlight { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .spotlight-viz { width: 100%; }
}

/* ---------------------------------------------------------------- screenshot */
.shot {
  padding-top: clamp(1rem, 3vh, 2rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.shot-frame {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  /* faint graph-paper grid to read as an empty workstation frame */
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.shot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
}
.shot-mono {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  padding: 0.35em 0.8em;
  border: 1px dashed var(--border-strong);
  border-radius: 7px;
}
.shot-caption {
  font-size: 0.9rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- feature tour */
.tour {
  padding-top: clamp(1rem, 3vh, 2rem);
  padding-bottom: clamp(3.5rem, 9vh, 6rem);
}
.tour-lead {
  max-width: 640px;
  margin: 0 0 2.5rem;
  color: var(--text-dim);
}
.feature {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2.2rem;
  align-items: center;
}
.feature + .feature {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.feature-viewer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}
.feature-shot {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}
.feature-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.feature-shot img[hidden] { display: none; }
.feature-switch {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
}
.feature-switch button {
  font: inherit;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: transparent;
  border: 0;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.feature-switch button + button { border-left: 1px solid var(--border); }
.feature-switch button:hover { color: var(--text); }
.feature-switch button.is-on { background: var(--accent); color: var(--accent-ink); }
.feature-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.feature-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.feature-head {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.feature-text p { margin: 0; color: var(--text-dim); font-size: 0.95rem; }
@media (min-width: 861px) {
  .feature:nth-of-type(even) > :first-child { order: 2; }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* ----------------------------------------------------------------- audience */
.audience {
  padding-bottom: clamp(3.5rem, 9vh, 6rem);
}
.audience p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ------------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--border);
  max-width: var(--maxw);
  margin-inline: auto;
  margin-top: 2rem;
  padding: 2.5rem var(--gutter) 3rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.wordmark.small .wordmark-text { font-size: 1rem; }
.footer-contact {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-contact:hover { color: var(--accent); border-color: var(--accent); }

.disclaimer {
  margin: 0 0 1rem;
  max-width: 640px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-faint);
}
.copyright {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-faint);
}

a:focus-visible,
.footer-contact:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 640px) {
  .prop-grid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .btn { width: 100%; }
  .pill { display: none; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}


/* =========================================================================
   2026-11-04 layout upgrade — one long landing page led by the product
   ========================================================================= */

/* ---- nav */
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: var(--text-dim); text-decoration: none; font-size: 0.9rem;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta {
  color: var(--accent); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 0.4rem 0.95rem; background: var(--accent-glow);
}
.site-nav .nav-cta:hover { color: var(--text); border-color: var(--accent); }
@media (max-width: 760px) { .site-nav a:not(.nav-cta) { display: none; } }

/* ---- hero */
.hero-title { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.6rem); margin-bottom: 1.2rem; }
.hero-sub {
  max-width: 640px; margin: 0 0 2rem;
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.22rem); color: var(--text-dim);
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.req {
  margin: 1.1rem 0 0; font-family: var(--mono); font-size: 0.76rem;
  letter-spacing: 0.04em; color: var(--text-faint);
}
.hero-media {
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  border: 1px solid var(--border-strong); border-radius: calc(var(--radius) + 2px);
  overflow: hidden; background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(45, 212, 191, 0.06), 0 0 120px rgba(45, 212, 191, 0.07);
}
.hero-media img, .hero-media video { display: block; width: 100%; height: auto; }

/* ---- proof strip */
.proof { padding-top: clamp(2rem, 5vh, 3rem); padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.proof-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border);
}
.proof-list li { background: var(--bg-elev); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.25rem; }
.proof-k { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
.proof-v { color: var(--text-dim); font-size: 0.92rem; }
@media (max-width: 760px) { .proof-list { grid-template-columns: repeat(2, 1fr); } }

/* ---- section blocks */
.block { padding-top: clamp(2.5rem, 7vh, 4.5rem); padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.block + .block { border-top: 1px solid var(--border); }
.kicker {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 0.8rem;
}
.block-title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.15; font-weight: 700;
  letter-spacing: -0.025em; margin: 0 0 1rem; max-width: 820px; text-wrap: balance;
}
.block-lead { max-width: 700px; margin: 0 0 2.4rem; color: var(--text-dim); font-size: 1.02rem; }
.block .feature { margin-bottom: 2.6rem; }
.block .feature + .feature { margin-top: 0; }
.feature-shot.tall { aspect-ratio: auto; }
.feature-shot.tall img { height: auto; }

.grid-3, .grid-2 { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.mini h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin: 1rem 0 0.4rem; }
.mini p { margin: 0; color: var(--text-dim); font-size: 0.94rem; }
.mini img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); }

/* placeholder frame for a screenshot that isn't in yet (data-pending = its shot number) */
.ph {
  margin: 0; aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 1rem;
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  font-family: var(--mono); font-size: 0.78rem; color: var(--text-faint);
  background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg-elev);
}
.ph::before { content: attr(data-pending) " · "; color: var(--accent); }
.ph.wide { aspect-ratio: 16 / 8; }

.studies { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; margin-top: 0.5rem; }
.studies-title { font-size: 1.15rem; font-weight: 600; margin: 0 0 1rem; }
@media (max-width: 860px) { .studies { grid-template-columns: 1fr; } }
.chips-row { margin-top: 1.6rem; }

.sample {
  margin: 0; align-self: flex-end; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint);
}

/* ---- comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.compare thead th {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 500; background: var(--bg-elev);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:nth-child(2) { color: var(--text-dim); }
.compare .c-ef { text-align: center; width: 9rem; color: var(--accent); font-weight: 700; }
.compare thead .c-ef { color: var(--accent); }

/* ---- FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 0.2rem 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative;
  font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 0.9rem; font-family: var(--mono);
  color: var(--accent); font-size: 1.1rem; transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--text-dim); max-width: 70ch; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---- closing CTA */
.cta { padding-top: clamp(2rem, 5vh, 3rem); padding-bottom: clamp(3rem, 8vh, 5rem); }
.cta-band {
  text-align: center; padding: clamp(2.2rem, 6vh, 3.5rem) 1.5rem;
  border: 1px solid var(--border-strong); border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(45, 212, 191, 0.14), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
}
.cta-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -0.025em; margin: 0 0 0.6rem; }
.cta-band p { margin: 0 0 1.6rem; color: var(--text-dim); }
.cta-band .btn { display: inline-block; text-decoration: none; }

/* ---- 11-04 fixes: alternated rows keep the shot in the wide column; compare table fits a phone */
@media (min-width: 861px) {
  .feature:nth-of-type(even) { grid-template-columns: 1fr 1.55fr; }
}
.feature-shot.tall { max-height: 640px; }
.feature-shot.tall img { object-fit: cover; object-position: top; }
@media (max-width: 600px) {
  .compare { min-width: 0; }
  .compare th, .compare td { padding: 0.7rem 0.7rem; font-size: 0.86rem; }
  .compare .c-ef { width: 2.6rem; }
  .compare thead .c-ef { font-size: 0; }
  .compare thead .c-ef::after { content: "EF"; font-size: 0.72rem; }
}

/* ---- privacy link + privacy page */
.form-note a, .copyright a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover, .copyright a:hover { color: var(--accent); }
.legal { max-width: 720px; margin-inline: auto; padding-block: clamp(2.5rem, 7vh, 4.5rem); }
.legal h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); letter-spacing: -0.02em; margin: 0 0 0.4rem; }
.legal h2 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }
.legal p, .legal li { color: var(--text-dim); line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }
.legal .updated { font-family: var(--mono); font-size: 0.75rem; color: var(--text-faint); letter-spacing: 0.06em; }
.legal a { color: var(--accent); }
