/* ============================================================
   IMS — Incident Monitoring System
   Marketing page styles · v0.1
   ============================================================ */

:root {
  --bg:        #0a0e1a;
  --bg-2:      #0f1424;
  --bg-3:      #141a2e;
  --line:      #1f2742;
  --line-2:    #2a3354;
  --ink:       #e8ecf5;
  --ink-2:     #aab3c8;
  --ink-3:     #6f7896;
  --accent:    #f5a623;          /* alert amber */
  --accent-2:  #ffb84d;
  --good:      #5dd39e;
  --warn:      #ffb84d;
  --bad:       #ff6b6b;
  --sev-1:     #5dd39e;
  --sev-2:     #ffd86b;
  --sev-3:     #ffb84d;
  --sev-4:     #ff8a4d;
  --sev-5:     #ff6b6b;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 40px rgba(0,0,0,0.45);
  --shadow-sm: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 14px rgba(0,0,0,0.35);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

/* ============================================================
   SKIP LINK + FOCUS VISIBILITY (a11y)
   ============================================================ */
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--accent); color: #1a1206;
  padding: 8px 14px; border-radius: 6px;
  font: 500 14px var(--sans);
  text-decoration: none;
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; outline: 2px solid var(--ink); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* honeypot — visually hidden but keyboard/screen-reader detect-aware
   (spam bots usually fill all visible-or-hidden form fields). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.mono { font-family: var(--mono); font-size: 0.86em; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,14,26,0.72);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 22px; height: 22px; color: var(--accent); }
.brand-name { font-weight: 700; letter-spacing: 0.02em; }
.brand-tag {
  color: var(--ink-3);
  font-size: 12px;
  border-left: 1px solid var(--line);
  padding-left: 10px; margin-left: 4px;
  display: none;
}
@media (min-width: 760px) { .brand-tag { display: inline; } }

.topnav { display: none; gap: 22px; justify-content: center; }
.topnav a { color: var(--ink-2); font-size: 14px; }
.topnav a:hover { color: var(--ink); }
@media (min-width: 980px) { .topnav { display: flex; } }

.topcta { display: flex; gap: 10px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font: 500 14px/1 var(--sans);
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #1a1206;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink-3); background: rgba(255,255,255,0.02); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 12% 0%, rgba(245,166,35,0.10), transparent 60%),
    radial-gradient(700px 380px at 88% 30%, rgba(80,120,255,0.08), transparent 65%),
    linear-gradient(#0a0e1a 0%, #0a0e1a 40%, #0c1122 100%);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 50%, transparent 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.15fr 0.95fr; gap: 56px; align-items: center; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px; color: var(--ink-2);
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.18);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 18px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-feature-settings: "ss01";
}
.hero .lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.hero-trust {
  font-size: 13px; color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}
.hero-trust span {
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}

/* ----- live feed mock ----- */
.feed-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 460px;
  display: flex; flex-direction: column;
}
.feed-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.feed-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(93,211,158,0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(93,211,158,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(93,211,158,0); }
  100% { box-shadow: 0 0 0 0 rgba(93,211,158,0); }
}
.feed-meta { color: var(--ink-3); font-family: var(--mono); }

.feed-list {
  padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.feed-item {
  display: block;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.15s ease, background 0.15s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.feed-item:hover {
  border-color: var(--accent);
  background: rgba(245,166,35,0.04);
}
.feed-item.in { opacity: 1; transform: translateY(0); }
.fi-cta {
  margin-left: auto;
  color: var(--accent);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.feed-item:hover .fi-cta { opacity: 1; }
.fi-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--ink-3);
  margin-bottom: 6px;
}
.fi-sev {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.fi-sev .sev-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.fi-sev.sev-1 { color: var(--sev-1); }   .fi-sev.sev-1 .sev-dot { background: var(--sev-1); }
.fi-sev.sev-2 { color: var(--sev-2); }   .fi-sev.sev-2 .sev-dot { background: var(--sev-2); }
.fi-sev.sev-3 { color: var(--sev-3); }   .fi-sev.sev-3 .sev-dot { background: var(--sev-3); }
.fi-sev.sev-4 { color: var(--sev-4); }   .fi-sev.sev-4 .sev-dot { background: var(--sev-4); }
.fi-sev.sev-5 { color: var(--sev-5); }   .fi-sev.sev-5 .sev-dot { background: var(--sev-5); }
.fi-title { font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.35; margin-bottom: 6px; }
.fi-meta { font-size: 12px; color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; }
.fi-meta b { color: var(--ink-2); font-weight: 500; }

.feed-foot {
  border-top: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 12px;
  color: var(--ink-3);
}
.feed-foot code { font-family: var(--mono); color: var(--ink-2); }
.feed-foot-link {
  display: block;
  color: var(--ink-3);
  transition: color 0.15s ease;
}
.feed-foot-link:hover { color: var(--accent); }
.feed-foot-link:hover code { color: var(--accent); }

/* ============================================================
   COUNTER-POSITIONING STRIP
   ============================================================ */
.counterpos {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.counterpos-inner {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  justify-content: center; align-items: center;
  font-size: 12.5px; color: var(--ink-2);
}
.cp-item {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.005em;
}
.cp-icon { color: var(--accent); font-size: 8px; line-height: 1; }

/* ============================================================
   PARTNERS STRIP
   ============================================================ */
.partners {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 26px 0 22px;
}
.partners-label {
  text-align: center;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 16px;
}
.partners-grid {
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  justify-content: center; align-items: center;
}
.plogo {
  font-family: var(--serif);
  font-weight: 600; font-size: 16px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.plogo:hover { color: var(--ink); border-color: var(--line-2); }
.partners-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  max-width: 720px;
  margin: 18px auto 0;
  line-height: 1.5;
  font-style: italic;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  padding: 28px 24px;
}
@media (min-width: 760px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-grid > div { display: flex; flex-direction: column; gap: 4px; }
.strip-grid strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.strip-grid strong small { font-size: 0.55em; color: var(--ink-3); margin-left: 2px; }
.strip-grid span { font-size: 12.5px; color: var(--ink-3); }
.strip-grid span small { color: var(--accent); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; margin-left: 6px; }
.strip-foot { font-size: 11px; color: var(--ink-3); padding: 8px 24px 18px; text-align: center; font-style: italic; }
.strip-foot code { font-family: var(--mono); color: var(--ink-2); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.section-head p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ============================================================
   STEPS (workflow)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent);
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.step-mock {
  margin-top: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
}

/* search mock */
.search-mock .mock-input {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-icon { color: var(--accent); font-size: 16px; }
.mock-text { color: var(--ink); font-family: var(--mono); }
.search-mock .mock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.search-mock .mock-chips span {
  font-size: 11.5px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

/* brief mock */
.brief-mock { display: flex; align-items: center; justify-content: center; min-height: 170px; }
.brief-doc {
  width: 88%;
  background: #f6f1e8;
  color: #1a1206;
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 11px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  position: relative;
}
.brief-classification {
  font-size: 9px; letter-spacing: 0.18em; color: #b8821a;
  border-bottom: 1px dashed #b8821a; padding-bottom: 4px; margin-bottom: 8px;
  text-align: center;
}
.brief-title { font-weight: 600; font-size: 12px; margin-bottom: 10px; }
.brief-line { height: 5px; background: #d6cdb9; border-radius: 2px; margin-bottom: 5px; }
.brief-line.w90 { width: 92%; } .brief-line.w70 { width: 70%; }
.brief-line.w80 { width: 82%; } .brief-line.w60 { width: 60%; }
.brief-foot { margin-top: 8px; font-size: 9px; color: #8a6710; }

/* forward mock */
.fwd-mock { display: flex; flex-direction: column; gap: 6px; }
.fwd-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; font-size: 12.5px; }
.fwd-label { color: var(--ink-3); font-family: var(--mono); font-size: 11px; }
.fwd-val { color: var(--ink); }
.fwd-val.mono { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.fwd-mock button { margin-top: 10px; align-self: flex-start; }

/* ============================================================
   ANIMATED OVERVIEW SVG
   ============================================================ */
.tour-svg-wrap {
  margin: 56px 0 28px;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
.tour-svg-wrap object {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg);
}
.tour-svg-wrap figcaption {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 10px 18px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  font-style: italic;
}

/* ============================================================
   SELF-GUIDED TOUR (workflow section)
   ============================================================ */
.tour {
  margin-top: 56px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tour-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
@media (min-width: 760px) { .tour-head { grid-template-columns: 1fr auto; gap: 24px; } }
.tour-head .kicker {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.tour-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 18px; line-height: 1.25; letter-spacing: -0.01em;
  margin: 0;
}
.tour-nav {
  display: flex; gap: 4px;
  background: var(--bg);
  padding: 4px; border-radius: 10px;
  border: 1px solid var(--line);
}
.tour-tab {
  background: transparent;
  color: var(--ink-2);
  border: none;
  font: 500 13px var(--sans);
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.tour-tab:hover { color: var(--ink); }
.tour-tab.is-active {
  background: var(--accent);
  color: #1a1206;
}
.tour-stage {
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.15));
}
.tour-panel { display: none; }
.tour-panel.is-active { display: block; animation: tour-fade 0.32s ease; }
@keyframes tour-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Step 1: Search — typing animation ── */
.tour-panel.is-active .ts-typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  animation: type-out 1.6s steps(36, end) 0.25s 1 both;
}
@keyframes type-out {
  from { max-width: 0; }
  to   { max-width: 28em; }
}
.tour-panel.is-active .ts-chip {
  opacity: 0;
  animation: chip-pop 0.4s ease forwards;
}
.tour-panel.is-active .ts-chip:nth-child(1) { animation-delay: 1.95s; }
.tour-panel.is-active .ts-chip:nth-child(2) { animation-delay: 2.10s; }
.tour-panel.is-active .ts-chip:nth-child(3) { animation-delay: 2.25s; }
.tour-panel.is-active .ts-chip:nth-child(4) { animation-delay: 2.40s; }
@keyframes chip-pop {
  from { opacity: 0; transform: translateY(4px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.tour-panel.is-active .ts-result {
  opacity: 0;
  animation: result-in 0.4s ease forwards;
}
.tour-panel.is-active .ts-result:nth-child(1) { animation-delay: 2.65s; }
.tour-panel.is-active .ts-result:nth-child(2) { animation-delay: 2.85s; }
.tour-panel.is-active .ts-result:nth-child(3) { animation-delay: 3.05s; }
@keyframes result-in {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Step 2: Brief — PDF lines fill in sequentially ── */
.tour-panel[data-panel="2"].is-active .ts-bl-i {
  opacity: 0;
  animation: bl-pop 0.35s ease forwards;
}
.tour-panel[data-panel="2"].is-active .ts-bl-i:nth-child(2) { animation-delay: 0.20s; }
.tour-panel[data-panel="2"].is-active .ts-bl-i:nth-child(3) { animation-delay: 0.40s; }
.tour-panel[data-panel="2"].is-active .ts-bl-i:nth-child(4) { animation-delay: 0.60s; }
@keyframes bl-pop {
  from { opacity: 0; transform: translateX(-4px); }
  to   { opacity: 1; transform: translateX(0); }
}
.tour-panel[data-panel="2"].is-active .ts-pdf .brief-line {
  transform-origin: left center;
  transform: scaleX(0);
  animation: pdf-line-fill 0.5s ease forwards;
}
.tour-panel[data-panel="2"].is-active .ts-pdf .brief-line:nth-child(1) { animation-delay: 1.0s; }
.tour-panel[data-panel="2"].is-active .ts-pdf .brief-line:nth-child(2) { animation-delay: 1.12s; }
.tour-panel[data-panel="2"].is-active .ts-pdf .brief-line:nth-child(3) { animation-delay: 1.24s; }
.tour-panel[data-panel="2"].is-active .ts-pdf .brief-line:nth-child(4) { animation-delay: 1.36s; }
.tour-panel[data-panel="2"].is-active .ts-pdf-foot {
  opacity: 0;
  animation: foot-in 0.6s ease 1.9s forwards;
}
@keyframes pdf-line-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes foot-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Step 3: Forward — audit trail items appear sequentially ── */
.tour-panel[data-panel="3"].is-active .ts-audit li {
  opacity: 0;
  animation: audit-in 0.45s ease forwards;
}
.tour-panel[data-panel="3"].is-active .ts-audit li:nth-child(1) { animation-delay: 0.30s; }
.tour-panel[data-panel="3"].is-active .ts-audit li:nth-child(2) { animation-delay: 0.85s; }
.tour-panel[data-panel="3"].is-active .ts-audit li:nth-child(3) { animation-delay: 1.40s; }
.tour-panel[data-panel="3"].is-active .ts-audit li:nth-child(4) { animation-delay: 1.95s; }
@keyframes audit-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .tour-panel.is-active .ts-typed,
  .tour-panel.is-active .ts-chip,
  .tour-panel.is-active .ts-result,
  .tour-panel[data-panel="2"].is-active .ts-bl-i,
  .tour-panel[data-panel="2"].is-active .ts-pdf .brief-line,
  .tour-panel[data-panel="2"].is-active .ts-pdf-foot,
  .tour-panel[data-panel="3"].is-active .ts-audit li {
    animation: none;
    opacity: 1;
    transform: none;
    max-width: none;
  }
}
.tour-cap {
  margin-top: 14px;
  font-size: 13px; color: var(--ink-2);
  text-align: center;
  line-height: 1.55;
}
.tour-cap strong { color: var(--ink); font-weight: 600; }
.tour-cap em { color: var(--accent); font-style: normal; font-weight: 500; }
.tour-cap a { color: var(--accent); font-weight: 500; }
.tour-cap a:hover { color: var(--accent-2); }

/* ── Tour "screen" — looks like the IMS console ── */
.tour-screen {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
}
.ts-header {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.ts-tab {
  padding: 6px 10px; border-radius: 6px;
  color: var(--ink-3);
  cursor: default;
}
.ts-tab.is-current { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }
.ts-spacer { flex: 1; }
.ts-user { color: var(--ink-3); font-family: var(--mono); font-size: 11px; }

/* search panel */
.ts-search { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ts-searchbar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--mono);
}
.ts-icon { color: var(--accent); font-size: 14px; }
.ts-typed { color: var(--ink); }
.ts-caret {
  display: inline-block; width: 1px; height: 14px;
  background: var(--accent);
  animation: caret-blink 1s steps(2, start) infinite;
  margin-left: 2px;
}
@keyframes caret-blink { to { visibility: hidden; } }

.ts-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-chip {
  font: 500 12px var(--sans);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-3);
  cursor: default;
}
.ts-chip.is-on {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245,166,35,0.06);
}
.ts-result-count {
  font-size: 11.5px; color: var(--ink-3);
  font-family: var(--mono);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
.ts-results { display: flex; flex-direction: column; gap: 8px; }
.ts-result {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.ts-result.is-selected {
  border-color: var(--accent);
  background: rgba(245,166,35,0.04);
}
.ts-r-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-bottom: 4px; }
.ts-r-time { font-family: var(--mono); }
.ts-r-title { color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.35; margin-bottom: 4px; }
.ts-r-meta { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); }

/* brief panel */
.ts-brief {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
}
@media (min-width: 760px) { .ts-brief { grid-template-columns: 1fr 1.3fr; } }
.ts-brief-list {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.ts-bl-h { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.ts-bl-i {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12.5px; color: var(--ink-2);
}
.ts-bl-i span { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.ts-genbtn { margin-top: 6px; align-self: stretch; justify-content: center; }

.ts-brief-preview { display: flex; align-items: center; justify-content: center; }
.ts-pdf {
  width: 100%; max-width: 280px;
  background: #f6f1e8;
  color: #1a1206;
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.ts-pdf-banner { font-size: 8px; letter-spacing: 0.18em; color: #b8821a; border-bottom: 1px dashed #b8821a; padding-bottom: 4px; margin-bottom: 8px; text-align: center; font-weight: 600; }
.ts-pdf-title { font-weight: 700; font-size: 11px; line-height: 1.25; margin-bottom: 2px; }
.ts-pdf-sub { color: #7a5a10; font-size: 8px; margin-bottom: 10px; line-height: 1.4; }
.ts-pdf-section { margin-bottom: 10px; }
.ts-pdf-h { font-weight: 700; font-size: 9px; margin-bottom: 5px; color: #1a1206; }
.ts-pdf-foot { margin-top: 10px; padding-top: 6px; border-top: 1px solid #c8b88a; font-size: 8px; color: #8a6710; }

/* forward panel */
.ts-forward {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
}
@media (min-width: 760px) { .ts-forward { grid-template-columns: 1fr 1fr; } }
.ts-fwd-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ts-fwd-h { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.06em; }
.ts-fwd-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; font-size: 12.5px; }
.ts-fwd-l { color: var(--ink-3); font-family: var(--mono); font-size: 11px; }
.ts-fwd-v { color: var(--ink); }
.ts-fwd-v.mono { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.ts-fwd-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }

.ts-fwd-after {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.ts-after-h { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.ts-audit { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ts-audit li {
  font-size: 12px; color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.ts-audit li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}
.ts-audit-t { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); display: block; margin-bottom: 1px; }

/* ============================================================
   AUDIENCES
   ============================================================ */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) { .aud-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.aud-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.aud-card-featured {
  border-color: rgba(245,166,35,0.4);
  background: linear-gradient(180deg, rgba(245,166,35,0.06), transparent 60%), var(--bg);
}
.aud-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,166,35,0.12);
  color: var(--accent);
  font-size: 18px;
}
.aud-card h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0; letter-spacing: -0.01em; }
.aud-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.aud-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; }
.aud-card li {
  font-size: 13.5px; color: var(--ink-2);
  padding-left: 18px; position: relative;
}
.aud-card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border: 1px solid var(--accent);
  border-radius: 2px; transform: rotate(45deg);
}
.aud-cta {
  margin-top: auto;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.aud-cta:hover { color: var(--accent-2); }

/* ============================================================
   ANATOMY
   ============================================================ */
.anatomy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
@media (min-width: 980px) { .anatomy { grid-template-columns: 1.4fr 1fr; gap: 28px; } }

.anatomy-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.ac-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--ink-3);
  margin-bottom: 14px;
}
.ac-sev {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}
.ac-sev .sev-dot { width: 8px; height: 8px; border-radius: 50%; }
.ac-sev.sev-3 { color: var(--sev-3); }
.ac-sev.sev-3 .sev-dot { background: var(--sev-3); }
.ac-time { font-family: var(--mono); }

.ac-title { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 0 0 12px; line-height: 1.25; letter-spacing: -0.01em; }
.ac-geo { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ac-pill {
  font-size: 11.5px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.ac-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ac-label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.ac-sources { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ac-sources li {
  display: grid;
  grid-template-columns: 160px 80px 1fr;
  gap: 12px;
  font-size: 13px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.src-name { color: var(--ink); font-weight: 500; }
.src-time { color: var(--ink-3); font-family: var(--mono); font-size: 12px; }
.src-link { color: var(--ink-2); }
.ac-suggest { color: var(--ink-2); font-size: 13.5px; margin: 0; }

.ac-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.anatomy-side .aside-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.aside-h {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.anatomy-side ol {
  list-style: none; counter-reset: a; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.anatomy-side li {
  counter-increment: a;
  position: relative;
  padding-left: 32px;
  font-size: 13.5px; color: var(--ink-2);
}
.anatomy-side li::before {
  content: counter(a, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 11px;
  color: var(--accent);
  border: 1px solid var(--line-2);
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.anatomy-side strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   VERIFY
   ============================================================ */
.verify-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) { .verify-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ver-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.ver-num {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,166,35,0.12);
  color: var(--accent);
  font-family: var(--mono); font-weight: 600;
}
.ver-card h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0; letter-spacing: -0.01em; }
.ver-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.ver-card em { color: var(--accent); font-style: normal; font-weight: 500; }
.ver-card strong { color: var(--ink); }

/* ============================================================
   COMPARE
   ============================================================ */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}
.compare thead th {
  text-align: left;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-size: 13px;
}
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td.yes     { color: var(--good); font-weight: 600; }
.compare td.no      { color: var(--ink-3); }
.compare td.partial { color: var(--warn); font-weight: 500; }
.compare-note { color: var(--ink-3); font-size: 13px; margin-top: 18px; text-align: center; }
.compare-note em { color: var(--ink-2); font-style: italic; }

/* ============================================================
   SECURITY GRID
   ============================================================ */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 760px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
.sec-cell {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.sec-cell strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.sec-cell span { color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.sec-note {
  margin-top: 22px; max-width: 720px;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.55;
  font-style: italic;
  border-left: 2px solid var(--line-2);
  padding-left: 14px;
}

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.price-card-featured {
  border-color: rgba(245,166,35,0.45);
  background: linear-gradient(180deg, rgba(245,166,35,0.06), transparent 60%), var(--bg-2);
  box-shadow: 0 14px 40px rgba(245,166,35,0.08);
}
.price-flag {
  position: absolute; top: -10px; left: 24px;
  background: var(--accent); color: #1a1206;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
}
.price-name { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); }
.price-amount { display: flex; align-items: baseline; gap: 6px; }
.price-amount .amt { font-family: var(--serif); font-weight: 600; font-size: 36px; letter-spacing: -0.01em; color: var(--ink); }
.price-amount .per { font-size: 13px; color: var(--ink-3); }
.price-desc { color: var(--ink-2); font-size: 14px; margin: 0; }
.price-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.price-list li {
  font-size: 13.5px; color: var(--ink-2);
  padding-left: 22px; position: relative;
}
.price-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 600;
}
.price-card .btn { margin-top: auto; }

/* ============================================================
   RESOURCES
   ============================================================ */
.res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) { .res-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.res-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.res-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.res-tag {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.res-card h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0; letter-spacing: -0.01em; }
.res-card p { color: var(--ink-2); font-size: 14px; margin: 0; }
.res-cta {
  margin-top: auto;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.res-cta:hover { color: var(--accent-2); }

/* ============================================================
   FOUNDING PARTNERS
   ============================================================ */
.founding-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 980px) {
  .founding-wrap { grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
}
.founding-copy .kicker {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.founding-copy h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.founding-copy > p { color: var(--ink-2); font-size: 16px; margin: 0 0 22px; max-width: 60ch; }
.founding-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.founding-list li {
  font-size: 14px; color: var(--ink-2);
  padding-left: 24px; position: relative;
}
.founding-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border: 1px solid var(--accent);
  border-radius: 2px; transform: rotate(45deg);
}
.founding-list strong { color: var(--ink); font-weight: 600; }

.founding-side {
  display: flex; flex-direction: column; gap: 18px;
}
.founding-honest {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 22px 22px 18px;
}
.fh-h {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; font-weight: 600;
}
.fh-p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.fh-p:last-child { margin-bottom: 0; }
.fh-p strong { color: var(--ink); font-weight: 600; }
.fh-p a { color: var(--accent); }
.fh-p a:hover { color: var(--accent-2); }
.founding-quotes {
  display: flex; flex-direction: column; gap: 14px;
}
.fquote {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.fquote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.fquote figcaption {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
}
.fquote figcaption strong {
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 600;
}
.founding-stats-mini {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 13px; color: var(--ink-2);
  padding-top: 6px;
}
.founding-stats-mini strong {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  margin-right: 4px;
}
.founding-stats-mini .dot-sep { color: var(--ink-3); }
.fstat-note {
  font-size: 12px; color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 12px; line-height: 1.5;
}

/* ============================================================
   SIGNAL-TO-ACTION CLOSER
   ============================================================ */
.signal-section {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(245,166,35,0.10), transparent 60%),
    var(--bg);
  text-align: center;
  padding: 100px 24px;
}
.signal-wrap { max-width: 720px; margin: 0 auto; }
.signal-wrap .kicker {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.signal-wrap h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.signal-wrap p { color: var(--ink-2); font-size: 17px; margin: 0 0 28px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 18px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 500;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.18s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; }
.faq details em { color: var(--ink); font-style: italic; }
.faq code { font-family: var(--mono); color: var(--ink-2); font-size: 12.5px; }

/* ============================================================
   CLOSING / CONTACT
   ============================================================ */
.closing {
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(245,166,35,0.10), transparent 60%),
    var(--bg);
}
.closing-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 980px) { .closing-wrap { grid-template-columns: 0.95fr 1.1fr; gap: 56px; } }
.closing-copy h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.closing-copy p { color: var(--ink-2); font-size: 16px; margin: 0 0 14px; }
.closing-link a { color: var(--accent); font-weight: 500; }
.closing-link a:hover { color: var(--accent-2); }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; color: var(--ink-3);
  font-weight: 500;
}
.contact-form label.full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: 8px;
  padding: 11px 12px;
  font: 14px var(--sans);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
}
.contact-form textarea { resize: vertical; min-height: 84px; font-family: var(--sans); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-note { color: var(--ink-3); font-size: 12.5px; }
.form-thanks { padding: 20px 0; text-align: center; }
.form-thanks-title { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.form-thanks-sub { color: var(--ink-2); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; } }
.footer .brand { margin-bottom: 12px; }
.foot-note { color: var(--ink-3); font-size: 13px; max-width: 32ch; }
.foot-h {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 12px;
}
.footer-grid a {
  display: block;
  color: var(--ink-2);
  font-size: 14px;
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--ink); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12px; color: var(--ink-3);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .feed-item { transition: none; }
}
