/* Istralo — site styles
   Istralo itself stays neutral: warm grey canvas, off-black ink, grey text.
   Each app brings its own colour, used only inside that app's panels. */

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
  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: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
  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 {
  /* Istralo — contrast measured on canvas: ink 16.7:1, muted 4.84:1 */
  --canvas: #f4f4f3;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #6b6b6b;
  --hairline: rgba(20, 20, 20, 0.09);
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 12px 32px -16px rgba(20, 20, 20, 0.16);

  /* Together */
  --amber: #e8a33d;        /* fills only, never text */
  --amber-text: #9a5f0c;
  --ring-track: rgba(20, 20, 20, 0.08);

  /* DeTour */
  --dt-night: #191b18;
  --dt-lime: #d6fa76;
  --dt-paper: #f7faf8;
  --dt-ink: #142d27;
  --dt-muted: #5f6f69;
  --dt-line: #dfe8e3;
  --dt-field: #eff5f1;
  --dt-green: #0f7d59;

  /* Station Alert — light accent from the app; line colours are markers. */
  --sa-night: #16191b;
  --sa-accent: #f2a33a;
  --sa-red: #e32017;
  --sa-blue: #0098d4;

  /* Spot the Imposter */
  --im-night: #101410;
  --im-card: #222720;
  --im-amber: #f7b73e;
  --im-ink: #f5f3eb;
  --im-muted: #b4b9ae;

  /* Pinspot */
  --ps-paper: #f7f6f0;
  --ps-green: #52663d;
  --ps-ink: #242b20;
  --ps-muted: #656d5c;
  --ps-track: #dce2d1;

  --radius-lg: 28px;
  --radius: 20px;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header & footer ---------- */

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-decoration: none;
  margin-left: -4px;
  padding: 4px;
}
.wordmark img { border-radius: 8px; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-right: -12px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(20, 20, 20, 0.06); }

.site-footer {
  border-top: 1px solid var(--hairline);
  font-size: 0.9375rem;
  color: var(--muted);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 28px 32px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-left: -8px; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  text-decoration: none;
}
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.75rem, 1.4rem + 6vw, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 12ch;
  text-wrap: balance;
}
.display--product {
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
  max-width: 13ch;
}
.h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(1.875rem, 1.35rem + 2.1vw, 3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
  text-wrap: pretty;
}
.section-lead {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32em;
}
.eyebrow {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--ink); text-decoration: underline; }

.arrow { width: 1em; height: 1em; flex: none; transition: transform 0.2s ease; }

/* ---------- Sections ---------- */

.hero { padding-block: clamp(48px, 8vw, 120px) clamp(40px, 6vw, 80px); }
.hero .lead { margin-top: clamp(20px, 2.5vw, 32px); }

.hero--split {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-top: clamp(24px, 5vw, 72px);
}
.hero--split .display { margin-top: 28px; }
@media (min-width: 960px) {
  .hero--split { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.section { padding-block: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding-top: 0; }
.section--last { padding-bottom: clamp(56px, 8vw, 112px); }
.section-head { margin-bottom: 20px; }
.section > .h2 + .steps,
.section > .h2 + .tiles,
.section > .h2 + .faq,
.section > .h2 + .principles { margin-top: clamp(28px, 4vw, 48px); }

.more-link { margin-top: 32px; }
.split .more-link { margin-top: 20px; }
.more-link a,
.panel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.more-link a:hover .arrow,
.panel:hover .arrow { transform: translateX(3px); }

/* ---------- App identity ---------- */

.app-id { display: flex; align-items: center; gap: 14px; }
.app-id img { border-radius: 14px; flex: none; }
.app-id__name {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

/* ---------- Product panels (home) ---------- */

.panels { display: grid; gap: 20px; }
@media (min-width: 900px) { .panels { grid-template-columns: 1fr 1fr; gap: 24px; } }

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
}
.panel__summary {
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  font-weight: 550;
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 20em;
  text-wrap: pretty;
}
.panel__link { margin-top: auto; align-self: flex-start; }
/* The whole panel is clickable through its one link. */
.panel__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.panel__link:focus-visible { outline: none; }
.panel__link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 3px; }
.panel .stage { margin: 0 12px 12px; }

/* ---------- Stages (backgrounds behind app previews) ---------- */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  padding: clamp(28px, 5vw, 48px) clamp(14px, 3vw, 20px);
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
}
.stage--together { background: var(--canvas); }
.stage--station-alert { background: var(--sa-night); }
.stage--imposter { background: var(--im-night); }
.stage--tic-tac-toe { background: #0b1026; }
.stage--pinspot { background: #e9ecdf; }
.stage--detour {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(214, 250, 118, 0.10), transparent 60%),
    var(--dt-night);
}
.stage--hero { border-radius: var(--radius-lg); min-height: 100%; padding-block: clamp(36px, 6vw, 72px); }
.stage--hero.stage--together { background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow); }
.stage--hero.stage--together .tg__card { background: var(--canvas); box-shadow: none; border-color: transparent; }

/* ---------- Together preview ---------- */

.tg {
  width: 100%;
  max-width: 340px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.3;
}
.tg p { margin: 0; }
.tg__focus {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 30px -18px rgba(20, 20, 20, 0.5);
}
.tg__kicker { font-size: 13px; color: rgba(255, 255, 255, 0.62); }
.tg__title { margin-top: 6px !important; font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.tg__focus .tg__meta { color: rgba(255, 255, 255, 0.62); margin-top: 2px !important; }
.tg__btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.tg__card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 8px 20px -14px rgba(20, 20, 20, 0.18);
}
.tg__ring { position: relative; flex: none; width: 56px; height: 56px; }
.tg__ring .ring { width: 56px; height: 56px; }
.tg__ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.tg__label { font-size: 13px; color: var(--muted); }
.tg__strong { font-weight: 650; font-size: 17px; letter-spacing: -0.015em; }
.tg__meta { font-size: 13px; color: var(--muted); }
.tg__crew { justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.tg__crew .tg__meta { white-space: nowrap; }
.tg__avatars { display: flex; }
.tg__avatars span {
  width: 30px;
  height: 30px;
  margin-right: -6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: 2px solid var(--surface);
}
.tg__avatars span:nth-child(1) { background: #dcdcd9; }
.tg__avatars span:nth-child(2) { background: #cfcfcb; }
.tg__avatars span:nth-child(3) { background: #e5e4e0; }
.tg__avatars span:nth-child(4) { background: #d6d5d1; }
.tg__avatars span.is-waiting { background: var(--surface); color: var(--muted); border: 2px dashed #c4c4c0; }

/* ---------- DeTour preview ---------- */

.dt { width: 100%; max-width: 320px; }
.dt p { margin: 0; }
.dt__screen {
  background: var(--dt-paper);
  color: var(--dt-ink);
  border-radius: 26px;
  padding: 20px 20px 18px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.dt__top { display: flex; justify-content: space-between; align-items: center; }
.dt__wordmark { font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }
.dt__shield { width: 20px; height: 20px; color: var(--dt-green); }
.dt__title { margin-top: 22px !important; font-size: 25px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.dt__sub { margin-top: 6px !important; color: var(--dt-muted); }
.dt__labels { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; font-weight: 500; }
.dt__link { color: var(--dt-green); font-weight: 600; }
.dt__field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--dt-line);
  border-radius: 14px;
  font-variant-numeric: tabular-nums;
}
.dt__cc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 12px;
  border-right: 1px solid var(--dt-line);
  font-weight: 600;
}
.dt__cc svg { width: 12px; height: 12px; color: var(--dt-muted); }
.dt__num { font-weight: 500; letter-spacing: 0.01em; }
.dt__msg { background: var(--dt-field); border-color: transparent; }
.dt__btn {
  display: block;
  margin-top: 14px;
  padding: 13px;
  border-radius: 999px;
  background: var(--dt-green);
  color: #fff;
  text-align: center;
  font-weight: 650;
}
.dt__foot { margin-top: 10px !important; text-align: center; font-size: 12px; color: var(--dt-muted); }

/* ---------- Station Alert preview ---------- */

.sa { width: 100%; max-width: 320px; }
.sa__screen {
  background: var(--canvas);
  color: var(--ink);
  border-radius: 26px;
  padding: 20px 20px 18px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.sa__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; }
.sa__wordmark { font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }
.sa__city { color: var(--muted); font-size: 12px; }
.sa__count { margin-top: 22px; font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.sa__count strong { font-size: 64px; font-weight: 650; line-height: 1; vertical-align: baseline; }
.sa__next { margin-top: 10px; padding: 10px 14px; background: var(--sa-accent); border-radius: 14px; font-weight: 650; }
.sa__destination { display: grid; gap: 2px; margin-top: 18px; }
.sa__destination span { color: var(--muted); font-size: 12px; }
.sa__destination strong { font-size: 22px; font-weight: 650; letter-spacing: -0.025em; }
.sa__timeline { margin-top: 20px; }
.sa__station { position: relative; padding: 0 0 18px 26px; }
.sa__station strong, .sa__station span { display: block; }
.sa__station strong { font-weight: 600; }
.sa__station span { margin-top: 2px; font-size: 12px; color: var(--muted); }
.sa__station::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: -8px; width: 3px; background: var(--sa-blue); }
.sa__station::after { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border: 3px solid var(--sa-blue); border-radius: 50%; background: var(--canvas); }
.sa__station--red::before { background: var(--sa-red); }
.sa__station--red::after { border-color: var(--sa-red); }
/* Dashes show that this is a shortened timeline, not every station. */
.sa__station--blue::before { background: none; border-left: 3px dotted var(--sa-blue); }
.sa__station--end { padding-bottom: 0; }
.sa__station--end::before { display: none; }

/* ---------- Spot the Imposter preview ---------- */

.im { width: 100%; max-width: 300px; color: var(--im-ink); text-align: center; font-size: 14px; line-height: 1.35; }
.im__kicker { color: var(--im-muted); font-size: 11px; letter-spacing: 0.08em; font-weight: 600; }
.im__hold { margin-top: 18px; padding: 24px 14px; border: 1px solid #41483b; border-radius: 22px; background: var(--im-card); }
.im__hold-mark { display: grid; place-items: center; margin: 0 auto 14px; width: 42px; height: 42px; border: 1px solid #727c67; border-radius: 50%; font-size: 23px; font-weight: 600; }
.im__title { font-size: 25px; font-weight: 650; letter-spacing: -0.03em; }
.im__muted { margin-top: 5px; color: var(--im-muted); }
.im__fan { display: flex; justify-content: center; padding: 26px 12px 18px; }
.im__card { display: flex; flex-direction: column; justify-content: space-between; align-items: center; width: 112px; height: 132px; padding: 25px 10px 14px; border-radius: 18px; font-weight: 650; box-shadow: 0 12px 24px -12px #000; }
.im__card--word { background: #e4e7d8; color: var(--im-night); transform: rotate(-12deg); }
.im__card--imposter { margin-left: -12px; background: var(--im-amber); color: var(--im-night); transform: rotate(12deg); }
.im__eyes { display: flex; gap: 18px; }
.im__eyes::before, .im__eyes::after { content: ""; width: 12px; height: 26px; border-radius: 8px; background: currentColor; }
.im__card--imposter .im__eyes::after { transform: translateY(-7px); }
.im__caption { margin-top: 8px; color: var(--im-muted); font-size: 12px; }

/* ---------- Pinspot preview ---------- */

.ps { width: 100%; max-width: 320px; color: var(--ps-ink); font-size: 14px; line-height: 1.35; }
.ps__capture { padding: 20px; border-radius: 26px; background: var(--ps-paper); text-align: center; box-shadow: var(--shadow); }
.ps__title { font-size: 22px; font-weight: 650; letter-spacing: -0.025em; }
.ps__ring { --amber: var(--ps-green); --ring-track: var(--ps-track); position: relative; width: 176px; height: 176px; margin: 20px auto 16px; }
.ps__ring p { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; color: var(--ps-green); }
.ps__ring strong { font-size: 44px; font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; }
.ps__muted, .ps__note, .ps__time, .ps__label { color: var(--ps-muted); }
.ps__time { margin-top: 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.ps__note { margin-top: 12px; font-size: 12px; }
.ps__btn { display: block; margin-top: 16px; padding: 12px; border-radius: 999px; background: var(--ps-green); color: #fff; font-weight: 650; }
.ps__coordinates { margin-top: 12px; padding: 16px 20px; border-radius: 20px; background: var(--ps-paper); box-shadow: var(--shadow); }
.ps__label { font-size: 12px; }
.ps__name { margin-top: 4px; font-size: 18px; font-weight: 650; }
.ps__values { margin-top: 5px; font-size: 17px; font-weight: 550; font-variant-numeric: tabular-nums; }
.ps__copy { display: block; margin-top: 10px; color: var(--ps-green); font-size: 12px; font-weight: 650; }

/* ---------- Principles (home) ---------- */

.principles {
  display: grid;
  gap: 0;
  counter-reset: p;
}
@media (min-width: 820px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.principles li {
  counter-increment: p;
  padding-block: 24px;
  border-top: 1px solid var(--hairline);
}
.principles li::before {
  content: "0" counter(p);
  display: block;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.principles h3,
.steps h3,
.tiles h3 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.principles p,
.steps p,
.tiles p { margin-top: 8px; color: var(--muted); max-width: 30em; }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps--four { grid-template-columns: repeat(4, 1fr); }
  .steps--three { grid-template-columns: repeat(3, 1fr); }
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.steps__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* ---------- Tiles ---------- */

.tiles { display: grid; gap: 0 40px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tiles li { padding-block: 24px; border-top: 1px solid var(--hairline); }

/* ---------- Comparison table ---------- */

.compare {
  width: 100%;
  margin-top: clamp(28px, 4vw, 48px);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 1rem;
}
.compare th,
.compare td {
  width: 50%;
  padding: 18px clamp(16px, 3vw, 28px);
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--hairline);
}
.compare thead th {
  border-top: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.compare thead th:last-child { color: var(--amber-text); }
.compare td:first-child { color: var(--muted); }
.compare td:last-child { font-weight: 600; }
.compare td + td,
.compare th + th { border-left: 1px solid var(--hairline); }

/* ---------- Split (heading left, facts right) ---------- */

.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.facts { display: grid; gap: 0; }
.facts li {
  padding-block: 18px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
}
.facts li:first-child { border-top: 0; padding-top: 4px; }
.facts strong { color: var(--ink); font-weight: 650; }

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.faq details + details { border-top: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 16px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: var(--radius); }
.faq details p { padding: 0 24px 22px; margin-top: -4px; color: var(--muted); max-width: 40em; }

/* ---------- Focus card (one per page) ---------- */

.focus {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 48px -28px rgba(20, 20, 20, 0.55);
}
.focus p { margin-top: 12px; color: rgba(255, 255, 255, 0.7); font-size: 1.125rem; max-width: 30em; }
.focus :focus-visible { outline-color: #fff; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill--ink { background: var(--ink); color: #fff; }

/* ---------- Prose (privacy, support) ---------- */

.prose {
  max-width: calc(720px + 2 * var(--gutter));
  padding-block: clamp(40px, 7vw, 96px);
}
.prose .h1 { margin-top: 12px; }
.prose .meta { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.prose .lead { margin-top: 20px; }
.prose h2 {
  margin-top: 48px;
  margin-bottom: 4px;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.prose > p,
.prose article > p { margin-top: 16px; }
.prose .faq { margin-top: 16px; }
.notice {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 0.9375rem;
  color: var(--muted);
}
.notice strong { color: var(--ink); }

/* ---------- Small screens ---------- */

@media (max-width: 520px) {
  .tg__card { padding: 12px 14px; }
  .tg__avatars span { width: 27px; height: 27px; font-size: 9.5px; }
  .site-header__inner { min-height: 64px; flex-direction: column; align-items: flex-start; gap: 0; padding-block: 8px; }
  .wordmark span { font-size: 1.25rem; }
  .site-nav a { padding: 0 9px; font-size: 0.875rem; }
  .site-nav { margin-inline: -9px; gap: 0; }
  .focus .pill { width: 100%; }
}
@media (max-width: 420px) {
  .site-nav .nav-extra { display: none; } /* Support stays in the footer */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tic Tac Toe - Retro preview */
.ttt { width: 100%; max-width: 260px; text-align: center; color: #eef3ff; font-size: 14px; }
.ttt__status { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: #4fd8ff; text-shadow: 0 0 14px rgba(79, 216, 255, 0.6); }
.ttt__board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px auto 14px; padding: 8px; border-radius: 18px; background: #121a3a; box-shadow: 0 0 0 1px #24346f, 0 0 32px -8px rgba(47, 123, 255, 0.55); }
.ttt__cell { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: #182352; color: #ff8a2a; font-size: 30px; font-weight: 700; line-height: 1; }
.ttt__cell--win { color: #4fd8ff; background: #1c3270; text-shadow: 0 0 12px rgba(79, 216, 255, 0.8); }
.ttt__caption { color: #9aa6cf; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
