/* Snooker Scoreboard — shared site styles */

:root {
  --bg: #050806;
  --bg-alt: #08130C;
  --bg-menu: #07120B;
  --card: #0B1A11;
  --card-border: #1A3324;
  --line: #16241B;
  --pill-bg: #0B2416;
  --pill-border: #24563A;
  --outline: #2F6B47;
  --chip-bg: #123522;
  --chip-text: #CFEBD1;

  --text: #E8F0EA;
  --text-2: #C3D1C7;
  --text-3: #B9C8BE;
  --text-4: #A9B9AE;
  --muted: #8FA396;
  --label: #7FD483;
  --link-hover: #A9E6AC;

  --accent: #4CAF50;
  --accent-ink: #04140A;

  --phone-bezel: #1F2722;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

.page { overflow-x: clip; min-height: 100vh; }
.page--doc { line-height: 1.7; }
.page--roadmap { line-height: 1.65; }

a { color: var(--label); }
a:hover { color: var(--link-hover); }

h1, h2, h3, p, ul, figure { margin: 0; }

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

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.h2 { font-size: clamp(36px, 4.5vw, 54px); line-height: 1.02; }

.eyebrow {
  color: var(--label);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lead { color: var(--text-3); }
.body-sm { color: var(--text-4); font-size: 15px; }
.body-md { color: var(--text-4); font-size: 16px; }
.stack { display: flex; flex-direction: column; }

.band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

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

.site-header { border-bottom: 1px solid var(--line); }

.nav-bar {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: 0.5px; text-transform: uppercase; }

.nav-desktop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }

.nav-link { color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav-link:hover { color: #FFFFFF; }

.nav-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; min-height: 44px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 4px 20px 20px;
  gap: 4px;
  border-top: 1px solid var(--line);
  background: var(--bg-menu);
}
.nav-mobile a.nav-link { color: var(--text); font-size: 17px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav-mobile a.nav-link:last-of-type { border-bottom: none; }
.nav-mobile .btn-menu {
  margin-top: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 18px;
  border-radius: 14px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: translate .2s, box-shadow .2s, filter .2s;
}
.btn:hover { translate: 0 -2px; box-shadow: 0 10px 26px rgba(76,175,80,.28); filter: brightness(1.06); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); }

.btn-sm { padding: 10px 18px; border-radius: 999px; min-height: 44px; }
.btn-lg { font-size: 17px; padding: 16px 26px; border-radius: 14px; min-height: 56px; }
.btn-md { gap: 10px; font-size: 16px; padding: 14px 22px; border-radius: 12px; min-height: 52px; }

.btn-ghost { border: 1.5px solid var(--outline); color: var(--text); font-weight: 600; font-size: 17px; padding: 16px 24px; border-radius: 14px; min-height: 56px; }
.btn-ghost:hover { color: var(--text); }

.btn-play {
  gap: 14px;
  background: #000000;
  color: #FFFFFF;
  border: 1.5px solid #5B6A60;
  padding: 12px 26px;
  border-radius: 14px;
  min-height: 64px;
  font-weight: 400;
}
.btn-play:hover { color: #FFFFFF; }
.btn-play-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-play-small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #D5DDD7; }
.btn-play-big { font-size: 24px; font-weight: 600; }

/* ---------- Hero ---------- */

.hero { background: radial-gradient(ellipse at 70% 20%, #0F3A24 0%, #071A10 45%, #050806 80%); }

.hero-inner { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }

.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  color: #9EDDA1;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-out infinite; }

.hero-title { font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.5px; }
.hero-title .accent { color: var(--accent); }
.hero-lead { font-size: 19px; color: var(--text-3); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 14px; }

.hero-phones { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; position: relative; min-height: 600px; }

/* ---------- Phone frames ---------- */

.phone {
  background: #000;
  border: 10px solid var(--phone-bezel);
  border-radius: 42px;
  overflow: hidden;
  transition: translate .35s;
}
.phone:hover { translate: 0 -6px; }
.phone--shadow { box-shadow: 0 30px 70px rgba(0,0,0,0.6); }
.phone--feature { flex: 0 1 300px; min-width: 0; margin: 0 auto; }
.phone--cast { flex: 0 1 260px; min-width: 0; margin: 0 auto; border-radius: 40px; }

.phone-back {
  width: 230px;
  margin-right: -60px;
  margin-bottom: 40px;
  border-width: 9px;
  border-color: #1A201C;
  border-radius: 36px;
  transform: rotate(-6deg);
  opacity: 0.85;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  animation: phoneBackIn .9s .35s cubic-bezier(.2,.7,.2,1) both;
}
.phone-front {
  width: 290px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px #2C3A31;
  animation: phoneIn .9s .2s cubic-bezier(.2,.7,.2,1) both, float 6s 1.2s ease-in-out infinite;
}

/* ---------- Ball strip ---------- */

.ball-strip { display: flex; justify-content: center; gap: 14px; padding: 22px 24px; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ball { width: 22px; height: 22px; border-radius: 50%; animation: ballPop .45s cubic-bezier(.3,1.5,.5,1) both; transition: translate .2s; }
.ball:nth-child(2) { animation-delay: .06s; }
.ball:nth-child(3) { animation-delay: .12s; }
.ball:nth-child(4) { animation-delay: .18s; }
.ball:nth-child(5) { animation-delay: .24s; }
.ball:nth-child(6) { animation-delay: .3s; }
.ball:nth-child(7) { animation-delay: .36s; }
.ball-strip:hover .ball { translate: 0 -3px; }
.ball--red { background: #D32F2F; }
.ball--yellow { background: #F9C22E; }
.ball--green { background: #2E8B3A; }
.ball--brown { background: #7A4A36; }
.ball--blue { background: #1E73D8; }
.ball--pink { background: #F0467E; }
.ball--black { background: #1A1A1A; box-shadow: inset 0 0 0 1px #3A3A3A; }

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

.sec { padding-top: 96px; padding-bottom: 96px; }
.sec-tight { padding-top: 96px; padding-bottom: 40px; }
.sec-features { padding-top: 80px; padding-bottom: 80px; }

.sec-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split--reverse { flex-wrap: wrap-reverse; }
.split-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: translate .25s, box-shadow .25s;
}
.card:hover { translate: 0 -4px; box-shadow: 0 14px 32px rgba(0,0,0,.45), 0 0 0 1px var(--outline); }
.card h3 { font-size: 19px; font-weight: 700; }
.card--row { flex-direction: row; gap: 16px; align-items: flex-start; padding: 26px; }
.card--row h3 { font-size: 17px; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 28px; }
.feature-list > div { display: flex; flex-direction: column; gap: 4px; }
.feature-list h3 { font-size: 17px; font-weight: 700; }

.ruled-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ruled-list > div { border-top: 2px solid var(--outline); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.ruled-list h3 { font-size: 18px; font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--chip-bg); color: var(--chip-text); padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; }

.dash-list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; color: var(--text-3); }
.dash-list li { display: flex; gap: 12px; }
.dash-list li::before { content: "—"; color: var(--label); font-weight: 700; }
.dash-list strong { color: var(--text); }

/* ---------- TV demo ---------- */

.sec-stack { display: flex; flex-direction: column; gap: 56px; }
.tv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tv-col { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: center; }

.tv-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #061409;
  border: 14px solid #111613;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.tv-stand { width: 22%; height: 18px; background: #111613; border-radius: 0 0 10px 10px; }

.tv-screen { width: 100%; aspect-ratio: 1916 / 950; container-type: inline-size; overflow: hidden; }
.tv {
  width: 100cqw;
  height: 49.58cqw;
  padding: 2.5cqw;
  display: flex;
  flex-direction: column;
  gap: 2.1cqw;
  background: radial-gradient(ellipse at 50% 40%, #0F2E1D 0%, #071A10 60%, #040C07 100%);
  font-family: var(--font-body);
  color: #FFFFFF;
  line-height: 1.15;
}
.tv-gold { color: #F2C80F; }
.tv-grey { color: #A8B0AA; }
.tv-top { display: flex; align-items: center; justify-content: space-between; gap: 1.2cqw; border: 0.1cqw solid #6E6A1E; border-radius: 1.2cqw; background: #0F2A1E; padding: 1.4cqw 2.5cqw; }
.tv-title { display: flex; align-items: center; gap: 1cqw; color: #F2C80F; font-weight: 800; font-size: 1.85cqw; letter-spacing: 0.22cqw; text-transform: uppercase; }
.tv-title svg { width: 2cqw; height: 2cqw; flex: none; }
.tv-top-right { display: flex; align-items: center; gap: 1.2cqw; }
.tv-frameinfo { background: #000000; border-radius: 0.6cqw; padding: 1cqw 1.4cqw; font-weight: 800; font-size: 1.35cqw; white-space: nowrap; }
.tv-clock { border: 0.1cqw solid #6E6A1E; border-radius: 0.6cqw; padding: 0.9cqw 1.3cqw; color: #F2C80F; font-weight: 800; font-size: 1.5cqw; }
.tv-timer { font-weight: 800; font-size: 1.5cqw; padding: 0 0.5cqw; font-variant-numeric: tabular-nums; }

.tv-grid { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: 38fr 14.5fr 38fr; gap: 2.1cqw; }
.tv-player {
  border-radius: 1.6cqw;
  padding: 2.4cqw 2.6cqw;
  display: flex;
  flex-direction: column;
  border: 0.2cqw solid #2A332D;
  background: linear-gradient(160deg, #0F2419 0%, #0A140E 100%);
  transition: box-shadow 0.4s, border-color 0.4s;
}
.tv-player.is-active { border-color: #F2C80F; box-shadow: 0 0 2.5cqw rgba(242,200,15,0.35); background: linear-gradient(160deg, #17452E 0%, #0C2418 100%); }
.tv-player-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1cqw; }
.tv-name { font-weight: 900; font-size: 3.4cqw; text-transform: uppercase; letter-spacing: 0.05cqw; }
.tv-at { color: #F2C80F; font-weight: 800; font-size: 1.45cqw; letter-spacing: 0.15cqw; opacity: 0; transition: opacity 0.3s; margin-top: 1cqw; }
.tv-player.is-active .tv-at { opacity: 1; }
.tv-frames { background: #000000; border: 0.1cqw solid #6E6A1E; border-radius: 0.8cqw; padding: 1cqw 1.8cqw; text-align: center; }
.tv-frames-label { color: #A8B0AA; font-size: 1cqw; }
.tv-frames-value { color: #F2C80F; font-weight: 900; font-size: 2.3cqw; }
.tv-score { flex: 1 1 0; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 10cqw; font-variant-numeric: tabular-nums; }

.tv-mid { border: 0.1cqw solid #22302A; border-radius: 1.6cqw; background: #0B1A12; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 2.6cqw 1cqw 2.8cqw; text-align: center; }
.tv-vs { border: 0.12cqw solid #F2C80F; border-radius: 99cqw; padding: 0.6cqw 1.5cqw; color: #F2C80F; font-weight: 900; font-size: 1.7cqw; }
.tv-label { color: #A8B0AA; font-size: 1.1cqw; }
.tv-table { color: #F2C80F; font-weight: 900; font-size: 3.4cqw; font-variant-numeric: tabular-nums; margin-top: 0.6cqw; }
.tv-reds { display: flex; align-items: center; gap: 0.7cqw; color: #E53935; font-weight: 800; font-size: 1.4cqw; }
.tv-reds::before { content: ""; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FF6F6F, #C62828); }
.tv-ballon { color: #F2C80F; font-weight: 800; font-size: 1.4cqw; margin-top: 0.3cqw; }

.tv-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5cqw; border: 0.1cqw solid #22302A; border-radius: 1.2cqw; background: #0B1A12; padding: 1.5cqw 2.5cqw; font-weight: 700; font-size: 1.6cqw; }
.tv-shot { color: #A8B0AA; font-weight: 600; }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--pill-bg); border: 1px solid var(--pill-border); border-radius: 20px; padding: 24px 28px; }
.inline-cta p { font-size: 19px; font-weight: 600; color: var(--text); }

/* ---------- Stats ---------- */

.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.stats-item { flex: 1 1 280px; min-width: 0; max-width: 360px; display: flex; flex-direction: column; gap: 22px; }
.stats-item h3 { font-size: 20px; font-weight: 700; }
.swipe-hint { display: none; margin: -36px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.stats-extra { width: 100%; max-width: 620px; margin: 0 auto; }

/* ---------- UX ---------- */

.ux-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.ux-title { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; max-width: 720px; }
.ux-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.ux-grid > div { display: flex; flex-direction: column; gap: 10px; }
.ux-grid h3 { font-size: 17px; font-weight: 700; }
.light-figure { flex: 0 1 220px; min-width: 0; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.light-figure .phone { width: 100%; background: #FFFFFF; border-width: 9px; border-radius: 36px; transform: rotate(3deg); box-shadow: 0 24px 50px rgba(0,0,0,0.55); }
.light-figure .phone:hover { translate: none; }
.light-figure figcaption { color: var(--muted); font-size: 14px; }

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

.faq-inner { max-width: 860px; display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 0 24px; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 700; font-size: 18px; transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--link-hover); }
.faq-plus { color: var(--label); font-size: 28px; line-height: 1; transition: transform 0.2s; }
details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 22px; color: var(--text-3); }

/* ---------- Final CTA ---------- */

.final-cta { background: radial-gradient(ellipse at 50% 0%, #145232 0%, #0A2416 50%, #050806 90%); }
.final-cta-inner { max-width: 900px; padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.final-cta h2 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1; }
.final-cta-lead { font-size: 21px; color: var(--text-2); max-width: 620px; }
.final-cta-note { color: var(--muted); font-size: 15px; }

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

.site-footer { border-top: 1px solid var(--line); }
.foot { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--text-4); }

/* ---------- Floating controls ---------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(5,8,6,0.92);
  border-top: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; font-size: 16px; min-height: 52px; border-radius: 14px; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.55);
  transition: transform 0.15s, background 0.15s;
}
.to-top:hover { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

.floating[hidden] { display: none !important; }

/* ---------- Legal / roadmap pages ---------- */

.doc-main { max-width: 780px; margin: 0 auto; padding: 72px 24px 96px; display: flex; flex-direction: column; gap: 40px; }
.doc-main--wide { max-width: 860px; gap: 44px; }
.doc-head { display: flex; flex-direction: column; gap: 14px; }
.doc-main--wide .doc-head { gap: 16px; }
.doc-title { font-size: clamp(42px, 6vw, 64px); line-height: 1; }
.doc-date { color: var(--muted); font-size: 15px; }
.doc-summary { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.doc-summary h2 { font-size: 20px; font-weight: 700; }
.doc-summary ul { padding-left: 22px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; }
.doc-section { display: flex; flex-direction: column; gap: 12px; }
.doc-section h2 { font-size: 24px; font-weight: 700; }
.doc-section p { color: var(--text-3); }
.doc-section strong { color: var(--text); }

.notice { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 14px 18px; }
.notice svg { flex: none; margin-top: 2px; }

.rm-list { display: flex; flex-direction: column; gap: 16px; }
.rm-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 26px; display: flex; gap: 18px; align-items: flex-start; transition: translate .25s, box-shadow .25s; }
.rm-card:hover { translate: 0 -3px; box-shadow: 0 14px 32px rgba(0,0,0,.45), 0 0 0 1px var(--outline); }
.rm-card svg { flex: none; }
.rm-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rm-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rm-card-title h2 { font-size: 20px; font-weight: 700; }
.rm-tag { background: var(--chip-bg); color: var(--chip-text); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

.rm-cta { background: radial-gradient(ellipse at 50% 0%, #145232 0%, #0A2416 60%, #07140C 100%); border: 1px solid var(--pill-border); border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.rm-cta h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.05; }
.rm-cta p { color: var(--text-2); max-width: 600px; }
.rm-cta-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: clamp(20px, 3.2vw, 30px); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere; min-height: 44px; }
.rm-cta-link svg { flex: none; }

/* ---------- Motion ---------- */

@keyframes fadeUp { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes phoneIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes phoneBackIn { from { opacity: 0; translate: -30px 50px; } to { opacity: .85; translate: 0 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ballPop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76,175,80,.6); } 70% { box-shadow: 0 0 0 8px rgba(76,175,80,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); } }
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

.hero-copy > * { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }

@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .nav-bar { padding-top: 12px; padding-bottom: 12px; }
  .logo-text { font-size: 21px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile.is-open { display: flex; }

  .hero-inner { padding-top: 44px; padding-bottom: 64px; gap: 44px; }
  .hero-ctas > a { width: 100%; justify-content: center; }
  .hero-phones { min-height: 0; }
  .phone-back { width: 150px; margin-right: -44px; margin-bottom: 24px; border-width: 6px; border-radius: 24px; }
  .phone-front { width: 205px; border-width: 7px; border-radius: 30px; }

  .sec, .sec-features { padding-top: 64px; padding-bottom: 64px; }
  .sec-tight { padding-top: 56px; padding-bottom: 8px; }
  .final-cta-inner { padding-top: 80px; padding-bottom: 80px; }
  .phone--feature, .phone--cast, .stats-item .phone { max-width: 260px; }
  .tv-frame { border-width: 6px; border-radius: 10px; }

  .stats-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 12px; gap: 16px; scrollbar-width: none; }
  .stats-row::-webkit-scrollbar { display: none; }
  .stats-item { flex: 0 0 78%; max-width: none; scroll-snap-align: center; }
  .swipe-hint { display: block; }

  .faq-list summary { font-size: 16px; min-height: 56px; }

  .foot { flex-direction: column; align-items: flex-start; padding-top: 28px; padding-bottom: 28px; }
  .page--home .foot { padding-bottom: 104px; }
  .to-top { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
  .sticky-cta { display: block; animation: fadeUp .35s both; }
  .inline-cta { display: none; }

  .doc-main { padding: 48px 20px 72px; }
  .rm-cta .btn { width: 100%; justify-content: center; }
}

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