/* ── Shared Design System & Tokens for nada ── */

:root {
  /* Color Palette (Dynamic HSL Theme) */
  --ink:          #1a0f3a;
  --ink-deep:     #0f0820;
  --teal:         #72EFDD;
  --lilac:        #B89BFF;
  --violet:       #6930C4;
  --pale-teal:    #aef5e8;
  --fg:           #ffffff;
  
  /* Transparency/Alpha Layers */
  --fg-80:        rgba(255, 255, 255, 0.82);
  --fg-65:        rgba(255, 255, 255, 0.65);
  --fg-45:        rgba(255, 255, 255, 0.45);
  --fg-22:        rgba(255, 255, 255, 0.22);
  --fg-08:        rgba(255, 255, 255, 0.08);
  --fg-04:        rgba(255, 255, 255, 0.04);
  
  /* Link Color */
  --link:         #aef5e8;

  /* Premium Glassmorphism Variables */
  --glass-bg:      rgba(15, 8, 32, 0.55);
  --glass-border:  rgba(255, 255, 255, 0.12);
  --glass-blur:    blur(24px) saturate(180%);
  
  /* Typography Fonts */
  --font-sans:     -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  --font-display:  -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
  --font-editorial: 'Fraunces', Georgia, serif;

  /* Animations & Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Universal Reset & Base Styles ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--fg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: #fff;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: none;
  color: inherit;
}

/* ── Custom Scrollbar (Premium Dark Aesthetic) ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--ink-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--fg-22);
  border-radius: 999px;
  border: 2px solid var(--ink-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--lilac);
}

/* ── Keyboard Focus Indicator ── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ── Static Background Backdrop Mesh (Subpages) ── */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 40% at 18% 22%, rgba(114, 239, 221, 0.18), transparent 75%),
    radial-gradient(ellipse 40% 35% at 82% 18%, rgba(184, 155, 255, 0.16), transparent 75%),
    radial-gradient(ellipse 45% 40% at 15% 82%, rgba(105, 48, 196, 0.22), transparent 75%),
    radial-gradient(ellipse 40% 35% at 85% 80%, rgba(174, 245, 232, 0.10), transparent 75%),
    var(--ink);
  transition: var(--transition-smooth);
}

/* ── Sticky Top Header Bar with Scroll-driven shrinking ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 0.5px solid var(--fg-22);
  transition: var(--transition-smooth);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.6px;
  color: #fff;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-65);
  padding: 6px 12px;
  border-radius: 8px;
  background: transparent;
  transition: var(--transition-smooth);
}
.back-link:hover {
  color: #fff;
  background: var(--fg-08);
  text-decoration: none;
  transform: translateX(-2px);
}
.back-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-smooth);
}

/* Native scroll-driven shrinking header animations */
@keyframes shrink-header {
  to {
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(15, 8, 32, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
}
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .topbar {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* ── Interactive CTAs & Buttons (Pills) ── */
.pill {
  height: 54px;
  padding: 0 28px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #fff;
  transition: var(--transition-spring);
  white-space: nowrap;
}
.pill svg {
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.pill-primary {
  background: #0a0a0a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pill-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(114, 239, 221, 0.25);
  background: #111;
  text-decoration: none;
  color: #fff;
}
.pill-primary:active {
  transform: translateY(0) scale(0.98);
}

.pill-ghost {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.pill-ghost:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 4px 16px rgba(184, 155, 255, 0.15);
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #fff;
}
.pill-ghost:active {
  transform: translateY(0) scale(0.98);
}

/* ── Reusable Premium Glassmorphic Cards ── */
.glass-card {
  background: var(--fg-04);
  border: 0.5px solid var(--fg-22);
  border-radius: 16px;
  padding: 24px 24px 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(114, 239, 221, 0.05), rgba(184, 155, 255, 0.05));
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}
.glass-card:hover {
  border-color: var(--fg-45);
  background: var(--fg-08);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(114, 239, 221, 0.12), 0 4px 12px rgba(0, 0, 0, 0.2);
}
.glass-card:hover::before {
  opacity: 1;
}
.glass-card > * {
  position: relative;
  z-index: 1;
}

/* Feature icon / wrapper in cards */
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--lilac));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--ink-deep);
  box-shadow: 0 4px 12px rgba(114, 239, 221, 0.25);
  transition: var(--transition-smooth);
}
.glass-card:hover .card-icon {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 6px 18px rgba(114, 239, 221, 0.4);
}

/* ── Typography & Headers ── */
.hero {
  padding: 80px 40px 48px;
  max-width: 980px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: 18px;
  color: var(--fg-65);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.5vw, 84px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 60px rgba(255, 255, 255, 0.12);
}
.hero-sub, .hero p {
  font-size: 17px;
  color: var(--fg-65);
  max-width: 620px;
  line-height: 1.65;
}

/* Content block section dividers */
.divider {
  height: 0.5px;
  background: var(--fg-22);
  margin: 28px 0;
}

/* ── Universal Footer Language Selector ── */
.legal {
  background: var(--ink-deep);
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 0.5px solid var(--fg-22);
  transition: var(--transition-smooth);
}
.legal-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}
.legal-links a {
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition-smooth);
}
.legal-links a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.legal-copy {
  letter-spacing: 0.02em;
}

.lang {
  position: relative;
  display: flex;
  align-items: center;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  background: none;
  border: 0;
  padding: 4px 8px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
}
.lang-btn:hover {
  color: rgba(255, 255, 255, 0.85);
  background: var(--fg-08);
}
.lang-btn svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.lang-dd {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(20, 12, 50, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 6px;
  min-width: 140px;
  box-shadow: var(--shadow-premium);
  z-index: 60;
}
.lang-dd.open {
  display: block;
}
.lang-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-smooth);
}
.lang-opt:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.lang-opt.active {
  color: var(--teal);
  font-weight: 600;
}

/* ── FAQ Details Accordion ── */
.faq-item {
  background: var(--fg-04);
  border: 0.5px solid var(--fg-22);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-item:hover {
  border-color: var(--fg-45);
  background: var(--fg-08);
}
.faq-item details {
  width: 100%;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  user-select: none;
  transition: var(--transition-smooth);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  background: var(--fg-04);
}
.faq-chevron {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}
.faq-chevron svg {
  width: 12px;
  height: 12px;
}
.faq-item details[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}
.faq-item details[open] summary {
  background: var(--fg-08);
  border-bottom: 0.5px solid var(--fg-22);
}
.faq-body {
  padding: 16px 20px 20px;
  font-size: 14px;
  color: var(--fg-80);
  line-height: 1.7;
}

/* ── Responsive Two-Column Table of Contents layout (Legal Docs) ── */
.layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 40px 96px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
}
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 13px;
}
.toc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-45);
  margin-bottom: 14px;
}
.toc-list {
  list-style: none;
}
.toc-list li {
  margin-bottom: 6px;
}
.toc-list a {
  display: block;
  padding: 6px 0;
  color: var(--fg-65);
  font-weight: 500;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -12px;
  transition: var(--transition-smooth);
}
.toc-list a:hover {
  color: #fff;
  text-decoration: none;
}
.toc-list a.active {
  color: var(--teal);
  border-left-color: var(--teal);
  font-weight: 600;
}

/* Document content styles */
.doc section {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}
.doc h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.sec-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-45);
  letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.doc p {
  font-size: 15px;
  color: var(--fg-80);
  margin-bottom: 12px;
}
.doc strong {
  color: #fff;
  font-weight: 600;
}
.doc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.doc li {
  font-size: 15px;
  color: var(--fg-80);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.65;
}
.doc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--fg-45);
}

.info-box {
  background: var(--fg-04);
  border: 0.5px solid var(--fg-22);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--fg-80);
  line-height: 1.7;
  margin-bottom: 16px;
}
.info-box strong {
  color: #fff;
}

/* Content block structure */
.block {
  margin-bottom: 36px;
}
.block h2 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-65);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.block h2::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--fg-65);
}
.block p {
  font-size: 15px;
  color: var(--fg-80);
  margin-bottom: 6px;
}
.block p strong {
  color: #fff;
  font-weight: 600;
}

.note {
  background: var(--fg-08);
  border: 0.5px solid var(--fg-22);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--fg-65);
  line-height: 1.65;
  margin-top: 14px;
}

/* ── Animation Fade Effects ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero, .main, .layout {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero, .main, .layout {
    animation: none !important;
  }
}

/* ── Responsive Adaptations & Media Queries ── */

@media (max-width: 880px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 16px 24px 64px;
  }
  
  /* Morph sticky TOC sidebar into horizontal swipe menu */
  .toc {
    position: sticky;
    top: 60px;
    z-index: 40;
    background: var(--ink);
    padding: 12px 0 6px;
    margin: -12px 0 0;
    align-self: stretch;
    border-bottom: 0.5px solid var(--fg-22);
  }
  .toc-label {
    display: none;
  }
  .toc-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    margin: 0;
  }
  
  /* Hide scrollbar on mobile horizontal TOC */
  .toc-list::-webkit-scrollbar {
    display: none;
  }
  .toc-list {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .toc-list li {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .toc-list a {
    padding: 6px 14px;
    margin: 0;
    border: 0.5px solid var(--fg-22);
    border-radius: 999px;
    font-size: 12px;
    background: var(--fg-04);
  }
  .toc-list a.active {
    background: var(--fg-08);
    color: var(--teal);
    border-color: var(--teal);
    border-left-color: var(--teal);
  }
}

@media (max-width: 580px) {
  .topbar {
    padding: 16px 20px;
  }
  .hero {
    padding: 56px 20px 32px;
  }
  .main {
    padding: 8px 20px 64px;
  }
  .legal {
    padding: 18px 20px;
    flex-direction: column;
    text-align: center;
  }
  .legal-links {
    gap: 16px;
    justify-content: center;
  }
}

/* ── Landing Page Hero & Stage Styles ── */
.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
  cursor: grab;
  touch-action: pan-y;
}
.stage.grabbing {
  cursor: grabbing;
}
.mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.05) blur(0.5px);
  z-index: 0;
}

.hero-landing {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 110px 40px 140px;
  z-index: 4;
  text-align: center;
  --wm-bright: 0;
  --tg-bright: 0;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 240px;
  font-weight: 800;
  letter-spacing: -13.2px;
  line-height: 0.86;
  color: #fff;
  mix-blend-mode: overlay;
  text-shadow:
    0 2px 60px rgba(255,255,255, calc(0.18 * (1 - var(--wm-bright)))),
    0 0 calc(var(--wm-bright) * 36px) rgba(20,10,50, calc(var(--wm-bright) * 0.7)),
    0 0 calc(var(--wm-bright) * 14px) rgba(20,10,50, calc(var(--wm-bright) * 0.55));
  animation: fadeUp 0.9s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tagline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.47px;
  color: rgba(255,255,255,0.96);
  color: color-mix(in oklab,
    rgba(255,255,255,0.96) calc((1 - var(--tg-bright)) * 100%),
    #150a30 calc(var(--tg-bright) * 100%));
  max-width: 620px;
  text-shadow: 0 1px 18px rgba(0,0,0, calc(0.22 + var(--tg-bright) * 0.4));
  animation: fadeUp 0.9s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tagline em {
  font-style: italic;
  font-weight: 400;
}

.subtagline {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.1px;
  color: rgba(255,255,255,0.78);
  color: color-mix(in oklab,
    rgba(255,255,255,0.78) calc((1 - var(--tg-bright)) * 100%),
    #150a30 calc(var(--tg-bright) * 100%));
  max-width: 480px;
  text-shadow: 0 1px 14px rgba(0,0,0, calc(0.22 + var(--tg-bright) * 0.4));
  margin-top: -22px;
  animation: fadeUp 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.subtagline em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  animation: fadeUp 0.9s 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fineprint {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.04em;
  line-height: 1.6;
  animation: fadeUp 0.9s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Negative-space strip ── */
.neg-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 22px 40px;
  border-top: 0.5px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  animation: fadeUp 0.9s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.neg-item {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  white-space: nowrap;
}
.neg-sep {
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  user-select: none;
}

/* Responsive Landing Page */
@media (max-width: 760px) {
  .stage {
    min-height: 580px;
  }
  .hero-landing {
    gap: 26px;
    padding: 90px 24px 200px;
    justify-content: flex-start;
    padding-top: 26vh;
  }
  .wordmark {
    font-size: 120px;
    letter-spacing: -6.6px;
  }
  .tagline {
    font-size: 18px;
    max-width: 300px;
    letter-spacing: -0.32px;
  }
  .actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
  }
  .pill {
    height: 50px;
    padding: 0 22px;
    font-size: 15px;
    width: 100%;
  }
  .fineprint {
    font-size: 11px;
  }
  .subtagline {
    font-size: 14px;
    max-width: 280px;
    margin-top: -14px;
  }

  .neg-strip {
    gap: 8px 14px;
    padding: 16px 18px;
  }
  .neg-item {
    font-size: 12px;
  }
  .neg-sep {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .wordmark {
    font-size: 100px;
    letter-spacing: -5.5px;
  }
}

/* ── Subpage Editorial & Component Sections (Manifesto, Support, Legal) ── */

/* Editorial Pull Quote & Section Headings */
.quote {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 40px 72px;
  animation: fadeUp 0.6s 0.06s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.quote p {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.5px;
}
.quote em {
  font-style: italic;
  font-weight: 400;
}
.quote-rule {
  width: 60px;
  height: 1px;
  background: var(--fg-45);
  margin: 28px 0 0;
}

/* Editorial Body Wrapper */
.body {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 40px 88px;
  animation: fadeUp 0.6s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.body p {
  font-size: 17px;
  color: var(--fg-80);
  line-height: 1.75;
  margin-bottom: 22px;
}
.body p strong {
  color: #fff;
  font-weight: 600;
}

/* Section Headings */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-65);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--fg-65);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--fg-65);
  max-width: 540px;
  line-height: 1.65;
}

/* Principles rows */
.principles-band {
  background: var(--ink-deep);
  border-top: 0.5px solid var(--fg-22);
  border-bottom: 0.5px solid var(--fg-22);
  margin: 32px 0;
}
.principles {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}
.principle {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.principle-num {
  font-size: 11px;
  color: var(--fg-45);
  letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.principle-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.2px;
}
.principle-desc {
  font-size: 14px;
  color: var(--fg-65);
  margin-top: 4px;
}

/* Feature grid components */
.features {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 40px 32px;
}
.features-intro {
  margin-bottom: 40px;
  max-width: 720px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  background: var(--fg-04);
  border: 0.5px solid var(--fg-22);
  border-radius: 16px;
  padding: 28px 28px 26px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(114, 239, 221, 0.05), rgba(184, 155, 255, 0.05));
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}
.feature:hover {
  border-color: var(--fg-45);
  background: var(--fg-08);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(114, 239, 221, 0.12), 0 4px 12px rgba(0, 0, 0, 0.2);
}
.feature:hover::before {
  opacity: 1;
}
.feature > * {
  position: relative;
  z-index: 1;
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--lilac));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ink-deep);
  box-shadow: 0 4px 12px rgba(114, 239, 221, 0.25);
  transition: var(--transition-smooth);
}
.feature-icon svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-smooth);
}
.feature:hover .feature-icon {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 6px 18px rgba(114, 239, 221, 0.4);
}
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature p {
  font-size: 14px;
  color: var(--fg-65);
  line-height: 1.65;
}

/* Timeline / Steps */
.how {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 40px 32px;
}
.how-intro {
  margin-bottom: 40px;
  max-width: 720px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 22px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(to right, transparent, var(--fg-22) 20%, var(--fg-22) 80%, transparent);
}
.step {
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 0.5px solid var(--fg-22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 16px rgba(114, 239, 221, 0.1);
  transition: var(--transition-smooth);
}
.step:hover .step-num {
  border-color: var(--teal);
  box-shadow: 0 0 20px rgba(114, 239, 221, 0.3);
  transform: scale(1.05);
}
.step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.step p {
  font-size: 14px;
  color: var(--fg-65);
  line-height: 1.6;
}

/* Call to action */
.cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 40px 88px;
  text-align: center;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 18px;
}
.cta-italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.cta p {
  font-size: 16px;
  color: var(--fg-65);
  max-width: 480px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact information page */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}
.contact-card {
  background: var(--fg-04);
  border: 0.5px solid var(--fg-22);
  border-radius: 16px;
  padding: 24px 24px 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(114, 239, 221, 0.05), rgba(184, 155, 255, 0.05));
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}
.contact-card:hover {
  border-color: var(--fg-45);
  background: var(--fg-08);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(114, 239, 221, 0.12), 0 4px 12px rgba(0, 0, 0, 0.2);
}
.contact-card:hover::before {
  opacity: 1;
}
.contact-card > * {
  position: relative;
  z-index: 1;
}
.c-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--lilac));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ink-deep);
  box-shadow: 0 4px 12px rgba(114, 239, 221, 0.25);
  transition: var(--transition-smooth);
}
.c-icon svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
}
.contact-card:hover .c-icon {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 6px 18px rgba(114, 239, 221, 0.4);
}
.contact-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.contact-card p {
  font-size: 13px;
  color: var(--fg-65);
  line-height: 1.65;
}
.contact-card a {
  color: var(--link);
  font-weight: 500;
}
.contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ header grouping */
.faq-header {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
  margin-bottom: 6px;
}
.faq-sub {
  font-size: 14px;
  color: var(--fg-45);
  margin-bottom: 28px;
}
.faq-group {
  margin-top: 36px;
}
.faq-group:first-of-type {
  margin-top: 0;
}
.faq-group-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px 4px;
}

/* Commit History Cards */
.commits {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  animation: fadeUp 0.6s 0.06s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.commit {
  background: var(--fg-04);
  border: 0.5px solid var(--fg-22);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-smooth);
}
.commit:hover {
  border-color: var(--fg-45);
  background: var(--fg-08);
  transform: translateY(-2px);
}
.commit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-bottom: 14px;
  box-shadow: 0 0 12px rgba(114, 239, 221, 0.6);
}
.commit h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.commit p {
  font-size: 13px;
  color: var(--fg-65);
  line-height: 1.6;
}

/* GDPR Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.right-card {
  background: var(--fg-04);
  border: 0.5px solid var(--fg-22);
  border-radius: 12px;
  padding: 16px 20px;
  transition: var(--transition-smooth);
}
.right-card:hover {
  border-color: var(--fg-45);
  background: var(--fg-08);
}
.right-card .art {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin-bottom: 6px;
  font-family: var(--font-sans);
}
.right-card p {
  font-size: 13px;
  color: var(--fg-80);
  margin: 0;
  line-height: 1.5;
}

/* Responsive fixes for new cards */
@media (max-width: 880px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 28px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps::before {
    display: none;
  }
  .commits {
    grid-template-columns: 1fr;
    padding: 0 24px 24px;
  }
  .rights-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .features, .how {
    padding: 56px 20px 24px;
  }
  .cta {
    padding: 64px 20px 56px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
