:root {
  --paper: #E8E4DD;
  --signal: #6C5CE7;
  --signal-light: #A29BFE;
  --signal-glow: rgba(108, 92, 231, 0.12);
  --off-white: #F5F3EE;
  --black: #111111;
  --ink: #1A1A1A;
  --gray-200: #D5D1C9;
  --gray-400: #9E9A92;
  --gray-600: #6B6860;
  --sans: 'Space Grotesk', sans-serif;
  --serif: 'DM Serif Display', serif;
  --mono: 'Space Mono', monospace;
  --radius: 1.5rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); background: var(--off-white); color: var(--black); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* Noise overlay */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 14px 32px; border-radius: 100px; border: none;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  letter-spacing: 0.02em;
}
.btn:hover { transform: scale(1.03) translateY(-1px); }
.btn-fill { background: var(--signal); color: #fff; box-shadow: 0 2px 20px var(--signal-glow); }
.btn-fill:hover { box-shadow: 0 8px 32px rgba(108,92,231,0.25); }
.btn-fill .btn-bg {
  position: absolute; inset: 0; background: #5A4BD6;
  transform: translateY(100%); transition: transform 0.4s var(--ease-out);
  border-radius: inherit; z-index: 0;
}
.btn-fill:hover .btn-bg { transform: translateY(0); }
.btn-fill span { position: relative; z-index: 1; }
.btn-ghost-light { background: transparent; color: var(--paper); border: 1.5px solid rgba(255,255,255,0.15); }
.btn-ghost-light:hover { border-color: var(--signal-light); color: var(--signal-light); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 1000;
  background: transparent; border: 1px solid transparent; border-radius: 100px;
  padding: 10px 12px 10px 24px; display: flex; align-items: center; gap: 2rem;
  transition: all 0.5s var(--ease-out); max-width: 680px; width: calc(100% - 2rem);
}
.navbar.scrolled {
  background: rgba(245,243,238,0.7); backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-color: var(--gray-200); box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 20px; letter-spacing: 0.5px; white-space: nowrap; }
.nav-logo-mark {
  width: 32px; height: 32px; background: var(--black); border-radius: 7px;
  display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0;
}
.nav-logo-mark span { color: #fff; font-size: 20px; font-weight: 400; }
.nav-logo-mark::after { content: ''; position: absolute; top: 4px; right: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-600); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--black); }
.nav-cta { font-size: 14px; font-weight: 600; color: #fff; background: var(--signal); padding: 9px 22px; border-radius: 100px; white-space: nowrap; transition: all 0.3s var(--ease-out); }
.nav-cta:hover { background: #5A4BD6; transform: translateY(-1px); }
.navbar:not(.scrolled) .nav-logo { color: var(--paper); }
.navbar:not(.scrolled) .nav-links a { color: rgba(232,228,221,0.85); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--paper); }

/* ---- HERO ---- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; padding: 0 2rem 6rem; background: var(--black); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 0%, rgba(17,17,17,0.6) 40%, rgba(17,17,17,0.3) 100%),
    url('https://images.unsplash.com/photo-1558591710-4b4a1ae0f04d?w=1800&q=80&auto=format') center/cover no-repeat;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-label { font-family: var(--mono); font-size: 11px; color: var(--signal-light); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.hero-label .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-light); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { margin-bottom: 2rem; }
.hero-line-1 { display: block; font-family: var(--sans); font-weight: 700; font-size: clamp(1.5rem,3.5vw,2.2rem); color: var(--paper); letter-spacing: -0.01em; line-height: 1.3; }
.hero-line-2 { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.5rem,9vw,7rem); color: var(--paper); line-height: 1.0; letter-spacing: -0.03em; margin-top: 0.1em; }
.hero-line-2 em { color: var(--signal-light); font-style: italic; }
.hero-sub { font-size: 1rem; color: var(--gray-400); max-width: 480px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 2rem; }
.trust-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { font-family: var(--mono); font-size: 12px; color: var(--gray-400); letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }

/* ---- FEATURES ---- */
.features { padding: 7rem 2rem; background: var(--off-white); }
.container { max-width: 1140px; margin: 0 auto; }
.section-label { font-family: var(--mono); font-size: 11px; color: var(--signal); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1rem; }
.features h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.75rem,3vw,2.5rem); letter-spacing: -0.02em; margin-bottom: 0.75rem; color: var(--black); }
.features > .container > p { font-size: 1.05rem; color: var(--gray-600); max-width: 520px; margin-bottom: 3.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.f-card {
  background: var(--paper); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 2rem; position: relative; overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column;
}
.f-card.revealed { transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.f-card.revealed:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.f-card h3 { font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; color: var(--black); }
.f-card > p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 1.5rem; }
.f-card-visual { flex: 1; display: flex; align-items: flex-end; }

/* Shuffler */
.shuffler { position: relative; width: 100%; height: 140px; }
.shuffler-card {
  position: absolute; left: 0; right: 0; background: var(--off-white);
  border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px 18px;
  font-family: var(--mono); font-size: 12px; color: var(--gray-600);
  transition: all 0.5s var(--ease-bounce); display: flex; align-items: center; gap: 10px;
}
.shuffler-card .s-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.shuffler-card:nth-child(1) { z-index: 3; bottom: 0; }
.shuffler-card:nth-child(2) { z-index: 2; bottom: 12px; transform: scale(0.96); opacity: 0.7; }
.shuffler-card:nth-child(3) { z-index: 1; bottom: 24px; transform: scale(0.92); opacity: 0.4; }

/* Typewriter */
.typewriter-box { width: 100%; background: var(--black); border-radius: var(--radius); padding: 16px 18px; height: 140px; overflow: hidden; }
.tw-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tw-live { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 1.5s ease-in-out infinite; }
.tw-label { font-family: var(--mono); font-size: 10px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 2px; }
.tw-text { font-family: var(--mono); font-size: 12px; color: var(--signal-light); line-height: 1.7; height: 82px; overflow: hidden; white-space: pre-wrap; word-break: break-word; }
.tw-cursor { display: inline-block; width: 7px; height: 14px; background: var(--signal); vertical-align: text-bottom; animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Scheduler */
.scheduler { width: 100%; }
.sched-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.sched-day {
  aspect-ratio: 1; border-radius: 10px; background: var(--off-white); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; color: var(--gray-400); transition: all 0.3s var(--ease-out);
}
.sched-day.active { background: var(--signal); color: #fff; border-color: var(--signal); transform: scale(0.95); }
.sched-save { font-family: var(--mono); font-size: 10px; color: var(--gray-400); text-align: right; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s; }
.sched-save.highlight { color: var(--signal); }
.sched-cursor { position: absolute; width: 16px; height: 16px; opacity: 0; pointer-events: none; z-index: 10; }

/* ---- PHILOSOPHY ---- */
.philosophy { padding: 8rem 2rem; background: var(--black); position: relative; overflow: hidden; }
.philosophy-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1557682250-33bd709cbe85?w=1400&q=60&auto=format') center/cover no-repeat; opacity: 0.06; }
.philosophy-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.phil-line-small { font-size: clamp(0.95rem,1.8vw,1.15rem); color: var(--gray-400); line-height: 1.7; margin-bottom: 2rem; max-width: 600px; }
.phil-line-big { font-family: var(--serif); font-style: italic; font-size: clamp(2rem,5vw,3.5rem); color: var(--paper); line-height: 1.2; letter-spacing: -0.02em; }
.phil-line-big em { color: var(--signal-light); font-style: italic; }

/* ---- PROTOCOL ---- */
.protocol { padding: 7rem 2rem; background: var(--off-white); }
.protocol-header { max-width: 1140px; margin: 0 auto 3.5rem; }
.protocol h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.75rem,3vw,2.5rem); letter-spacing: -0.02em; color: var(--black); }
.protocol-cards { display: flex; flex-direction: column; gap: 1.25rem; max-width: 1140px; margin: 0 auto; }
.proto-card {
  background: var(--paper); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 3rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem;
}
.proto-num { font-family: var(--mono); font-size: 64px; color: var(--gray-200); font-weight: 700; line-height: 1; }
.proto-text h3 { font-weight: 600; font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--black); }
.proto-text p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; max-width: 400px; }
.proto-visual { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.proto-visual svg { width: 60px; height: 60px; }

/* ---- PRIVACY DEEP ---- */
.privacy-deep { padding: 7rem 2rem; background: var(--black); }
.privacy-deep h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.75rem,3vw,2.5rem); letter-spacing: -0.02em; color: var(--paper); margin-bottom: 0.75rem; }
.privacy-deep > .container > p { font-size: 1rem; color: var(--gray-400); max-width: 520px; margin-bottom: 3.5rem; }
.priv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.priv-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); padding: 2rem; transition: border-color 0.3s var(--ease-out); }
.priv-card:hover { border-color: rgba(108,92,231,0.3); }
.priv-card h3 { font-weight: 600; font-size: 1.1rem; color: var(--paper); margin-bottom: 0.5rem; }
.priv-card p { font-size: 1rem; color: var(--gray-400); line-height: 1.7; }
.priv-card em { color: var(--signal-light); font-style: normal; font-weight: 500; }

/* ---- PRICING ---- */
.pricing { padding: 7rem 2rem; background: var(--off-white); }
.pricing h2 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.75rem,3vw,2.5rem); letter-spacing: -0.02em; color: var(--black); margin-bottom: 0.75rem; }
.pricing-intro { font-size: 1.05rem; color: var(--gray-600); max-width: 560px; margin-bottom: 3.5rem; line-height: 1.7; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pricing-card {
  background: var(--paper); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; flex-direction: column;
}
.pricing-card-label { font-family: var(--mono); font-size: 11px; color: var(--gray-400); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.25rem; }
.pricing-card-badge {
  font-family: var(--mono); font-size: 11px; color: #fff; letter-spacing: 2px; text-transform: uppercase;
  background: var(--signal); padding: 5px 14px; border-radius: 100px; align-self: flex-start; margin-bottom: 1.25rem;
}
.pricing-card-amount { font-family: var(--sans); font-weight: 700; font-size: clamp(1.75rem,3vw,2.5rem); color: var(--gray-400); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.pricing-card-amount span { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.pricing-card-amount--lex { color: var(--signal); }
.pricing-card-amount--lex span { color: var(--signal-light); }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.pricing-list li { font-size: 0.88rem; color: var(--gray-600); display: flex; align-items: center; gap: 10px; line-height: 1.5; }
.pricing-x { color: var(--gray-400); font-size: 0.75rem; flex-shrink: 0; width: 18px; text-align: center; }
.pricing-check { color: var(--signal); font-size: 0.85rem; font-weight: 700; flex-shrink: 0; width: 18px; text-align: center; }
.pricing-card-note { font-size: 0.8rem; color: var(--gray-400); line-height: 1.6; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--gray-200); }
.pricing-card--lex { border-color: var(--signal); box-shadow: 0 4px 24px var(--signal-glow); }
.pricing-card--how { border-color: var(--signal); box-shadow: 0 4px 24px var(--signal-glow); }
.pricing-how-steps { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; flex: 1; }
.pricing-step { display: flex; align-items: flex-start; gap: 12px; }
.pricing-step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--signal-glow); color: var(--signal);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pricing-step p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.5; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- WAITLIST ---- */
.waitlist { padding: 7rem 2rem; background: var(--paper); text-align: center; position: relative; overflow: hidden; }
.waitlist::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--signal-glow) 0%, transparent 60%);
  pointer-events: none;
}
.waitlist-inner { max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
.waitlist h2 { font-family: var(--serif); font-style: italic; font-size: clamp(2rem,4vw,3rem); color: var(--black); margin-bottom: 1rem; letter-spacing: -0.02em; }
.waitlist p { font-size: 1rem; color: var(--gray-600); margin-bottom: 2.5rem; line-height: 1.7; }
.waitlist .section-label { color: var(--signal); }
.waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.waitlist-form input { padding: 14px 20px; border-radius: 100px; border: 1.5px solid var(--gray-200); background: var(--off-white); color: var(--black); font-family: var(--sans); font-size: 14px; width: 280px; outline: none; transition: border-color 0.3s; }
.waitlist-form input::placeholder { color: var(--gray-400); }
.waitlist-form input:focus { border-color: var(--signal); }
#form-msg { margin-top: 1rem; font-family: var(--mono); font-size: 12px; color: var(--signal); display: none; }

/* ---- FOOTER ---- */
footer { background: var(--black); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 3.5rem 2rem 2.5rem; color: var(--gray-400); }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 0.75rem; font-size: 20px; color: var(--paper); }
.footer-brand .nav-logo-mark { width: 32px; height: 32px; border-radius: 7px; }
.footer-brand .nav-logo-mark span { font-size: 20px; }
.footer-brand .nav-logo-mark::after { width: 5px; height: 5px; top: 4px; right: 3px; }
.footer-tagline { font-size: 13px; color: var(--gray-600); line-height: 1.6; }
.footer-nav { display: flex; gap: 3rem; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-600); margin-bottom: 0.75rem; font-weight: 600; }
.footer-col a { display: block; font-size: 13px; color: var(--gray-400); margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { max-width: 1140px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 12px; color: var(--gray-600); }
.footer-status { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; animation: pulse 2s ease-in-out infinite; }

/* ---- LEGAL PAGES ---- */
.legal-page { background: var(--off-white); }
.legal-main { padding: 8rem 2rem 5rem; }
.legal-container { max-width: 740px; margin: 0 auto; }

/* Legal header */
.legal-header { margin-bottom: 3rem; }
.legal-header h1 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em;
  color: var(--black); margin-bottom: 0.75rem;
}
.legal-meta {
  font-family: var(--mono); font-size: 12px;
  color: var(--gray-400); letter-spacing: 0.5px;
}

/* Table of contents */
.legal-toc {
  background: var(--paper); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 2rem;
  margin-bottom: 3.5rem;
}
.legal-toc h2 {
  font-family: var(--mono); font-size: 11px;
  color: var(--gray-400); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 1.25rem; font-weight: 600;
}
.legal-toc ol {
  list-style: none; counter-reset: toc;
  columns: 2; column-gap: 2rem;
}
.legal-toc li {
  counter-increment: toc;
  margin-bottom: 0.5rem; break-inside: avoid;
}
.legal-toc li a {
  font-size: 0.88rem; color: var(--gray-600);
  transition: color 0.2s; display: flex; align-items: baseline; gap: 8px;
}
.legal-toc li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono); font-size: 11px;
  color: var(--signal); flex-shrink: 0; min-width: 20px;
}
.legal-toc li a:hover { color: var(--signal); }

/* Legal body */
.legal-body section {
  margin-bottom: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-body section:last-child { border-bottom: none; margin-bottom: 0; }

.legal-body h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.35rem; letter-spacing: -0.01em;
  color: var(--black); margin-bottom: 1.25rem;
  display: flex; align-items: baseline; gap: 12px;
}
.legal-num {
  font-family: var(--mono); font-size: 13px;
  color: var(--signal); font-weight: 700;
  background: var(--signal-glow); width: 28px; height: 28px;
  border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.legal-body h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 1.05rem; color: var(--black);
  margin: 1.75rem 0 0.75rem;
}
.legal-body p {
  font-size: 0.94rem; color: var(--gray-600);
  line-height: 1.8; margin-bottom: 1rem;
}
.legal-body ul, .legal-body ol {
  padding-left: 1.5rem; margin-bottom: 1rem;
}
.legal-body li {
  font-size: 0.94rem; color: var(--gray-600);
  line-height: 1.8; margin-bottom: 0.4rem;
}
.legal-body a {
  color: var(--signal); font-weight: 500;
  transition: color 0.2s; text-decoration: underline;
  text-decoration-color: var(--signal-glow);
  text-underline-offset: 3px;
}
.legal-body a:hover { color: #5A4BD6; text-decoration-color: #5A4BD6; }
.legal-body code {
  font-family: var(--mono); font-size: 0.85em;
  background: var(--paper); border: 1px solid var(--gray-200);
  padding: 2px 7px; border-radius: 5px; color: var(--signal);
}
.legal-body strong { color: var(--ink); font-weight: 600; }

/* Callout box */
.legal-callout {
  background: var(--signal-glow); border: 1px solid rgba(108, 92, 231, 0.15);
  border-left: 3px solid var(--signal); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.legal-callout p { margin-bottom: 0; color: var(--ink); }
.legal-callout--warn {
  background: rgba(255, 200, 50, 0.06);
  border-color: rgba(200, 160, 40, 0.15);
  border-left-color: #C8A028;
}
.legal-callout--warn p {
  font-size: 0.82rem; color: var(--gray-600);
  font-weight: 500; line-height: 1.7;
}

/* Legal tables */
.legal-table-wrap {
  overflow-x: auto; margin: 1.5rem 0;
  border-radius: var(--radius); border: 1px solid var(--gray-200);
}
.legal-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem;
}
.legal-table thead { background: var(--paper); }
.legal-table th {
  font-family: var(--mono); font-size: 11px;
  color: var(--gray-400); letter-spacing: 1.5px;
  text-transform: uppercase; text-align: left;
  padding: 12px 16px; font-weight: 600;
  border-bottom: 1px solid var(--gray-200);
}
.legal-table td {
  padding: 12px 16px; color: var(--gray-600);
  line-height: 1.6; border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table td:first-child { font-weight: 500; color: var(--ink); white-space: nowrap; }

/* "Never" grid (privacy page) */
.legal-never-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 1.5rem 0;
}
.legal-never-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--paper); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem;
}
.legal-never-icon {
  color: #E74C3C; font-size: 0.85rem; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(231, 76, 60, 0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.legal-never-item strong {
  display: block; font-size: 0.88rem; color: var(--ink); margin-bottom: 2px;
}
.legal-never-item p {
  font-size: 0.82rem; color: var(--gray-400);
  line-height: 1.5; margin: 0;
}

/* Contact block */
.legal-contact {
  background: var(--paper); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.legal-contact p { margin-bottom: 0.25rem; }
.legal-contact p:last-child { margin-bottom: 0; }

/* Legal page responsive */
@media (max-width: 640px) {
  .legal-main { padding: 7rem 1.5rem 3rem; }
  .legal-toc ol { columns: 1; }
  .legal-never-grid { grid-template-columns: 1fr; }
  .legal-table td:first-child { white-space: normal; }
}

/* GSAP initial state */
.gs-hidden { opacity: 0; transform: translateY(30px); }

/* Responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .f-card { min-height: auto; }
  .priv-grid { grid-template-columns: 1fr; }
  .proto-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .proto-num { font-size: 48px; }
  .proto-visual { display: none; }
}
@media (max-width: 640px) {
  .navbar { padding: 8px 12px 8px 16px; gap: 0; }
  .nav-links { display: none; }
  .hero { padding: 0 1.5rem 4rem; }
  .trust-inner { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 0 1.5rem; }
  .features, .privacy-deep, .waitlist, .protocol { padding: 4rem 1.5rem; }
  .footer-inner { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
