/* ---------- TOKENS (tweakable block) ---------- */
section[data-page] { display: none; }
section[data-page].is-active { display: block; animation: pageFade .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-links a[data-nav] {
  position: relative; padding: 6px 0;
}
.nav-links a[data-nav].active {
  color: var(--navy);
}
.nav-links a[data-nav].active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
}
.nav-links a[data-nav] .nav-ico {
  display: inline-block; margin-right: 6px; opacity: 0.5;
  vertical-align: -3px;
}
.nav-links a[data-nav].active .nav-ico { opacity: 1; color: var(--gold); }

:root {
  --navy: #1B3A6B;
  --navy-900: #0F2444;
  --navy-700: #1B3A6B;
  --navy-500: #2E5391;
  --gold: #C9A84C;
  --gold-soft: #E8D7A0;
  --bg: #FAFAF7;
  --surface: #F3F1EC;
  --surface-2: #EDEAE2;
  --ink: #14213D;
  --ink-soft: #4B5470;
  --ink-mute: #8A8F9F;
  --hairline: #DFD9CC;
  --hairline-strong: #C7BFAD;
  --white: #FFFFFF;

  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  --hindi: "Noto Serif Devanagari", Georgia, serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
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;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; margin-right: 8px; vertical-align: middle;
  transform: translateY(-1px);
}

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

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.logo img {
  height: 36px; width: auto; display: block;
  border-radius: 3px;
}
.logo .tm {
  font-size: 10px; color: var(--gold); font-family: var(--sans);
  align-self: flex-start; margin-top: 4px; letter-spacing: 0.04em;
}
.foot-logo img { height: 40px; width: auto; display: block; border-radius: 3px; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
}

.nav-toggle { display: none; }
.nav-meta { display: inline-flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 2px; font-size: 12px; font-weight: 600;
  background: var(--white);
}
.lang-toggle button {
  border: 0; background: transparent; padding: 4px 10px; border-radius: 999px;
  font: inherit; color: var(--ink-mute); cursor: pointer;
}
.lang-toggle button.on { background: var(--navy); color: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 2px;
  font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-900); border-color: var(--gold); font-weight: 600; }
.btn-primary:hover { background: #D9B85C; }
.btn-ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-light { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost-light:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.arrow { display: inline-block; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- HERO ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero::before {
  /* subtle pillared pattern (architectural/columnar — judicial) */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 120px 100%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px; top: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1, .hero p, .hero .eyebrow { color: var(--white); }
.hero .eyebrow { color: var(--gold-soft); }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-copy { max-width: 560px; }
.hero h1 .accent { color: var(--gold); font-style: italic; font-weight: 400; }
.hero h1 .divider {
  display: block; width: 56px; height: 2px; background: var(--gold);
  margin: 20px 0;
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 18px; line-height: 1.6;
  margin-top: 28px; max-width: 500px;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero-meta {
  display: flex; gap: 24px; margin-top: 48px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: rgba(255,255,255,0.6);
  font-family: var(--mono); letter-spacing: 0.04em;
}
.hero-meta span strong { color: var(--gold-soft); font-weight: 500; }

/* ---------- CHAT DEMO ---------- */
.chat-card {
  background: #FDFCF8;
  border-radius: 4px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.5),
    0 2px 0 rgba(201,168,76,0.3);
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  display: flex; flex-direction: column;
  height: 520px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.08);
}
.chat-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 30%, transparent 30%, transparent 100%);
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  background: var(--white);
}
.chat-head .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #37B26B;
  box-shadow: 0 0 0 0 rgba(55,178,107,0.5); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(55,178,107,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(55,178,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,178,107,0); }
}
.chat-head .title { font-weight: 600; font-size: 13px; }
.chat-head .ctx { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

.chat-body {
  flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: 2px; }

.msg { max-width: 88%; font-size: 13.5px; line-height: 1.55; opacity: 0; transform: translateY(6px); animation: msgIn .4s forwards; }
.msg.user { align-self: flex-end; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 12px 12px 2px 12px; }
.msg.ai { align-self: flex-start; color: var(--ink); max-width: 100%; }
.msg.ai .ai-head {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); font-weight: 500; margin-bottom: 6px;
}
.msg.ai .ai-head::before {
  content: "◆"; font-size: 9px;
}
.msg.ai .body { color: var(--ink); }
.msg.ai .citation {
  display: block; margin-top: 10px;
  padding: 10px 12px; border-left: 2px solid var(--gold);
  background: var(--surface);
  font-size: 12.5px;
  font-family: var(--serif);
}
.msg.ai .citation .cit-meta {
  display: block; font-family: var(--mono); font-size: 10.5px; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px;
}
.msg .hi { font-family: var(--hindi); }

@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }

.typing {
  display: inline-flex; gap: 3px; padding: 4px 0;
}
.typing span {
  width: 5px; height: 5px; background: var(--ink-mute); border-radius: 50%;
  animation: bounce 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-foot {
  border-top: 1px solid var(--hairline);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
}
.chat-input {
  flex: 1;
  border: 1px solid var(--hairline); border-radius: 2px;
  padding: 10px 12px; font: 13px var(--sans);
  background: var(--surface);
  color: var(--ink);
}
.chat-input:disabled {
  background: var(--surface-2);
  color: var(--ink-mute);
  cursor: not-allowed;
  font-style: italic;
  border-style: dashed;
  opacity: 0.85;
}
.chat-input:disabled::placeholder { color: var(--ink-mute); opacity: 1; }
.chat-send:disabled {
  background: var(--surface-2);
  color: var(--ink-mute);
  cursor: not-allowed;
  border: 1px solid var(--hairline);
  opacity: 0.6;
}
.chat-send {
  width: 36px; height: 36px; border-radius: 2px;
  background: var(--navy); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
}

.chat-suggest {
  padding: 0 18px 14px; display: flex; gap: 6px; flex-wrap: wrap;
  border-top: 1px dashed var(--hairline);
  padding-top: 12px;
  background: #FDFCF8;
}
.chat-chip {
  font-size: 11.5px; padding: 5px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink-soft);
  border: 1px solid var(--hairline);
  cursor: pointer;
}
.chat-chip:hover { border-color: var(--gold); color: var(--navy); }

/* ---------- STATS STRIP ---------- */
.stats {
  background: var(--navy-900);
  color: var(--white);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.1); }
.stat {
  background: var(--navy-900); padding: 28px 32px;
  display: flex; gap: 20px; align-items: center;
}
.stat-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--gold); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.stat-num {
  font-family: var(--serif); font-size: 32px; line-height: 1;
  color: var(--white); margin-bottom: 4px;
}
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- SECTION COMMON ---------- */
section { padding: 100px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; display: inline-block; }
.section-head p.lede {
  font-size: 19px; color: var(--ink-soft); margin-top: 18px; line-height: 1.55;
  max-width: 600px;
}

/* ---------- FEATURES (stacked rows) ---------- */
.features-list {
  border-top: 1px solid var(--hairline);
}
.feature-row {
  display: grid; grid-template-columns: 80px 1.3fr 1fr 1fr 120px;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
  transition: background .2s ease;
  position: relative;
}
.feature-row:hover { background: var(--surface); padding-left: 20px; padding-right: 20px; margin: 0 -20px; }
.feature-row:hover .feat-title { color: var(--navy); }
.feature-row:hover .feat-arrow { color: var(--gold); transform: translateX(4px); }

.feat-num {
  font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: 0.1em;
  padding-top: 6px;
}
.feat-main { }
.feat-title { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--ink); margin-bottom: 10px; transition: color .15s; }
.feat-desc { color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 360px; }
.feat-detail {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.55;
  border-left: 1px solid var(--hairline);
  padding-left: 20px;
}
.feat-detail strong { color: var(--ink); font-weight: 600; }
.feat-tags { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11px; }
.feat-tag {
  color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.feat-tag::before { content: "— "; color: var(--gold); }
.feat-arrow {
  justify-self: end; align-self: center;
  font-size: 20px; color: var(--ink-mute); transition: all .2s ease;
}

/* ---------- HOW IT WORKS ---------- */
.how { background: var(--surface); }
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.step {
  background: var(--bg); padding: 40px 32px;
  position: relative;
}
.step-num {
  font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--gold);
  margin-bottom: 20px; font-style: italic;
}
.step h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.step-visual {
  margin-top: 20px; padding: 12px; background: var(--surface);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft);
  border-left: 2px solid var(--gold);
}

/* ---------- WHY ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); }
.why-item:last-child { border-bottom: 0; }
.why-item .mark {
  width: 44px; height: 44px; border: 1px solid var(--navy); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-family: var(--serif); font-size: 16px;
}
.why-item h4 { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.why-item p { color: var(--ink-soft); font-size: 14.5px; }

.why-visual {
  background: var(--ink);
  color: var(--white);
  padding: 40px;
  border-radius: 2px;
  position: relative;
  min-height: 440px;
}
.why-visual .lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 28px;
}
.rag-diagram { display: flex; flex-direction: column; gap: 14px; }
.rag-node {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 16px; border-radius: 2px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.rag-node .n-lbl { color: rgba(255,255,255,0.9); }
.rag-node .n-meta { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.5); }
.rag-arrow { text-align: center; color: var(--gold); font-size: 14px; font-family: var(--mono); }
.rag-node.highlight { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.rag-node.highlight .n-meta { color: var(--gold); }

.about-brand {
  display: inline-block;
  margin-bottom: 36px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 32px -12px rgba(27,58,107,0.35), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.about-brand img {
  display: block;
  height: 84px; width: auto;
}

/* ---------- ABOUT ---------- */
.about-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.about-quote {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35;
  color: var(--ink); margin-bottom: 0;
  position: relative;
  padding: 0 40px;
}
.about-quote::before, .about-quote::after {
  content: "\""; font-family: var(--serif); font-size: 60px; color: var(--gold);
  position: absolute; line-height: 1;
}
.about-quote::before { left: 0; top: -8px; }
.about-quote::after { content: "\""; right: 0; bottom: -24px; }

.founder-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px 44px;
  margin: 64px auto 36px;
  border-top: 3px solid var(--gold);
  text-align: left;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(15,36,68,0.4);
}
.founder-card::before {
  content: "◆";
  position: absolute; top: 14px; right: 18px;
  color: var(--gold); font-size: 10px;
}
.founder-head { display: flex; gap: 22px; align-items: center; }
.founder-avatar {
  width: 68px; height: 68px;
  background: var(--gold); color: var(--navy-900);
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 50%;
}
.founder-name { font-family: var(--serif); font-size: 28px; color: var(--white); line-height: 1.1; letter-spacing: -0.01em; }
.founder-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.founder-creds { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }
.cred-pill {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  padding: 7px 12px;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.06);
  color: var(--gold);
  border-radius: 2px;
  text-transform: uppercase;
  line-height: 1.3;
}
.cred-pill strong { color: var(--white); font-weight: 600; margin-right: 4px; }
.founder-bio {
  color: rgba(255,255,255,0.82);
  font-size: 15px; line-height: 1.65;
  font-family: var(--sans);
}
.founder-bio strong { color: var(--gold); font-weight: 500; }

.about-meta {
  display: inline-grid; grid-template-columns: repeat(2, auto); gap: 48px;
  padding: 24px 36px;
  border: 1px solid var(--hairline);
  text-align: left;
  background: var(--white);
}
.about-meta div { }
.about-meta .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.about-meta .v { font-size: 14px; color: var(--ink); font-weight: 500; }

/* ---------- ROADMAP NOTE (Why section) ---------- */
.roadmap-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.32);
  border-left: 3px solid var(--gold);
  font-size: 14px; color: var(--ink-soft);
  display: flex; gap: 14px; align-items: center;
  border-radius: 2px;
  line-height: 1.45;
}
.rn-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  padding: 4px 9px; border: 1px solid var(--gold); border-radius: 2px;
  flex-shrink: 0;
  font-weight: 500;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(201,168,76,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
}
.cta-inner { text-align: center; position: relative; z-index: 2; }
.cta h2 { color: var(--white); max-width: 760px; margin: 0 auto 16px; }
.cta h2 .italic { font-style: italic; color: var(--gold); }
.cta p { color: rgba(255,255,255,0.7); margin-bottom: 40px; font-size: 17px; }
.cta-contacts {
  display: inline-flex; gap: 40px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13.5px; color: rgba(255,255,255,0.75);
}
.cta-contacts a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-900); color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
  font-size: 13px;
}
.foot-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-links { display: flex; gap: 28px; justify-content: center; }
.foot-links a { color: rgba(255,255,255,0.7); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot-social { display: flex; gap: 12px; justify-content: flex-end; }
.foot-social a {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none; font-size: 12px;
}
.foot-social a:hover { border-color: var(--gold); color: var(--gold); }
.foot-legal {
  padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.foot-legal .tm { color: var(--gold); }

/* ---------- GET STARTED MODAL ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 36, 68, 0.78);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
  animation: backdropIn .2s ease both;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  background: var(--bg);
  max-width: 760px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 56px 48px 44px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6);
  animation: modalIn .35s cubic-bezier(.2,.7,.2,1) both;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border: 1px solid var(--hairline-strong);
  background: var(--white);
  font-size: 18px; color: var(--ink-soft);
  cursor: pointer; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  transition: all .15s ease;
}
.modal-close:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.modal-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 14px;
}
.modal-eyebrow::before {
  content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}
.modal-head { text-align: center; margin-bottom: 36px; }
.modal-head h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1; margin-bottom: 14px; color: var(--ink);
  letter-spacing: -0.02em;
}
.modal-head h2 .accent { color: var(--gold); font-style: italic; font-weight: 400; }
.modal-head .modal-sub {
  color: var(--ink-soft); font-size: 16px; line-height: 1.5;
  max-width: 460px; margin: 0 auto;
}
.modal-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.modal-option {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
  transition: all .2s ease;
}
.modal-option:hover { border-color: var(--navy); transform: translateY(-2px); }
.modal-option.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.modal-option.featured:hover { border-color: var(--gold); }
.modal-option.featured h3 { color: var(--white); }
.modal-option.featured p { color: rgba(255,255,255,0.78); }
.mo-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
  padding: 4px 9px; border: 1px solid var(--hairline-strong);
  border-radius: 2px;
}
.modal-option.featured .mo-tag {
  border-color: var(--gold); color: var(--gold);
}
.modal-option h3 {
  font-family: var(--serif); font-size: 24px; line-height: 1.2;
  color: var(--ink); margin: 4px 0 0;
}
.modal-option p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0 0 8px; }
.modal-option .btn {
  width: 100%; justify-content: center;
  margin-top: auto;
}
.modal-option .btn-ghost-light:hover { background: var(--navy); color: var(--white); }
.modal-option.featured .btn-primary { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.modal-option.featured .btn-primary:hover { background: #D9B85C; }
.modal-foot {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.modal-foot strong { color: var(--gold); font-weight: 500; }

@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

body.modal-open { overflow: hidden; }

/* ---------- TWEAKS PANEL ---------- */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  width: 280px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  font-size: 13px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks-head {
  padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy);
}
.tweaks-head .close { cursor: pointer; color: var(--ink-mute); background: none; border: 0; font-size: 14px; }
.tweaks-body { padding: 14px 16px; max-height: 70vh; overflow-y: auto; }
.tw-row { margin-bottom: 16px; }
.tw-row label {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px;
}
.tw-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--hairline); cursor: pointer;
}
.tw-swatch.on { border-color: var(--ink); transform: scale(1.1); }
.tw-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 6px; cursor: pointer; }
.tw-check input { accent-color: var(--navy); }

/* ---------- HERO TRUST BADGES ---------- */
.hero-badges {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  max-width: 100%;
}
.hero-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 12px;
  font-size: 11.5px; line-height: 1.3;
  color: rgba(255,255,255,0.85);
  border-radius: 2px;
  text-align: center;
}
.hero-badge strong {
  display: block;
  font-family: var(--serif); font-size: 18px; color: var(--gold);
  font-weight: 400; margin-bottom: 2px;
}

/* ---------- WHO IT'S FOR (ROLES) ---------- */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 36px 32px;
  position: relative;
  transition: all .2s ease;
}
.role-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(27,58,107,0.18); }
.role-card .role-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  background: var(--navy); color: var(--white);
  margin-bottom: 24px;
}
.role-card.advocate .role-badge { background: var(--gold); color: var(--navy-900); }
.role-card.student .role-badge { background: var(--ink); color: var(--gold); }
.role-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 24px;
  border-radius: 2px;
}
.role-card h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 16px; }
.role-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.role-list li {
  font-size: 14px; color: var(--ink-soft);
  display: flex; gap: 10px; align-items: baseline;
  padding: 6px 0; border-bottom: 1px dashed var(--hairline);
}
.role-list li::before {
  content: "··";
  font-family: var(--mono); color: var(--gold); font-weight: 700;
  letter-spacing: -2px;
}
.role-list li:last-child { border-bottom: 0; }

/* ---------- CALCULATORS ---------- */
.calcs { background: var(--ink); color: var(--white); }
.calcs h2, .calcs .eyebrow, .calcs .lede { color: var(--white); }
.calcs .eyebrow { color: var(--gold); }
.calcs .lede { color: rgba(255,255,255,0.7); }
.calcs .section-head p.lede { color: rgba(255,255,255,0.7); }
.calc-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.calc-tab {
  padding: 16px 28px;
  background: transparent; border: 0;
  font: 500 14px var(--sans); color: rgba(255,255,255,0.5);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex; align-items: center; gap: 10px;
}
.calc-tab .num { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.4); }
.calc-tab.on { color: var(--white); border-bottom-color: var(--gold); }
.calc-tab.on .num { color: var(--gold); }
.calc-tab:hover { color: var(--white); }
.calc-panel { display: none; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.calc-panel.on { display: grid; }
.calc-info .calc-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--gold); color: var(--gold);
  border-radius: 2px; margin-bottom: 20px;
}
.calc-info h3 { font-family: var(--serif); font-size: 32px; color: var(--white); margin-bottom: 8px; line-height: 1.15; }
.calc-info .calc-sub { color: var(--gold); font-size: 14px; margin-bottom: 20px; font-family: var(--mono); letter-spacing: 0.04em; }
.calc-info p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.65; margin-bottom: 28px; }
.calc-info .btn-primary { color: var(--navy-900); }
.calc-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 28px;
}
.calc-visual .lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.calc-steps { display: flex; flex-direction: column; gap: 6px; }
.calc-step {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid transparent;
  font-size: 13.5px;
}
.calc-step.active { border-left-color: var(--gold); background: rgba(201,168,76,0.08); }
.calc-step .sn { font-family: var(--mono); font-size: 11px; color: var(--gold); }
.calc-step .sl { color: rgba(255,255,255,0.9); }
.calc-step .ss { font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,0.4); }
.state-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.state-table th, .state-table td {
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.state-table th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; font-weight: 500; }
.state-table td { color: rgba(255,255,255,0.85); }
.state-table tr.hl td { background: rgba(201,168,76,0.06); color: var(--white); }
.state-table tr.hl td:last-child { color: var(--gold); font-weight: 500; }
.appeal-math {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.appeal-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}
.appeal-row .al { color: rgba(255,255,255,0.7); font-size: 13px; }
.appeal-row .av { font-family: var(--serif); font-size: 20px; color: var(--white); }
.appeal-row.total { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.appeal-row.total .av { color: var(--gold); }

/* ---------- WORKFLOW STAGES ---------- */
.workflow { background: var(--surface); }
.wf-track { margin-top: 36px; }
.wf-track + .wf-track { margin-top: 56px; }
.wf-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline-strong);
}
.wf-name { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.wf-name .wf-pre { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 4px; }
.wf-count { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.08em; }
.wf-count strong { color: var(--navy); }
.wf-stages {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px;
  position: relative;
}
.wf-stage {
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  text-align: center;
  padding: 16px 6px 0;
  position: relative;
}
.wf-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  font-weight: 500;
  position: relative; z-index: 2;
  transition: all .2s ease;
}
.wf-stage.done .wf-dot { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wf-stage.now .wf-dot { background: var(--gold); border-color: var(--gold); color: var(--navy-900); transform: scale(1.18); box-shadow: 0 0 0 4px rgba(201,168,76,0.15); }
.wf-stage::after {
  content: ""; position: absolute; top: 30px; right: -50%; width: 100%; height: 2px;
  background: var(--hairline-strong);
  z-index: 1;
}
.wf-stage:last-child::after { display: none; }
.wf-stage.done::after { background: var(--navy); }
.wf-lbl { font-size: 11px; color: var(--ink-soft); line-height: 1.3; font-weight: 500; }
.wf-stage.now .wf-lbl { color: var(--navy); font-weight: 600; }

/* ---------- SECTION CONVERTER EXPLAINER ---------- */
.sc-table {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  border: 1px solid var(--hairline);
  background: var(--white);
}
.sc-row { display: contents; }
.sc-cell { padding: 24px 28px; border-bottom: 1px solid var(--hairline); }
.sc-row:last-child .sc-cell { border-bottom: 0; }
.sc-old { background: var(--surface); }
.sc-arrow { text-align: center; color: var(--gold); font-size: 22px; background: var(--surface); }
.sc-row.head .sc-cell {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); padding: 14px 28px; background: var(--white);
}
.sc-row.head .sc-arrow { background: var(--white); color: var(--ink-mute); }
.sc-cell .law { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.sc-cell .sublaw { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.08em; }
.sc-new .law { color: var(--navy); }

.sc-demo {
  margin-top: 48px;
  background: var(--ink); color: var(--white);
  padding: 36px;
  display: grid; grid-template-columns: 1fr 60px 1fr; gap: 28px; align-items: center;
  border-radius: 2px;
}
.sc-demo .demo-lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.sc-demo-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 14px 18px;
  font: 16px var(--sans);
  color: var(--white);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 22px;
}
.sc-demo-arrow {
  text-align: center;
  font-family: var(--serif); font-size: 32px; color: var(--gold);
  font-style: italic;
}
.sc-demo-result {
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold);
  padding: 14px 18px;
  border-radius: 2px;
}
.sc-demo-result .res-val { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.sc-demo-result .res-meta { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* ---------- LEGAL RESOURCES LIBRARY ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lib-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .2s ease;
}
.lib-card:hover { border-color: var(--navy); box-shadow: 0 16px 32px -16px rgba(27,58,107,0.16); }
.lib-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.lib-year {
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.lib-tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
  background: var(--surface); color: var(--navy);
  border: 1px solid var(--hairline);
  white-space: nowrap;
}
.lib-tag.ni { background: var(--navy); color: var(--white); border-color: var(--navy); }
.lib-tag.mact { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.lib-tag.both { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.lib-card h3 { font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.lib-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.06em; margin-top: 2px; }
.lib-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--hairline);
}
.lib-foot a {
  font-size: 13px; color: var(--navy); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.lib-foot a:hover { color: var(--gold); }
.lib-ext {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--hairline);
}
.lib-ext-lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-right: 12px; align-self: center; }
.lib-ext a {
  font-size: 13px; color: var(--ink-soft); text-decoration: none;
  padding: 8px 14px; border: 1px solid var(--hairline-strong);
  border-radius: 2px;
}
.lib-ext a:hover { border-color: var(--gold); color: var(--navy); }

/* ---------- TRUST + TESTIMONIALS ---------- */
.trust { background: var(--surface); }
.trust-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 0; }
.trust-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  text-align: left;
}
.trust-card .ico {
  width: 44px; height: 44px;
  border: 1px solid var(--navy); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  margin-bottom: 20px;
}
.trust-card h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.trust-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.testi {
  background: var(--bg);
  border: 1px solid var(--hairline);
  padding: 32px 28px;
  position: relative;
}
.testi::before {
  content: "“";
  position: absolute; top: 8px; left: 20px;
  font-family: var(--serif); font-size: 60px; color: var(--gold); line-height: 1;
}
.testi blockquote {
  margin: 24px 0 24px;
  font-family: var(--serif); font-size: 17px; line-height: 1.5;
  color: var(--ink);
}
.testi-by { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--hairline); }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  flex-shrink: 0;
}
.testi-meta .nm { font-size: 14px; color: var(--ink); font-weight: 600; }
.testi-meta .rl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; text-align: left;
  font-family: var(--serif); font-size: 19px; color: var(--ink); line-height: 1.3;
}
.faq-q:hover { color: var(--navy); }
.faq-toggle {
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1px solid var(--hairline-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); color: var(--navy); font-size: 14px;
  transition: all .2s ease;
}
.faq-item.open .faq-toggle { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); color: var(--navy-900); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--ink-soft); font-size: 15px; line-height: 1.65;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 28px; }
.faq-a strong { color: var(--ink); }

/* ---------- 4-COL FOOTER ---------- */
.foot-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-col h5 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13.5px; }
.foot-col a:hover { color: var(--gold); }
.foot-brand .foot-logo { margin-bottom: 18px; }
.foot-brand p {
  color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.6; margin-bottom: 14px;
  max-width: 280px;
}
.foot-brand .built {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.4);
}
.foot-brand .built strong { color: var(--gold); font-weight: 500; }
.foot-bottom {
  padding-top: 24px; display: flex; justify-content: space-between; gap: 24px;
  font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap;
}
.foot-bottom .tm { color: var(--gold); }
.foot-disclaimer { font-style: italic; max-width: 540px; }

/* ---------- CTA BETA BADGE ---------- */
.cta-beta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 20px;
}
.cta-beta::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(201,168,76,0.6);
  animation: pulse 2s infinite;
}

/* ---------- HOME TESTIMONIAL STRIP ---------- */
.voices { background: var(--bg); padding: 80px 0 100px; }
.voices .v-head {
  text-align: center;
  margin-bottom: 48px;
}
.voices .v-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.voices .v-head h2 { font-size: clamp(26px, 3vw, 36px); }
.voices-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.voice {
  position: relative;
  flex: 1 1 calc(33.333% - 12px);
  min-width: 240px;
  max-width: 320px;
  padding: 22px 20px 18px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.voice blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}
.voice .v-by {
  display: flex; align-items: center; gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}
.voice .v-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-family: var(--serif); font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.voice .v-meta .v-nm { font-size: 12px; font-weight: 600; color: var(--ink); }
.voice .v-meta .v-rl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }

/* ---------- PRODUCT TOUR (screenshots) ---------- */
.tour { background: var(--bg); }
.tour-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}
.tour-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s ease;
}
.tour-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -20px rgba(27,58,107,0.18);
}
.tour-card.wide { grid-column: span 4; }
.tour-card.half { grid-column: span 2; }
.tour-card.third { grid-column: span 2; }
.tour-shot {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.tour-shot img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
}
.tour-card.wide .tour-shot { aspect-ratio: 16 / 9; }
.tour-card.half .tour-shot, .tour-card.third .tour-shot { aspect-ratio: 4 / 3; }
.tour-shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 80%, rgba(20,33,61,0.04) 100%);
  pointer-events: none;
}
.tour-cap {
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.tour-cap .role {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy); font-weight: 500;
  width: fit-content;
}
.tour-cap .role::before { content: "◆"; color: var(--gold); font-size: 8px; }
.tour-cap h4 {
  font-family: var(--serif); font-size: 19px; line-height: 1.25; color: var(--ink);
  margin: 0;
}
.tour-cap p {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.55;
}
.tour-note {
  margin-top: 36px;
  padding-top: 24px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute);
}
.tour-note .lbl { color: var(--navy); }
.tour-note .lbl strong { color: var(--gold); font-weight: 500; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  /* ----- NAV: always-visible compact icon nav ----- */
  .nav { position: relative; }
  .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; row-gap: 8px; }
  .nav-toggle { display: none !important; }
  .nav-meta { order: 2; margin-left: auto; gap: 8px; }
  .nav-meta .btn-primary { padding: 9px 14px; font-size: 12px; }
  .nav-links {
    display: flex !important;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 0 0;
    margin-top: 4px;
    border-top: 1px solid var(--hairline);
  }
  .nav-links a[data-nav] {
    flex: 1 1 calc(33.333% - 4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 4px;
    font-size: 11px;
    text-align: center;
    border-radius: 4px;
    min-width: 0;
  }
  .nav-links a[data-nav] .nav-ico {
    margin-right: 0;
    width: 20px;
    height: 20px;
    opacity: 0.7;
  }
  .nav-links a[data-nav].active {
    background: var(--surface);
    color: var(--navy);
  }
  .nav-links a[data-nav].active::after { display: none; }
  .nav-links a[data-nav].active .nav-ico { opacity: 1; color: var(--gold); }

  /* ----- HERO ----- */
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-sub { font-size: 16px; }
  .hero-meta { flex-direction: column; gap: 10px; font-size: 11px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .chat-card { height: 440px; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .hero-badge { font-size: 11px; padding: 8px 10px; }
  .hero-badge strong { font-size: 16px; }

  /* ----- STATS ----- */
  .stats-grid { grid-template-columns: 1fr; }

  /* ----- ROLES ----- */
  .roles-grid { grid-template-columns: 1fr; gap: 16px; }
  .role-card { padding: 28px 24px; }

  /* ----- FEATURES ----- */
  .feature-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 28px 0; }
  .feature-row:hover { padding-left: 0; padding-right: 0; margin: 0; background: transparent; }
  .feat-detail, .feat-tags, .feat-arrow { grid-column: 2; padding-left: 0; border-left: 0; }
  .feat-arrow { display: none; }
  .feat-title { font-size: 22px; }

  /* ----- HOW IT WORKS ----- */
  .how-steps { grid-template-columns: 1fr; }

  /* ----- CALCULATORS ----- */
  .calc-panel.on { grid-template-columns: 1fr; gap: 32px; }
  .calc-tabs { gap: 4px; }
  .calc-tab { padding: 12px 14px; font-size: 13px; flex: 1 1 auto; min-width: 0; }
  .calc-info h3 { font-size: 26px; }
  .calc-visual { padding: 20px; }
  .state-table th, .state-table td { padding: 8px 8px; font-size: 12px; }

  /* ----- WORKFLOW (vertical on mobile) ----- */
  .wf-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .wf-stages {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .wf-stage {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 10px 0 10px 4px;
    gap: 14px;
    justify-content: flex-start;
  }
  .wf-stage::after {
    top: auto; bottom: auto;
    left: 17px; right: auto;
    width: 2px; height: calc(100% - 28px);
    transform: translateY(28px);
  }
  .wf-dot { width: 32px; height: 32px; }
  .wf-lbl { font-size: 14px; text-align: left; }
  .wf-stage.now .wf-dot { transform: scale(1.1); }

  /* ----- WHY ----- */
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { padding: 28px; min-height: auto; }

  /* ----- SECTION CONVERTER ----- */
  .sc-table { grid-template-columns: 1fr; }
  .sc-cell { padding: 20px 22px; }
  .sc-arrow { display: none; }
  .sc-row.head .sc-cell { display: none; }
  .sc-row.head .sc-cell:first-child { display: block; }
  .sc-demo { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .sc-demo-arrow { transform: rotate(90deg); font-size: 24px; }
  .sc-demo-input, .sc-demo-result .res-val { font-size: 18px; }

  /* ----- LIBRARY ----- */
  .lib-grid { grid-template-columns: 1fr; }
  .lib-ext { flex-direction: column; align-items: flex-start; }
  .lib-ext-lbl { margin-bottom: 8px; }

  /* ----- TRUST + TESTIMONIALS ----- */
  .trust-pillars { grid-template-columns: 1fr; margin-bottom: 48px; gap: 16px; }
  .testi-grid { grid-template-columns: 1fr; gap: 14px; }
  .testi { padding: 28px 24px; }
  .testi blockquote { font-size: 16px; }

  /* ----- TOUR ----- */
  .tour-grid { grid-template-columns: 1fr; gap: 16px; }
  .tour-card.wide, .tour-card.half, .tour-card.third { grid-column: span 1; }
  .tour-card .tour-shot { aspect-ratio: 16 / 10 !important; }
  .tour-note { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ----- VOICES (home testimonials) ----- */
  .voices { padding: 56px 0 64px; }
  .voices-grid { flex-direction: column; gap: 14px; align-items: stretch; }
  .voice { padding: 24px 22px; max-width: none; min-width: 0; flex: 1 1 100%; }
  .voice blockquote { font-size: 17px; }

  /* ----- ABOUT ----- */
  .about-meta { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .about-quote { font-size: 20px; padding: 0 24px; }
  .about-brand img { height: 64px; }
  .founder-card { padding: 28px 24px; margin-top: 40px; margin-bottom: 28px; }
  .founder-head { gap: 16px; }
  .founder-avatar { width: 56px; height: 56px; font-size: 22px; }
  .founder-name { font-size: 22px; }
  .founder-bio { font-size: 14px; }
  .cred-pill { font-size: 10px; padding: 6px 10px; }
  .roadmap-note { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; font-size: 13px; }

  /* ----- CTA ----- */
  .cta { padding: 72px 0; }
  .cta-contacts { flex-direction: column; gap: 14px; }

  /* ----- FAQ ----- */
  .faq-q { font-size: 16px; padding: 20px 0; gap: 16px; }
  .faq-toggle { width: 26px; height: 26px; }

  /* ----- FOOTER ----- */
  .foot-cols { grid-template-columns: 1fr; gap: 32px; padding-bottom: 28px; }
  .foot-bottom { flex-direction: column; gap: 12px; }

  /* ----- TWEAKS PANEL ----- */
  .tweaks {
    right: 12px; left: 12px; bottom: 12px;
    width: auto;
    max-width: none;
  }

  /* ----- MODAL ----- */
  .modal { padding: 48px 24px 28px; max-height: 100vh; }
  .modal-options { grid-template-columns: 1fr; gap: 12px; }
  .modal-option { padding: 24px 22px; }
  .modal-option h3 { font-size: 22px; }
  .modal-head { margin-bottom: 28px; }
  .modal-close { width: 36px; height: 36px; top: 10px; right: 10px; }

  /* ----- SECTION COMMON ----- */
  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p.lede { font-size: 16px; }
  h2 { font-size: clamp(26px, 6vw, 36px); }
  .wrap { padding: 0 20px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 12px 0; }
  .logo img { height: 30px; }
  .calc-tabs { flex-direction: column; align-items: stretch; }
  .calc-tab { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .calc-tab.on { border-bottom-color: var(--gold); }
}
