/* IK Studios — Legal & Trust Center (Nexus design system) */

@font-face {
  font-family: "General Sans";
  src: url("assets/fonts/GeneralSans-Variable.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Brand core — warm forest, no blue-black */
  --gold: #c7a86b;
  --vo-gold: #c7a86b;
  --vo-gold-soft: #d8c290;
  --vo-forest: #1f3829;
  --vo-forest-deep: #122118;
  --vo-charcoal: #141c17;
  --vo-charcoal-lift: #1a2620;
  --vo-panel: rgba(255, 255, 255, 0.045);
  --vo-panel-raised: rgba(255, 255, 255, 0.07);
  --vo-glass-header-bg: rgba(18, 28, 22, 0.62);
  --vo-chrome-recess-bg: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.078) 0%,
    rgba(255, 255, 255, 0.028) 45%,
    rgba(0, 0, 0, 0.10) 100%
  );
  --vo-glass-blur: blur(24px) saturate(140%);
  --vo-glass-blur-soft: blur(14px) saturate(140%);
  --vo-ivory: #ffffff;
  --vo-ivory-muted: rgba(255, 255, 255, 0.64);
  --vo-ivory-dim: rgba(255, 255, 255, 0.46);
  --vo-olive: #1f3829;
  --vo-olive-muted: rgba(31, 56, 41, 0.55);
  --vo-selection: rgba(199, 168, 107, 0.28);
  --vo-selection-soft: rgba(199, 168, 107, 0.14);
  --vo-danger: #ff7373;
  --vo-line: rgba(255, 255, 255, 0.10);
  --vo-line-strong: rgba(255, 255, 255, 0.16);
  --vo-gold-stroke: rgba(199, 168, 107, 0.42);
  --vo-shadow-panel: 0 24px 60px -20px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --vo-shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --vo-ease-primary: cubic-bezier(0.23, 1, 0.32, 1);

  --bg-base: #0d1410;
  --bg-overlay-top: rgba(18, 28, 22, 0.30);
  --bg-overlay-mid: rgba(14, 22, 18, 0.42);
  --bg-overlay-bot: rgba(12, 18, 14, 0.54);

  --header-fade-height: 55px;
  --header-fade-top: rgba(18, 28, 22, 0.42);
  --header-fade-mid: rgba(14, 22, 18, 0.18);
  --header-fade-soft: rgba(12, 18, 14, 0.06);

  --vo-s0: 6px;
  --vo-s1: 10px;
  --vo-s2: 16px;
  --vo-s3: 26px;
  --vo-s4: 42px;
  --vo-s5: 68px;

  --vo-r-sm: 10px;
  --vo-r-md: 14px;
  --vo-r-surface: 14px;
  --vo-r-lg: 18px;
  --vo-r-xl: 24px;
  --vo-r-2xl: 30px;
  --vo-r-pill: 999px;
  --vo-radius: var(--vo-r-surface);
  --vo-read-max: 72ch;
  --vo-layout-max: 1200px;

  --vo-heading: "Sora", "General Sans", system-ui, sans-serif;
  --vo-body: "General Sans", system-ui, sans-serif;
  --vo-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, monospace;

  --vo-topbar-h: 72px;
  --vo-progress-h: 3px;
  --vo-edge-fade: 56px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-base);
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 18% 8%, rgba(199, 168, 107, 0.14), transparent 60%),
    radial-gradient(50% 40% at 92% 0%, rgba(31, 56, 41, 0.28), transparent 70%),
    radial-gradient(45% 35% at 50% 85%, rgba(31, 56, 41, 0.16), transparent 65%);
}

body {
  margin: 0;
  min-height: 100dvh;
  min-width: 320px;
  overflow-x: hidden;
  font: 400 16px/1.68 var(--vo-body);
  color: var(--vo-ivory);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: var(--bg-base) center / cover no-repeat url("../images/ikstudios_background_master.png");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--bg-overlay-top) 0%,
    var(--bg-overlay-mid) 55%,
    var(--bg-overlay-bot) 100%
  );
}

::selection {
  color: #fff;
  background: var(--vo-selection);
}

a {
  color: var(--vo-gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--vo-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-sm);
  color: var(--vo-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rule {
  border: 0;
  border-top: 1px solid var(--vo-line);
  margin: var(--vo-s3) 0;
}

/* Progress indicator */
.legal-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--vo-progress-h);
  z-index: 30;
  background: rgba(18, 28, 22, 0.55);
  pointer-events: none;
}

.legal-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--vo-gold), var(--vo-gold-soft));
  transition: width 120ms ease-out;
}

/* Shell */
.legal-shell {
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
  z-index: 1;
}

.legal-shell::before {
  display: none;
}

.skip {
  position: absolute;
  left: var(--vo-s2);
  top: var(--vo-s2);
  z-index: 40;
  padding: var(--vo-s1) var(--vo-s2);
  border: 1px solid var(--vo-gold);
  border-radius: var(--vo-radius);
  background: var(--vo-forest-deep);
  color: var(--vo-ivory);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip:focus {
  transform: translateY(0);
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  isolation: isolate;
  overflow: visible;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 220ms var(--vo-ease-primary), border-color 220ms var(--vo-ease-primary), backdrop-filter 220ms var(--vo-ease-primary);
}

.topbar.is-scrolled {
  border-bottom-color: var(--vo-line);
  background: var(--vo-glass-header-bg);
  backdrop-filter: var(--vo-glass-blur);
  -webkit-backdrop-filter: var(--vo-glass-blur);
}

.legal-shell .topbar {
  border-bottom-color: var(--vo-line);
  background: rgba(18, 28, 22, 0.38);
  backdrop-filter: var(--vo-glass-blur);
  -webkit-backdrop-filter: var(--vo-glass-blur);
}

.legal-shell:not(.legal-shell--hub) .topbar {
  top: var(--vo-progress-h);
}

.topbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--vo-line-strong) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.topbar::after {
  display: none;
}

.topbar-inner {
  position: relative;
  z-index: 3;
  width: min(100% - var(--vo-s4), var(--vo-layout-max));
  min-height: var(--vo-topbar-h);
  margin: 0 auto;
  padding: var(--vo-s1) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vo-s3);
}

/* Brand lockup — official monogram + wordmark PNGs */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--vo-s2);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: contain;
}

.brand__wordmark {
  display: block;
  height: 16px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.brand__lockup {
  display: grid;
  gap: 3px;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--vo-heading);
  font-size: 17px;
  font-weight: 660;
  letter-spacing: -0.01em;
  color: var(--vo-ivory);
}

.brand__tag {
  font-family: var(--vo-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vo-gold);
}

.toplinks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--vo-s0);
}

.toplinks a {
  padding: var(--vo-s1) var(--vo-s2);
  border: 1px solid transparent;
  border-radius: var(--vo-r-sm);
  color: var(--vo-ivory-muted);
  font-size: 12.5px;
  font-family: var(--vo-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.toplinks a:hover,
.toplinks a[aria-current="page"] {
  color: var(--vo-ivory);
  border-color: rgba(199, 168, 107, 0.24);
  background: rgba(199, 168, 107, 0.10);
  text-decoration: none;
}

/* Main layout */
.main {
  position: relative;
  z-index: 1;
  width: min(100% - var(--vo-s4), var(--vo-layout-max));
  margin: 0 auto;
  padding: calc(var(--vo-topbar-h) + var(--vo-s3)) 0 calc(var(--vo-s5) + var(--vo-edge-fade));
  scroll-padding-top: calc(var(--vo-topbar-h) + var(--vo-s3));
  mask-image: linear-gradient(to bottom, transparent 0, #000 20px, #000 calc(100% - var(--vo-edge-fade)), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px, #000 calc(100% - var(--vo-edge-fade)), transparent 100%);
}

/* Hero */
.hero,
.legal-hero {
  margin-bottom: var(--vo-s4);
  padding-bottom: var(--vo-s4);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--vo-gold), rgba(199, 168, 107, 0.18) 42%, transparent 100%) 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--vo-s3);
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-mark {
  width: 96px;
  height: auto;
  object-fit: contain;
}

.kicker,
.eyebrow,
.side-kicker,
.nav-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--vo-gold);
  font-family: var(--vo-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--vo-gold), transparent);
}

.hero h1,
.legal-hero h1 {
  margin: var(--vo-s2) 0 0;
  font-family: var(--vo-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--vo-ivory);
  max-width: 18ch;
}

.deck {
  max-width: var(--vo-read-max);
  margin: var(--vo-s2) 0 0;
  color: var(--vo-ivory-muted);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.58;
}

.meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: var(--vo-s3) 0 0;
  padding: 1px;
  max-width: 760px;
  background: var(--vo-line);
  border-radius: var(--vo-radius);
  overflow: hidden;
}

.meta div {
  padding: var(--vo-s2);
  background: var(--vo-panel);
}

.meta dt {
  margin: 0 0 var(--vo-s0);
  color: var(--vo-gold);
  font-family: var(--vo-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.meta dd {
  margin: 0;
  color: var(--vo-ivory-muted);
  font-size: 14px;
}

/* Grid: sidebar + article */
.grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.382fr) minmax(0, 0.618fr);
  gap: var(--vo-s4);
  align-items: start;
}

.sidebar {
  display: grid;
  gap: var(--vo-s2);
}

.side-panel,
.legal-card {
  position: relative;
  padding: var(--vo-s3);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-xl);
  background: var(--vo-chrome-recess-bg);
  backdrop-filter: var(--vo-glass-blur-soft);
  -webkit-backdrop-filter: var(--vo-glass-blur-soft);
  box-shadow: var(--vo-shadow-soft);
  transition: transform 220ms var(--vo-ease-primary), border-color 220ms var(--vo-ease-primary), box-shadow 220ms var(--vo-ease-primary);
}

.side-panel::after,
.legal-card::after,
.article::after,
.legal-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.side-panel,
.article,
.legal-contact {
  position: relative;
}

.sticky {
  position: sticky;
  top: calc(var(--vo-topbar-h) + var(--vo-s2));
}

/* TOC */
.nav {
  display: grid;
  gap: var(--vo-s2);
  margin-top: var(--vo-s2);
}

.nav-group {
  display: grid;
  gap: var(--vo-s0);
}

.nav a,
.anchors a,
.legal-toc a {
  display: block;
  padding: var(--vo-s1) var(--vo-s2);
  border-radius: var(--vo-radius);
  color: var(--vo-ivory-muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav a:hover,
.anchors a:hover,
.legal-toc a:hover,
.anchors a[aria-current="true"],
.nav a[aria-current="page"] {
  color: var(--vo-ivory);
  background: var(--vo-panel-raised);
  border-color: var(--vo-line-strong);
  text-decoration: none;
}

.anchors,
.legal-toc {
  display: grid;
  gap: var(--vo-s0);
  margin-top: var(--vo-s2);
}

/* Article */
.article {
  min-width: 0;
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-xl);
  background: var(--vo-chrome-recess-bg);
  backdrop-filter: var(--vo-glass-blur-soft);
  -webkit-backdrop-filter: var(--vo-glass-blur-soft);
  box-shadow: var(--vo-shadow-panel);
  padding: clamp(var(--vo-s3), 4vw, var(--vo-s4));
}

.article > p,
.section p,
.legal-section p {
  max-width: var(--vo-read-max);
}

/* Section */
.section,
.legal-section {
  scroll-margin-top: calc(var(--vo-topbar-h) + var(--vo-s4));
}

.section + .section,
.legal-section + .legal-section {
  margin-top: var(--vo-s3);
  padding-top: var(--vo-s3);
  border-top: 1px solid var(--vo-line);
}

.section h2,
.legal-section h2 {
  margin: 0 0 var(--vo-s2);
  font-family: var(--vo-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--vo-ivory);
}

.section h3,
.legal-section h3 {
  margin: var(--vo-s3) 0 var(--vo-s1);
  font-family: var(--vo-heading);
  font-size: 17px;
  font-weight: 620;
  color: var(--vo-ivory);
}

.section p,
.legal-section p {
  margin: 0;
  color: var(--vo-ivory-muted);
  font-size: 16px;
  line-height: 1.72;
}

.section p + p,
.legal-section p + p {
  margin-top: var(--vo-s2);
}

.list {
  margin: var(--vo-s2) 0 0;
  padding-left: 1.25rem;
  color: var(--vo-ivory-muted);
  max-width: var(--vo-read-max);
}

.list li {
  margin: var(--vo-s1) 0;
  padding-left: var(--vo-s0);
  line-height: 1.6;
}

.list li::marker {
  color: var(--vo-gold);
}

.list strong {
  color: var(--vo-ivory);
  font-weight: 600;
}

/* Notice */
.notice,
.legal-notice {
  padding: var(--vo-s3);
  margin-bottom: var(--vo-s3);
  border: 1px solid rgba(199, 168, 107, 0.32);
  border-radius: var(--vo-radius);
  background: rgba(199, 168, 107, 0.06);
}

.notice[data-tone="warning"],
.legal-notice[data-tone="warning"] {
  border-color: rgba(216, 194, 144, 0.38);
  background: rgba(216, 194, 144, 0.08);
}

.notice h2,
.legal-notice h2 {
  margin: 0 0 var(--vo-s1);
  font-family: var(--vo-heading);
  font-size: 18px;
  line-height: 1.2;
  color: var(--vo-ivory);
}

.notice p,
.legal-notice p {
  margin: 0;
  color: var(--vo-ivory-muted);
  max-width: var(--vo-read-max);
  font-size: 15px;
  line-height: 1.6;
}

.notice p + p,
.legal-notice p + p {
  margin-top: var(--vo-s1);
}

/* Callout */
.disclosure,
.legal-callout {
  margin-top: var(--vo-s2);
  padding: var(--vo-s2);
  border: 1px solid var(--vo-olive-muted);
  border-radius: var(--vo-radius);
  background: rgba(31, 56, 41, 0.10);
  max-width: var(--vo-read-max);
}

.disclosure[data-tone="warning"],
.legal-callout[data-tone="warning"] {
  border-color: rgba(216, 194, 144, 0.35);
  background: rgba(216, 194, 144, 0.08);
}

.disclosure[data-tone="danger"],
.legal-callout[data-tone="danger"] {
  border-color: rgba(255, 115, 115, 0.38);
  background: rgba(255, 115, 115, 0.09);
}

.disclosure-title,
.legal-callout__title {
  margin: 0 0 var(--vo-s1);
  color: var(--vo-gold);
  font-family: var(--vo-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disclosure p,
.legal-callout p {
  margin: 0;
  color: var(--vo-ivory-muted);
  font-size: 15px;
  line-height: 1.6;
}

.disclosure p + p,
.legal-callout p + p {
  margin-top: var(--vo-s1);
}

/* Tables */
.table-wrap {
  margin-top: var(--vo-s2);
  overflow-x: auto;
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-radius);
  max-width: 100%;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: rgba(18, 28, 22, 0.50);
}

.table caption {
  padding: var(--vo-s2);
  text-align: left;
  color: var(--vo-gold);
  font-family: var(--vo-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table th,
.table td {
  padding: var(--vo-s2);
  border-top: 1px solid var(--vo-line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}

.table th {
  color: var(--vo-gold);
  font-family: var(--vo-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(18, 28, 22, 0.72);
}

.table td {
  color: var(--vo-ivory-muted);
}

.table td:first-child {
  color: var(--vo-ivory);
  font-weight: 600;
}

/* Highlights */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--vo-s2);
  margin-top: var(--vo-s2);
  max-width: var(--vo-read-max);
}

.highlight {
  padding: var(--vo-s2);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-radius);
  background: rgba(18, 28, 22, 0.55);
}

.highlight h3 {
  margin: 0 0 var(--vo-s0);
  font-family: var(--vo-heading);
  font-size: 14px;
  font-weight: 620;
  color: var(--vo-ivory);
}

.highlight p {
  margin: 0;
  color: var(--vo-ivory-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Contact */
.legal-contact {
  margin-top: var(--vo-s4);
  padding: var(--vo-s3);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-lg);
  background: var(--vo-chrome-recess-bg);
  box-shadow: var(--vo-shadow-soft);
}

.legal-contact h2 {
  margin: 0 0 var(--vo-s1);
  font-family: var(--vo-heading);
  font-size: 22px;
  color: var(--vo-ivory);
}

.legal-contact p {
  margin: 0;
  color: var(--vo-ivory-muted);
  max-width: var(--vo-read-max);
}

.legal-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--vo-s2);
  margin-top: var(--vo-s2);
}

.legal-contact__item {
  padding: var(--vo-s2);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-radius);
  background: rgba(18, 28, 22, 0.45);
}

.legal-contact__item dt {
  margin: 0 0 var(--vo-s0);
  color: var(--vo-gold);
  font-family: var(--vo-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-contact__item dd {
  margin: 0;
  color: var(--vo-ivory-muted);
  font-size: 14px;
}

/* Footer — sits below .main inside .legal-shell, full viewport width */
.footer,
.legal-footer {
  width: 100%;
  margin-top: var(--vo-s5);
  padding: 2.4rem clamp(1rem, 4vw, 2.75rem);
  border-top: 1px solid var(--vo-line);
  background: var(--vo-forest-deep);
  display: grid;
  gap: 1.25rem;
}

.legal-shell > .legal-contact {
  width: min(100% - var(--vo-s4), var(--vo-layout-max));
  margin: var(--vo-s5) auto 0;
}

.legal-footer__top {
  display: flex;
  align-items: center;
  gap: var(--vo-s2);
}

.legal-footer__top .brand__name {
  font-size: 15px;
}

.footer p,
.legal-footer p {
  margin: 0;
  color: var(--vo-ivory-dim);
  font-size: 0.84rem;
  max-width: 72ch;
}

.footer a,
.legal-footer a {
  color: var(--vo-gold);
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.legal-footer__links a {
  font-size: 0.84rem;
  color: var(--vo-ivory-muted);
  text-decoration: none;
}

.legal-footer__links a:hover {
  color: var(--vo-ivory);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vo-s2);
  margin-top: var(--vo-s3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--vo-s1);
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--vo-r-md);
  font-family: var(--vo-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 150ms ease, border-color 150ms ease, transform 140ms var(--vo-ease-primary), color 150ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: rgba(199, 168, 107, 0.92);
  border-color: transparent;
  color: rgb(26, 36, 28);
}

.btn--primary:hover {
  background: var(--vo-gold);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--vo-line-strong);
  color: rgba(255, 255, 255, 0.86);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* Hub */
.legal-shell--hub .legal-progress {
  display: none;
}

.main--hub {
  width: min(100% - var(--vo-s4), var(--vo-layout-max));
  display: grid;
  gap: var(--vo-s5);
}

.trust-hero {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.trust-hero__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--vo-s4);
  align-items: end;
}

.trust-hero__copy {
  min-width: 0;
}

.trust-hero__copy .kicker::after {
  content: "";
  display: block;
  width: min(120px, 30%);
  height: 1px;
  margin-top: var(--vo-s2);
  background: linear-gradient(90deg, var(--vo-gold), transparent);
}

.trust-hero__copy h1 {
  max-width: 15ch;
}

.trust-hero__mark {
  display: block;
}

.trust-hero__mark::after {
  content: none;
}

.trust-hero__mark img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.meta--hub {
  margin-top: var(--vo-s3);
}

.trust-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--vo-s3);
  align-items: stretch;
}

.trust-overview .legal-card {
  display: grid;
  align-content: start;
  gap: var(--vo-s1);
}

.trust-overview h2,
.trust-section-title {
  margin: 0 0 var(--vo-s2);
  font-family: var(--vo-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 620;
  letter-spacing: -0.015em;
  color: var(--vo-ivory);
}

.trust-overview p,
.trust-section-deck {
  margin: 0;
  color: var(--vo-ivory-muted);
  max-width: var(--vo-read-max);
  line-height: 1.65;
}

.trust-overview p + p {
  margin-top: var(--vo-s1);
}

.trust-section-deck {
  margin-bottom: var(--vo-s3);
}

.trust-overview__table .table-wrap {
  margin-top: 0;
}

.trust-overview__table .table {
  min-width: 0;
}

.trust-essential,
.trust-library {
  padding-top: var(--vo-s1);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--vo-line) 12%, var(--vo-line) 88%, transparent) 1;
}

.trust-essential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--vo-s2);
}

.trust-essential-card {
  min-height: 140px;
  position: relative;
  padding: var(--vo-s2) var(--vo-s4) var(--vo-s2) var(--vo-s2);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-xl);
  background: var(--vo-chrome-recess-bg);
  backdrop-filter: var(--vo-glass-blur-soft);
  -webkit-backdrop-filter: var(--vo-glass-blur-soft);
  display: grid;
  gap: var(--vo-s0);
  align-content: start;
  text-decoration: none;
  transition: border-color 220ms var(--vo-ease-primary), background 220ms var(--vo-ease-primary), transform 220ms var(--vo-ease-primary), box-shadow 220ms var(--vo-ease-primary);
}

.trust-essential-card::after {
  content: "\2192";
  position: absolute;
  right: var(--vo-s2);
  bottom: var(--vo-s2);
  color: var(--vo-gold);
  font-family: var(--vo-heading);
  font-size: 14px;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.trust-essential-card__title {
  font-family: var(--vo-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--vo-ivory);
}

.trust-essential-card small {
  color: var(--vo-ivory-dim);
  font-size: 13px;
  line-height: 1.5;
}

/* Index library */
.index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--vo-s3);
}

.index-group {
  position: relative;
  display: grid;
  gap: var(--vo-s1);
  align-content: start;
  padding: var(--vo-s2);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-xl);
  background: var(--vo-chrome-recess-bg);
  box-shadow: var(--vo-shadow-soft);
}

.index-group::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.index-card {
  display: grid;
  gap: var(--vo-s0);
  padding: var(--vo-s2);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-xl);
  background: var(--vo-panel);
  text-decoration: none;
  transition: border-color 220ms var(--vo-ease-primary), background 220ms var(--vo-ease-primary), transform 220ms var(--vo-ease-primary), box-shadow 220ms var(--vo-ease-primary);
}

.index-card span {
  font-family: var(--vo-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--vo-ivory);
}

.index-card small {
  color: var(--vo-ivory-dim);
  font-size: 13px;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .index-card:hover,
  .trust-essential-card:hover {
    transform: translateY(-3px);
    border-color: rgba(199, 168, 107, 0.28);
    background: rgba(199, 168, 107, 0.06);
    box-shadow: var(--vo-shadow-soft);
    text-decoration: none;
  }
  .trust-essential-card:hover::after {
    transform: translateX(3px);
    opacity: 1;
  }
}

.trust-back {
  display: inline-flex;
  align-items: center;
  gap: var(--vo-s1);
  margin-bottom: var(--vo-s3);
  padding: var(--vo-s1) var(--vo-s2);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-sm);
  background: var(--vo-chrome-recess-bg);
  color: var(--vo-ivory-muted);
  font-family: var(--vo-heading);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.trust-back::before {
  content: "\2190";
  color: var(--vo-gold);
}

.trust-back:hover {
  color: var(--vo-ivory);
  border-color: rgba(199, 168, 107, 0.28);
  text-decoration: none;
}

.side-kicker--link a {
  color: var(--vo-gold);
  text-decoration: none;
  font-size: 11px;
}

.side-kicker--link a:hover {
  text-decoration: underline;
}

/* FAQ accordions */
.faq {
  display: grid;
  gap: var(--vo-s1);
  margin-top: var(--vo-s2);
}

.faq__item {
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-md);
  background: rgba(18, 28, 22, 0.45);
  overflow: hidden;
}

.faq__item[open] {
  border-color: rgba(199, 168, 107, 0.26);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--vo-s2) var(--vo-s3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vo-s2);
  font-family: var(--vo-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--vo-ivory);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex: none;
  color: var(--vo-gold);
  font-size: 20px;
  font-weight: 400;
  transition: transform 220ms var(--vo-ease-primary);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding: 0 var(--vo-s3) var(--vo-s2);
}

.faq__body p {
  margin: 0;
  color: var(--vo-ivory-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq__body p + p {
  margin-top: var(--vo-s1);
}

/* Preference / cookie toggles */
.pref-list {
  display: grid;
  gap: var(--vo-s2);
  margin-top: var(--vo-s2);
}

.pref-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--vo-s2);
  align-items: center;
  padding: var(--vo-s2) var(--vo-s3);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-md);
  background: rgba(18, 28, 22, 0.45);
}

.pref-row__copy strong {
  display: block;
  font-family: var(--vo-heading);
  font-size: 15px;
  font-weight: 620;
  color: var(--vo-ivory);
}

.pref-row__copy p {
  margin: var(--vo-s0) 0 0;
  color: var(--vo-ivory-dim);
  font-size: 13.5px;
  line-height: 1.55;
}

.pref-toggle {
  position: relative;
  display: inline-flex;
  flex: none;
  width: 46px;
  height: 26px;
  cursor: pointer;
}

.pref-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.pref-toggle__track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: var(--vo-r-sm);
  border: 1px solid var(--vo-line-strong);
  background: rgba(255, 255, 255, 0.08);
  transition: background 180ms var(--vo-ease-primary), border-color 180ms var(--vo-ease-primary);
}

.pref-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: var(--vo-ivory-muted);
  transition: transform 180ms var(--vo-ease-primary), background 180ms var(--vo-ease-primary);
}

.pref-toggle input:checked + .pref-toggle__track {
  background: var(--vo-selection-soft);
  border-color: rgba(115, 235, 158, 0.50);
}

.pref-toggle input:checked + .pref-toggle__track::after {
  transform: translateX(20px);
  background: var(--vo-selection);
}

.pref-toggle input:disabled {
  cursor: not-allowed;
}

.pref-toggle input:disabled + .pref-toggle__track {
  opacity: 0.6;
}

.pref-toggle input:focus-visible + .pref-toggle__track {
  outline: 2px solid var(--vo-gold);
  outline-offset: 2px;
}

.pref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vo-s2);
  margin-top: var(--vo-s3);
  align-items: center;
}

.pref-status {
  font-size: 13px;
  color: var(--vo-ivory-dim);
}

.pref-status[data-state="saved"] {
  color: var(--vo-selection);
}

/* Status board */
.status-board {
  display: grid;
  gap: var(--vo-s1);
  margin-top: var(--vo-s2);
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--vo-s2);
  align-items: center;
  padding: var(--vo-s2) var(--vo-s3);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-md);
  background: rgba(18, 28, 22, 0.45);
}

.status-row strong {
  font-family: var(--vo-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--vo-ivory);
}

.status-row small {
  display: block;
  color: var(--vo-ivory-dim);
  font-size: 13px;
  margin-top: 2px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--vo-r-sm);
  border: 1px solid rgba(115, 235, 158, 0.45);
  background: var(--vo-selection-soft);
  color: var(--vo-selection);
  font-family: var(--vo-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill[data-tone="planned"] {
  border-color: rgba(199, 168, 107, 0.40);
  background: rgba(199, 168, 107, 0.08);
  color: var(--vo-gold-soft);
}

/* Code / security.txt */
.codeblock {
  margin-top: var(--vo-s2);
  padding: var(--vo-s3);
  border: 1px solid var(--vo-line);
  border-radius: var(--vo-r-md);
  background: rgba(14, 22, 18, 0.72);
  overflow-x: auto;
}

.codeblock pre {
  margin: 0;
  font-family: var(--vo-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--vo-ivory-muted);
  white-space: pre;
}

.codeblock .tok-key {
  color: var(--vo-gold);
}

.codeblock .tok-comment {
  color: var(--vo-ivory-dim);
}

/* Responsive */
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-essential-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-overview { grid-template-columns: 1fr; }
  .trust-hero__layout { grid-template-columns: 1fr; }
  .trust-hero__mark { justify-self: start; }
  .trust-hero__mark img { width: 88px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .legal-contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .main, .topbar-inner { width: min(100% - var(--vo-s3), var(--vo-layout-max)); }
  .main { padding-top: var(--vo-s3); }
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: var(--vo-s2) 0; }
  .meta, .highlight-grid, .index-grid, .trust-essential-grid { grid-template-columns: 1fr; }
  .main--hub { width: min(100% - var(--vo-s3), var(--vo-layout-max)); gap: var(--vo-s4); }
  .article { padding: var(--vo-s3); }
  .pref-row, .status-row { grid-template-columns: 1fr; }
  .sidebar--toc-mobile { display: block; }
}

@media (min-width: 681px) {
  .sidebar--toc-mobile { display: none; }
}

/* Entrance reveal */
@keyframes ik-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.main > * {
  animation: ik-rise 600ms var(--vo-ease-primary) both;
}

.main > *:nth-child(1) { animation-delay: 40ms; }
.main > *:nth-child(2) { animation-delay: 110ms; }
.main > *:nth-child(3) { animation-delay: 180ms; }
.main > *:nth-child(4) { animation-delay: 250ms; }
.main > *:nth-child(n + 5) { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .main > * { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar, .side-panel, .legal-card, .article, .index-group, .trust-hero__mark, .trust-back {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .main { mask-image: none; -webkit-mask-image: none; }
}

/* Print */
@media print {
  body { background: #fff; color: #111; }
  .legal-progress, .topbar, .sidebar, .skip, .hero-mark, .trust-back, .cta-row { display: none !important; }
  .article { border: none; box-shadow: none; background: transparent; padding: 0; }
  .section, .legal-section { break-inside: avoid; }
  a { color: #111; text-decoration: underline; }
  .notice, .legal-notice { border: 1px solid #ccc; background: #f5f5f5; }
}





