/* Tabline website. Built from the Claude Design file "Tabline Privacy.dc.html".
   Static CSS only: no trackers, no fonts loaded from other sites. */

:root {
  --bg: #0b0f16;
  --bg-deep: #0e131c;
  --surface: #121926;
  --border: #1f2a3a;
  --text: #e8e6e1;
  --muted: #8b95a5;
  --gold: #c8aa6e;
  --gold-bright: #e3c98c;
  /* One column for everything, wide enough to show the clip legibly. */
  --page: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--gold-bright);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.skip-link:focus {
  left: var(--gutter);
  z-index: 10;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 22, 0.92);
}

.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.site-header__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__mark {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  /* min-width:0 lets the nav shrink and wrap instead of overflowing the page. */
  min-width: 0;
  justify-content: flex-end;
  row-gap: 8px;
  gap: clamp(14px, 2.2vw, 26px);
  align-items: center;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
}

/* Document pages ---------------------------------------------------------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter);
}

.doc h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.doc section {
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.doc section:last-child {
  margin-bottom: 0;
}

.doc h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.doc p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* Comes after `.doc p` so its spacing isn't cancelled by it. */
.doc .doc__lede {
  margin: 0 0 clamp(32px, 4vw, 48px);
  line-height: 1.6;
}

/* Keep the reading measure near 65-70 characters. */
.doc p {
  max-width: 68ch;
}

/* Stacked cards ----------------------------------------------------------- */

.card-stack {
  display: grid;
  gap: 1px;
  margin-top: 20px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.card-stack > div {
  background: var(--surface);
  padding: 22px 24px;
}

.card-stack h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.card-stack p {
  font-size: 15px;
}

/* Main page --------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Keep anchored sections clear of the sticky header. */
main [id] {
  scroll-margin-top: 96px;
}

/* On a phone the menu wraps to three rows. A sticky header that tall would eat
   a sixth of the screen for the whole visit, so there it scrolls away. */
@media (max-width: 639px) {
  .site-header--sticky {
    position: static;
  }

  main [id] {
    scroll-margin-top: 16px;
  }

  /* Two rows of menu instead of three. */
  .site-nav {
    gap: 12px;
    font-size: 13px;
  }
}

/* Sections are separated by space alone, so this is the page rhythm. */
.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) var(--gutter);
}

/* A full-width band; the border and background run edge to edge. */
.band {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.section__title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.section__lede {
  margin: 0 0 clamp(28px, 3vw, 44px);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.section__note {
  margin: clamp(20px, 2vw, 28px) 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Hero */

/* Headline and ask in a row across the top, then the clip underneath across
   the same column as every section below, so all the edges line up. */
.hero {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) var(--gutter) clamp(40px, 6vw, 72px);
  display: grid;
  gap: clamp(32px, 4vw, 56px);
}

.hero > * {
  min-width: 0;
}

/* The headline's last line and the button row settle on the same floor. */
.hero__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
}

.hero__intro > * {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 0 0 24px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  background: var(--gold);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold-bright);
  color: var(--bg);
}

/* A gold ring on a gold button is invisible; this one is light on dark. */
.btn:focus-visible {
  outline-color: var(--text);
}

.status__dot {
  width: 7px;
  height: 7px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--gold);
  display: block;
  flex: none;
}

/* The quiet alternative next to each button, for people with no mail app. */
.action-alt {
  font-size: 14px;
  color: var(--muted);
}

/* One line under the ask: status and who it's for. */
.hero__meta {
  display: flex;
  /* Top-aligned so the dot stays on the first line when the text wraps. */
  align-items: flex-start;
  gap: 9px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.cta-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

@media (min-width: 720px) {
  .cta-action {
    justify-content: flex-end;
  }
}

/* The video frame. Holds the clip once it exists; until then it crops the
   screenshot down to the board so none of it is empty background. */
.player {
  margin: 0;
  min-width: 0;
}

.player__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* A defined edge, like a player bezel. No shadow under it: one or the other. */
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #06090e;
}

.player__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* The player-card shot is taller: its board plus the open card measure
   926x431 in the same 1024x768 frame. */
.player__stage--card {
  aspect-ratio: 2.15;
  border-radius: 10px;
}

.player__stage--card .player__media {
  object-position: 50% 9%;
}

/* Screenshots */

/* Card grids */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Four cards: 4 across on wide screens, then 2, then 1 — never an orphan row. */
.cards--four {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

@media (min-width: 560px) and (max-width: 1000px) {
  .cards--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* The little illustrations sit on the card's floor, so they line up across a
   row whose cards have different amounts of text. */
.card > .chips,
.card > .tooltip-demo,
.card > .frame-demo,
.card > .roster {
  margin-top: auto;
  padding-top: 18px;
}

/* Every card answers the mouse, so none of them reads as broken. */
.card {
  transition: border-color 220ms ease;
}

.card:hover {
  border-color: rgba(200, 170, 110, 0.4);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* The step number is the sequence itself, so it's set as a figure, not a label. */
.card__step {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

/* Small original illustrations inside the feature cards. Nothing here is game
   art: the glyphs are plain shapes and the "tooltip" is blank placeholder bars. */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.chip__glyph {
  width: 12px;
  height: 12px;
  flex: none;
  display: block;
}

.chip__label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip__time {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.chip--live {
  border-color: rgba(200, 170, 110, 0.45);
}

.chip--live .chip__time {
  color: var(--gold);
}

.chip--live .chip__glyph {
  animation: chip-pulse 2.4s ease-in-out infinite;
}

@keyframes chip-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.tooltip-demo {
  position: relative;
  margin-top: 18px;
  height: 96px;
}

/* A video frame with the board inside it and the reopen tab on its edge. */
.frame-demo {
  position: relative;
  margin-top: 18px;
  width: 100%;
  max-width: 170px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(160deg, #0d1522, var(--bg));
  overflow: hidden;
}

.frame-demo__tab {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 26px;
  border-radius: 0 4px 4px 0;
  background: var(--gold);
  opacity: 0.85;
  display: block;
}

.frame-demo__board {
  position: absolute;
  inset: 20% 12% 20% 24%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  display: block;
  transition: opacity 220ms ease;
}

.card:hover .frame-demo__board {
  opacity: 0.35;
}

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

.tooltip-demo__slots {
  display: flex;
  gap: 6px;
}

.slot {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: block;
}

.slot--active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 170, 110, 0.18);
}

.tooltip-demo__card {
  position: absolute;
  left: 34px;
  top: 34px;
  width: min(160px, 80%);
  padding: 11px;
  background: var(--bg);
  /* This one floats above the slots, so it carries elevation instead of a border. */
  border-radius: 8px;
  display: grid;
  gap: 7px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5);
  transition: transform 220ms ease;
}

.tooltip-demo__title {
  height: 7px;
  width: 58%;
  border-radius: 3px;
  background: var(--gold);
  opacity: 0.85;
  display: block;
}

.tooltip-demo__line {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  display: block;
}

.tooltip-demo__line--short {
  width: 62%;
}

.tooltip-demo__cursor {
  position: absolute;
  left: 38px;
  top: 24px;
  width: 12px;
  height: 16px;
  transition: transform 220ms ease;
}

.card:hover .tooltip-demo__card {
  transform: translateY(-3px);
}

.card:hover .tooltip-demo__cursor {
  transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
  .chip--live .chip__glyph {
    animation: none;
  }

  .tooltip-demo__card,
  .tooltip-demo__cursor {
    transition: none;
  }
}

/* The mark drawn as rows: blue team left, gold divider, red team right. */
.roster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.roster__side {
  display: grid;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.roster__side i {
  height: 4px;
  border-radius: 2px;
  display: block;
}

.roster__side--blue i {
  background: #3d9cff;
}

.roster__side--red i {
  background: #ff4f4f;
}

.roster__side i:nth-child(2) { opacity: 0.86; }
.roster__side i:nth-child(3) { opacity: 0.72; }
.roster__side i:nth-child(4) { opacity: 0.58; }
.roster__side i:nth-child(5) { opacity: 0.44; }

.roster__divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

/* Two-column panels: player cards feature, and the closing call to action. */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.panel > * {
  min-width: 0;
}

.panel--cta {
  padding: clamp(24px, 4vw, 44px);
}


.panel h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.panel h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
}

.panel p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel h3 ~ p {
  font-size: 15px;
  max-width: 52ch;
}

.panel .panel__note {
  margin-top: 12px;
  font-size: 14px;
  max-width: 56ch;
}

.feature-panel {
  margin-top: clamp(16px, 2vw, 24px);
}

/* Joined statement grid (Player data and fair play) */

/* The separator lines are drawn by each cell's shadow rather than by the
   container's background, so a part-filled last row still looks like a card. */
.statements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.statements > div {
  min-width: 0;
  background: var(--surface);
  padding: 24px;
  box-shadow: 1px 0 0 var(--border), 0 1px 0 var(--border);
}

/* The closing statement fills the last row, so it reads as a deliberate
   finish rather than a leftover. */
.statements > .statements__wide {
  grid-column: 1 / -1;
}

.statements h3 {
  margin: 0 0 9px;
  font-size: 16px;
  font-weight: 600;
}

.statements p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* FAQ */

/* Two columns, so four questions make two even rows. */
.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.faq > div {
  min-width: 0;
}

.faq h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.faq p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.site-footer__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) var(--gutter);
  display: grid;
  gap: 24px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.site-footer .brand {
  font-size: 15px;
}

.site-footer .brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}

.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--text);
}

.footer-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
}

.legal {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
}
