/* ============================================================
   ScoreShare — site design system (marketing pages only)
   The live-follow pages (follow.html) keep using /styles.css.
   ============================================================ */

/* ---- Font ---- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ---- Tokens ---- */
:root {
  /* dark anchors */
  --ink: #0a1526;
  --ink-2: #0f1e38;
  --panel: #152848;
  --line-dark: #263c63;

  /* light surfaces */
  --paper: #fbfcfe;
  --white: #ffffff;
  --surface-cool: #eef3f9;
  --surface-mint: #edf9f2;
  --line: #dce4ee;

  /* text */
  --text: #181b24;
  --muted: #526070;
  --muted-dark: #96a8c6;

  /* accents from the product */
  --green: #2fd674; /* pitch green on dark */
  --green-deep: #0b6b36; /* accessible pitch green on light */
  --yellow: #ffc93c; /* card yellow */
  --red: #ff5a57; /* card red — sparing */
  --blue: #3b82f6; /* follower blue */
  --blue-deep: #285ca8;

  --radius: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 2px 8px rgb(10 21 38 / 0.05), 0 18px 46px rgb(10 21 38 / 0.08);
  --shell: 72rem;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'wght' 640;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #07552a;
}

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

.dark :focus-visible,
.topbar :focus-visible,
.footer :focus-visible,
.guide-cta :focus-visible {
  outline-color: var(--green);
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.dark {
  background: var(--ink);
  color: #eaf0f9;
}

.dark a {
  color: var(--green);
}

.dark a:hover {
  color: #6fe8a4;
}

/* ---- Layout ---- */
.shell {
  width: min(var(--shell), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.25rem, 8vw, 6rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.section-no-top {
  padding-top: 0;
}

.home-page .section {
  padding-block: clamp(4.25rem, 9vw, 7.25rem);
}

.home-page .section-no-top {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--green);
  color: var(--ink);
  border-radius: 0 0 10px 10px;
  font-variation-settings: 'wght' 640;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--ink);
}

/* ---- Type helpers ---- */
.kicker {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.8125rem;
  font-variation-settings: 'wght' 660;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.85rem;
}

.dark .kicker {
  color: var(--green);
}

.h-hero {
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-variation-settings: 'wght' 700;
}

.home-page .h-hero {
  font-size: clamp(2.65rem, 6.5vw, 4.45rem);
  font-weight: 820;
  font-variation-settings: 'wght' 800;
}

.h-lg {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 40em;
}

.dark .lead {
  color: var(--muted-dark);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'wght' 640;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary,
a.btn-primary,
.dark a.btn-primary,
.topnav a.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

.btn-primary:hover,
a.btn-primary:hover,
.dark a.btn-primary:hover,
.topnav a.btn-primary:hover {
  background: #57e08e;
  border-color: #57e08e;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.dark .btn-ghost {
  color: #eaf0f9;
  border-color: var(--line-dark);
}

.dark .btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ---- Top bar ---- */
.topbar {
  background: rgb(251 252 254 / 0.94);
  color: var(--text);
  border-bottom: 1px solid rgb(10 21 38 / 0.08);
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 760;
  font-variation-settings: 'wght' 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
}

.brand:hover {
  color: var(--green-deep);
}

.topnav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem 1.4rem;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-variation-settings: 'wght' 540;
  font-size: 0.98rem;
  padding: 0.35rem 0.1rem;
}

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

.topnav a[aria-current='page'] {
  color: var(--text);
  border-bottom: 2px solid var(--green-deep);
}

.topbar :focus-visible {
  outline-color: var(--green-deep);
}

.header-cta {
  min-height: 42px;
  padding: 0.45rem 1.15rem;
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem 0.75rem;
  }

  .topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem 0.75rem;
  }

  .topnav a {
    font-size: 0.85rem;
  }

  .header-cta {
    padding-inline: 0.65rem;
    font-size: 0.9rem;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(90rem 42rem at 78% -10%, #1c3562 0%, var(--ink) 58%);
  color: #eaf0f9;
  padding-block: clamp(3.2rem, 8vw, 6rem);
}

.home-page .hero {
  background: linear-gradient(180deg, #fff 0%, #f3f7f4 100%);
  color: var(--text);
  font-family: var(--font-display);
  padding-block: clamp(3.75rem, 7.5vw, 6.75rem);
}

.hero-pitch {
  position: absolute;
  inset: auto -12rem -16rem auto;
  width: clamp(24rem, 46vw, 42rem);
  opacity: 0.14;
  pointer-events: none;
}

.home-page .hero-pitch {
  display: none;
}

.home-page .hero-pitch circle,
.home-page .hero-pitch path {
  stroke: var(--blue-deep);
}

.home-page .hero-pitch circle:nth-of-type(2) {
  fill: var(--blue-deep);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.home-page .hero-grid {
  gap: clamp(3rem, 7vw, 6.25rem);
}

@media (min-width: 56rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.home-page .hero h1 {
  margin-bottom: 1.45rem;
  background: linear-gradient(112deg, var(--text) 8%, #213f75 62%, var(--green-deep) 118%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.home-page .hero .kicker {
  color: var(--green-deep);
}

.home-page .hero .lead {
  color: #3f4b5c;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.home-page .hero-ctas {
  margin-top: 2.15rem;
}

.home-page .hero .btn-ghost {
  color: var(--text);
  border-color: rgb(24 27 36 / 0.24);
  background: rgb(255 255 255 / 0.46);
}

.home-page .hero .btn-ghost:hover {
  color: var(--green-deep);
  border-color: var(--green-deep);
  background: rgb(255 255 255 / 0.84);
}

.home-page .hero :focus-visible {
  outline-color: var(--green-deep);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  margin-top: 2.2rem;
  padding: 0;
  list-style: none;
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.home-page .hero-meta {
  gap: 0.65rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-page .hero-meta li {
  padding: 0.48rem 0.75rem;
  border: 1px solid rgb(40 92 168 / 0.13);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.64);
}

.hero-meta li::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* hero visual: scorekeeper-to-follower flow */
.hero-visual {
  position: relative;
  max-width: 22rem;
  margin-inline: auto;
}

.home-page .hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  justify-items: center;
  width: 100%;
  max-width: 16.5rem;
}

.home-page .hero-visual::before {
  content: none;
}

.home-page .hero-role {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  width: 100%;
  min-width: 0;
}

.home-page .hero-role-label {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-height: 2.1rem;
  gap: 0.45rem;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.home-page .hero-role-label::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.home-page .hero-role-label-text {
  min-width: 0;
}

.home-page .hero-role-followers {
  width: min(15rem, 92%);
}

.home-page .hero-device,
.home-page .hero-followers-compact {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 18px 24px rgb(10 21 38 / 0.17)) drop-shadow(0 34px 48px rgb(10 21 38 / 0.1));
}

.home-page .hero-device > img,
.home-page .hero-followers-compact > img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page .hero-device > img {
  border-radius: 0;
}

.home-page .hero-followers-phone {
  display: none;
}

.home-page .hero-followers-compact {
  filter: drop-shadow(0 10px 16px rgb(10 21 38 / 0.2));
}

.home-page .hero-flow-arrow {
  position: relative;
  display: block;
  inline-size: 4rem;
  aspect-ratio: 1;
  flex: none;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 8px 20px rgb(10 21 38 / 0.08);
  clip-path: polygon(3% 2%, 100% 0, 96% 96%, 0 100%);
  transform: rotate(90deg);
  transform-origin: center;
}

.home-page .hero-flow-arrow svg {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-4deg);
  filter: drop-shadow(0.7px 0.6px 0 rgb(10 21 38 / 0.17));
}

/* countercard hero: reuse the homepage product flow on the dark landing page */
.countercard-product-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  justify-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 1.8rem;
  background: linear-gradient(155deg, rgb(255 255 255 / 0.98), rgb(239 246 242 / 0.96));
  box-shadow: 0 24px 54px rgb(0 0 0 / 0.2);
}

.countercard-flow-step {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  width: 100%;
  min-width: 0;
}

.countercard-flow-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  gap: 0.45rem;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.countercard-flow-label::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.countercard-flow-device,
.countercard-flow-activity {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.countercard-flow-device {
  max-width: 16.5rem;
  filter: drop-shadow(0 18px 24px rgb(10 21 38 / 0.17)) drop-shadow(0 34px 48px rgb(10 21 38 / 0.1));
}

.countercard-flow-activity {
  max-width: 17rem;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #eef4f1;
  filter: drop-shadow(0 10px 16px rgb(10 21 38 / 0.2));
}

.countercard-flow-device > img,
.countercard-flow-activity > img {
  display: block;
  width: 100%;
  height: auto;
}

.countercard-flow-activity > img {
  border-radius: inherit;
  clip-path: inset(0 round 1.2rem);
}

.countercard-flow-arrow {
  position: relative;
  display: block;
  inline-size: 4rem;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.2);
  clip-path: polygon(3% 2%, 100% 0, 96% 96%, 0 100%);
  transform: rotate(90deg);
  transform-origin: center;
}

.countercard-flow-arrow svg {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-4deg);
  filter: drop-shadow(0.7px 0.6px 0 rgb(10 21 38 / 0.17));
}

@media (min-width: 64rem) {
  .countercards-page .hero .shell {
    --shell: 74rem;
  }

  .countercards-page .hero-grid {
    gap: clamp(2rem, 3vw, 2.75rem);
    grid-template-columns: minmax(0, 1fr) 34rem;
  }

  .countercard-product-flow {
    grid-template-columns: minmax(0, 1fr) 4.5rem minmax(0, 0.95fr);
    gap: 0.5rem;
    align-items: center;
    max-width: 34rem;
  }

  .countercard-flow-label {
    min-height: 3.25rem;
  }

  .countercard-flow-device {
    max-width: 18rem;
  }

  .countercard-flow-activity {
    max-width: 16.5rem;
  }

  .countercard-flow-arrow {
    inline-size: 4.5rem;
    align-self: center;
    transform: translateY(1.75rem);
  }

  .countercard-flow-arrow svg {
    transform: scaleY(-1) rotate(-4deg);
  }
}

@media (min-width: 80rem) {
  .countercards-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) 38rem;
  }

  .countercard-product-flow {
    max-width: 38rem;
  }
}

@media (forced-colors: active) {
  .countercard-flow-arrow {
    background: Canvas;
    box-shadow: none;
  }

  .countercard-flow-arrow svg {
    stroke: CanvasText;
    filter: none;
  }
}

@media (min-width: 70rem) {
  .home-page .hero-grid {
    gap: clamp(2rem, 3vw, 2.75rem);
    grid-template-columns: minmax(0, 1fr) 38.75rem;
  }

  .home-page .hero-visual {
    --hero-phone-height: 28rem;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 4.75rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: start;
    max-width: 38.75rem;
  }

  .home-page .hero-role-label {
    min-height: 3.25rem;
  }

  .home-page .hero-device {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: var(--hero-phone-height);
  }

  .home-page .hero-device > img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .home-page .hero-role-followers {
    width: 100%;
  }

  .home-page .hero-followers-phone {
    display: flex;
  }

  .home-page .hero-followers-compact {
    display: none;
  }

  .home-page .hero-flow-arrow {
    inline-size: min(4.75rem, 100%);
    align-self: center;
    justify-self: center;
    margin-top: 2.75rem;
    transform: translateY(0.5rem);
  }

  .home-page .hero-flow-arrow svg {
    transform: scaleY(-1) rotate(-4deg);
  }
}

@media (min-width: 80rem) {
  .home-page .hero .shell {
    --shell: 74rem;
  }

  .home-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) 39.75rem;
  }

  .home-page .hero-visual {
    --hero-phone-height: 28.75rem;
    max-width: 39.75rem;
  }
}

@media (forced-colors: active) {
  .home-page .hero-flow-arrow {
    background: Canvas;
    box-shadow: none;
  }

  .home-page .hero-flow-arrow svg {
    stroke: CanvasText;
    filter: none;
  }
}

/* ---- Section headings ---- */
.section-head {
  max-width: 44em;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-page .section-head {
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

/* ---- How it works ---- */
.steps {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(min(15.5rem, 100%), 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-variation-settings: 'wght' 700;
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 0.7rem;
}

.steps h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---- Feature rows ---- */
.feature {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 56rem) {
  .feature {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .feature.flip .feature-media {
    order: -1;
  }
}

.feature + .feature {
  margin-top: clamp(5.5rem, 11vw, 9rem);
}

.feature h2 {
  margin-bottom: 0.9rem;
}

.feature p {
  color: var(--muted);
  max-width: 36em;
}

.feature p + p {
  margin-top: 1.15rem;
}

.feature-media {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.feature-media picture {
  display: block;
  flex: 0 1 17rem;
  width: 17rem;
  max-width: 100%;
}

.feature-media picture img {
  width: 100%;
}

.feature-media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgb(10 21 38 / 0.14), 0 2px 8px rgb(10 21 38 / 0.08);
  max-width: min(17rem, 100%);
}

.ticklist {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.99rem;
}

.ticklist li {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
}

.ticklist li::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 3px;
  background: var(--green);
  flex-shrink: 0;
  translate: 0 -0.05rem;
}

/* ---- Live Activity match story (dark) ---- */
.story {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.story-track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
  max-width: 44rem;
  margin-inline: auto;
  position: relative;
}

.story-track::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 2px;
  background: var(--line-dark);
}

.story-track li {
  position: relative;
  padding-left: 2.2rem;
}

.story-track li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--green);
}

.story-track li:last-child::before {
  background: var(--green);
}

.story-time {
  display: block;
  font-variation-settings: 'wght' 660;
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.story-track img {
  border-radius: 12px;
  box-shadow: 0 10px 32px rgb(0 0 0 / 0.45);
  border: 1px solid var(--line-dark);
}

/* live pulse on section kicker */
.live-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: pulse 2s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ---- FAQ ---- */
.faq {
  max-width: 46rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 1rem;
  box-shadow: 0 10px 28px rgb(10 21 38 / 0.05);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'wght' 620;
  font-size: 1.05rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--green-deep);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  padding: 0 1.45rem 1.4rem;
  color: var(--muted);
}

/* ---- Guides grid ---- */
.guides {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 1.7rem);
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
}

.guides a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.65rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.guides a:hover {
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(10 21 38 / 0.06), 0 22px 54px rgb(10 21 38 / 0.1);
  color: var(--text);
}

.guides strong {
  display: block;
  font-variation-settings: 'wght' 640;
  font-family: var(--font-display);
  font-weight: 750;
  margin-bottom: 0.3rem;
}

.guides span {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---- Final CTA band ---- */
.cta-band {
  text-align: center;
}

.home-page .cta-band {
  color: var(--text);
  background:
    radial-gradient(55% 130% at 0% 100%, rgb(47 214 116 / 0.15), transparent 70%),
    radial-gradient(55% 120% at 100% 0%, rgb(255 201 60 / 0.16), transparent 72%),
    linear-gradient(135deg, #f7fbf8, #eef4fb);
}

.home-page .cta-band .kicker {
  color: var(--green-deep);
}

.home-page .cta-band .lead {
  color: var(--muted);
}

.home-page .cta-band :focus-visible {
  outline-color: var(--green-deep);
}

.cta-band .lead {
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* ---- Progressive scroll reveal ---- */
.reveal-item {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  transition:
    opacity 0.58s ease var(--reveal-delay, 0ms),
    transform 0.58s ease var(--reveal-delay, 0ms);
}

.reveal-item.is-visible,
.reveal-item:focus-within {
  opacity: 1;
  transform: none;
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media print {
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .home-page .hero h1 {
    background: none;
    color: CanvasText;
  }
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 0.95rem;
  padding-block: 3.25rem 2.25rem;
}

.footer a {
  color: var(--muted-dark);
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer h2 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.9rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  padding-top: 1.4rem;
}

.language-switcher span {
  color: #fff;
  font-variation-settings: 'wght' 640;
}

.language-switcher a {
  text-underline-offset: 0.2em;
}

.language-switcher a[aria-current='page'] {
  color: #fff;
  text-decoration-thickness: 2px;
}

.guide-language-note {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.footer .guide-language-note {
  color: var(--muted-dark);
}

.footer-bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}

/* ---- Article / guide pages ---- */
.article-hero {
  background: radial-gradient(70rem 30rem at 85% -20%, #1c3562 0%, var(--ink) 60%);
  color: #eaf0f9;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.crumbs {
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
  color: var(--muted-dark);
}

.crumbs a {
  color: var(--muted-dark);
}

.crumbs a:hover {
  color: #fff;
}

.article-hero .lead {
  margin-top: 1rem;
}

.prose {
  max-width: 44em;
  margin-inline: auto;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2.4rem 0 0.8rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.5rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose .lead {
  margin-bottom: 1.6rem;
}

.prose img {
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgb(10 21 38 / 0.2);
  margin-block: 1.8rem;
}

.prose .guide-image {
  max-width: min(24rem, 100%);
  margin-inline: auto;
}

/* say/instead pairs on the sideline guide */
.swap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: 1.1rem;
  background: var(--white);
}

.swap > p {
  margin: 0;
  padding: 0.85rem 1.2rem;
}

.swap .heard {
  border-left: 4px solid var(--red);
  color: var(--text);
}

.swap .heard em {
  font-style: normal;
  font-variation-settings: 'wght' 640;
}

.swap .try {
  border-left: 4px solid var(--green);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.swap .try strong {
  color: var(--green-deep);
}

.guide-cta {
  max-width: 44em;
  margin: 1.2rem auto 0;
  padding: 1.6rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #eaf0f9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.guide-cta p {
  max-width: 26em;
  color: var(--muted-dark);
}

.guide-cta strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

/* ---- Transitional download page ---- */
.download-main {
  min-height: 70vh;
  background:
    radial-gradient(45rem 24rem at 90% 0%, rgb(59 130 246 / 0.12), transparent 65%),
    linear-gradient(180deg, var(--paper), var(--surface-cool));
}

.download-intro {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.download-intro h1 {
  margin-bottom: 1rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

.platform-card {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 1.5rem;
}

.platform-card h2 {
  margin: 1.1rem 0 0.7rem;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
}

.platform-card p {
  color: var(--muted);
}

.platform-card .btn,
.platform-status {
  margin-top: auto;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--surface-mint);
  font-size: 0.82rem;
  font-variation-settings: 'wght' 680;
  font-weight: 750;
}

.availability::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: currentColor;
}

.availability-soon {
  color: #7a5500;
  background: #fff7dc;
}

.platform-status {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ead89b;
  border-radius: 0.8rem;
  color: #684900 !important;
  background: #fffaf0;
  font-variation-settings: 'wght' 620;
  font-weight: 700;
}

@media (max-width: 44rem) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 18rem;
  }
}
