@charset "UTF-8";

/* ━━ Design Tokens ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --bg-light: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-dark: #050505;
  --text-dark: #000000;
  --text-dark-muted: #555555;
  --text-light: #FFFFFF;
  --text-light-muted: #A1A1AA;
  
  --brand: #000000; /* We're going stark B&W for the primary brand */
  --accent: #2563EB; /* subtle electric blue for interactions/glows */
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'SF Mono', 'Fira Code', ui-monospace, monospace;
}

/* ━━ Reset & Base ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ━━ Scroll Reveal Animations ━━━━━━━━━━━━━━━━━━━ */
.pb-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.pb-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ━━ Ambient Glow ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ambient-glow {
  position: fixed;
  top: -20vh;
  left: -20vw;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(37,99,235,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  transition: transform 0.1s ease-out;
}

/* ━━ Buttons ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn-lrg {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  font-size: 15px; font-weight: 500;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-black {
  background: var(--text-dark);
  color: var(--text-light);
}
.btn-black:hover { background: #222; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-white {
  background: var(--text-light);
  color: var(--text-dark);
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,255,255,0.1); }

/* ━━ Navbar ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  background: rgba(250, 250, 250, 0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: background 0.3s, border-color 0.3s;
}
/* When over dark sections, JS can toggle this class */
.nav.nav-dark-mode {
  background: rgba(5, 5, 5, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-light);
}
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.nav-logo .logo-image { height: 32px; width: auto; border-radius: 8px; display: block; }
.nav-logo .logo-light { display: none; }
.nav.nav-dark-mode .nav-logo .logo-dark { display: none; }
.nav.nav-dark-mode .nav-logo .logo-light { display: block; }
.nav-links { display: flex; gap: 40px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-dark-muted);
  transition: color 0.2s;
}
.nav.nav-dark-mode .nav-link { color: rgba(255,255,255,0.6); }
.nav-link:hover { color: var(--text-dark); }
.nav.nav-dark-mode .nav-link:hover { color: var(--text-light); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-btn { font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 99px; transition: all 0.2s; }
.nav-btn-ghost { color: var(--text-dark-muted); }
.nav.nav-dark-mode .nav-btn-ghost { color: rgba(255,255,255,0.7); }
.nav-btn-ghost:hover { color: var(--text-dark); }
.nav.nav-dark-mode .nav-btn-ghost:hover { color: var(--text-light); }
.nav-btn-primary { background: var(--text-dark); color: var(--text-light); }
.nav.nav-dark-mode .nav-btn-primary { background: var(--text-light); color: var(--text-dark); }
.nav-btn-primary:hover { opacity: 0.8; }

.nav-menu-btn { display: none; color: inherit; }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--bg-light); border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 24px; z-index: 99; flex-direction: column; gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-link { font-size: 18px; font-weight: 500; }

/* ━━ Section 1: Hero ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sec-hero {
  position: relative; z-index: 1;
  padding: 200px 0 120px;
  text-align: center;
}
.hero-headline {
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
}
.hero-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-dark-muted);
}
.hero-subline {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-dark-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.hero-cta-group { margin-bottom: 80px; }

.hero-visual {
  margin: 0 auto;
  max-width: 400px;
}
.scanner-ring {
  width: 120px; height: 120px; margin: 0 auto 24px;
  border-radius: 50%; border: 1px solid rgba(0,0,0,0.1);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.scanner-ring::before {
  content: ''; position: absolute; inset: -20px;
  border-radius: 50%; border: 1px dashed rgba(0,0,0,0.05);
  animation: rotate 20s linear infinite;
}
.scanner-dot {
  width: 8px; height: 8px; background: var(--text-dark); border-radius: 50%;
  box-shadow: 0 0 20px 4px rgba(37,99,235,0.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.5); box-shadow: 0 0 30px 8px rgba(37,99,235,0.6); } }
.scanner-text { font-size: 13px; font-family: var(--font-mono); color: var(--text-dark-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ━━ Section 2: Dark Mode Transition ━━━━━━━━━━━━ */
.sec-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 160px 0;
}
.dark-headline {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 100px; text-align: center;
}
.dark-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.dark-card {
  padding: 40px; border-top: 1px solid rgba(255,255,255,0.15);
}
.dark-card-number {
  font-family: var(--font-serif); font-size: 80px; font-style: italic;
  line-height: 1; margin-bottom: 24px; color: #fff;
}
.dark-card p {
  font-size: 18px; color: var(--text-light-muted);
  line-height: 1.5; letter-spacing: -0.01em;
}

/* ━━ Section 3: The Magic ━━━━━━━━━━━━━━━━━━━━━━━ */
.sec-statement {
  background: var(--bg-white);
  padding: 180px 0;
}
.text-center { text-align: center; }
.statement-headline {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.text-gradient {
  background: linear-gradient(135deg, #111 0%, #666 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.statement-subline {
  font-size: 20px; color: var(--text-dark-muted);
  max-width: 680px; margin: 0 auto 64px; line-height: 1.5;
}
.feature-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.pill {
  font-size: 14px; font-weight: 500;
  padding: 12px 24px; border-radius: 99px;
  background: var(--bg-light); border: 1px solid rgba(0,0,0,0.05);
  color: var(--text-dark-muted);
}

/* ━━ Section 4.6: IAF Architecture ━━━━━━━━━━━━━━ */
.sec-iaf {
  padding: 160px 0 140px;
  background: #F5F3EF;
  color: var(--text-dark);
  position: relative; overflow: hidden;
}
/* Subtle top & bottom decorative lines */
.sec-iaf::before,
.sec-iaf::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}
.sec-iaf::before { top: 0; }
.sec-iaf::after { bottom: 0; }

/* Header */
.iaf-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}
.iaf-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8B7355;
  margin-bottom: 28px;
  background: rgba(139,115,85,0.1);
  border: 1px solid rgba(139,115,85,0.2);
  padding: 6px 18px;
  border-radius: 99px;
}
.iaf-headline {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text-dark);
  line-height: 1.05;
}
.iaf-subline {
  font-size: 18px;
  color: var(--text-dark-muted);
  line-height: 1.7;
}
.iaf-subline strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Diagram */
.iaf-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 0 40px;
}

/* Individual step */
.iaf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 200px;
  position: relative;
}
.iaf-step-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(0,0,0,0.25);
  margin-bottom: 20px;
}
.iaf-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.iaf-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Core step highlight */
.iaf-step-core .iaf-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--text-dark);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.iaf-step-core .iaf-icon:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
}

.iaf-step-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.iaf-step-desc {
  font-size: 13px;
  color: var(--text-dark-muted);
  max-width: 160px;
  line-height: 1.4;
}

/* Connecting arrows */
.iaf-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 140px;
  padding-top: 52px; /* Align with icon center */
}
.iaf-arrow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.15), rgba(0,0,0,0.06));
  position: relative;
  margin-bottom: 12px;
}
.iaf-arrow-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid rgba(0,0,0,0.2);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.iaf-arrow-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(0,0,0,0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Footer CTA */
.iaf-footer {
  text-align: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(0,0,0,0.06);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.iaf-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 6px;
  transition: all 0.3s;
  letter-spacing: -0.01em;
}
.iaf-link:hover {
  color: #8B7355;
  border-color: #8B7355;
}


/* ━━ Section 4: Developers ━━━━━━━━━━━━━━━━━━━━━━ */
.sec-devs {
  background: var(--bg-dark); color: var(--text-light);
  padding: 160px 0; overflow: hidden;
}
.dev-flex {
  display: flex; align-items: center; justify-content: space-between; gap: 80px;
}
.dev-text { flex: 1; }
.dev-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.dev-subline {
  font-size: 18px; color: var(--text-light-muted);
  line-height: 1.6; margin-bottom: 48px; max-width: 480px;
}

.dev-code {
  flex: 1; position: relative;
}
.code-window {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow: hidden; position: relative; z-index: 2;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.code-header {
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 12px;
}
.code-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); margin-right: 6px; }
.code-header span { font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.4); }
.code-window pre {
  padding: 32px; margin: 0; overflow-x: auto;
}
.code-window code {
  font-family: var(--font-mono); font-size: 14px; line-height: 1.8; color: #E8E8EC;
}
.c-kw { color: #c084fc; } /* keyword */
.c-var { color: #60a5fa; } /* variable */
.c-str { color: #86efac; } /* string */
.c-fn { color: #fcd34d; } /* function */
.c-prop { color: #93c5fd; } /* property */
.c-comment { color: #71717a; font-style: italic; }

.code-glow-1 {
  position: absolute; top: -50px; left: -50px; width: 200px; height: 200px;
  background: #2563EB; filter: blur(100px); opacity: 0.3; z-index: 1;
}
.code-glow-2 {
  position: absolute; bottom: -50px; right: -50px; width: 250px; height: 250px;
  background: #7C3AED; filter: blur(120px); opacity: 0.2; z-index: 1;
}

/* ━━ Section 4.5: General Query Lineage ━━━━━━━━━ */
.sec-gq {
  background: var(--bg-white);
  padding: 160px 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.gq-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
}
.gq-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--brand); margin-bottom: 24px;
}
.gq-headline {
  font-family: var(--font-serif); font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
}
.gq-subline {
  font-size: 18px; color: var(--text-dark-muted);
  line-height: 1.6; margin-bottom: 32px;
}
.gq-link {
  font-size: 15px; font-weight: 500; color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 4px; transition: border-color 0.2s;
}
.gq-link:hover { border-color: var(--text-dark); }

.gq-awards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.gq-award-card {
  background: var(--bg-light); border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px; padding: 24px 20px;
  transition: transform 0.2s, background 0.2s;
}
.gq-award-card:hover { transform: translateY(-4px); background: #f4f4f5; }
.gq-award-year {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-dark-muted);
  margin-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 12px;
}
.gq-award-title {
  font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--text-dark);
}
.gq-award-subtitle {
  font-size: 13px; color: var(--text-dark-muted); font-weight: 400; display: block; margin-top: 4px; border-top: none;
}

/* ━━ Section 5: Pricing ━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sec-pricing {
  background: var(--bg-light); padding: 180px 0;
}
.pricing-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600; letter-spacing: -0.03em; margin-bottom: 24px;
}
.pricing-subline {
  font-size: 20px; color: var(--text-dark-muted); max-width: 600px; margin: 0 auto 64px;
}
.price-huge {
  font-size: 120px; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  font-family: var(--font-mono); margin-bottom: 64px; font-feature-settings: "tnum";
}
.price-currency { font-size: 60px; font-weight: 500; vertical-align: top; margin-top: 16px; display: inline-block; color: var(--text-dark-muted); }
.price-unit { font-size: 24px; font-weight: 400; color: var(--text-dark-muted); letter-spacing: 0; }

.price-credit-box {
  background: var(--bg-white); border: 1px solid rgba(0,0,0,0.05);
  border-radius: 24px; padding: 56px; max-width: 500px; margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.credit-stars { color: #d4af37; margin-bottom: 20px; letter-spacing: 8px; }
.price-credit-box h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.price-credit-box p { font-size: 16px; color: var(--text-dark-muted); margin-bottom: 32px; }

/* ━━ Section 6: CTA ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sec-cta {
  background: var(--bg-white); padding: 120px 0 180px; border-top: 1px solid rgba(0,0,0,0.03);
}
.cta-headline {
  font-family: var(--font-serif); font-size: 80px; font-style: italic;
  margin-bottom: 24px;
}
.cta-subline {
  font-size: 20px; color: var(--text-dark-muted); margin-bottom: 48px;
}

/* ━━ Footer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: var(--bg-light); color: var(--text-dark);
  padding: 100px 0 40px;
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 64px; margin-bottom: 80px;
}
.footer-brand .footer-logo { height: 48px; width: auto; border-radius: 8px; display: block; }
.footer-tagline { font-weight: 500; font-size: 15px; margin-top: 20px; color: var(--text-dark); }
.footer-subline { font-size: 13px; color: var(--text-dark-muted); margin-top: 4px; }

.footer-compliance { margin-top: 40px; }
.fc-label {
  display: block; font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dark-muted);
  margin-bottom: 12px; font-weight: 600;
}
.fc-badges {
  display: flex; flex-wrap: wrap; gap: 8px; max-width: 250px;
}
.fc-badge {
  font-size: 11px; font-weight: 600; color: var(--brand);
  border: 1px solid rgba(0,0,0,0.1); padding: 4px 10px; border-radius: 6px;
  background: var(--bg-white); box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s; cursor: default;
}
.fc-badge:hover {
  transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.2);
}

.footer-links { display: flex; gap: 80px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 24px; color: var(--text-dark-muted); text-transform: uppercase; }
.footer-col a { display: block; font-size: 14px; font-weight: 500; color: var(--text-dark-muted); margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-dark); }
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.05); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-legal { flex: 1; }
.footer-copy { font-size: 14px; color: var(--text-dark); margin-bottom: 4px; }
.footer-operated { font-size: 12px; color: var(--text-dark-muted); }
.footer-operated a { color: var(--text-dark-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-operated a:hover { color: var(--text-dark); }

/* ━━ Legal Pages ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.legal-header {
  text-align: center;
  margin-bottom: 64px;
}
.legal-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.legal-date {
  font-size: 16px;
  color: var(--text-dark-muted);
}
.legal-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark-muted);
}
.legal-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-content h4:first-child {
  margin-top: 0;
}
.legal-content p {
  margin-bottom: 24px;
}
.legal-content ul {
  margin-bottom: 32px;
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 12px;
}
.legal-content a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--accent);
}

/* ━━ Waitlist Modal (YC Style) ━━━━━━━━━━━━━━━━━ */
.yc-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.yc-modal-overlay.visible {
  opacity: 1;
}
.yc-modal-content {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 48px;
  width: 90%; max-width: 440px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  position: relative;
  text-align: left;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.yc-modal-overlay.visible .yc-modal-content {
  transform: translateY(0) scale(1);
}
.yc-modal-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none;
  color: rgba(255,255,255,0.5); font-size: 28px; line-height: 1;
  cursor: pointer; transition: color 0.2s;
}
.yc-modal-close:hover { color: #fff; }
.yc-modal-badge {
  display: inline-block;
  background: rgba(255, 100, 0, 0.15);
  color: #ff6a00;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(255,100,0,0.2);
  margin-bottom: 24px;
}
.yc-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px; color: #fff; line-height: 1.1; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.yc-modal-desc {
  font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 32px;
}
.yc-modal-form {
  display: flex; flex-direction: column; gap: 12px;
}
.yc-modal-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 16px; border-radius: 8px; font-size: 15px; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.yc-modal-input:focus {
  border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08);
}
.yc-modal-btn {
  background: #fff; color: #000;
  border: none; padding: 14px 20px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.yc-modal-btn:hover { background: #f0f0f0; transform: scale(0.98); }
.yc-modal-btn:active { transform: scale(0.96); }

/* ━━ Responsive ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 991px) {
  .dark-grid { grid-template-columns: 1fr; gap: 32px; }
  .dev-flex { flex-direction: column; text-align: center; }
  .dev-subline { margin: 0 auto 48px; }
  .code-window { text-align: left; }
  .gq-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .gq-awards-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
  .footer-grid { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-menu-btn { display: block; }
  .nav { backdrop-filter: blur(10px); }
  
  .hero-headline { font-size: 48px; }
  .hero-subline { font-size: 18px; }
  
  .dark-headline { font-size: 36px; margin-bottom: 60px; }
  .dark-card-number { font-size: 56px; }
  
  .statement-headline { font-size: 40px; }
  .iaf-diagram { flex-direction: column; align-items: center; gap: 8px; }
  .iaf-step { flex: none; width: 100%; }
  .iaf-arrow { padding-top: 0; max-width: none; flex-direction: row; gap: 12px; padding: 16px 0; }
  .iaf-arrow-line { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.15), rgba(0,0,0,0.06)); }
  .iaf-arrow-line::after { right: auto; top: auto; bottom: -1px; left: 50%; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid rgba(0,0,0,0.2); border-bottom: none; }
  .iaf-headline { font-size: 44px; }
  .dev-headline { font-size: 36px; }
  
  .gq-awards-grid { grid-template-columns: 1fr; }
  
  .price-huge { font-size: 72px; }
  .price-currency { font-size: 36px; }
  .price-credit-box { padding: 32px 24px; }
  
  .cta-headline { font-size: 48px; }
}