/* TradeSync Market — chart-room instrument theme */

:root {
  --bg: #E7EAEC;
  --panel: #F1F3F3;
  --panel-raised: #FFFFFF;
  --ink: #16232B;
  --ink-soft: #45565F;
  --ink-faint: #6E7C80;
  --brass: #B8863A;
  --brass-strong: #96692A;
  --verdigris: #2E7566;
  --brick: #A64A32;
  --line: #C9D0D2;
  --line-strong: #AEB8BB;

  --shadow-sm: 0 1px 3px rgba(22,35,43,0.09);
  --shadow-md: 0 8px 22px rgba(22,35,43,0.09);
  --shadow-hover: 0 14px 32px rgba(22,35,43,0.15);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1B24;
    --panel: #16262F;
    --panel-raised: #1C2E38;
    --ink: #EDEFE7;
    --ink-soft: #A9B7B9;
    --ink-faint: #7C8B8D;
    --brass: #D6A94A;
    --brass-strong: #E8BE64;
    --verdigris: #4FA396;
    --brick: #D07156;
    --line: #2A3B44;
    --line-strong: #374B54;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.35);
    --shadow-md: 0 10px 26px rgba(0,0,0,0.4);
    --shadow-hover: 0 16px 38px rgba(0,0,0,0.5);
  }
}

:root[data-theme="dark"] {
  --bg: #0E1B24;
  --panel: #16262F;
  --panel-raised: #1C2E38;
  --ink: #EDEFE7;
  --ink-soft: #A9B7B9;
  --ink-faint: #7C8B8D;
  --brass: #D6A94A;
  --brass-strong: #E8BE64;
  --verdigris: #5FA491;
  --brick: #D07156;
  --line: #2A3B44;
  --line-strong: #374B54;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

section[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.num, .tnum { font-variant-numeric: tabular-nums; }

::selection { background: var(--brass); color: var(--panel); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

button { font-family: inherit; cursor: pointer; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-brass {
  background: var(--brass);
  color: #191008;
  box-shadow: var(--shadow-sm);
}
.btn-brass:hover {
  background: var(--brass-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }

.btn-text {
  background: transparent;
  color: var(--ink-soft);
  padding: 12px 4px;
}
.btn-text:hover { color: var(--ink); }

/* ---------- header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
header.site.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line-strong);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  flex-shrink: 0;
}
.brand svg { width: 30px; height: 30px; transition: transform 0.35s ease; }
.brand:hover svg { transform: rotate(-10deg) scale(1.08); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.nav-links a {
  text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--brass);
  transition: right 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease, top 0.25s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background-image:
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--brass) 12%, transparent), transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 27px, color-mix(in srgb, var(--ink) 3%, transparent) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, color-mix(in srgb, var(--ink) 3%, transparent) 28px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 18px; display: block; }

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--brass);
}

.hero-sub {
  margin-top: 20px;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.hero-form {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  max-width: 460px;
}

.hero-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 3px;
  border: 1px solid var(--line-strong);
  background: var(--panel-raised);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.hero-form input[type="email"]::placeholder { color: var(--ink-faint); }

.hero-micro {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.hero-trust {
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-trust .stars { color: var(--brass); letter-spacing: 1px; }

.radar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-wrap svg { width: 100%; height: auto; max-width: 380px; filter: drop-shadow(0 18px 30px rgba(22,35,43,0.12)); }

.radar-face { fill: var(--panel-raised); stroke: var(--line-strong); }
.radar-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-cross { stroke: var(--line); stroke-width: 1; }
.radar-label { fill: var(--ink-soft); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; }
.radar-pivot { fill: var(--brass); stroke: var(--panel-raised); stroke-width: 2; }

.radar-blip-core { fill: var(--panel-raised); stroke: var(--brass); stroke-width: 1.6; }
.radar-blip-ring {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: blip-pulse 2.4s ease-out infinite;
}

.radar-sweep {
  transform-origin: 190px 190px;
  animation: radar-sweep 5s linear infinite;
}

@keyframes radar-sweep {
  to { transform: rotate(360deg); }
}

@keyframes blip-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep, .radar-blip-ring { animation: none; }
  .radar-blip-ring { opacity: 0; }
}

/* ---------- proof strip ---------- */

.proof {
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.proof-item {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.proof-item:first-child { border-left: none; padding-left: 0; }
.proof-item::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 12px;
}
.proof-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}
.proof-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- section scaffolding ---------- */

section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
#signals, .ai-section, #pricing { background: var(--panel); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.signal-grid .reveal:nth-child(2), .testi-grid .reveal:nth-child(2), .pricing-grid .reveal:nth-child(2),
.toolkit-grid .reveal:nth-child(2), .workflow .reveal:nth-child(2) { transition-delay: 0.08s; }
.signal-grid .reveal:nth-child(3), .testi-grid .reveal:nth-child(3), .pricing-grid .reveal:nth-child(3),
.toolkit-grid .reveal:nth-child(3), .workflow .reveal:nth-child(3) { transition-delay: 0.16s; }
.toolkit-grid .reveal:nth-child(4), .workflow .reveal:nth-child(4) { transition-delay: 0.24s; }
.toolkit-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.toolkit-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- workflow ---------- */

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.workflow-step {
  position: relative;
  padding: 30px 26px;
  border-left: 1px solid var(--line);
  background: var(--panel);
}
.workflow-step:first-child { border-left: none; }
.workflow-step:not(:first-child)::before {
  content: "›";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--panel-raised);
  border: 1px solid var(--line-strong);
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 17px;
  text-align: center;
  z-index: 2;
}
.workflow-step .bearing {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brass);
  letter-spacing: 0.06em;
}
.workflow-step h3 {
  font-size: 1.15rem;
  margin-top: 12px;
  font-weight: 600;
}
.workflow-step p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- signal cards ---------- */

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.signal-card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.signal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.signal-ticker {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
}
.signal-dir {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.dir-long { color: var(--verdigris); background: color-mix(in srgb, var(--verdigris) 16%, transparent); }
.dir-short { color: var(--brick); background: color-mix(in srgb, var(--brick) 16%, transparent); }

.signal-body { padding: 18px 20px; }
.signal-thesis {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.signal-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.signal-levels div span {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.signal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}
.status-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.status-open { background: color-mix(in srgb, var(--brass) 18%, transparent); color: var(--brass-strong); }
.status-hit { background: color-mix(in srgb, var(--verdigris) 18%, transparent); color: var(--verdigris); }
.status-stopped { background: color-mix(in srgb, var(--brick) 18%, transparent); color: var(--brick); }

.signal-disclaimer {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ---------- toolkit ---------- */

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tool-card {
  background: var(--panel);
  padding: 28px 26px;
  position: relative;
  transition: background 0.2s ease;
}
.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--brass);
  transition: width 0.22s ease;
}
.tool-card:hover { background: var(--panel-raised); }
.tool-card:hover::before { width: 3px; }
.tool-card .glyph {
  width: 34px;
  height: 34px;
  color: var(--brass);
  margin-bottom: 16px;
  transition: transform 0.22s ease;
}
.tool-card:hover .glyph { transform: translateY(-2px); }
.tool-card h3 { font-size: 1.05rem; font-weight: 600; }
.tool-card p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- ai section ---------- */

.ai-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ai-copy h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.ai-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 1.02rem; }
.ai-copy ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ai-copy li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink);
  align-items: flex-start;
}
.ai-copy li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 8px;
  background: var(--brass);
  flex-shrink: 0;
}

.ai-panel {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}
.ai-msg { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ai-msg:last-child { border-bottom: none; }
.ai-msg .who { color: var(--ink-faint); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.ai-msg.you .who { color: var(--brass); }
.ai-msg p { color: var(--ink-soft); line-height: 1.5; font-family: var(--font-body); font-size: 0.92rem; }

/* ---------- testimonials ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  position: relative;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.testi-card::after {
  content: "”";
  position: absolute;
  top: 6px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--brass);
  opacity: 0.22;
  line-height: 1;
  pointer-events: none;
}
.testi-stars { color: var(--brass); letter-spacing: 2px; font-size: 0.9rem; }
.testi-quote { margin-top: 14px; font-size: 0.98rem; color: var(--ink); position: relative; }
.testi-who { margin-top: 16px; font-size: 0.83rem; color: var(--ink-faint); }

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.plan.featured {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass), var(--shadow-md);
  position: relative;
}
.plan.featured:hover { box-shadow: 0 0 0 1px var(--brass), var(--shadow-hover); }
.plan-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--brass);
  color: #191008;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brass);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan h3 { font-size: 1.3rem; margin-top: 8px; }
.plan-price {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 600;
}
.plan-price small { font-size: 0.95rem; color: var(--ink-faint); font-weight: 400; }
.plan-desc { margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li {
  font-size: 0.9rem;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.plan li::before { content: "—"; color: var(--ink-faint); flex-shrink: 0; }
.plan .btn { margin-top: 26px; width: 100%; }

/* ---------- faq ---------- */

.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[data-open="true"] { border-color: var(--brass); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
.faq-q .plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--brass);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.faq-item[data-open="true"] .plus {
  transform: rotate(45deg);
  background: var(--brass);
  border-color: var(--brass);
  color: #191008;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a-inner {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 64ch;
}

/* ---------- final cta ---------- */

.final-cta {
  text-align: center;
  padding: 90px 0;
}
.final-cta h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); max-width: 700px; margin: 0 auto; }
.final-cta p { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }
.final-cta .hero-form { margin: 30px auto 0; }
.final-cta .hero-micro { text-align: center; }

/* ---------- footer ---------- */

footer.site {
  padding: 60px 0 40px;
  background: var(--panel);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--ink-soft); font-size: 0.9rem; }
.footer-col a:hover { color: var(--ink); }

.footer-legal {
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.6;
}
.footer-legal p + p { margin-top: 10px; }
.footer-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .radar-wrap { order: -1; max-width: 260px; margin: 0 auto; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .proof-item:nth-child(3) { border-left: none; padding-left: 0; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow-step:nth-child(3) { border-left: none; }
  .signal-grid, .toolkit-grid, .testi-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-section .wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 28px;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .nav-links.open {
    max-height: 320px;
    opacity: 1;
    padding: 14px 28px 22px;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 0 40px; }
  .hero-form { flex-direction: column; }
  section { padding: 60px 0; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid, .toolkit-grid, .testi-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
