/* Calido — Apple 2026 Liquid Glass × HDR Warmth
   Display: Fraunces (warm, variable serif — echoes "calido")
   Body: Geist (distinctive modern sans)
   Aesthetic: cinematic dark with amber/peach/crimson mesh
*/

/* Self-hosted fonts — no third-party requests */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Warm dark palette — calido = warm */
  --ink: #0B0908;
  --ink-2: #141010;
  --ink-3: #1C1715;
  --paper: #FAF7F2;
  --muted: #8E847B;
  --muted-2: #5C544D;
  --hairline: rgba(250, 247, 242, 0.08);
  --hairline-strong: rgba(250, 247, 242, 0.14);

  /* HDR accents */
  --amber: #FFB26B;
  --peach: #FF8F6B;
  --rose:  #FF6B6B;
  --crimson: #E8424A;
  --gold: #F6D59B;

  /* Glass */
  --glass-bg: rgba(250, 247, 242, 0.035);
  --glass-bg-strong: rgba(250, 247, 242, 0.06);
  --glass-border: rgba(250, 247, 242, 0.10);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Type */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino", "Georgia", serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;

  /* Shape */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  /* Layout */
  --gutter: clamp(20px, 4vw, 40px);
  --content: min(1120px, calc(100vw - (2 * var(--gutter))));
  --prose: min(720px, calc(100vw - (2 * var(--gutter))));

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.3, 0.1, 0.1, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv11";
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(255, 178, 107, 0.28), transparent 55%),
    radial-gradient(900px 700px at -10% 20%, rgba(232, 66, 74, 0.22), transparent 55%),
    radial-gradient(1400px 900px at 50% 120%, rgba(255, 143, 107, 0.18), transparent 50%),
    var(--ink);
  background-attachment: fixed;
}

/* Subtle film grain — HDR cinematic texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.9  0 0 0 0 0.85  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition: top 160ms var(--ease);
}
.skip-link:focus-visible { top: 12px; outline: none; }

/* Links */
a {
  color: var(--paper);
  text-decoration: none;
  transition: color 200ms var(--ease), opacity 200ms var(--ease);
}
a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
.prose a:not(.btn), .inline-link {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 178, 107, 0.35);
  padding-bottom: 1px;
}
.prose a:not(.btn):hover, .inline-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Shell */
.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========== Header (Liquid Glass nav bar) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px var(--gutter);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.site-header__inner {
  pointer-events: auto;
  width: 100%;
  max-width: var(--content);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  background: rgba(20, 16, 16, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 60, "SOFT" 40;
}

.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFD9A0, var(--amber) 40%, var(--crimson));
  box-shadow: 0 0 16px rgba(255, 178, 107, 0.6);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.72);
  white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.nav a:hover { color: var(--paper); background: rgba(250, 247, 242, 0.06); }
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(250, 247, 242, 0.04);
  color: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ========== Main ========== */
.page {
  flex: 1;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(64px, 10vw, 120px);
}

/* ========== Hero (home) ========== */
.hero {
  position: relative;
  padding: clamp(40px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
  opacity: 0;
  animation: riseIn 900ms var(--ease) 100ms forwards;
}

.eyebrow__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 178, 107, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero h1 {
  margin: 24px auto 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  color: var(--paper);
  opacity: 0;
  animation: riseIn 1100ms var(--ease) 180ms forwards;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, var(--gold) 0%, var(--amber) 35%, var(--peach) 65%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero p.lede {
  margin: 28px auto 0;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.55;
  color: rgba(250, 247, 242, 0.72);
  font-weight: 400;
  opacity: 0;
  animation: riseIn 1100ms var(--ease) 320ms forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  opacity: 0;
  animation: riseIn 1100ms var(--ease) 440ms forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms var(--ease), background 200ms var(--ease), box-shadow 300ms var(--ease);
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.btn--primary {
  background: linear-gradient(180deg, #FFC48A, var(--peach));
  color: #1A0B04;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(180, 60, 30, 0.35),
    0 10px 30px -8px rgba(255, 143, 107, 0.55);
}
.btn--primary:hover {
  transform: translateY(-1px);
  color: #1A0B04;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(180, 60, 30, 0.35),
    0 18px 42px -10px rgba(255, 143, 107, 0.7);
}

.btn--ghost {
  background: var(--glass-bg);
  color: var(--paper);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--ghost:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-1px);
}

.btn__arrow {
  display: inline-block;
  transition: transform 240ms var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Hero chromatic halo */
.hero-halo {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  width: min(720px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, rgba(255, 178, 107, 0.0), rgba(255, 178, 107, 0.35), rgba(232, 66, 74, 0.3), rgba(255, 178, 107, 0.0));
  filter: blur(80px);
  opacity: 0.55;
  z-index: -1;
  animation: swirl 30s linear infinite;
}

@keyframes swirl {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes riseIn {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 178, 107, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(255, 178, 107, 0); }
}

/* ========== Section headings ========== */
.section {
  padding: clamp(60px, 9vw, 120px) 0;
}

.section-head {
  max-width: 52ch;
  margin-bottom: 42px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  font-variation-settings: "opsz" 120, "SOFT" 60;
}

.section-head p {
  color: rgba(250, 247, 242, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  margin: 0;
}

/* ========== Feature bento grid ========== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.bento .card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  box-shadow: var(--glass-inset), 0 24px 48px -24px rgba(0, 0, 0, 0.45);
  transition: transform 400ms var(--ease), border-color 400ms var(--ease);
}
.bento .card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
}

.card--wide { grid-column: span 4; grid-row: span 2; min-height: 320px; }
.card--tall { grid-column: span 2; grid-row: span 2; min-height: 320px; }
.card--sq { grid-column: span 3; min-height: 220px; }
.card--sm { grid-column: span 3; min-height: 220px; }

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  font-variation-settings: "opsz" 60, "SOFT" 50;
}

.card p {
  margin: 0;
  color: rgba(250, 247, 242, 0.7);
  font-size: 15px;
  line-height: 1.55;
}

.card__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

/* Card visuals */
.card__spectrum {
  position: relative;
  margin-top: 22px;
  height: 120px;
  border-radius: var(--r-md);
  background:
    linear-gradient(90deg,
      #2b0a0a 0%,
      #6b1912 15%,
      #c23a26 30%,
      #e86337 45%,
      #f69a5a 60%,
      #ffca88 75%,
      #fff1c9 90%,
      #ffffff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px -20px rgba(232, 66, 74, 0.4);
  overflow: hidden;
}
.card__spectrum::after {
  content: "10-bit · HLG · HEVC Main10";
  position: absolute;
  bottom: 10px;
  left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(10, 9, 8, 0.75);
  text-transform: uppercase;
}

.card__rings {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 178, 107, 0.25);
  box-shadow:
    0 0 0 24px rgba(255, 178, 107, 0.05),
    0 0 0 48px rgba(255, 178, 107, 0.04),
    0 0 0 80px rgba(255, 178, 107, 0.025);
  pointer-events: none;
}

.card__p2p {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(250, 247, 242, 0.8);
}
.card__node {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 220, 170, 0.5), rgba(255, 178, 107, 0.15) 60%, transparent 70%);
  border: 1px solid rgba(255, 178, 107, 0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.card__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 107, 0.5), transparent);
  position: relative;
}
.card__line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: travel 2.4s var(--ease) infinite;
}
@keyframes travel {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

.card__lock {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(10, 9, 8, 0.5);
  border: 1px solid var(--glass-border);
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(250, 247, 242, 0.65);
  line-height: 1.6;
}
.card__lock strong { color: var(--paper); font-weight: 500; }

/* Adaptive HDR diagram */
.card__adaptive {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(250, 247, 242, 0.72);
  line-height: 1.4;
}
.card__adaptive-node {
  padding: 12px 10px;
  background: rgba(10, 9, 8, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  text-align: center;
  letter-spacing: 0.02em;
}
.card__adaptive-node strong {
  display: block;
  color: var(--amber);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card__adaptive-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--amber);
  white-space: nowrap;
}

/* Bitrate meter */
.card__meter {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(10, 9, 8, 0.5);
  border: 1px solid var(--glass-border);
}
.card__meter-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.06);
  overflow: hidden;
  position: relative;
}
.card__meter-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 32%;
  background: linear-gradient(90deg, rgba(250, 247, 242, 0.18), rgba(250, 247, 242, 0.32));
  border-radius: 999px;
}
.card__meter-fill {
  position: relative;
  height: 100%;
  width: 88%;
  background: linear-gradient(90deg, #6b1912 0%, var(--crimson) 22%, var(--peach) 55%, var(--amber) 80%, #fff1c9 100%);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 178, 107, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: meterRise 1600ms var(--ease) 400ms both;
}
@keyframes meterRise {
  0% { width: 0%; }
  100% { width: 88%; }
}
.card__meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__meter-labels span:last-child { color: var(--amber); }

/* Platform chips */
.card__platforms {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card__platform {
  padding: 7px 13px;
  background: rgba(10, 9, 8, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
}
.card__platform--soon {
  color: var(--amber);
  border-color: rgba(255, 178, 107, 0.38);
  background: rgba(255, 178, 107, 0.07);
}

/* Why-free section */
.why-free {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(255, 178, 107, 0.14), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(232, 66, 74, 0.12), transparent 60%),
    var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--glass-inset), 0 28px 60px -30px rgba(0, 0, 0, 0.5);
}
.why-free__text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 12px 0 18px;
  font-variation-settings: "opsz" 96, "SOFT" 70;
}
.why-free__text p {
  margin: 0 0 14px;
  color: rgba(250, 247, 242, 0.72);
  line-height: 1.6;
  font-size: 1rem;
}
.why-free__text p:last-child { margin-bottom: 0; }

.why-free__stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.why-free__chip {
  padding: 18px 16px;
  background: rgba(10, 9, 8, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 92px;
  justify-content: center;
}
.why-free__chip-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.why-free__chip-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36, "SOFT" 60;
}
.why-free__chip--accent {
  background: linear-gradient(150deg, rgba(255, 178, 107, 0.14), rgba(232, 66, 74, 0.1));
  border-color: rgba(255, 178, 107, 0.3);
}
.why-free__chip--accent .why-free__chip-value { color: var(--gold); }

/* ========== Required / legal stack on home ========== */
.required {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.required-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 180px;
  padding: 22px 22px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--paper);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease), background 280ms var(--ease);
}
.required-link:hover {
  border-color: rgba(255, 178, 107, 0.4);
  background: var(--glass-bg-strong);
  transform: translateY(-2px);
}
.required-link h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "opsz" 36, "SOFT" 40;
}
.required-link p {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.5;
}
.required-link__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
}
.required-link__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 178, 107, 0.4);
  display: grid;
  place-items: center;
  transition: transform 260ms var(--ease), background 260ms var(--ease);
}
.required-link:hover .required-link__arrow {
  background: var(--amber);
  color: var(--ink);
  transform: translateX(2px);
}

/* ========== Specs strip ========== */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 40px;
}
.spec {
  padding: 26px 22px;
  background: rgba(20, 16, 16, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.spec__value {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--paper);
  font-variation-settings: "opsz" 48, "SOFT" 70;
}
.spec__label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========== Article / Legal pages ========== */
.article {
  max-width: var(--prose);
  margin: 0 auto;
}

.article-head {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}

.article-head .eyebrow {
  animation: none;
  opacity: 1;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}
.article-meta span + span::before {
  content: "·";
  margin-right: 20px;
  color: var(--muted-2);
}

.article h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--paper);
  font-variation-settings: "opsz" 120, "SOFT" 70;
  max-width: 15ch;
}

.prose {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.78);
}

.prose > * + * { margin-top: 1.1em; }

.prose p {
  margin: 0;
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 2.4em 0 0.35em;
  font-variation-settings: "opsz" 48, "SOFT" 50;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 1.8em 0 0.2em;
}

.prose ul, .prose ol {
  padding-left: 1.2em;
  margin: 0;
}

.prose li + li { margin-top: 0.4em; }

.prose li::marker { color: var(--amber); }

.prose strong {
  color: var(--paper);
  font-weight: 600;
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 2.4em 0;
}

/* Callouts */
.callout {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: rgba(255, 178, 107, 0.05);
  border: 1px solid rgba(255, 178, 107, 0.18);
  border-radius: var(--r-md);
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
}
.callout__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 178, 107, 0.18);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 20px 22px 20px 68px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(250, 247, 242, 0.82);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid rgba(255, 178, 107, 0.4);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  display: grid;
  place-items: center;
}

/* Data tables for privacy */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(20, 16, 16, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 0;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  line-height: 1.5;
}
.data-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: rgba(20, 16, 16, 0.6);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td { color: rgba(250, 247, 242, 0.78); }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
}

/* ========== TOC sidebar ========== */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 48px;
  max-width: var(--content);
  margin: 0 auto;
}

/* ========== CTA block ========== */
.cta {
  margin-top: 56px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(800px 400px at 80% -20%, rgba(255, 178, 107, 0.25), transparent 60%),
    radial-gradient(600px 400px at -10% 120%, rgba(232, 66, 74, 0.22), transparent 60%),
    var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.cta p {
  color: rgba(250, 247, 242, 0.68);
  max-width: 48ch;
  margin: 0 auto 24px;
}

/* ========== Footer ========== */
.site-footer {
  margin-top: auto;
  padding: clamp(30px, 5vw, 56px) var(--gutter);
  border-top: 1px solid var(--hairline);
  background: rgba(10, 9, 8, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-footer__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 40px;
  align-items: start;
}

.site-footer__brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--paper);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 48, "SOFT" 50;
  margin: 0 0 10px;
}

.site-footer__tagline {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  max-width: 30ch;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-group h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-group a {
  color: rgba(250, 247, 242, 0.78);
  font-size: 14.5px;
}
.footer-group a:hover { color: var(--amber); }

.site-footer__legal {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ========== Mobile ========== */
@media (max-width: 820px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--wide { grid-column: span 2; grid-row: span 1; min-height: 280px; }
  .card--tall { grid-column: span 2; grid-row: span 1; min-height: 260px; }
  .card--sq, .card--sm { grid-column: span 2; min-height: 200px; }

  .why-free { grid-template-columns: 1fr; gap: 32px; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }

  .site-header { padding: 10px 14px; }
  .site-header__inner {
    padding: 6px 6px 6px 14px;
    gap: 8px;
  }
  .brand { font-size: 19px; }

  .nav {
    gap: 0;
  }
  .nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
    max-width: 14ch;
  }

  .hero-actions { gap: 8px; }
  .btn { width: 100%; min-height: 50px; padding: 0 20px; }

  .hero-halo { width: 140%; top: 32%; }

  .section { padding: 60px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: 8px; }

  .steps li { padding: 18px 18px 18px 60px; }
  .steps li::before { width: 30px; height: 30px; left: 16px; top: 16px; font-size: 12px; }

  .cta { padding: 32px 22px; }

  .data-table th, .data-table td { padding: 12px; font-size: 13px; }

  .card__adaptive { grid-template-columns: 1fr; gap: 8px; }
  .card__adaptive-arrows { flex-direction: row; justify-content: center; }

  .why-free { padding: 28px 22px; }
  .why-free__stack { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .site-header__inner { border-radius: 22px; flex-wrap: wrap; }
  .nav { width: 100%; margin-left: 0; justify-content: flex-start; padding-top: 4px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-halo, .card__line::after { display: none; }
}

/* Print */
@media print {
  body { background: #fff; color: #000; }
  body::before, .hero-halo { display: none; }
  .site-header, .site-footer, .cta { display: none; }
  a { color: #000; }
  .prose { color: #111; }
}
