/* ---------- Fonts (served from our own server) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/manrope-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: 'Unbounded'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/unbounded-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: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-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; }

/* ---------- Tokens ---------- */
:root {
  --night: #14123A;
  --night-deep: #0F0D2E;
  --panel: #201C55;
  --line: #3A3580;
  --amber: #FFC845;
  --amber-ink: #241C00;
  --live: #E5322D;
  --text: #F2F0FF;
  --muted: #A9A4D6;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --page: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.6vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.lede {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  max-width: 34em;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius-sm);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: #FFD46B; }
.btn-night { background: var(--night); color: var(--text); }
.btn-night:hover { background: var(--panel); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }

/* ---------- Header ---------- */
.site-header { padding: 20px 0; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { flex: none; width: 40px; height: 40px; }
.brand-name { display: grid; line-height: 1; }
.brand-top { font: 800 1.25rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand-bottom { margin-top: 4px; font: 700 .8125rem/1 var(--font-body); color: var(--amber); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-weight: 600; font-size: .9375rem; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--amber); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Live marker (the only ambient motion on the site) ---------- */
.live-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--live); color: #fff;
  font: 800 .6875rem/1 var(--font-display);
  letter-spacing: .04em;
  padding: 6px 9px 6px 8px;
  border-radius: 5px;
}
.live-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero .display { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.hero-actions .note { color: var(--muted); font-size: .9375rem; }
.hero-media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 70% 20%, #3B3290 0%, transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  padding: 24px; text-align: center;
  color: var(--muted); font-size: .9375rem;
  overflow: hidden;
}
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% center; }
.hero-media .live-tag { position: absolute; top: 18px; right: 18px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Big games: featured match plus a match list ---------- */
.board-section { padding-bottom: clamp(64px, 9vw, 112px); }
.board-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px;
}
.board-head .muted { font-size: .9375rem; }
.board { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
.board.is-single { grid-template-columns: 1fr; }
/* Sport tabs scroll sideways on small screens instead of wrapping */
.board-tabs {
  display: flex; width: max-content; max-width: 100%;
  margin-bottom: 20px;
  overflow-x: auto; scrollbar-width: none;
}
.board-tabs::-webkit-scrollbar { display: none; }
.board-tabs .tab { white-space: nowrap; flex: none; }
.tab.has-live::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
  border-radius: 50%; background: var(--live); vertical-align: middle;
}

.crest { flex: none; object-fit: contain; }
.crest-lg { width: 104px; height: 104px; }
.crest-sm { width: 24px; height: 24px; }
.crest-xs { width: 22px; height: 22px; }
.crest-initials {
  display: grid; place-items: center; border-radius: 50%;
  background: #2E2A72; color: var(--text);
  font-family: var(--font-display); font-weight: 800;
}
.crest-lg.crest-initials { font-size: 1.375rem; }
.crest-sm.crest-initials, .crest-xs.crest-initials { font-size: .5625rem; }

/* Featured match, lit from above like a stadium at night */
.match-feature {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: radial-gradient(110% 70% at 50% 0%, #3A3494 0%, transparent 65%), var(--panel);
}
.match-league { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.match-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; text-align: center; }
.match-versus.is-event { grid-template-columns: 1fr auto; text-align: left; }
.team { display: grid; justify-items: center; gap: 14px; }
.is-event .team { justify-items: start; }
.team-name { font: 700 clamp(1rem, 1.6vw, 1.1875rem)/1.25 var(--font-display); letter-spacing: -0.02em; }
.match-when { display: grid; justify-items: center; gap: 6px; }
.match-day { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.match-when .match-clock {
  font: 800 clamp(1.75rem, 3vw, 2.25rem)/1 var(--font-display);
  color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.match-feature .btn { align-self: center; }

/* Remaining games */
.match-list { list-style: none; margin: 0; padding: 4px 0; background: var(--panel); border-radius: var(--radius-lg); }
.match-row {
  display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "time teams" "time comp";
  align-items: center; gap: 4px 16px;
  padding: 16px 24px;
}
.match-row + .match-row { border-top: 1px solid var(--line); }
.match-time { grid-area: time; display: grid; gap: 4px; }
.match-time .match-clock { font: 800 1.0625rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.match-teams { grid-area: teams; display: grid; gap: 6px; min-width: 0; }
.match-team { display: flex; align-items: center; gap: 10px; font-weight: 700; line-height: 1.3; }
.match-comp { grid-area: comp; color: var(--muted); font-size: .8125rem; }
.match-team-name { min-width: 0; }
.match-score { margin-left: auto; font: 800 1.0625rem/1 var(--font-display); color: var(--amber); font-variant-numeric: tabular-nums; }
.match-row.is-live .match-time { align-self: start; padding-top: 2px; }

@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
  .crest-lg { width: 60px; height: 60px; }
}
@media (max-width: 420px) {
  .match-row { padding: 14px 18px; grid-template-columns: 64px 1fr; }
}

/* ---------- Movies and series ---------- */
.shelf-section {
  background: var(--night-deep);
  padding: clamp(56px, 8vw, 96px) 0;
}
.shelf-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.shelf-controls { display: flex; align-items: center; gap: 12px; }
.tabs {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--panel); border-radius: 10px;
}
.tab {
  min-height: 40px; padding: 8px 18px;
  border: 0; border-radius: 7px;
  background: transparent; color: var(--text);
  font: 700 .9375rem/1 var(--font-body); cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--amber); color: var(--amber-ink); }
.arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer;
}
.arrow:hover:not(:disabled) { border-color: var(--amber); color: var(--amber); }
.arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 760px) { .arrow { display: none; } }

.shelf {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: max(140px, calc((100% - 5 * 20px) / 6));
  gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf[hidden] { display: none; }
.title-card { scroll-snap-align: start; }
.title-art {
  position: relative; aspect-ratio: 2 / 3;
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; align-items: flex-end; padding: 12px;
  color: var(--muted); font-size: .8125rem;
}
.title-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.title-name { margin-top: 12px; font-weight: 700; }
.title-meta { color: var(--muted); font-size: .875rem; }
.art-1 { background: linear-gradient(160deg, #3A2F8F, #241E66); }
.art-2 { background: linear-gradient(160deg, #523486, #2C1F5E); }
.art-3 { background: linear-gradient(160deg, #283F86, #1C2560); }
.art-4 { background: linear-gradient(160deg, #46316F, #251C52); }

/* ---------- Devices and apps ---------- */
.devices-section { padding: clamp(64px, 9vw, 112px) 0; }
.devices-section .lede { margin-top: 12px; }

/* ---------- Amber call-to-action band ---------- */
.cta-band { background: var(--amber); color: var(--amber-ink); padding: clamp(40px, 6vw, 64px) 0; }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.cta-band .title { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.cta-band p { margin-top: 6px; font-weight: 500; }

/* ---------- Questions ---------- */
.faq-section { padding: clamp(56px, 8vw, 88px) 0; }
.faq {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin: 28px 0 0;
}
.faq dt { font-weight: 700; font-size: 1.0625rem; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .875rem; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.site-footer nav { display: flex; gap: 20px; }

/* ---------- Steps (unlock and login pages) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.steps li {
  padding: 8px 14px; border-radius: 999px;
  background: var(--panel); color: var(--muted);
  font-weight: 700; font-size: .875rem; white-space: nowrap;
}
.steps li[aria-current="step"] { background: var(--amber); color: var(--amber-ink); }
.steps li.done { color: var(--text); }
@media (max-width: 560px) {
  .site-header .wrap { flex-wrap: wrap; }
  .steps { width: 100%; }
  .steps li { flex: 1; text-align: center; padding: 8px 6px; font-size: .8125rem; }
}

.flow { padding: clamp(24px, 5vw, 56px) 0 80px; }
.flow .wrap {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.flow .display { font-size: clamp(2.3rem, 5.2vw, 3.75rem); margin-bottom: 20px; }
@media (max-width: 860px) { .flow .wrap { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-weight: 500; }
.checklist svg { color: var(--amber); margin-top: 2px; }

.panel {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}
.panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 4px 16px; margin-bottom: 20px;
}
.panel h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.panel-head .muted { font-size: .875rem; }
.panel-note { margin-top: 16px; color: var(--muted); font-size: .875rem; }

.locker {
  min-height: 420px;
  border: 2px dashed var(--line); border-radius: var(--radius-md);
  display: grid; place-items: center; text-align: center; padding: 32px 24px;
}
.locker svg { color: var(--amber); margin: 0 auto 14px; }
.locker strong { display: block; font-size: 1.0625rem; margin-bottom: 6px; }
.locker p { color: var(--muted); font-size: .9375rem; max-width: 26em; }
.dev-link { display: inline-block; margin-top: 40px; font-size: .875rem; color: var(--muted); }

/* ---------- Login details ---------- */
.timer {
  display: inline-block; margin-top: 32px;
  background: var(--panel); border-radius: var(--radius-md);
  padding: 18px 22px;
}
.timer span { display: block; color: var(--muted); font-size: .875rem; }
.timer output {
  font: 800 clamp(2rem, 4vw, 2.5rem)/1.1 var(--font-display);
  color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.guides { margin-top: 40px; }
.guides h2 { font-size: 1.0625rem; margin-bottom: 10px; }
.guides ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.guides a:hover { color: var(--amber); }

.cred-group + .cred-group { margin-top: 32px; }
.cred-group h2 { margin-bottom: 14px; }
.field { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 10px 12px; }
.field + .field { margin-top: 10px; }
.field.wide { grid-template-columns: 1fr auto; }
.field label { color: var(--muted); font-size: .9375rem; }
.field input {
  width: 100%; min-width: 0; min-height: 48px;
  background: var(--night); color: var(--text);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 10px 14px;
  font: 500 1rem/1.2 var(--font-code);
}
.field input:focus-visible { border-color: var(--amber); outline: none; }
.copy {
  min-height: 48px; min-width: 88px; padding: 8px 16px;
  background: transparent; color: var(--amber);
  border: 1px solid var(--amber); border-radius: var(--radius-sm);
  font: 700 .9375rem/1 var(--font-body); cursor: pointer;
}
.copy:hover { background: rgba(255, 200, 69, .1); }
.copy.copied { background: var(--amber); color: var(--amber-ink); }
@media (max-width: 560px) {
  .field { grid-template-columns: 1fr auto; }
  .field label { grid-column: 1 / -1; margin-bottom: -4px; }
}


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

.nowrap { white-space: nowrap; }

/* Unlock page on phones: show the offer box right after the intro */
@media (max-width: 860px) {
  .flow-unlock .flow-intro { display: contents; }
  .flow-unlock .wrap { gap: 0; }
  .flow-unlock .panel { order: 2; margin-top: 28px; }
  .flow-unlock .checklist { order: 3; }
  .flow-unlock .dev-link { order: 4; }
}

/* ---------- Generator overlay ---------- */
.gen {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: var(--gutter);
  background: rgba(15, 13, 46, .84);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .25s ease;
}
.gen.is-open { opacity: 1; }
.gen-panel {
  width: min(100%, 440px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 30px);
  transform: translateY(10px) scale(.97);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.gen.is-open .gen-panel { transform: none; }
.gen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.gen-title { font: 700 1.25rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.gen-pct { font: 800 1.25rem/1 var(--font-display); color: var(--amber); font-variant-numeric: tabular-nums; }
/* Slanted bar, same angle as the scoreboard time blocks */
.gen-bar { height: 14px; background: var(--night); border-radius: 3px; overflow: hidden; transform: skewX(-20deg); }
.gen-fill {
  display: block; height: 100%; width: 0;
  background-color: var(--amber);
  background-image: linear-gradient(135deg, rgba(255,255,255,.28) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.28) 75%, transparent 75%);
  background-size: 20px 20px;
  animation: stripes .6s linear infinite;
}
@keyframes stripes { to { background-position: 20px 0; } }
.gen-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.gen-steps li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center;
  color: var(--muted); font-weight: 600;
  transition: color .2s ease;
}
.gen-steps li.is-active, .gen-steps li.is-done { color: var(--text); }
.gen-mark { position: relative; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.gen-steps li.is-active .gen-mark { border-color: var(--amber); border-right-color: transparent; animation: spin .7s linear infinite; }
.gen-steps li.is-done .gen-mark { background: var(--amber); border-color: var(--amber); animation: pop .25s ease-out; }
.gen-steps li.is-done .gen-mark::after {
  content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px;
  border: solid var(--amber-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.5); } }

/* Login details decoding into place */
.field input.is-decoding { color: var(--amber); }
.copy:disabled { opacity: .4; cursor: default; }

/* Text for screen readers only */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}


/* One panel: device logos in a ruled grid on the left, apps as a list on the right */
.compat {
  margin-top: 40px;
  display: grid; grid-template-columns: 2fr 1fr;
  background: var(--panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compat h3 { font-size: 1rem; font-weight: 700; padding: 22px 28px 0; }
.compat ul { list-style: none; margin: 0; padding: 0; }

.compat-devices { display: flex; flex-direction: column; }
.device-grid {
  flex: 1; grid-auto-rows: 1fr;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.device-grid li {
  display: grid; justify-items: center; align-content: center; gap: 12px;
  min-height: 132px; padding: 20px 12px;
  text-align: center; color: var(--muted); font-size: .8125rem; font-weight: 600; line-height: 1.35;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 561px) {
  .device-grid li:nth-child(4n) { border-right: 0; }
  .device-grid li:nth-last-child(-n + 4) { border-bottom: 0; }
}
/* Brand logos drawn in one color through a mask, so they all match the page */
.mark {
  width: var(--w); height: var(--h);
  background: var(--text);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.mark-icon { color: var(--text); }

.compat-apps { border-left: 1px solid var(--line); padding-bottom: 24px; }
.compat .app-list { display: grid; gap: 14px; padding: 18px 28px 0; border-top: 1px solid var(--line); margin-top: 14px; }
.app-list li { display: flex; align-items: center; gap: 14px; font-size: .9375rem; font-weight: 600; }
.app-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 11px; overflow: hidden;
}
.app-icon.is-light { background: var(--text); padding: 6px; }
.app-icon.is-wordmark { background: #070A14; padding: 4px; }
.app-icon.is-wordmark img { width: 100%; height: auto; }
.app-more { padding: 18px 28px 0; color: var(--muted); font-size: .875rem; max-width: 30em; }
.compat-note { margin-top: 16px; color: var(--muted); font-size: .8125rem; }

@media (max-width: 960px) {
  .compat { grid-template-columns: 1fr; }
  .compat-apps { border-left: 0; border-top: 1px solid var(--line); }
  .compat .app-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .compat h3 { padding: 18px 18px 0; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .device-grid li { min-height: 112px; }
  .device-grid li:nth-child(2n) { border-right: 0; }
  .device-grid li:nth-last-child(-n + 2) { border-bottom: 0; }
  .compat .app-list, .app-more { padding-left: 18px; padding-right: 18px; }
  .compat .app-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Contact page ---------- */
.contact-ways { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; max-width: 420px; }
.contact-ways a {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--panel); text-decoration: none;
  transition: background-color .15s ease;
}
.contact-ways a:hover { background: #2A2569; }
.contact-ways strong { display: block; font-size: 1rem; color: var(--text); }
.contact-ways span:last-child { color: var(--muted); font-size: .9375rem; }
.contact-icon-svg { flex: none; color: var(--amber); }

.form-intro { margin: 6px 0 20px; }
.contact-form { display: grid; gap: 8px; }
.contact-form label { font-weight: 600; font-size: .9375rem; margin-top: 8px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  background: var(--night); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 500 1rem/1.4 var(--font-body);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form :is(input, select, textarea):focus-visible { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 200, 69, .25); }
.form-error { color: #FF8A86; font-size: .9375rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(24px, 5vw, 56px) 0 80px; }
.legal-body { max-width: 68ch; }
.legal-body .title { font-size: clamp(2rem, 5vw, 3rem); }
.legal-updated { margin: 10px 0 32px; color: var(--muted); font-size: .9375rem; }
.legal-body h2 { font: 700 1.3125rem/1.3 var(--font-display); letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal-body h3 { font-size: 1.0625rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: #D9D6F5; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { padding-left: 1.25em; margin: 10px 0 0; display: grid; gap: 8px; }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--amber); }
.legal-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: .9375rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--text); background: var(--panel); }
.legal-table td { color: #D9D6F5; }
@media (max-width: 560px) {
  .legal-table th, .legal-table td { padding: 10px; }
}
/* Small legal links under the offer box and on the login page */
.legal-note { margin-top: 12px; color: var(--muted); font-size: .8125rem; }
.legal-note a { color: var(--text); }
.legal-body :is(ul, ol, table) + p { margin-top: 16px; }
.legal-contact { list-style: none; padding-left: 0 !important; }
/* The body font turns "(c)" into a copyright sign; legal references need it typed as written */
.legal-body { font-feature-settings: "calt" 0, "liga" 0; }

/* ---------- Locked login card (unlock page) ---------- */
.lock-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 200, 69, .14); color: var(--amber);
  font-size: .875rem; font-weight: 700;
}
.locked-login { margin: 4px 0 0; display: grid; gap: 10px; }
.locked-login div {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm); background: var(--night);
}
.locked-login dt { color: var(--muted); font-size: .9375rem; }
.locked-login dd { margin: 0; min-width: 0; overflow: hidden; }
/* Filler text, blurred so it reads as hidden */
.hidden-value {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: clip;
  font: 500 1rem/1.4 var(--font-code); color: var(--text);
  filter: blur(6px); user-select: none; pointer-events: none;
}
.locked-cta { width: 100%; margin-top: 20px; min-height: 54px; font-size: 1.0625rem; }
@media (max-width: 560px) {
  .locked-login div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Blog ---------- */
.blog-section { padding: 0 0 clamp(64px, 9vw, 112px); }
.blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.blog-all { color: var(--amber); font-weight: 700; }
.post-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.post-item { padding: 24px 0; border-top: 1px solid var(--line); }
.post-item h2, .post-item h3 { font: 700 clamp(1.125rem, 2vw, 1.3125rem)/1.3 var(--font-display); letter-spacing: -0.02em; margin: 6px 0 8px; }
.post-item h2 a, .post-item h3 a { color: var(--text); text-decoration: none; }
.post-item h2 a:hover, .post-item h3 a:hover { color: var(--amber); }
.post-item p:last-child { color: var(--muted); max-width: 60ch; }
.post-meta { color: var(--muted); font-size: .875rem; }
.post-list-home { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
@media (max-width: 860px) { .post-list-home { grid-template-columns: 1fr; } }

.article { padding: clamp(24px, 5vw, 56px) 0 80px; }
.blog-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.article-crumb { margin-bottom: 12px; }
.article-crumb a { color: var(--amber); font-weight: 700; text-decoration: none; }
.article-body code { font-size: .9em; background: var(--panel); padding: 2px 6px; border-radius: 5px; color: var(--text); }
.article-cta {
  margin-top: 48px; padding: 28px; border-radius: var(--radius-lg);
  background: radial-gradient(110% 80% at 50% 0%, #3A3494 0%, transparent 65%), var(--panel);
}
.article-cta h2 { margin-top: 0 !important; }
.article-cta p { margin-bottom: 18px; }
/* Article links are amber, but the trial button keeps its dark label */
.article-cta .btn-amber { color: var(--amber-ink); text-decoration: none; }

/* ---------- Loading placeholders ---------- */
.skeleton-bar { display: block; height: 14px; border-radius: 6px; background: rgba(242, 240, 255, .08); }
.skeleton-bar.w60 { width: 60%; }
.skeleton-bar.w40 { width: 40%; }
.skeleton-bar.w20 { width: 20%; height: 28px; }
.skeleton-bar.btn-size { width: 150px; height: 48px; align-self: center; border-radius: var(--radius-sm); }
.skeleton-feature { min-height: 340px; }
.skeleton-crests { display: flex; align-items: center; justify-content: space-around; gap: 16px; }
.skeleton-dot { width: 88px; height: 88px; border-radius: 50%; background: rgba(242, 240, 255, .08); }
.skeleton-row { display: grid; gap: 10px; min-height: 92px; align-content: center; }
.title-card .skeleton-bar { margin-top: 12px; }
.skeleton-bar, .skeleton-dot { animation: skeleton-pulse 1.4s ease-in-out infinite; }
@keyframes skeleton-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .skeleton-bar, .skeleton-dot { animation: none; } }
