﻿/* ========================================
   site-base.css â€” shared base for legal & utility pages
   Subset of index.html design system, no animations,
   no hero-specific styles. Self-hosted fonts only.
   ======================================== */

/* Self-hosted fonts (no third-party CDN) */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/ubuntu-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Ubuntu';
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/ubuntu-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('../fonts/ubuntu-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url('../fonts/figtree-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 300;
  font-display: block;
  src: url('../fonts/figtree-italic.woff2') format('woff2');
}

/* Design tokens â€” mirror of index.html :root.
   Only the subset legal/utility pages need; full token list lives in DESIGN_SYSTEM.md. */
:root {
  --bg-primary: #161616;
  --bg-card: #242424;
  --accent: #EB5757;
  --accent-text: #FF8E8E;
  --success: #5B8C5A;
  --highlight: #BF9A58;
  --text-primary: #FFEDC9;
  --text-secondary: #B3A08A;
  --text-tertiary: #D6C4A8;
  --text-muted: #998871;
  --border: #2D2D2D;
  --border-card: #474747;
  --link-underline-thickness: 1px;
  --link-underline-offset: 3px;
  --link-underline-color-rest: rgba(255, 142, 142, 0.4);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --font-weight-figtree-thin: 300;
}

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

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-padding-top: 128px;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Focus visible â€” keyboard navigation (matches index.html) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 16px;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: 2px solid var(--accent);
  border-radius: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(calc(-100% - 32px));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.skip-link:focus-visible {
  opacity: 1;
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

main:focus {
  outline: none;
}

::selection {
  background: var(--text-primary);
  color: var(--bg-primary);
}

body {
  font-family: 'Figtree', sans-serif;
  font-weight: var(--font-weight-figtree-thin);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', sans-serif;
}

/* Global link reset â€” matches index.html.
   Component-level overrides (navbar, footer) and the body-copy override (.page a)
   set their own colour + decoration. */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   NAVBAR (full â€” matches index.html exactly)
   ======================================== */
.navbar {
  --navbar-edge-space: 32px;
  --navbar-scrolled-edge-space: 20px;
  --navbar-column-gap: clamp(24px, 3vw, 40px);
  --navbar-link-gap: clamp(24px, 2.25vw, 32px);
  position: fixed;
  top: 16px;
  /* logo/CTA flush with frame outer edge: nav box is 1504 wide (frame 1440 + 32px nav padding Ã- 2) */
  left: max(0px, calc(50% - 752px));
  right: max(0px, calc(50% - 752px));
  transform: none;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: var(--navbar-column-gap);
  align-items: center;
  height: 80px;
  padding: 0 var(--navbar-edge-space);
  border-radius: 0;
  transition: top 0.5s ease, left 0.5s ease, right 0.5s ease,
              padding 0.5s ease, border-radius 0.5s ease,
              background-color 0.5s ease, backdrop-filter 0.5s ease,
              border-color 0.5s ease;
  border: 1px solid transparent;
}

.navbar.scrolled,
html.navbar-initial-scrolled .navbar {
  top: 16px;
  left: max(16px, calc(50% - 500px));
  right: max(16px, calc(50% - 500px));
  padding: 0 0 0 var(--navbar-scrolled-edge-space);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: top 0.5s ease, left 0.5s ease, right 0.5s ease,
              padding 0.5s ease, border-radius 0.5s ease,
              background-color 0.5s ease, backdrop-filter 0.5s ease,
              border-color 0.5s ease, box-shadow 0.35s ease;
}

.navbar.navbar--instant,
.navbar.navbar--instant .navbar__cta,
.navbar.navbar--instant .navbar__cta::before,
.navbar.navbar--instant .navbar__cta::after,
.navbar.navbar--instant .navbar__cta-outline {
  transition: none !important;
}

.navbar.scrolled:has(.navbar__cta:hover) {
  box-shadow: inset -120px 0 80px -40px rgba(235, 87, 87, 0.12);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 1;
  justify-self: start;
  flex-shrink: 0;
  min-height: 44px;
  text-decoration: none;
}

.navbar__logo svg {
  height: 46px;
  width: auto;
  display: block;
}

.navbar__studio-name {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-left: 0;
  white-space: nowrap;
}

.navbar__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: var(--navbar-link-gap);
  list-style: none;
  padding: 0;
  min-width: 0;
}

.navbar__links a {
  position: relative;
  display: inline-block;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-secondary);
  white-space: nowrap;
  text-decoration: none;
  padding: 1px 2px 3px;
  transition: none;
}

.navbar__links a::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(44px, calc(100% + 16px));
  height: 44px;
  transform: translate(-50%, -50%);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.navbar__links a.active {
  color: var(--text-primary);
}

.navbar__links a.active::after {
  background: var(--accent);
}

.navbar__links a:hover {
  color: var(--text-primary);
}

.navbar__cta {
  background-color: transparent;
  color: var(--text-primary);
  height: 56px;
  min-height: 56px;
  box-sizing: border-box;
  padding: 0 32px;
  border-radius: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: visible;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 3;
  justify-self: end;
  transition: height 0.52s var(--ease-premium),
              padding 0.52s var(--ease-premium) 0.06s,
              border-radius 0.52s var(--ease-premium),
              background-color 0.18s ease 0.34s,
              color 0.18s ease 0.34s,
              border-color 0.2s ease,
              box-shadow 0.35s ease,
              transform 0.25s ease;
  cursor: pointer;
}

.navbar__cta::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: var(--border);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  transition: background-color 0.2s ease;
}

.navbar__cta:hover::before {
  background: var(--accent);
}

.navbar__cta::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.navbar__cta-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  position: relative;
  z-index: 2;
}

.navbar__cta-outline {
  display: none;
}

.navbar__cta-text {
  display: block;
  line-height: 1;
}

.navbar__cta-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
  color: var(--accent);
}

@media (min-width: 901px) {
  .navbar__logo {
    transform: translateY(-1px);
  }

  .navbar__links {
    transform: translate(-50%, calc(-50% - 1px));
  }

  .navbar__cta-text {
    transform: translateY(-1px);
  }
}

@media (min-width: 901px) and (max-height: 780px) {
  .navbar {
    --navbar-edge-space: 24px;
    top: 12px;
  }

  .navbar.scrolled,
  html.navbar-anchor-start .navbar,
  html.navbar-initial-scrolled .navbar {
    top: 12px;
  }
}

.navbar__cta:hover {
  color: var(--text-primary);
  border-color: transparent;
  box-shadow: 0 0 28px 8px rgba(235, 87, 87, 0.34);
  transform: translateY(-1px);
}

.navbar__cta:hover::after {
  opacity: 1;
}

.navbar__cta.btn--with-fast-forward {
  padding-right: 24px;
}

.navbar.scrolled .navbar__cta,
html.navbar-initial-scrolled .navbar__cta {
  align-self: center;
  height: 80px;
  min-height: 0;
  padding: 0 44px;
  margin-top: -1px;
  margin-right: -0.5px;
  margin-bottom: -1px;
  margin-left: 0;
  background-color: transparent;
  color: var(--text-primary);
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(235, 87, 87, 0);
  border-radius: 0 999px 999px 0;
  transition: height 0.52s var(--ease-premium),
              padding 0.52s var(--ease-premium),
              border-radius 0.52s var(--ease-premium),
              background-color 0.18s ease,
              color 0.18s ease,
              border-color 0.2s ease,
              box-shadow 0.5s ease,
              transform 0.25s ease;
}

.navbar.scrolled .navbar__cta-content,
html.navbar-initial-scrolled .navbar__cta-content {
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: none;
}

.navbar.scrolled .navbar__cta-text,
html.navbar-initial-scrolled .navbar__cta-text {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -1px;
}

.navbar.scrolled .navbar__cta-outline,
html.navbar-initial-scrolled .navbar__cta-outline {
  display: block;
  position: absolute;
  inset: 1px 1px 1px 0;
  opacity: 0;
  pointer-events: none;
  border: 1px solid transparent;
  border-left: none;
  border-radius: 0 999px 999px 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  z-index: 0;
}

.navbar.scrolled .navbar__cta::after,
html.navbar-initial-scrolled .navbar__cta::after {
  display: none;
}

.navbar.scrolled .navbar__cta::before,
html.navbar-initial-scrolled .navbar__cta::before {
  top: 0;
  bottom: 0;
  z-index: 1;
}

.navbar.scrolled .navbar__cta:hover {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--accent);
  box-shadow: 0 0 28px 8px rgba(235, 87, 87, 0.34);
  transform: none;
}

.navbar.scrolled .navbar__cta:hover .navbar__cta-outline {
  opacity: 0;
}

/* Mobile nav toggle */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  width: 44px;
  height: 44px;
  line-height: 0;
}

.navbar__toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
}

@keyframes mobile-nav-content-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobile-nav-content-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

html.navbar-menu-open::before,
html.navbar-menu-closing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: rgba(10, 10, 10, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.42s var(--ease-premium),
              backdrop-filter 0.42s var(--ease-premium),
              background-color 0.42s var(--ease-premium);
}

html.navbar-menu-closing::before {
  opacity: 0;
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

/* Mobile nav open state */
.navbar.navbar--open {
  height: auto;
  min-height: var(--mobile-navbar-row, 80px);
  max-height: min(100svh, 520px);
  grid-template-rows: var(--mobile-navbar-control-size, 44px) auto auto;
  grid-auto-rows: auto;
  align-items: center;
  padding: 0 32px 24px;
  border-radius: 0;
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid transparent !important;
  border-bottom-color: var(--border) !important;
  box-shadow: none;
  overflow: hidden;
}

.navbar.navbar--closing {
  height: auto;
  min-height: var(--mobile-navbar-row, 80px);
  max-height: var(--mobile-navbar-row, 80px);
  grid-template-rows: var(--mobile-navbar-control-size, 44px) auto auto;
  grid-auto-rows: auto;
  align-items: center;
  padding: 0 32px;
  border-radius: 0;
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid transparent !important;
  border-bottom-color: var(--border) !important;
  box-shadow: none;
  overflow: hidden;
}

.navbar--open .navbar__logo,
.navbar--open .navbar__toggle,
.navbar--closing .navbar__logo,
.navbar--closing .navbar__toggle {
  align-self: center;
  display: flex;
  align-items: center;
}

.navbar--open .navbar__links,
.navbar--closing .navbar__links {
  position: static;
  transform: none;
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
  margin-top: var(--mobile-navbar-space, 24px);
  padding: var(--mobile-navbar-space, 24px) 0 var(--mobile-navbar-space, 24px);
  border-top: 1px solid var(--border);
}

.navbar--open .navbar__links {
  animation: mobile-nav-content-in 0.36s var(--ease-premium) both;
}

.navbar--closing .navbar__links {
  animation: mobile-nav-content-out 0.22s ease both;
}

.navbar--open .navbar__links li,
.navbar--closing .navbar__links li {
  padding: 10px 0;
}

.navbar--open .navbar__links a,
.navbar--closing .navbar__links a {
  font-size: 1rem;
}

.navbar.navbar--open .navbar__cta,
.navbar.navbar--closing .navbar__cta {
  display: flex !important;
  grid-column: 1 / -1;
  grid-row: 3;
  width: 100%;
  justify-self: stretch;
  height: 56px;
  min-height: 56px;
  align-self: auto;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  margin: 0;
  border-radius: 0;
  border-color: var(--text-primary);
  background-color: transparent;
  color: var(--text-primary);
  box-shadow: none;
  transform: none;
}

.navbar.navbar--open .navbar__cta {
  animation: mobile-nav-content-in 0.36s var(--ease-premium) 0.05s both;
}

.navbar.navbar--closing .navbar__cta {
  animation: mobile-nav-content-out 0.2s ease both;
}

.navbar.navbar--open .navbar__cta::before,
.navbar.navbar--open .navbar__cta::after,
.navbar.navbar--open .navbar__cta-outline,
.navbar.navbar--closing .navbar__cta::before,
.navbar.navbar--closing .navbar__cta::after,
.navbar.navbar--closing .navbar__cta-outline {
  display: none;
}

.navbar.navbar--open .navbar__cta-content,
.navbar.navbar--closing .navbar__cta-content {
  height: auto;
  min-height: 0;
  transform: none;
}

.navbar.navbar--open .navbar__cta-text,
.navbar.navbar--closing .navbar__cta-text {
  top: 0;
}

.navbar__toggle svg line {
  transition: transform 0.26s var(--ease-premium), opacity 0.18s ease;
  transform-box: fill-box;
  transform-origin: center center;
}

.navbar__toggle[aria-expanded="true"] .bar-top {
  transform: translateY(6px) rotate(45deg) scaleX(0.9);
}

.navbar__toggle[aria-expanded="true"] .bar-mid {
  opacity: 0;
}

.navbar__toggle[aria-expanded="true"] .bar-bot {
  transform: translateY(-6px) rotate(-45deg) scaleX(0.9);
}

@media (max-width: 900px) {
  .navbar {
    --mobile-navbar-space: 17px;
    --mobile-navbar-space-x: 24px;
    --mobile-navbar-space-top: calc(var(--mobile-navbar-space) - 3px);
    --mobile-navbar-control-size: 44px;
    --mobile-navbar-logo-height: 38px;
    --mobile-navbar-row: calc(var(--mobile-navbar-control-size) + var(--mobile-navbar-space-top) + var(--mobile-navbar-space));
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: var(--mobile-navbar-row);
    padding: var(--mobile-navbar-space-top) var(--mobile-navbar-space-x) var(--mobile-navbar-space);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-width: 0 0 1px;
    border-color: transparent;
    max-height: var(--mobile-navbar-row);
    overflow: hidden;
    transition: max-height 0.42s var(--ease-premium),
                padding 0.42s var(--ease-premium),
                background-color 0.5s ease,
                border-color 0.5s ease,
                backdrop-filter 0.5s ease,
                box-shadow 0.35s ease;
  }

  .navbar.scrolled,
  html.navbar-initial-scrolled .navbar {
    top: 0;
    left: 0;
    right: 0;
    padding: var(--mobile-navbar-space-top) var(--mobile-navbar-space-x) var(--mobile-navbar-space);
    border-radius: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-width: 0 0 1px;
    border-color: transparent transparent var(--border);
    max-height: var(--mobile-navbar-row);
    overflow: hidden;
    transition: max-height 0.42s var(--ease-premium),
                padding 0.42s var(--ease-premium),
                background-color 0.5s ease,
                border-color 0.5s ease,
                backdrop-filter 0.5s ease,
                box-shadow 0.35s ease;
  }

  .navbar.navbar--open,
  .navbar.scrolled.navbar--open,
  html.navbar-initial-scrolled .navbar.navbar--open,
  html.navbar-initial-scrolled .navbar.navbar--open {
    padding: var(--mobile-navbar-space-top) var(--mobile-navbar-space-x) var(--mobile-navbar-space-x);
    border-radius: 0;
    border-width: 0 0 1px !important;
    max-height: min(100svh, 520px);
  }

  .navbar.navbar--closing,
  .navbar.scrolled.navbar--closing,
  html.navbar-initial-scrolled .navbar.navbar--closing {
    padding: var(--mobile-navbar-space-top) var(--mobile-navbar-space-x) var(--mobile-navbar-space-x);
    border-radius: 0;
    border-width: 0 0 1px !important;
    max-height: var(--mobile-navbar-row);
  }

  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__links {
    position: static;
    transform: none;
  }

  .navbar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    grid-column: 3;
    justify-self: end;
    margin-right: -12px;
  }

  .navbar__logo svg {
    height: var(--mobile-navbar-logo-height);
  }

  .navbar__logo {
    align-self: center;
  }

  .navbar__studio-name {
    font-size: 1.0625rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    --navbar-edge-space: 24px;
    --navbar-scrolled-edge-space: 20px;
    --mobile-navbar-space: 13px;
    --mobile-navbar-space-x: 20px;
    --mobile-navbar-logo-height: 36px;
  }

  .navbar.scrolled,
  html.navbar-initial-scrolled .navbar,
  .navbar.navbar--open,
  .navbar.navbar--closing,
  .navbar.scrolled.navbar--open,
    .navbar.scrolled.navbar--closing {
    --mobile-navbar-space: 13px;
    --mobile-navbar-space-x: 20px;
    --mobile-navbar-logo-height: 36px;
  }

  .container,
  .footer__grid {
    padding-inline: 20px;
  }
}

@media (max-width: 380px) {
  .navbar {
    --mobile-navbar-space: 11px;
    --mobile-navbar-space-x: 20px;
    --mobile-navbar-logo-height: 34px;
  }

  .navbar.scrolled,
  html.navbar-initial-scrolled .navbar,
  .navbar.navbar--open,
  .navbar.navbar--closing,
  .navbar.scrolled.navbar--open,
    .navbar.scrolled.navbar--closing {
    --mobile-navbar-space: 11px;
    --mobile-navbar-space-x: 20px;
    --mobile-navbar-logo-height: 34px;
  }
}

/* btn utility classes used by navbar CTA */
.btn--with-icon { padding-right: 20px; }
.btn--with-fast-forward { padding-right: 24px; }

/* ========================================
   PAGE LAYOUT
   ======================================== */
.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 160px 32px 96px;
}
.page--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 160px 32px 96px;
  max-width: 720px;
  margin: 0 auto;
}

/* Body copy inside legal-page content â€” sized for long-form reading.
   Mirrors .card__body / .pillar__body sizing from index.html (1.0625rem / 1.7). */
.page p,
.page li {
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.page a {
  overflow-wrap: anywhere;
}

/* .page p bumps all paragraphs to 1.0625rem, which would override .kicker's 13px.
   Restore explicitly so legal-page kickers match every other surface. */
.page .kicker {
  font-size: 13px;
  line-height: 1.6;
}

/* Inline links inside legal-page body content â€” underlined for readability.
   Global `a` rule in this file is unstyled (matches index.html); this is the
   one place where underlines come back, because legal copy has links inside
   paragraphs and they need to be visually distinguishable. */
.page a {
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: var(--link-underline-offset);
  text-decoration-thickness: var(--link-underline-thickness);
  text-decoration-color: var(--link-underline-color-rest);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.page a:hover {
  color: var(--accent-text);
  text-decoration-color: var(--accent-text);
}
.page blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
}

.kicker {
  font-family: 'Figtree', system-ui, sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 16px;
}

h1 {
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  overflow-wrap: break-word;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

h2 {
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 56px;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}

h3 {
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page p, .page ul, .page ol,
.page--center p, .page--center ul, .page--center ol { margin-bottom: 16px; }
.page ul, .page ol,
.page--center ul, .page--center ol { padding-left: 24px; }
.page li, .page--center li { margin-bottom: 8px; }

strong { color: var(--text-primary); font-weight: 700; }

.lang-divider {
  margin: 96px 0 64px;
  border: none;
  border-top: 1px solid var(--border);
  position: relative;
}
.lang-divider::after {
  content: attr(data-label);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  padding: 0 16px;
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.meta {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}

.note {
  font-size: 15px;
  color: var(--text-primary);
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 16px;
  margin-bottom: 24px;
}

address {
  font-style: normal;
  margin-bottom: 16px;
}

/* ========================================
   BUTTONS â€” copied from index.html exactly.
   The clip-path ::after animation is the canonical hover treatment for
   primary/secondary buttons across the site.
   ======================================== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  box-sizing: border-box;
  padding: 15px 28px 17px 28px;
  border-radius: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: visible;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

.btn__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
}

.btn-primary:not(.btn--with-icon) .btn__content,
.btn-secondary:not(.btn--with-icon) .btn__content {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-primary:hover,
.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: 0 0 28px 8px rgba(235, 87, 87, 0.34);
  transform: translateY(-1px);
}

.btn-secondary:hover {
  background-color: var(--bg-primary);
}

.tally-popup,
.tally-popup [class*="_popupContainer_"],
.tally-popup iframe {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: var(--text-secondary) var(--bg-card);
}

.tally-popup::-webkit-scrollbar,
.tally-popup [class*="_popupContainer_"]::-webkit-scrollbar,
.tally-popup iframe::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.tally-popup::-webkit-scrollbar-track,
.tally-popup [class*="_popupContainer_"]::-webkit-scrollbar-track,
.tally-popup iframe::-webkit-scrollbar-track {
  background: var(--bg-card);
}

.tally-popup::-webkit-scrollbar-thumb,
.tally-popup [class*="_popupContainer_"]::-webkit-scrollbar-thumb,
.tally-popup iframe::-webkit-scrollbar-thumb {
  background-color: var(--text-secondary);
  border: 3px solid var(--bg-card);
  border-radius: 999px;
}

.tally-popup::-webkit-scrollbar-thumb:hover,
.tally-popup [class*="_popupContainer_"]::-webkit-scrollbar-thumb:hover,
.tally-popup iframe::-webkit-scrollbar-thumb:hover {
  background-color: var(--highlight);
}

.tally-popup [class*="_popupContainer_"] {
  max-height: 95vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.tally-popup [class*="_popupContainer_"] iframe {
  max-height: none !important;
}

@media (max-height: 1000px) {
  .tally-popup [class*="_popupContainer_"] {
    max-height: 85vh;
  }
}

@media (max-width: 576px) {
  .tally-popup [class*="_popupContainer_"] {
    max-height: 70vh;
  }
}

/* ========================================
   404 page card
   ======================================== */
.error-card { max-width: 560px; }
.error-card .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER (mirrors index.html footer markup)
   ======================================== */
.footer {
  background: #0A0A0A;
  padding: 80px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr auto 1.6fr;
  gap: 64px;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer__brand-name svg,
.footer__brand-name img {
  height: 80px;
  width: auto;
  display: block;
}
.footer__brand-tagline {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-top: 20px;
  max-width: 320px;
}
.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.footer__rule {
  width: 8px;
  align-self: stretch;
  min-height: 200px;
  background: var(--accent);
  justify-self: center;
}
.footer__heading {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}
.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 12px; }
.footer__links a {
  position: relative;
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
}
.footer__links a::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(44px, calc(100% + 16px));
  height: 44px;
  transform: translate(-50%, -50%);
}
.footer__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.footer__contact-block > * + * { margin-top: 32px; }
.footer__email a {
  position: relative;
  display: inline-block;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.footer__email a::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(44px, calc(100% + 16px));
  height: 44px;
  transform: translate(-50%, -50%);
}
.footer__email a:hover { border-bottom-color: var(--accent); }
.footer__email a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.footer__socials {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 4px;
}
.footer__socials a {
  position: relative;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer__socials a::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.footer__socials a:hover { color: var(--accent); transform: translateY(-1px); }
.footer__socials a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.footer__divider {
  border: 0;
  border-top: 1px solid var(--border);
  max-width: 1392px;
  margin: 48px auto 24px;
}
.footer__bottom {
  max-width: 1392px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}
.footer__bottom a {
  position: relative;
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__bottom a::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(44px, calc(100% + 16px));
  height: 44px;
  transform: translate(-50%, -50%);
}
.footer__bottom a:hover { color: var(--text-primary); }
.footer__bottom a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.footer__bottom-sep { opacity: 0.5; }

@media (min-width: 768px) and (max-width: 1020px) {
  .page, .page--center { padding: 128px 32px 80px; }
  h1 { font-size: clamp(32px, 4.5vw, 44px); }
}

@media (max-width: 900px) {
  .footer { padding-top: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__rule { display: none; }
}
@media (min-width: 560px) and (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__inner { padding-inline: 20px; }
  .page, .page--center { padding-left: 20px; padding-right: 20px; padding-top: 120px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; margin-top: 40px; }
  .page p, .page li { font-size: 1rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
