:root {
  color-scheme: dark;
  --bg: #07090e;
  --bg-deep: #040508;
  --surface: #0e121a;
  --surface-raised: #141a26;
  --surface-border: rgba(226, 232, 240, 0.12);
  --surface-border-hover: rgba(248, 250, 252, 0.45);
  --paper: #f8fafc;
  --on-paper: #07090e;
  --text: #f5f2eb;
  --silver-bright: #ffffff;
  --silver-hi: #e2e8f0;
  --silver: #e2e8f0;
  --silver-light: #f8fafc;
  --silver-mid: #cbd5e1;
  --silver-metallic: #cbd5e1;
  --silver-dim: #94a3b8;
  --silver-glow: rgba(226, 232, 240, 0.15);
  --silver-halo: rgba(203, 213, 225, 0.25);
  
  /* Dividers, Muted, & Faint Tokens */
  --line: rgba(226, 232, 240, 0.12);
  --line-strong: rgba(226, 232, 240, 0.22);
  --muted: #94a3b8;
  --faint: #64748b;
  
  /* Status Colors */
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.18);
  --red: #ef4444;
  --google-blue: #1a73e8;
  
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", monospace;
  
  --wrap: 1180px;
  --header-h: 72px;
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-toggle: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: color 240ms var(--ease-toggle), background-color 240ms var(--ease-toggle);
}

/* Subtle Paper Noise Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox="0 0 160 160" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency=".82" numOctaves="3" stitchTiles="stitchTiles"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)" opacity=".6"/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

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

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(calc(100% - 64px), var(--wrap)); }
}

/* ==========================================================================
   LIVING CELESTIAL NIGHT SKY BACKGROUND (Identical to Main Website)
   ========================================================================== */
.ambient-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 95% 65% at 50% -12%, rgba(47, 63, 92, 0.65) 0%, transparent 68%),
    radial-gradient(circle at 82% 16%, rgba(226, 232, 240, 0.15) 0%, transparent 46%),
    radial-gradient(circle at 16% 45%, rgba(148, 163, 184, 0.11) 0%, transparent 52%),
    radial-gradient(circle at 50% 60%, rgba(30, 41, 59, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 85% 55% at 50% 100%, rgba(15, 23, 42, 0.8) 0%, transparent 75%),
    #06080e;
}

.star-plane { position: absolute; inset: -25%; }
.star-pattern { position: absolute; inset: -10%; background-repeat: repeat; }

.star-far { opacity: 0.45; animation: starTwinkle 8s ease-in-out infinite alternate; }
.star-far .star-pattern {
  background-image:
    radial-gradient(circle at 14% 18%, rgba(248, 250, 252, 0.9) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 58% 32%, rgba(203, 213, 225, 0.85) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 66%, rgba(241, 245, 249, 0.8) 0 1.1px, transparent 1.7px);
  background-size: 320px 290px;
  animation: starMoveFar 120s linear infinite;
}

.star-mid { opacity: 0.4; animation: starTwinkle 6s ease-in-out infinite alternate 1.5s; }
.star-mid .star-pattern {
  background-image:
    radial-gradient(circle at 28% 74%, rgba(255, 255, 255, 0.95) 0 1.1px, transparent 1.9px),
    radial-gradient(circle at 74% 22%, rgba(226, 232, 240, 0.9) 0 1.2px, transparent 2px);
  background-size: 400px 370px;
  animation: starMoveMid 90s linear infinite;
}

.star-near { opacity: 0.55; animation: starTwinkle 5s ease-in-out infinite alternate 0.8s; }
.star-near .star-pattern {
  background-image:
    radial-gradient(circle at 22% 42%, rgba(255, 255, 255, 1) 0 1.3px, transparent 2.2px),
    radial-gradient(circle at 62% 16%, rgba(248, 250, 252, 0.95) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 92% 84%, rgba(226, 232, 240, 0.9) 0 1.2px, transparent 2.2px);
  background-size: 520px 480px;
  animation: starMoveNear 70s linear infinite;
}

@keyframes starMoveFar { from { background-position: 0 0; } to { background-position: 320px -290px; } }
@keyframes starMoveMid { from { background-position: 0 0; } to { background-position: -400px 370px; } }
@keyframes starMoveNear { from { background-position: 0 0; } to { background-position: 520px -480px; } }
@keyframes starTwinkle {
  0% { opacity: 0.35; }
  50% { opacity: 0.85; }
  100% { opacity: 0.45; }
}

.sky-dust {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: radial-gradient(circle at 50% 30%, rgba(226, 232, 240, 0.4) 0%, transparent 60%);
  filter: blur(40px);
  animation: dustDrift 20s ease-in-out infinite alternate;
}
@keyframes dustDrift { 0% { transform: scale(1) translate3d(0, 0, 0); } 100% { transform: scale(1.1) translate3d(-30px, 20px, 0); } }

.ambient-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  left: 50%;
  top: 15%;
  transform: translate(-50%, 0);
  background: radial-gradient(circle, rgba(226, 232, 240, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: glowPulse 12s ease-in-out infinite alternate;
}
@keyframes glowPulse { 0% { opacity: 0.35; transform: translate(-50%, 0) scale(0.95); } 100% { opacity: 0.65; transform: translate(-50%, 0) scale(1.08); } }

.ambient-focus-top {
  position: absolute;
  top: -140px;
  right: -80px;
  width: min(85vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.2) 0%, rgba(148, 163, 184, 0.08) 45%, rgba(30, 41, 59, 0.02) 60%, transparent 72%);
  filter: blur(85px);
  pointer-events: none;
}
.ambient-focus-mid {
  position: absolute;
  top: 45vh;
  left: -180px;
  width: min(80vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.14) 0%, rgba(30, 41, 59, 0.08) 45%, transparent 68%);
  filter: blur(95px);
  pointer-events: none;
}
.ambient-focus-bottom {
  position: absolute;
  bottom: -150px;
  right: 15%;
  width: min(75vw, 750px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 213, 225, 0.12) 0%, rgba(30, 41, 59, 0.06) 50%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}
.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 80%);
}

/* ==========================================================================
   READING PROGRESS BAR
   ========================================================================== */
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  background: linear-gradient(90deg, #94a3b8, #ffffff, #e2e8f0);
  transform: scaleX(0);
  transform-origin: left;
}

.skip-link {
  position: fixed;
  inset: 10px auto auto 10px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--on-paper);
  background: var(--paper);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   FLOATING NAV ISLAND (Identical to Main Website)
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  pointer-events: none;
}
.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(14, 18, 26, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: 100px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.site-header.is-scrolled .nav-island {
  background: rgba(14, 18, 26, 0.92);
  border-color: rgba(226, 232, 240, 0.22);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(226, 232, 240, 0.3));
}
.brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--silver-bright);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(226, 232, 240, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--silver-dim);
}
@media (min-width: 768px) {
  .nav-status { display: inline-flex; }
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}
.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  color: var(--silver-mid);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}
.nav-link:hover { color: var(--silver-bright); }

/* ==========================================================================
   BUTTON ARCHITECTURE (Button-in-Button)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  color: var(--on-paper);
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.86rem;
  padding: 8px 10px 8px 18px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(248, 250, 252, 0.2);
  transition: transform 180ms var(--ease-spring), box-shadow 180ms var(--ease-spring), background-color 180ms ease;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(248, 250, 252, 0.35);
  background: #ffffff;
}
.btn-icon-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(7, 9, 14, 0.1);
  flex-shrink: 0;
}
.btn-icon-capsule svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

/* ==========================================================================
   DOUBLE-BEZEL CONTAINER (Haptic Depth)
   ========================================================================== */
.double-bezel {
  background: rgba(226, 232, 240, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 20px;
  padding: 6px;
}
.double-bezel-inner {
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 14px;
  padding: 24px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   SIGNATURE PILL EYEBROW
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(226, 232, 240, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 16px;
}

/* ==========================================================================
   MAIN CONTENT & HERO AREA
   ========================================================================== */
main { position: relative; z-index: 1; }

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 68px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: end;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--silver-bright);
}

.hero-lede {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--silver-mid);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
}

.updated {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  color: var(--silver-dim);
  font-size: 0.78rem;
  font-weight: 600;
}
.updated span { display: inline-flex; align-items: center; gap: 7px; }
.updated span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--silver-hi);
}

/* IDENTITY CARD */
.identity-card {
  position: relative;
}
.identity-badge {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.identity-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--silver-bright);
}
.identity-card p {
  margin: 12px 0 0;
  color: var(--silver-dim);
  font-size: 0.84rem;
  line-height: 1.5;
}
.identity-card a {
  color: var(--silver-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   QUICK FACTS METRIC STRIP
   ========================================================================== */
.quick-facts {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 18, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fact {
  min-width: 0;
  padding: 20px 24px 20px 0;
}
.fact + .fact {
  padding-inline-start: 24px;
  border-inline-start: 1px solid var(--line);
}
.fact small {
  display: block;
  color: var(--silver-dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fact strong {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--silver-bright);
}

/* ==========================================================================
   LEGAL AREA & TOC LAYOUT
   ========================================================================== */
.legal-area {
  padding: 72px 0 110px;
}
.legal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  background: rgba(14, 18, 26, 0.7);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.toc > span,
.toc .toc-title {
  display: block;
  margin-bottom: 14px;
  color: var(--silver-dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.toc nav {
  display: grid;
  gap: 2px;
}
.toc a {
  position: relative;
  padding: 7px 10px 7px 16px;
  color: var(--silver-dim);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  border-radius: 6px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.toc a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1px;
  background: var(--silver-dim);
  transition: width 180ms ease, background-color 180ms ease;
}
.toc a:hover {
  color: var(--silver-bright);
  background: rgba(226, 232, 240, 0.05);
  transform: translateX(2px);
}
.toc a.is-active {
  color: var(--silver-bright);
  background: rgba(226, 232, 240, 0.08);
  font-weight: 700;
}
.toc a.is-active::before {
  width: 8px;
  background: var(--silver-bright);
}

/* LEGAL CONTENT */
.legal-content {
  min-width: 0;
}
.legal-intro {
  margin-bottom: 44px;
  padding: 26px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: rgba(14, 18, 26, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}
.legal-intro strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--silver-bright);
}
.legal-intro p {
  margin: 10px 0 0;
  color: var(--silver-mid);
  line-height: 1.6;
}

.legal-section {
  scroll-margin-top: calc(var(--header-h) + 32px);
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.legal-section:first-of-type { border-top-color: var(--line-strong); }

.section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--silver-dim);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.legal-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--silver-bright);
}
.legal-section h3 {
  margin: 24px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--silver-bright);
}
.legal-section p {
  margin: 16px 0 0;
  color: var(--silver-mid);
  line-height: 1.65;
}
.legal-section strong {
  color: var(--silver-bright);
  font-weight: 700;
}
.legal-section a {
  color: var(--silver-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-inline-start: 22px;
  color: var(--silver-mid);
}
.legal-section li::marker { color: var(--silver-bright); font-weight: 800; }

.note {
  margin-top: 24px;
  padding: 18px 20px;
  border-inline-start: 3px solid var(--silver-bright);
  border-radius: 0 12px 12px 0;
  color: var(--silver-mid);
  background: rgba(226, 232, 240, 0.05);
  font-size: 0.9rem;
  line-height: 1.6;
}

.terms-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(14, 18, 26, 0.6);
}
.term-cell { padding: 20px; }
.term-cell:nth-child(even) { border-inline-start: 1px solid var(--line); }
.term-cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
.term-cell small {
  display: block;
  color: var(--silver-dim);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.term-cell strong {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--silver-bright);
}

.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  background: rgba(14, 18, 26, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}
.contact-block p { margin: 0; color: var(--silver-mid); }
.contact-block a { word-break: break-word; }

/* ==========================================================================
   HIGH-END METALLIC FOOTER (Identical to Main Landing Page)
   ========================================================================== */
.site-foot {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 18, 26, 0.95) 0%, rgba(7, 9, 14, 0.98) 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: clamp(52px, 6vw, 76px) 0 60px;
  color: var(--muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 10;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
  }
}
@media (min-width: 1024px) {
  .foot-grid {
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 48px;
  }
}
.foot-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 18px;
}
.foot-brand-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot-brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--silver-bright);
  font-family: var(--display);
}
.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  vertical-align: middle;
}
.foot-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}
.foot-legal-name {
  font-size: 0.8rem;
  color: var(--silver-mid);
  font-weight: 500;
  margin-top: 6px;
  line-height: 1.45;
}
.foot-desc {
  font-size: 0.82rem;
  color: var(--silver-dim);
  line-height: 1.55;
  margin-top: 8px;
  max-width: 380px;
}
.foot-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.foot-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--silver-mid);
  font-size: 0.84rem;
  text-decoration: none;
  min-height: 44px;
  transition: color 160ms ease, transform 160ms ease;
}
.foot-contact-item:hover {
  color: var(--silver-bright);
  transform: translateX(2px);
}
.foot-contact-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
  color: var(--silver-dim);
}
.foot-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.foot-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--silver-mid);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}
.foot-nav-link:hover {
  color: var(--silver-bright);
  transform: translateX(3px);
}
.foot-legal-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-legal-card {
  display: block;
  background: rgba(18, 24, 36, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.foot-legal-card:hover {
  border-color: rgba(248, 250, 252, 0.4);
  background: rgba(26, 34, 50, 0.85);
  transform: translateY(-2px);
}
.foot-legal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.foot-legal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot-legal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(226, 232, 240, 0.08);
  color: var(--silver-bright);
  flex-shrink: 0;
}
.foot-legal-icon svg {
  width: 14px;
  height: 14px;
}
.foot-legal-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--silver-bright);
}
.foot-legal-arrow {
  color: var(--silver-dim);
  font-size: 0.85rem;
  transition: transform 160ms ease, color 160ms ease;
}
.foot-legal-card:hover .foot-legal-arrow {
  transform: translateX(3px);
  color: var(--silver-bright);
}
.foot-legal-desc {
  font-size: 0.76rem;
  color: var(--silver-dim);
  line-height: 1.45;
  margin-top: 6px;
}
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
  font-size: 0.76rem;
  color: var(--faint);
}

/* ==========================================================================
   REVEAL & ACCESSIBILITY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.is-loaded .reveal {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible { outline: 2px solid var(--silver-hi); outline-offset: 4px; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-shell { grid-template-columns: 1fr; gap: 36px; }
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 10px);
    z-index: 15;
    margin-inline: -16px;
    padding: 10px 16px;
    border-radius: 0;
    overflow-x: auto;
    border-inline: 0;
    scrollbar-width: none;
  }
  .toc::-webkit-scrollbar { display: none; }
  .toc > span, .toc .toc-title { display: none; }
  .toc nav {
    display: flex;
    width: max-content;
    gap: 6px;
  }
  .toc a {
    padding: 8px 12px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--surface-border);
    white-space: nowrap;
    font-size: 0.82rem;
  }
  .toc a::before { display: none; }
  .toc a:hover, .toc a.is-active { transform: none; border-color: var(--silver-hi); }
}

@media (max-width: 640px) {
  :root {
    --header-h: 58px;
  }
  .nav-island { padding: 6px 12px; min-height: 50px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-word { font-size: 0.95rem; }
  .btn-primary { padding: 7px 12px; font-size: 0.78rem; min-height: 44px; }
  .btn-icon-capsule { width: 24px; height: 24px; }
  .toc { top: calc(var(--header-h) + 6px); }
  .toc a { min-height: 38px; padding: 6px 11px; font-size: 0.78rem; }
  .legal-hero { padding: calc(var(--header-h) + 28px) 0 36px; }
  h1 { font-size: clamp(1.85rem, 8vw, 3.2rem); }
  .hero-lede { margin-top: 14px; font-size: 0.95rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { padding: 14px 0; }
  .fact + .fact {
    padding-inline-start: 0;
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }
  .legal-area { padding: 28px 0 80px; }
  .legal-intro { padding: 18px 14px; }
  .legal-section { padding: 28px 0; }
  .terms-table { grid-template-columns: 1fr; }
  .term-cell:nth-child(even) { border-inline-start: 0; }
  .term-cell + .term-cell { border-top: 1px solid var(--line); }
  .contact-block { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  :root { --bg: white; --text: black; --muted: #333; --faint: #555; --line: #bbb; }
  body::before, .ambient-field, .site-header, .reading-progress, .toc, .site-foot { display: none !important; }
  .legal-hero { padding: 20px 0; }
  .legal-area { padding: 15px 0; }
  .hero-grid, .legal-shell { display: block; }
  .legal-section { break-inside: avoid; }
}
