/* ==========================================================================
   Mcalbyrne — site styles
   Light "paper" base with precise hairline grid; games chapter runs dark.
   ========================================================================== */

:root {
  --paper: #f2f1ec;
  --paper-2: #e9e8e2;
  --ink: #0d0e10;
  --ink-2: #2a2c30;
  --muted: #6c6e73;
  --line: rgba(13, 14, 16, 0.12);
  --line-strong: rgba(13, 14, 16, 0.28);

  --night: #0a0b0d;
  --night-2: #131519;
  --night-3: #1b1e23;
  --fog: #e9e8e2;
  --fog-muted: #8d9097;
  --line-dark: rgba(233, 232, 226, 0.12);

  --accent: #ff5b24;
  --accent-ink: #d9420f;
  --live: #1fb46c;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 12px;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; }
.company-name { text-transform: lowercase; }

/* ---------- primitives ---------- */

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; vertical-align: middle; margin-right: 8px; transform: translateY(-1px); }
.dot--live { background: var(--live); opacity: 1; box-shadow: 0 0 0 0 rgba(31, 180, 108, 0.5); animation: pulse 2.4s var(--ease) infinite; }
.dot--accent { background: var(--accent); opacity: 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 180, 108, 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(31, 180, 108, 0); } }

.label { color: var(--ink); }
.label--muted { color: var(--muted); }

.section-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--line-strong);
  margin-bottom: clamp(32px, 6vw, 72px);
}
.section-head h2 { font-weight: 500; }
.section-head--dark { border-top-color: var(--line-dark); }
.section-head--dark .label { color: var(--fog); }
.section-head--dark .label--muted { color: var(--fog-muted); }

.display {
  font-weight: 500;
  font-size: clamp(48px, 8.6vw, 136px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.display span { display: block; }
.display span:last-child { color: var(--muted); }
.display--sm { font-size: clamp(40px, 6.2vw, 96px); }
.display--sm span:last-child { color: var(--fog-muted); }

.h2 { font-weight: 500; font-size: clamp(40px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.04em; }
.kicker { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -0.015em; margin-top: 18px; color: var(--ink-2); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-2); max-width: 34em; }
.body { color: var(--ink-2); max-width: 36em; margin-top: 20px; }
.body--dark { color: var(--fog-muted); margin-top: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }
.btn--line { border: 1px solid var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 241, 236, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-dark { background: rgba(10, 11, 13, 0.7); color: var(--fog); border-bottom-color: var(--line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand__mark { position: relative; width: 18px; height: 18px; border: 1.5px solid currentColor; }
.brand__mark i { position: absolute; top: -1.5px; right: -1.5px; width: 7px; height: 7px; background: var(--accent); }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 14px; }
.nav__links a { opacity: 0.72; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { opacity: 1 !important; border: 1px solid currentColor; border-radius: 999px; padding: 6px 14px; }
@media (max-width: 560px) { .nav__links a:not(.nav__cta) { display: none; } }

/* ---------- hero ---------- */

.hero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(64px, 10vw, 128px); }
.hero__meta { display: flex; gap: 28px; color: var(--muted); padding-bottom: clamp(32px, 6vw, 72px); flex-wrap: wrap; }
.hero__status { color: var(--ink); }
.hero__title { font-size: clamp(48px, 10.4vw, 164px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(32px, 5vw, 64px); }
.hero__copy { padding-bottom: 8px; }
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero__viz {
  position: relative; aspect-ratio: 5 / 4;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 10% 10%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 10% 10%;
  background-color: var(--paper);
}
.hero__viz::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, transparent 55%, var(--paper) 100%); pointer-events: none; }
.hero__viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.viz-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-size: 11px; color: var(--muted); text-transform: none; }
.viz-hud span { position: absolute; }
.viz-hud b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.viz-hud__tl { top: 14px; left: 16px; }
.viz-hud__tr { top: 14px; right: 16px; }
.viz-hud__bl { bottom: 14px; left: 16px; }
.viz-hud__br { bottom: 14px; right: 16px; }

.crosshair { position: absolute; width: 12px; height: 12px; z-index: 2; border-color: var(--ink); border-style: solid; border-width: 0; }
.crosshair--tl { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crosshair--tr { top: -1px; right: -1px; border-top-width: 1.5px; border-right-width: 1.5px; }
.crosshair--bl { bottom: -1px; left: -1px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.crosshair--br { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; margin-top: clamp(24px, 5vw, 40px); }
  .hero__viz { width: 100%; aspect-ratio: 1 / 1; }
}

/* ---------- index / ledger ---------- */

.index { position: relative; padding-bottom: clamp(80px, 12vw, 160px); }
.index .section-head { margin-bottom: 0; }

.ledger { border-bottom: 1px solid var(--line-strong); }
.ledger li + li { border-top: 1px solid var(--line); }
.ledger__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.3fr) 110px minmax(0, 1.6fr) 150px 24px;
  align-items: baseline; gap: 16px;
  padding: 26px 0;
  transition: padding 0.4s var(--ease), color 0.3s;
}
.ledger__n, .ledger__kind, .ledger__state { color: var(--muted); }
.ledger__name { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.ledger__desc { color: var(--ink-2); }
.ledger__go { justify-self: end; transition: transform 0.4s var(--ease), color 0.3s; }
.ledger__row:hover { padding-left: 12px; }
.ledger__row:hover .ledger__go { transform: translateX(4px); color: var(--accent); }
.ledger__row:hover .ledger__name { color: var(--accent-ink); }
.ledger__state .dot:not(.dot--live) { color: var(--accent); opacity: 1; }

.ledger__float {
  position: absolute; top: 0; left: 0; z-index: 5; width: 260px; aspect-ratio: 16 / 10;
  pointer-events: none; overflow: hidden; border-radius: var(--radius);
  opacity: 0; transform: translate3d(0, 0, 0) scale(0.92);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(13, 14, 16, 0.35);
}
.ledger__float.is-on { opacity: 1; }
.ledger__float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .ledger__float { display: none; } }

@media (max-width: 900px) {
  .ledger__row { grid-template-columns: 36px 1fr auto; row-gap: 6px; }
  .ledger__kind, .ledger__go { display: none; }
  .ledger__desc { grid-column: 2 / -1; font-size: 15px; }
  .ledger__state { grid-column: 3; grid-row: 1; }
}

/* ---------- product (CryomaskR) ---------- */

.product { padding-bottom: clamp(96px, 14vw, 180px); }
.product__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .product__grid { grid-template-columns: 1fr; } }

.app__lights { display: flex; gap: 6px; }
.app__lights i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e36; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line-strong); }
.specs li { padding: 28px 28px 36px 0; border-bottom: 1px solid var(--line); }
.specs li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.specs__n { color: var(--accent-ink); }
.specs h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 18px 0 8px; }
.specs p { color: var(--muted); font-size: 15.5px; max-width: 26em; }
@media (max-width: 900px) {
  .specs { grid-template-columns: 1fr 1fr; }
  .specs li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .specs li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .specs { grid-template-columns: 1fr; }
  .specs li:nth-child(even) { padding-left: 0; border-left: 0; }
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.facts dt { color: var(--muted); margin-bottom: 6px; }
.facts dd { color: var(--ink); text-transform: none; font-size: 13px; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }

/* ---------- games (dark chapter) ---------- */

.games { background: var(--night); color: var(--fog); padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(40px, 6vw, 80px); }
.games ::selection { background: var(--accent); color: #fff; }
.games__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(72px, 10vw, 140px); }
.games__intro .lede { color: var(--fog-muted); }
@media (max-width: 900px) { .games__intro { grid-template-columns: 1fr; } }

.title { position: relative; padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line-dark); overflow: hidden; }
.title--bas::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 80% 10%, rgba(214, 140, 60, 0.16), transparent 70%), radial-gradient(50% 40% at 10% 90%, rgba(70, 110, 200, 0.12), transparent 70%);
}
.title--dc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 45% at 85% 20%, rgba(180, 80, 255, 0.14), transparent 70%), radial-gradient(45% 40% at 5% 70%, rgba(40, 110, 255, 0.12), transparent 70%);
}
.title .wrap { position: relative; }
.title__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
@media (max-width: 900px) { .title__head { grid-template-columns: 1fr; } }

.tag { color: var(--fog-muted); margin-bottom: 20px; }
.tag .dot { color: var(--accent); opacity: 1; }
.title__name { font-weight: 500; font-size: clamp(52px, 8vw, 128px); line-height: 0.92; letter-spacing: -0.05em; }
.title__genre { color: var(--fog-muted); margin-top: 18px; }
.pull { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 16px; color: var(--fog); }

/* Bring a Sword — class cards */
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.class figcaption { margin-top: 22px; }
.class__n { color: var(--accent); }
.class h4 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 6px; }
.class p { color: var(--fog-muted); font-size: 15.5px; max-width: 24em; }
.class em { color: var(--fog); font-style: normal; }
.class:nth-child(2) { transform: translateY(clamp(0px, 4vw, 56px)); }
.class:nth-child(2).reveal:not(.is-in) { transform: translateY(calc(clamp(0px, 4vw, 56px) + 18px)); }

.phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: var(--night-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.phone video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.class:hover .phone video { transform: scale(1.03); }

@media (max-width: 760px) {
  .classes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .classes::-webkit-scrollbar { display: none; }
  .class { scroll-snap-align: center; }
  .class:nth-child(2), .class:nth-child(2).reveal:not(.is-in) { transform: none; }
}

.stats { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-dark); }
.stats div { padding: 20px 16px 0 0; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line-dark); }
.stats dt { color: var(--fog-muted); }
.stats dd { font-size: clamp(36px, 4.4vw, 60px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; margin-top: 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(4) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+4) { border-top: 1px solid var(--line-dark); margin-top: 20px; }
}

/* Disorganized Crime — gallery */
.gallery { display: grid; grid-template-columns: 1fr 180px; gap: 12px; }
.gallery__main { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--night-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s var(--ease); }
.gallery__main img.is-swapping { opacity: 0; }
.gallery__main figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; border-radius: 3px; background: rgba(10, 11, 13, 0.65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--fog); font-size: 11px; }
.gallery__thumbs { display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
.gallery__thumbs button { position: relative; border-radius: 4px; overflow: hidden; opacity: 0.45; transition: opacity 0.3s var(--ease); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.gallery__thumbs button:hover { opacity: 0.8; }
.gallery__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 1.5px var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-rows: none; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery__thumbs button { aspect-ratio: 16 / 10; }
}

.dc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 112px); align-items: start; }
@media (max-width: 900px) { .dc-grid { grid-template-columns: 1fr; } }

.pillars li { display: grid; grid-template-columns: 48px 1fr; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.pillars li:last-child { border-bottom: 1px solid var(--line-dark); }
.pillars span { color: var(--accent); padding-top: 5px; }
.pillars h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.pillars p { color: var(--fog-muted); font-size: 15.5px; margin-top: 4px; max-width: 34em; }

.heat { position: sticky; top: 96px; padding: 24px; border-radius: 8px; background: var(--night-2); box-shadow: 0 0 0 1px var(--line-dark); }
.heat__head { display: flex; justify-content: space-between; align-items: center; color: var(--fog-muted); }
.heat__stars { display: flex; gap: 4px; }
.heat__stars button { width: 34px; height: 34px; border-radius: 4px; font-size: 18px; line-height: 34px; color: #3a3e46; transition: color 0.2s, background 0.2s; }
.heat__stars button:hover { background: var(--night-3); }
.heat__stars button.is-lit { color: var(--accent); }
.heat__tier { margin-top: 28px; color: var(--fog); }
.heat__desc { font-size: 19px; letter-spacing: -0.015em; line-height: 1.4; margin-top: 10px; min-height: 3.2em; }
.heat__bar { height: 2px; background: var(--night-3); margin-top: 24px; overflow: hidden; }
.heat__bar i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, #3b6bff, var(--accent)); transition: width 0.6s var(--ease); }
.heat__foot { color: var(--fog-muted); margin-top: 14px; font-size: 11px; text-transform: none; }
@media (max-width: 900px) { .heat { position: static; } }

/* ---------- studio ---------- */

.studio { padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(96px, 14vw, 180px); }
.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.studio__grid .body { margin-top: 0; font-size: 19px; line-height: 1.55; }
.background { display: grid; gap: 6px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); text-transform: none; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.background span { text-transform: uppercase; color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .studio__grid { grid-template-columns: 1fr; } }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(72px, 10vw, 128px); }
.principles li { padding-top: 20px; border-top: 1px solid var(--ink); }
.principles span { color: var(--accent-ink); }
.principles h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.03em; margin: 16px 0 10px; }
.principles p { color: var(--muted); max-width: 24em; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */

.contact { background: var(--ink); color: var(--fog); padding: clamp(24px, 3vw, 40px) 0 clamp(80px, 12vw, 160px); }
.display--contact { font-size: clamp(48px, 9vw, 150px); }
.contact__mail {
  display: inline-flex; align-items: baseline; gap: 12px; margin-top: clamp(28px, 4vw, 56px);
  font-size: clamp(22px, 3vw, 40px); letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 6px;
  transition: color 0.25s, border-color 0.25s;
  overflow-wrap: anywhere;
}
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }
.contact__links { display: flex; gap: 28px; margin-top: 48px; color: var(--fog-muted); flex-wrap: wrap; }
.contact__links a { transition: color 0.2s; }
.contact__links a:hover { color: var(--fog); }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: var(--fog-muted); }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 11px; flex-wrap: wrap; }
.foot a:hover { color: var(--fog); }

.foot__links { display: flex; gap: 24px; }
.background__link { display: inline-flex; gap: 8px; margin-top: 10px; color: var(--ink); text-transform: uppercase; font-size: 12px; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; justify-self: start; transition: color 0.2s, border-color 0.2s; }
.background__link:hover { color: var(--accent-ink); border-color: var(--accent); }

/* ==========================================================================
   Research page
   ========================================================================== */

.crumbs { display: flex; gap: 10px; color: var(--muted); padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 6vw, 72px); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

.r-hero { padding-bottom: clamp(72px, 10vw, 128px); }
.r-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.r-hero__copy .body { margin-top: 20px; }
@media (max-width: 900px) { .r-hero__grid { grid-template-columns: 1fr; } }

.r-stats { display: grid; grid-template-columns: 1fr 1fr 2fr; margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line-strong); }
.r-stats div { padding: 20px 16px 0 0; }
.r-stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.r-stats dt { color: var(--muted); }
.r-stats dd { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.04em; line-height: 1.1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.r-stats dd.r-stats__venues { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.3; color: var(--ink-2); padding-top: 10px; }
@media (max-width: 720px) {
  .r-stats { grid-template-columns: 1fr 1fr; }
  .r-stats div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
}

/* Career */
.career-section { padding-bottom: clamp(80px, 12vw, 150px); }

.roles { margin-top: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line-strong); }
.roles li { display: grid; grid-template-columns: 110px 1fr auto; align-items: baseline; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.roles li:first-child { border-top-color: var(--line-strong); }
.roles__year { color: var(--muted); }
.roles h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.025em; }
.roles p { color: var(--muted); margin-top: 2px; }
.roles__now { color: var(--ink); }
@media (max-width: 560px) { .roles li { grid-template-columns: 64px 1fr; } .roles__now { grid-column: 2; } }

/* Publications */
.pubs { padding-bottom: clamp(80px, 12vw, 150px); }
.pubs .section-head { margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 11.5px; letter-spacing: 0.03em; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pub-list { border-bottom: 1px solid var(--line-strong); }
.pub-list li { border-top: 1px solid var(--line); }
.pub-list li:first-child { border-top-color: var(--line-strong); }
.pub-list li[hidden] { display: none; }
.pub {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 220px 24px; gap: 16px; align-items: baseline;
  padding: 20px 0; transition: padding 0.4s var(--ease);
}
.pub__year { color: var(--muted); }
.pub__title { font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.015em; line-height: 1.35; max-width: 44em; }
.pub__venue { color: var(--muted); font-size: 15px; font-style: italic; }
.pub__go { justify-self: end; color: var(--muted); transition: transform 0.3s var(--ease), color 0.2s; }
.pub:hover { padding-left: 10px; }
.pub:hover .pub__title { color: var(--accent-ink); }
.pub:hover .pub__go { color: var(--accent); transform: translate(2px, -2px); }
.pub-list li.is-first-of-year .pub__year { color: var(--ink); }
@media (max-width: 760px) {
  .pub { grid-template-columns: 52px 1fr; row-gap: 4px; }
  .pub__venue { grid-column: 2; font-size: 14px; }
  .pub__go { display: none; }
}
.pubs__note { color: var(--muted); margin-top: 18px; font-size: 11px; text-transform: none; }

.bridge { padding-bottom: clamp(80px, 12vw, 150px); }
.bridge__card { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-strong); border-radius: 6px; }
.bridge__card .h2 { margin-top: 14px; font-size: clamp(36px, 4vw, 56px); }
.bridge__card .body { margin-top: 12px; }

/* ==========================================================================
   CryomaskR product page
   ========================================================================== */

.tag--light { color: var(--muted); }
.u { text-decoration: underline; text-underline-offset: 3px; }
.u:hover { color: var(--accent-ink); }
.btn--paper { background: var(--paper); color: var(--ink); margin-top: 24px; }
.btn--paper:hover { background: var(--accent); color: #fff; }

.demo { border-radius: 10px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(13, 14, 16, 0.9), 0 60px 100px -50px rgba(13, 14, 16, 0.6); }
.demo__bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: #1a1c20; color: #8a8e96; font-size: 11px; text-transform: none; }
.demo__video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0b0c0e; }

.dl-section, .licence { padding-top: clamp(80px, 12vw, 150px); }
.licence { padding-bottom: clamp(80px, 12vw, 150px); }
.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dl {
  position: relative; display: grid; gap: 6px; padding: 22px 22px 24px; min-height: 172px; align-content: start;
  border: 1px solid var(--line-strong); border-radius: 6px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.dl__os { color: var(--muted); }
.dl__ver { font-size: clamp(36px, 3.6vw, 52px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; margin-top: 18px; }
.dl__file { color: var(--muted); font-size: 11px; text-transform: none; }
.dl__go { position: absolute; top: 18px; right: 20px; font-size: 18px; transition: transform 0.3s var(--ease); }
.dl:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dl:hover .dl__os, .dl:hover .dl__file { color: var(--fog-muted); }
.dl:hover .dl__go { color: var(--accent); transform: translateY(2px); }
@media (max-width: 900px) { .downloads { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .downloads { grid-template-columns: 1fr; } .dl { min-height: 0; } }

.licence__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.licence__card { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-strong); border-radius: 6px; }
.licence__card h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.04em; margin: 20px 0 12px; }
.licence__card p:not(.label) { color: var(--ink-2); max-width: 30em; }
.licence__card--ink { background: var(--ink); color: var(--fog); border-color: var(--ink); }
.licence__card--ink .label { color: var(--fog); }
.licence__card--ink p:not(.label) { color: var(--fog-muted); }
@media (max-width: 760px) { .licence__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CryomaskR FAQ (legal text preserved verbatim; styled here)
   ========================================================================== */

.faq-doc { padding-bottom: clamp(80px, 12vw, 150px); }
.faq-body { max-width: 780px; border-top: 1px solid var(--line-strong); padding-top: 32px; color: var(--ink-2); }
.faq-body > p:first-child { font-size: 19px; line-height: 1.55; color: var(--ink); }
.faq-body p, .faq-body ul { margin-top: 14px; }
.faq-body ul { list-style: disc; padding-left: 22px; }
.faq-body li + li { margin-top: 6px; }
.faq-body strong { color: var(--ink); font-weight: 600; }
.faq-body a { text-decoration: underline; text-underline-offset: 3px; }
.faq-body a:hover { color: var(--accent-ink); }
.faq-body code { font-family: var(--mono); font-size: 0.88em; background: var(--paper-2); padding: 1px 6px; border-radius: 3px; }
.faq-section { margin-top: 56px; }
.faq-section h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.faq-section-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); margin-top: 8px; }
.faq-item { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-section-label + .faq-item { margin-top: 24px; }
.faq-question { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.faq-answer { display: block !important; max-height: none !important; opacity: 1 !important; }
.faq-ref, .faq-note { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.faq-contact-block { margin-top: 16px; padding: 16px 20px; border-left: 2px solid var(--accent); background: var(--paper-2); }
.faq-contact-block p:first-child { margin-top: 0; }
.faq-divider { border: 0; border-top: 1px solid var(--line-strong); margin: 56px 0 0; }
.back-link { display: inline-block; margin-top: 48px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; text-decoration: none !important; }
.display span:only-child { color: inherit; }
.product + .dl-section { padding-top: 0; }

/* Original CryomaskR content */
.specs--plain li p { color: var(--ink); font-size: 19px; line-height: 1.4; letter-spacing: -0.015em; margin-top: 16px; max-width: 22em; }
.facts__wide { grid-column: 1 / -1; }
.demo__video--full { object-fit: contain; aspect-ratio: 1920 / 1200; }
.about { padding-top: clamp(80px, 12vw, 150px); }
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about__lead { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; letter-spacing: -0.02em; }
.about__grid .body { margin-top: 0; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
.shot { margin-top: clamp(48px, 7vw, 88px); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(13, 14, 16, 0.9), 0 60px 100px -50px rgba(13, 14, 16, 0.6); }
.shot img { width: 100%; height: auto; }
.product + .dl-section { padding-top: 0; }
.stack { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; margin-top: 40px; }
.stack__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__tags li { padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11.5px; }
.faq-cta { margin-top: 32px; color: var(--ink-2); max-width: 40em; }
.about + .product { padding-top: clamp(80px, 12vw, 150px); }

/* ==========================================================================
   HQ structure: divisions, Overtwo label, founder, company
   ========================================================================== */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Scientific Software division */
.division { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.division .lede { color: var(--ink-2); }
@media (max-width: 900px) { .division { grid-template-columns: 1fr; } }
.sw-product { border: 1px solid var(--line-strong); border-radius: 8px; padding: clamp(20px, 3.5vw, 48px); background: rgba(255, 255, 255, 0.35); }
.sw-product__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); padding-bottom: clamp(24px, 4vw, 48px); }
.sw-product .h2 { font-size: clamp(36px, 4.4vw, 64px); }
.sw-product .specs { margin-top: clamp(48px, 6vw, 80px); }
.division__more { margin-top: 28px; color: var(--muted); text-transform: none; font-size: 12.5px; }

/* Overtwo — lime accent, own mark */
.page-o2, .games--teaser { --accent: #d4ff3a; --accent-ink: #d4ff3a; }
.page-o2 { background: var(--night); color: var(--fog); }
.page-o2 ::selection, .games--teaser ::selection { background: #d4ff3a; color: var(--night); }
.o2-mark { display: block; width: 18px; height: auto; color: currentColor; }
.brand .o2-mark { width: 15px; }
.games--page { padding-top: 0; }
.o2-hero { padding-bottom: clamp(72px, 10vw, 140px); }
.o2-hero .crumbs { color: var(--fog-muted); }
.o2-hero .crumbs [aria-current], .o2-hero .crumbs a:hover { color: var(--fog); }
.o2-hero__brand { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); margin-bottom: clamp(48px, 7vw, 96px); }
.o2-hero__brand .o2-mark { width: clamp(52px, 7vw, 104px); }
.o2-hero__name { font-size: clamp(64px, 13vw, 208px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; }
.o2-hero .games__intro { padding-bottom: 0; }
.o2-hero__meta { color: var(--fog-muted); margin-top: 24px; }
.o2-hero__meta .dot { color: var(--accent); opacity: 1; }
.o2-contact { padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(80px, 12vw, 160px); border-top: 1px solid var(--line-dark); }
.o2-contact .contact__mail:hover { color: var(--accent); border-color: var(--accent); }
.foot__legal { color: var(--fog-muted); }

.o2-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.o2-lockup .o2-mark { width: 30px; }
.o2-lockup h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.04em; }
.games--teaser .games__intro { padding-bottom: clamp(48px, 7vw, 88px); }
.btn--o2 { background: var(--accent); color: var(--night); }
.btn--o2:hover { background: var(--fog); }

.game-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); padding-bottom: clamp(48px, 7vw, 96px); }
.game-card { display: block; border-radius: 8px; overflow: hidden; background: var(--night-2); box-shadow: 0 0 0 1px var(--line-dark); transition: box-shadow 0.3s var(--ease), transform 0.4s var(--ease); }
.game-card:hover { box-shadow: 0 0 0 1px var(--accent); transform: translateY(-3px); }
.game-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.game-card:hover .game-card__media img { transform: scale(1.04); }
.game-card__body { padding: 24px 24px 28px; }
.game-card__body .tag { margin-bottom: 12px; }
.game-card h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.game-card p:not(.tag) { color: var(--fog-muted); margin-top: 10px; max-width: 32em; }
@media (max-width: 760px) { .game-cards { grid-template-columns: 1fr; } }

/* Founder */
.founder { padding-top: clamp(96px, 14vw, 180px); }
.founder__grid { display: grid; grid-template-columns: minmax(200px, 0.7fr) 1.3fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.founder__photo { border-radius: 6px; overflow: hidden; aspect-ratio: 1; background: var(--paper-2); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.6s var(--ease); }
.founder__photo:hover img { filter: none; }
.founder .h2 { font-size: clamp(36px, 4.4vw, 64px); }
.founder .body { margin-top: 20px; }
@media (max-width: 760px) { .founder__grid { grid-template-columns: 1fr; } .founder__photo { max-width: 320px; } }

/* Company facts */
.company { padding-top: clamp(96px, 14vw, 180px); }
.company__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line-strong); }
.company__facts div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.company__facts dt { color: var(--muted); margin-bottom: 6px; }
.company__facts dd { text-transform: none; font-size: 13px; color: var(--ink); }
@media (max-width: 760px) { .company__facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .company__facts { grid-template-columns: 1fr; } }

/* Founder profile page */
.profile { display: grid; grid-template-columns: minmax(220px, 0.55fr) 1.45fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.profile__name { font-size: clamp(44px, 7.4vw, 116px); }
.profile .lede { margin-top: clamp(20px, 3vw, 36px); }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile__photo { max-width: 280px; } }
.ventures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(56px, 8vw, 96px); }
.venture { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line-strong); border-radius: 6px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.venture__role { color: var(--muted); }
.venture__name { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.03em; margin-top: 14px; }
.venture__desc { color: var(--muted); font-size: 15px; }
.venture:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.venture:hover .venture__role, .venture:hover .venture__desc { color: var(--fog-muted); }
@media (max-width: 760px) { .ventures { grid-template-columns: 1fr; } }
.r-now { margin-top: clamp(72px, 10vw, 128px); align-items: start; }
.r-now .body { margin-top: 0; font-size: 19px; }

/* ==========================================================================
   Bring a Sword: product page, privacy, support (Overtwo, dark)
   ========================================================================== */

.page-o2 .crumbs { color: var(--fog-muted); flex-wrap: wrap; }
.page-o2 .crumbs [aria-current], .page-o2 .crumbs a:hover { color: var(--fog); }

.bas-hero { position: relative; padding-bottom: clamp(72px, 10vw, 140px); }
.bas-hero__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.bas-hero__name { font-weight: 500; font-size: clamp(56px, 10vw, 160px); line-height: 0.9; letter-spacing: -0.055em; }
.bas-hero__tagline { font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin-top: clamp(16px, 2vw, 28px); color: var(--accent); }
.bas-hero .lede { color: var(--fog-muted); margin-top: clamp(24px, 3vw, 36px); }
.bas-hero__meta { color: var(--fog-muted); margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.bas-hero__phone { max-width: 340px; justify-self: end; width: 100%; }
@media (max-width: 900px) {
  .bas-hero__grid { grid-template-columns: 1fr; }
  .bas-hero__phone { justify-self: start; max-width: 260px; }
}

/* Pre-launch "Coming soon to iPhone" label (replace with Apple's official badge artwork + link at launch) */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 18px;
  border-radius: 12px; background: #000; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.store-badge:hover { box-shadow: 0 0 0 1px var(--accent); }
.store-badge svg { width: 24px; height: 28px; flex: none; }
.store-badge span { display: grid; line-height: 1.1; }
.store-badge small { font-size: 11px; letter-spacing: 0.01em; opacity: 0.85; }
.store-badge b { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.store-badge--soon { cursor: default; padding: 0 22px; }
.store-badge--soon:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }

.bas-section { padding-top: clamp(80px, 12vw, 150px); }
.bas-pitch { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.bas-pitch__lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.025em; color: var(--fog); }
.bas-pitch .body { margin-top: 0; }
.bas-pitch .body + .body { margin-top: 16px; }
@media (max-width: 900px) { .bas-pitch { grid-template-columns: 1fr; } }

.bas-classes { position: relative; padding-bottom: clamp(48px, 6vw, 80px); }

.bas-features { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
.bas-features li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line-dark); }
@media (max-width: 760px) {
  .bas-features { grid-template-columns: 1fr; }
  .bas-features li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.shots .phone { border-radius: 18px; }
.shots img { width: 100%; height: 100%; object-fit: cover; }
.shots figcaption { margin-top: 12px; color: var(--fog-muted); font-size: 11px; }
@media (max-width: 900px) {
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { scroll-snap-align: start; }
}
@media (max-width: 480px) { .shots { grid-auto-columns: 62%; } }

.bas-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bas-link {
  position: relative; display: grid; gap: 6px; padding: 22px 22px 24px; align-content: start; min-height: 150px;
  border-radius: 8px; background: var(--night-2); box-shadow: 0 0 0 1px var(--line-dark);
  transition: box-shadow 0.25s var(--ease), transform 0.3s var(--ease);
}
.bas-link:hover { box-shadow: 0 0 0 1px var(--accent); transform: translateY(-2px); }
.bas-link__k { color: var(--fog-muted); }
.bas-link__t { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.03em; margin-top: 14px; }
.bas-link__d { color: var(--fog-muted); font-size: 15px; overflow-wrap: anywhere; }
.bas-link__go { position: absolute; top: 18px; right: 20px; font-size: 18px; color: var(--accent); }
@media (max-width: 760px) { .bas-links { grid-template-columns: 1fr; } .bas-link { min-height: 0; } }

/* Overtwo title block: highlight chips and links (replaces count stats) */
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(80px, 10vw, 140px); padding-top: 24px; border-top: 1px solid var(--line-dark); }
.highlights li { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--fog); font-size: 12px; }
.highlights li:first-child { box-shadow: inset 0 0 0 1px var(--accent); }
.title__links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 28px; }
.title__links .btn { margin-right: 4px; }
.title__links a.mono { color: var(--fog-muted); transition: color 0.2s; }
.title__links a.mono:hover { color: var(--fog); }

/* Dark document pages (privacy, support) */
.page-o2 .faq-body { border-top-color: var(--line-dark); color: var(--fog-muted); }
.page-o2 .faq-body > p:first-child, .page-o2 .faq-body strong, .page-o2 .faq-section h2, .page-o2 .faq-question { color: var(--fog); }
.page-o2 .faq-body a:hover { color: var(--accent); }
.page-o2 .faq-section-label, .page-o2 .faq-ref, .page-o2 .faq-note { color: var(--fog-muted); }
.page-o2 .faq-item { border-top-color: var(--line-dark); }
.page-o2 .faq-divider { border-top-color: var(--line-dark); }
.page-o2 .faq-contact-block { background: var(--night-2); }
.page-o2 .r-hero .kicker { color: var(--fog-muted); }
.page-o2 .display span:only-child { color: var(--fog); }
.faq-body ol { list-style: decimal; padding-left: 22px; margin-top: 14px; }
.faq-body ol li + li { margin-top: 6px; }
.faq-body h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-top: 28px; }
.page-o2 .faq-body h3 { color: var(--fog); }
.doc-meta { color: var(--fog-muted); margin-top: 18px; }
.page-o2 .btn--line { border-color: var(--line-dark); color: var(--fog); }
.page-o2 .btn--line:hover { border-color: var(--fog); }
.class h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 6px; }
.pillars h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.store-badge svg { width: 26px; height: 26px; }
.title.bas-section { margin-top: clamp(80px, 12vw, 150px); }
.page-o2 .section-head { gap: 6px 16px; flex-wrap: wrap; }
.title__sublinks { display: inline-flex; gap: 28px; }
