/* PadelCounter website. Source: website/assets/site.css, served from /resources/site/ by website/build.py. */
/* Design language: Apple product pages — SF system type, lots of white, #f5f5f7 tiles, one blue for actions.
   PadelCounter's lime stays as the product colour (highlights on dark). */
:root {
  --brand: #0071e3; --brand-dark: #0077ed; --brand-light: #e8f1fc;
  --link: #0066cc; --link-dark: #2997ff;
  --accent: #D7FF3A; --accent-dark: #BEE820;
  --ink: #1d1d1f; --ink-soft: #1d1d1f; --ink-2: #000000;
  --gray-600: #6e6e73; --gray-500: #6e6e73; --gray-400: #86868b; --gray-200: #d2d2d7; --gray-100: #f5f5f7;
  --surface: #ffffff; --paper: #f5f5f7;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: var(--font-body);
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 28px;
  --sh-xs: none;
  --sh-sm: 0 2px 12px rgba(0,0,0,.06);
  --sh-md: 0 4px 24px rgba(0,0,0,.08);
  --sh-lg: 0 18px 48px rgba(0,0,0,.14);
  --max-w: 1040px;
  --gutter: clamp(20px, 5vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased;
}
[id] { scroll-margin-top: 84px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid rgba(0,85,255,.45); outline-offset: 3px; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700; transform: translateY(-150%); transition: transform .15s;
}
.skip-link:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease, border-color .15s; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 4px 16px rgba(9,9,15,.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(9,9,15,.28); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--ink); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 4px 16px rgba(0,85,255,.28); }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.text-link { color: var(--brand); font-weight: 650; }
.text-link:hover { text-decoration: underline; }

/* Ad marker on affiliate links */
.ad-mark {
  display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 5px;
  background: var(--gray-100); color: var(--gray-500); font-size: 10.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; line-height: 1.4;
}
.btn .ad-mark { margin-left: 2px; background: rgba(255,255,255,.18); color: inherit; opacity: .85; }
.btn-outline .ad-mark, .btn-accent .ad-mark { background: rgba(9,9,15,.08); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--gray-200); transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: var(--sh-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; min-width: 0; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--gray-600); transition: background .15s, color .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--gray-100); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-actions .btn { padding: 10px 18px; font-size: 13px; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--gray-200); border-radius: 999px; padding: 2px; }
.lang-switch a { padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--gray-500); letter-spacing: .04em; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; padding: 12px; align-items: center; justify-content: center; border-radius: 10px; }
.burger-icon { display: flex; width: 20px; height: 16px; flex-direction: column; justify-content: space-between; }
.burger-icon span { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
.header-download-short { display: none; }
@media (max-width: 1060px) { .nav a.nav-optional { display: none; } }
@media (max-width: 900px) { .nav { display: none; } .burger { display: inline-flex; } }
@media (max-width: 520px) {
  .header-inner { gap: 6px; }
  .header-inner > .logo span { display: none; }
  .header-actions { gap: 4px; }
  .header-actions .btn-primary { padding: 10px 14px; }
  .header-download-full { display: none; }
  .header-download-short { display: inline; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300; background: var(--surface); padding: 20px 24px;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto;
  visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mm-close { position: relative; width: 44px; height: 44px; padding: 12px; border-radius: 10px; }
.close-icon { position: relative; display: block; width: 20px; height: 20px; }
.close-icon::before, .close-icon::after { content: ''; position: absolute; top: 9px; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.close-icon::before { transform: rotate(45deg); }
.close-icon::after { transform: rotate(-45deg); }
.mobile-menu a.mm-link { display: block; padding: 15px 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid var(--gray-200); }
.mobile-menu .store-badges { margin-top: 28px; }
.mobile-menu .lang-switch { align-self: flex-start; margin-top: 24px; }

/* Language suggestion */
.lang-banner {
  position: fixed; left: 50%; bottom: 16px; z-index: 250; transform: translateX(-50%);
  display: none; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  box-shadow: var(--sh-lg); font-size: 14px;
}
.lang-banner.show { display: flex; }
.lang-banner a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.lang-banner button { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); flex: 0 0 auto; }
.lang-banner .close-icon { width: 14px; height: 14px; margin: auto; }
.lang-banner .close-icon::before, .lang-banner .close-icon::after { width: 14px; top: 6px; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-flex; height: 52px; border-radius: 10px; transition: transform .2s; }
.store-badge:hover { transform: scale(1.04); }
.store-badge img { height: 52px; width: auto; }
/* Google's PNG carries 41 px of transparent padding around the 168 px badge (of 250): 77.4 px shows 52 px. */
.store-badge.play { overflow: visible; }
.store-badge.play img { height: 77.4px; margin: -12.7px; }
.store-badge.garmin {
  align-items: center; gap: 8px; padding: 0 13px 0 10px; background: #000; color: #fff;
  border: 1px solid #a6a6a6; border-radius: 9px; height: 52px;
}
.store-badge.garmin svg { width: 25px; height: 25px; flex: 0 0 auto; }
.store-badge.garmin .gb-text { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge.garmin .gb-small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.store-badge.garmin .gb-big { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.on-dark .store-badge.garmin { border-color: #a6a6a6; }
.store-badges.lg .store-badge, .store-badges.lg .store-badge img, .store-badges.lg .store-badge.garmin { height: 56px; }
.store-badges.lg .store-badge.play img { height: 83.3px; margin: -13.65px; }
.store-badges.lg .store-badge.garmin .gb-big { font-size: 18.5px; }
@media (max-width: 400px) {
  .store-badges { gap: 10px; }
  .store-badge, .store-badge img, .store-badge.garmin { height: 46px; }
  .store-badge.play img { height: 68.5px; margin: -11.25px; }
  .store-badge.garmin { min-width: 0; padding: 0 12px 0 10px; }
  .store-badge.garmin .gb-big { font-size: 16px; }
  .store-badges.lg .store-badge, .store-badges.lg .store-badge img, .store-badges.lg .store-badge.garmin { height: 46px; }
  .store-badges.lg .store-badge.play img { height: 68.5px; margin: -11.25px; }
  .store-badges.lg .store-badge.garmin .gb-big { font-size: 16px; }
}

/* Hero */
.hero { padding: clamp(96px, 12vw, 140px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 0%, rgba(215,255,58,.32) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 80%, rgba(0,85,255,.08) 0%, transparent 55%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; margin-bottom: 22px;
  background: var(--surface); border: 1px solid var(--gray-200); border-radius: 999px; box-shadow: var(--sh-xs);
  font-size: 13px; font-weight: 600; transition: border-color .2s, color .2s;
}
.hero-badge:hover { border-color: var(--brand); color: var(--brand); }
.hero-badge-pill { background: var(--accent); color: var(--ink); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em, .em-mark { font-style: normal; position: relative; white-space: nowrap; z-index: 0; }
.hero h1 em::after, .em-mark::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .22em;
  background: var(--accent); border-radius: 2px; z-index: -1; opacity: .85;
}
.hero-sub { font-size: clamp(1rem, 1.45vw, 1.13rem); color: var(--gray-600); max-width: 540px; margin-bottom: 28px; line-height: 1.65; }
.hero .store-badges { margin-bottom: 16px; }
.hero-web { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--brand); font-size: 15px; margin-bottom: 10px; }
.hero-web:hover { text-decoration: underline; }
.hero-web svg { width: 20px; height: 20px; flex: 0 0 auto; }
.hero-micro { color: var(--gray-400); font-size: 13px; }

/* Device constellation */
.devices { position: relative; width: 100%; max-width: 620px; margin: 0 auto; padding: 4% 6% 14% 0; }
.devices .dev-tablet { width: 100%; }
.devices .dev-watch { position: absolute; left: -2%; bottom: 0; width: 25%; }
.devices .dev-round.garmin { position: absolute; right: 4%; bottom: 2%; width: 25%; }
.devices .dev-round.wear { position: absolute; right: -1%; top: -2%; width: 18%; }
@media (max-width: 980px) { .devices { max-width: 560px; margin-top: 8px; } }

/* Frames: the screen's margin is a share of the frame's own width (padding % would follow the parent). */
.dev { position: relative; display: flow-root; background: #0b0b0e; box-shadow: 0 24px 50px rgba(9,9,15,.28), 0 6px 14px rgba(9,9,15,.14); }
.dev img { height: auto; }
.dev-tablet { border-radius: 5%/6.6%; }
.dev-tablet img { width: 94%; margin: 3%; border-radius: 1.6%/2.1%; }
.dev-phone { border-radius: 9%/19%; }
.dev-phone img { width: 95.2%; margin: 2.4%; border-radius: 7%/15%; }
.dev-watch { border-radius: 26%/22%; background: linear-gradient(145deg, #45464c, #121216); }
.dev-watch img { width: 84%; margin: 8%; border-radius: 18%/15%; }
.dev-phonep { border-radius: 17%/8%; }
.dev-phonep img { width: 92%; margin: 4%; border-radius: 14%/6.5%; }
.section-dark .dev { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 50px rgba(0,0,0,.5); }
.dev-round { border-radius: 50%; background: radial-gradient(circle at 30% 25%, #4f5058, #121216 70%); }
.dev-round img { width: 84%; margin: 8%; border-radius: 50%; }
.dev-browser { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--gray-200); }
.dev-browser img { width: 100%; height: auto; }
.dev-browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.dev-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d6de; }
.dev-browser .bar span { margin-left: 8px; flex: 1; min-width: 0; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 11px; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Platform strip */
.platforms { background: var(--ink); color: #fff; }
.platforms-inner { display: flex; align-items: center; gap: 18px; padding: 18px 0; overflow-x: auto; scrollbar-width: none; }
.platforms-inner::-webkit-scrollbar { display: none; }
.platforms-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); flex: 0 0 auto; }
.platforms ul { display: flex; gap: 8px; list-style: none; flex: 0 0 auto; }
.platforms li { padding: 7px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; color: rgba(255,255,255,.9); }

/* Sections */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }
.section-intro { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-intro .eyebrow { display: block; margin-bottom: 14px; }
.section-intro h2 { margin-bottom: 14px; }
.section-intro p { color: var(--gray-600); font-size: 1.05rem; }
.section-dark .section-intro p { color: rgba(255,255,255,.65); }
.section-dark .eyebrow { color: var(--accent); }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Ways to score */
.score-group + .score-group { margin-top: 40px; }
.score-group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); }
.score-group-title::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.score-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .score-grid { grid-template-columns: 1fr; } }
.score-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--gray-200);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xs); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.score-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(0,85,255,.2); }
.score-visual {
  position: relative; display: flex; align-items: center; justify-content: center; height: 250px; padding: 24px;
  background: var(--ink-2); overflow: hidden;
}
.score-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(0,85,255,.35), transparent 60%); }
.score-visual > * { position: relative; z-index: 1; }
.score-visual .dev-watch { width: 140px; }
.score-visual .dev-round { width: 176px; }
.score-visual .dev-phone { width: 100%; max-width: 330px; }
.score-visual .dev-tablet { width: 100%; max-width: 270px; }
.score-visual .dev-browser { width: 100%; max-width: 262px; }
.score-copy { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.tag {
  display: inline-flex; align-items: center; width: fit-content; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand); font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.score-copy h3 { font-size: 1.3rem; }
.score-copy p { color: var(--gray-600); font-size: 14.5px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ticks li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--gray-600); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-dark); box-shadow: 0 0 0 2px rgba(190,232,32,.25); }
.score-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.req { font-size: 12px; color: var(--gray-400); font-weight: 600; }
.score-foot .btn { padding: 10px 16px; font-size: 13px; }
.mini-store { display: inline-flex; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand); }
.mini-store a:hover { text-decoration: underline; }

/* Wide card (Flic) */
.score-card.wide { flex-direction: row; grid-column: 1 / -1; }
.score-card.wide .score-visual { width: 34%; height: auto; min-height: 260px; }
.score-card.wide .score-copy { justify-content: center; padding: 32px; }
@media (max-width: 760px) { .score-card.wide { flex-direction: column; } .score-card.wide .score-visual { width: 100%; min-height: 220px; } }
.flic-art { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.flic-art svg { width: 120px; height: 120px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.flic-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.flic-legend span { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 12px; font-weight: 600; }
.flic-legend b { color: var(--accent); margin-right: 4px; }

/* Live */
.live-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .live-grid { grid-template-columns: 1fr; } }
.live-copy h2 { margin: 14px 0 16px; }
.live-copy > p { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 22px; }
.live-copy .ticks li { font-size: 15px; }
.live-card { position: relative; padding: 12px; border-radius: 30px; background: var(--ink); box-shadow: var(--sh-lg); }
.live-card-top { display: flex; align-items: center; gap: 9px; padding: 5px 8px 14px; color: #fff; font-size: 13px; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.live-inner { overflow: hidden; border-radius: 20px; background: #fff; }
.live-inner iframe { width: 100%; height: 300px; border: 0; display: block; background: #05070d; }
.live-connect { padding: 20px; border-top: 1px solid var(--gray-200); }
.live-connect h3 { font-size: 1.1rem; margin-bottom: 4px; }
.live-connect > p { margin-bottom: 14px; color: var(--gray-600); font-size: 13.5px; }
.key-form { display: flex; gap: 8px; }
.key-form input, .input {
  min-width: 0; flex: 1; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 12px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 15px;
}
.key-form input:focus, .input:focus { outline: 3px solid rgba(0,85,255,.14); border-color: var(--brand); }
.key-form button { flex: 0 0 auto; padding: 12px 17px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; }
.key-form button:hover { background: var(--brand-dark); }
.recent-keys { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.recent-key { padding: 5px 9px; border: 1px solid var(--gray-200); border-radius: 999px; background: var(--gray-100); color: var(--gray-600); font-size: 12px; font-weight: 600; }
.recent-key:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 560px) {
  .live-card { padding: 8px; border-radius: 24px; }
  .live-inner { border-radius: 17px; }
  .live-inner iframe { height: 230px; }
  .key-form { flex-direction: column; }
}

/* Film */
.film-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .film-grid { grid-template-columns: 1fr; } }
.film-copy h2 { color: #fff; margin: 14px 0 16px; }
.film-copy > p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 22px; }
.section-dark .ticks li { color: rgba(255,255,255,.78); font-size: 15px; }
.film-copy .text-link { color: var(--accent); display: inline-block; margin-top: 20px; }
.film-shot { position: relative; container-type: inline-size; }
.film-shot .dev-phone { width: 100%; }
/* Camera-mode overlay drawn over the court photo (sizes follow the frame width). */
.film-hud { position: absolute; inset: 2.4%; pointer-events: none; font-size: 2.3cqw; color: #fff; }
.bug { position: absolute; left: 6%; top: 9%; padding: .45em .55em; border-radius: .7em; background: rgba(9,9,15,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bug-row { display: flex; align-items: center; gap: .45em; line-height: 1.5; font-weight: 700; }
.bug-srv { width: .5em; height: .5em; border-radius: 50%; background: var(--accent); }
.bug-srv.off { background: transparent; }
.bug-nm { min-width: 6.4em; font-size: .92em; }
.bug-g { width: 1.3em; text-align: center; border-radius: .25em; background: rgba(255,255,255,.12); font-variant-numeric: tabular-nums; }
.bug-g.won { background: var(--accent); color: var(--ink); }
.bug-pt { width: 1.8em; text-align: center; color: var(--accent); font-variant-numeric: tabular-nums; }
.bug-clock { position: absolute; left: 6%; bottom: 10%; padding: .2em .55em; border-radius: .5em; background: rgba(9,9,15,.75); font-weight: 700; font-variant-numeric: tabular-nums; }
.film-rec { position: absolute; top: 9%; right: 6%; display: flex; align-items: center; gap: .35em; padding: .2em .6em; border-radius: 999px; background: #e11d48; color: #fff; font-size: .9em; font-weight: 800; letter-spacing: .06em; }
.film-rec::before { content: ''; width: .45em; height: .45em; border-radius: 50%; background: #fff; }
.bug-chat { position: absolute; right: 6%; bottom: 10%; padding: .3em .6em; border-radius: .6em; background: rgba(9,9,15,.75); font-size: .9em; }
.bug-chat b { color: var(--accent); margin-right: .3em; }
.film-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.film-platforms span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 600; }
.overlay-box { margin-top: clamp(40px, 6vw, 64px); padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.overlay-box h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.overlay-box > p { color: rgba(255,255,255,.65); font-size: 14.5px; margin-bottom: 16px; }
.overlay-form { display: flex; gap: 10px; max-width: 560px; }
.overlay-form .input { background: rgba(255,255,255,.95); }
.overlay-form button, .overlay-actions button, .overlay-actions a { padding: 12px 18px; border-radius: 12px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.overlay-result { display: none; margin-top: 18px; }
.overlay-result.is-visible { display: block; }
.overlay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.overlay-actions .input { flex: 1 1 260px; background: rgba(255,255,255,.95); }
.overlay-actions a { background: #fff; }
.overlay-preview { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.overlay-preview-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #fff; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); }
.overlay-preview iframe { width: 100%; height: 200px; border: 0; display: block; }
@media (max-width: 560px) { .overlay-form { flex-direction: column; } }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--gray-200);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.feature-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--ink); color: var(--accent); margin-bottom: 14px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--gray-600); font-size: 14px; }
.feature .text-link { display: inline-block; margin-top: 8px; font-size: 14px; }
.feature-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; align-items: end; }
.feature-shots figure { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feature-shots figcaption { font-size: 12.5px; color: var(--gray-500); font-weight: 600; text-align: center; }
.feature-shots .dev-watch { width: min(170px, 86%); }
.feature-shots .dev-phonep { width: min(150px, 72%); }
@media (max-width: 760px) { .feature-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Formats */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
@media (max-width: 720px) { .formats { grid-template-columns: 1fr; } }
.format:last-child:nth-child(odd) { grid-column: 1 / -1; }
.format { padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--gray-200); }
.format dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.format dd { color: var(--gray-600); font-size: 14.5px; }
.format-sym { width: 18px; height: 18px; flex: 0 0 auto; }
.format-link { display: inline-block; margin-top: 4px; color: var(--brand); font-size: 13.5px; font-weight: 650; }
.format-link:hover { text-decoration: underline; }
.guide-chips { justify-content: center; align-items: center; max-width: 980px; margin: 28px auto 0; }
.guide-chips > span { width: 100%; text-align: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px; }
.more-link { font-size: 14px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; margin: 0 auto; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }
.plan { padding: 30px; border-radius: var(--r-xl); border: 1px solid var(--gray-200); background: var(--surface); }
.plan.pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan h3 { font-size: 1.5rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.plan.pro h3 .tag { background: var(--accent); color: var(--ink); }
.plan .ticks li { font-size: 14.5px; }
.plan.pro .ticks li { color: rgba(255,255,255,.8); }
.pricing-note { text-align: center; color: var(--gray-500); font-size: 13.5px; margin-top: 18px; }

/* Gear teaser + gear cards */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.teaser::before { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(215,255,58,.22), transparent 60%); pointer-events: none; }
.teaser h2 { color: #fff; margin: 12px 0 12px; }
.teaser p { color: rgba(255,255,255,.7); margin-bottom: 22px; }
.teaser-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; }
.teaser-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-weight: 600; font-size: 14px; }
.teaser-item .feature-icon { margin: 0; width: 38px; height: 38px; background: var(--accent); color: var(--ink); flex: 0 0 auto; }
@media (max-width: 820px) { .teaser { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .teaser-items { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q { list-style: none; width: 100%; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; transition: transform .2s, background .2s; }
.faq-item[open] .faq-icon { background: var(--accent); transform: rotate(45deg); }
.faq-a { padding: 0 0 22px; color: var(--gray-600); font-size: 15px; max-width: 660px; }

/* Download */
.download { position: relative; overflow: hidden; }
.download::before, .download::after { content: ''; position: absolute; width: min(520px, 80vw); aspect-ratio: 1; pointer-events: none; }
.download::before { top: -35%; right: -10%; background: radial-gradient(circle, rgba(215,255,58,.18), transparent 60%); }
.download::after { bottom: -35%; left: -10%; background: radial-gradient(circle, rgba(0,85,255,.25), transparent 60%); }
.download-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.download h2 { color: #fff; margin-bottom: 12px; }
.download p { color: rgba(255,255,255,.68); font-size: 1.05rem; margin-bottom: 26px; max-width: 560px; }
.download .hero-web { color: var(--accent); margin-top: 18px; }
.qr-chip { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; }
.qr-chip img { width: 148px; height: 148px; image-rendering: pixelated; }
@media (max-width: 760px) { .download-inner { grid-template-columns: 1fr; } .qr-chip { display: none; } }

/* Footer */
.footer { background: var(--paper); padding: clamp(48px, 7vw, 76px) 0 28px; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 28px; margin-bottom: 40px; }
@media (max-width: 1060px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { margin-bottom: 12px; }
.footer-tagline { color: var(--gray-500); font-size: 13.5px; max-width: 280px; }
.footer-col h2 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); font-weight: 600; margin-bottom: 12px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--gray-600); transition: color .15s; }
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--gray-200); font-size: 12.5px; color: var(--gray-400); }

/* Sticky mobile CTA */
.sticky-dl {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: var(--surface);
  border-top: 1px solid var(--gray-200); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(9,9,15,.1);
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky-dl.show { transform: none; }
.sticky-dl-info { display: flex; flex-direction: column; min-width: 0; }
.sticky-dl-info strong { font-size: 14px; }
.sticky-dl-info span { font-size: 11.5px; color: var(--gray-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-dl .btn { padding: 12px 18px; font-size: 14px; flex: 0 0 auto; }
@media (max-width: 900px) { .sticky-dl { display: flex; } }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 500; background: rgba(9,9,15,.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.modal-open { display: flex; }
.modal-box { background: var(--surface); width: min(760px, 100%); max-height: 90vh; border-radius: var(--r-xl); overflow: hidden; position: relative; box-shadow: var(--sh-lg); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; background: var(--gray-100); border-radius: 50%; z-index: 1; display: flex; align-items: center; justify-content: center; }
.modal-close .close-icon { width: 16px; height: 16px; }
.modal-close .close-icon::before, .modal-close .close-icon::after { width: 16px; top: 7px; }
.modal-box iframe { width: 100%; height: 80vh; border: none; display: block; }

/* Gear page */
.page-hero { padding: clamp(100px, 12vw, 136px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); margin: 14px 0 16px; max-width: 900px; }
.page-hero p.lead { color: var(--gray-600); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 720px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--gray-500); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }
.disclosure { display: flex; gap: 14px; margin-top: 26px; padding: 16px 18px; border-radius: var(--r-md); background: var(--gray-100); border: 1px solid var(--gray-200); max-width: 820px; font-size: 13.5px; color: var(--gray-600); }
.disclosure strong { color: var(--ink); display: block; margin-bottom: 2px; }
.disclosure svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gray-500); margin-top: 2px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--gray-200); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--gray-600); }
.toc a:hover { border-color: var(--ink); color: var(--ink); }
.toc svg { width: 16px; height: 16px; }
.gear-cat { padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--gray-200); }
.gear-cat-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); margin-bottom: 26px; align-items: start; }
@media (max-width: 860px) { .gear-cat-head { grid-template-columns: 1fr; } }
.gear-cat-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.gear-cat-head h2 .feature-icon { margin: 0; width: 42px; height: 42px; }
.gear-cat-head > div > p { color: var(--gray-600); }
.tips { padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--gray-200); }
.tips h3 { font-size: 13px; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.tips .ticks li { font-size: 13.5px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }
.product { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--gray-200); transition: box-shadow .2s, transform .2s; }
.product:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.product.top { border: 2px solid var(--ink); }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.product-brand { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); }
.pick { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.product h3 { font-size: 1.12rem; }
.product p { color: var(--gray-600); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 3px 8px; border-radius: 6px; background: var(--gray-100); color: var(--gray-600); font-size: 11.5px; font-weight: 600; }
.product .btn { margin-top: auto; width: 100%; padding: 13px 16px; font-size: 14px; }
.price-note { margin-top: 14px; font-size: 12.5px; color: var(--gray-400); }
.gear-app-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.gear-app-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.gear-app-cta p { color: rgba(255,255,255,.7); }

/* Rules guides */
.byline { margin-top: 16px; font-size: 13px; color: var(--gray-500); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } }
.prose { min-width: 0; max-width: 740px; }
.prose > section { margin-top: 40px; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-bottom: 12px; }
.prose p, .prose li { color: var(--gray-600); font-size: 16.5px; line-height: 1.7; }
.prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p, .prose .table-wrap + p { margin-top: 12px; }
.prose ul:not(.ticks), .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--gray-200); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); line-height: 1.5; }
.prose th { background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--ink); font-weight: 600; }
.answer { padding: 22px 24px; border-radius: var(--r-lg); background: var(--ink); }
.answer h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.prose .answer p { color: rgba(255,255,255,.82); }
.prose .answer strong { color: #fff; }
.toc-box { margin-top: 22px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--gray-200); }
.toc-box h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.prose .toc-box ol { gap: 3px; }
.prose .toc-box li { font-size: 15px; }
.prose .toc-box a { color: var(--ink); }
.app-box { padding: clamp(22px, 3vw, 30px); border-radius: var(--r-xl); background: var(--brand-light); border: 1px solid rgba(0,85,255,.14); }
.app-box .feature-icon { margin-bottom: 12px; }
.app-box .ticks { margin-top: 14px; }
.prose .app-box .ticks li { font-size: 15px; }
.prose .app-box-note { margin-top: 14px; font-size: 14px; color: var(--gray-500); }
.prose #faq .faq-list { margin: 0; }
.prose .faq-a { font-size: 15.5px; }
.article-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
@media (max-width: 960px) { .article-side { position: static; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; } }
@media (max-width: 600px) { .article-side { grid-template-columns: 1fr; } }
.side-figure { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 20px 16px; border-radius: var(--r-xl); background: var(--ink-2); position: relative; overflow: hidden; }
.side-figure::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(0,85,255,.35), transparent 60%); }
.side-figure > * { position: relative; }
.side-figure .dev-watch { width: 170px; }
.side-figure .dev-tablet { width: 100%; }
.side-figure .dev-phonep { width: 150px; }
/* Real device pictures (images.py dev-*) inside the guide and device-page frames: sized by height. */
.side-figure img.dev-real { width: auto; max-width: 100%; height: auto; max-height: 300px; background: none; border-radius: 0; }
.side-figure img.dev-real.dev-tablet { width: 100%; max-height: none; }
.platform-visual img.dev-real { width: auto; max-width: 100%; height: auto; max-height: 420px; background: none; border-radius: 0; }
.platform-visual img.dev-real.dev-tablet { width: 100%; max-width: 520px; max-height: none; }
.shots img.dev-real { width: auto; max-width: 100%; height: auto; max-height: 260px; background: none; border-radius: 0; }
.shots img.dev-real.dev-tablet { width: 100%; max-height: none; }
.side-figure figcaption { color: rgba(255,255,255,.7); font-size: 12.5px; font-weight: 600; text-align: center; }
.side-card { padding: 22px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--gray-200); }
.side-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; }
.side-card p { color: var(--gray-600); font-size: 14px; margin-bottom: 14px; }
.side-card .store-badges { gap: 10px; }
.side-card .hero-web { margin: 12px 0 0; font-size: 14px; }
.related-title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 16px; }
.page-cards + .related-title { margin-top: 40px; }
.page-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.page-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--gray-200); transition: transform .2s, box-shadow .2s, border-color .2s; }
.page-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(0,85,255,.25); }
.page-card .feature-icon { margin: 0; width: 40px; height: 40px; flex: 0 0 auto; }
.page-card strong { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 2px; }
.page-card span span { display: block; color: var(--gray-600); font-size: 13.5px; line-height: 1.5; }

/* Device pages */
.platform-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .platform-hero-grid { grid-template-columns: 1fr; } }
.platform-cta { margin-top: 26px; }
.platform-req { margin-top: 14px; color: var(--gray-500); font-size: 13.5px; font-weight: 600; }
.platform-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--ink-2); overflow: hidden; }
.platform-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(0,85,255,.4), transparent 60%), radial-gradient(circle at 15% 90%, rgba(215,255,58,.16), transparent 50%); }
.platform-visual > * { position: relative; }
.platform-visual .dev-watch { width: min(230px, 60%); }
.platform-visual .dev-round { width: min(270px, 70%); }
.platform-visual .dev-tablet, .platform-visual .dev-browser { width: 100%; max-width: 480px; }
@media (max-width: 900px) { .platform-visual { min-height: 0; } }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.how-grid.no-gallery { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-title { margin: 12px 0 22px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.steps li { position: relative; padding: 16px 18px 16px 62px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--gray-200); color: var(--gray-600); font-size: 15px; min-height: 58px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.steps a { color: var(--brand); font-weight: 600; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: end; }
.shots:has(> figure:only-child) { grid-template-columns: minmax(0, 1fr); }
.shots figure { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.shots figcaption { font-size: 12.5px; color: var(--gray-500); font-weight: 600; text-align: center; }
.shots .dev-watch { width: min(170px, 90%); }
.shots .dev-round { width: min(220px, 90%); }
.shots .dev-tablet { width: 100%; }
.watch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.watch-family { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--gray-200); }
.watch-family h3 { font-size: 1.05rem; margin-bottom: 6px; }
.watch-family p { color: var(--gray-600); font-size: 13.5px; line-height: 1.55; }
.watch-note { max-width: 820px; margin: 22px auto 0; color: var(--gray-500); font-size: 14px; text-align: center; }
.watch-note a { color: var(--brand); font-weight: 600; }
.narrow { max-width: 820px; }
.section .prose.narrow p, .section .prose.narrow li { font-size: 16px; }
.feature p a { color: var(--brand); font-weight: 600; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ── Real device pictures (images.py dev-*.webp: Apple mockups, Pixel/Wear device art, Garmin simulator) ──
   The picture already holds the device, so no CSS frame; the shadow follows its outline. */
.dev-real { display: block; height: auto; max-width: 100%; padding: 0; background: none; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 16px 26px rgba(9,9,15,.26)) drop-shadow(0 3px 6px rgba(9,9,15,.12)); }
.section-dark .dev-real, .score-visual .dev-real { filter: drop-shadow(0 16px 28px rgba(0,0,0,.55)); }

.devices { max-width: 640px; padding: 0 0 30% 0; }
.devices .dev-real { position: absolute; left: auto; right: auto; top: auto; bottom: auto; }
.devices .d-ipad { position: relative; width: 82%; margin-left: 9%; }
.devices .d-iphone { left: 0; bottom: 2%; width: 52%; }
.devices .d-watch { left: 50%; bottom: 0; width: 17%; }
.devices .d-garmin { right: 0; bottom: 0; width: 23%; }
.devices .d-wear { right: -2%; top: -6%; width: 21%; }

.score-visual .dev-real.dev-watch { width: auto; height: 212px; }
.score-visual .dev-real.dev-round { width: auto; height: 200px; }
.duo { position: relative; width: 100%; height: 100%; max-width: 320px; }
.duo .dev-real { position: absolute; }
.duo .duo-a { left: 0; top: 2%; width: 80%; }
.duo .duo-b { right: 0; bottom: 0; width: 74%; }
.duo .dev-tablet.duo-a { width: 64%; }
.duo .dev-tablet.duo-b { width: 68%; }

.feature-shots .dev-real.dev-watch { width: min(150px, 70%); }
.feature-shots .dev-real.dev-phonep { width: min(150px, 72%); }
.film-shot .dev-real { width: 100%; }

/* ══ Apple product-page layer (2026-10-30) ═══════════════════════════════════════════════════════════════════
   Overrides the components above: SF type scale, centered heroes, #f5f5f7 tiles, one blue for actions. */
body { font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.07; }
h1 { font-size: clamp(40px, 6.6vw, 80px); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.2; }
.eyebrow { font-family: var(--font-body); font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--gray-600); }
.eyebrow-accent { color: #bf4800; }
.section-dark .eyebrow, .section-dark .eyebrow-accent, .teaser .eyebrow-accent { color: var(--accent); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
[id] { scroll-margin-top: 64px; }
.center { text-align: center; }

/* Buttons and links */
.btn { border-radius: 980px; padding: 12px 22px; font-size: 17px; font-weight: 400; letter-spacing: -0.022em; box-shadow: none; }
.btn:hover { transform: none; box-shadow: none; }
.btn-primary, .btn-brand { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-brand:hover { background: var(--brand-dark); }
.btn-outline { border: 1px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-accent { background: var(--accent); color: #1d1d1f; }
.text-link, .more, .format-link { color: var(--link); font-weight: 400; }
.more { font-size: 17px; white-space: nowrap; }
.text-link:hover, .more:hover, .format-link:hover { text-decoration: underline; }
.section-dark .more, .section-dark .text-link, .tile.dark .more { color: var(--link-dark); }
.ad-mark { background: rgba(0,0,0,.06); color: var(--gray-600); }

/* Global nav: thin, translucent ("Liquid Glass") */
.header { background: rgba(251,251,253,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.header.scrolled { box-shadow: none; }
.header-inner { height: 52px; }
.logo { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.logo img { width: 26px; height: 26px; border-radius: 6px; }
.nav { gap: 4px; }
.nav a { padding: 6px 10px; border-radius: 0; font-size: 12.5px; font-weight: 400; color: rgba(0,0,0,.8); letter-spacing: -0.01em; }
.nav a:hover, .nav a[aria-current="page"] { background: none; color: #000; }
.header-actions .btn { padding: 5px 13px; font-size: 12.5px; }
.lang-switch { border: 0; padding: 0; gap: 2px; }
.lang-switch a { padding: 3px 7px; font-size: 11.5px; font-weight: 600; color: var(--gray-400); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.mobile-menu { background: rgba(255,255,255,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.mobile-menu a.mm-link { font-family: var(--font-display); font-size: 28px; font-weight: 600; border-bottom: 0; padding: 10px 0; }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: #000; color: #f5f5f7; }
.section-intro { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-intro .eyebrow { margin-bottom: 8px; }
.section-intro h2 { margin-bottom: 18px; }
.section-intro p { font-size: clamp(19px, 1.9vw, 21px); line-height: 1.38; color: var(--gray-600); letter-spacing: .011em; }
.section-dark .section-intro p { color: #86868b; }
.ticks li::before { background: var(--brand); box-shadow: none; width: 6px; height: 6px; top: 8px; }
.section-dark .ticks li::before, .plan.pro .ticks li::before { background: var(--accent); }

/* Hero: centered headline, the device family standing on one line */
.hero { padding: clamp(96px, 12vw, 132px) 0 clamp(64px, 8vw, 96px); text-align: center; overflow: hidden; background: var(--surface); }
.hero-head { max-width: 980px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.hero-eyebrow img { width: 30px; height: 30px; border-radius: 7px; }
.hero h1 { margin: 0 auto 18px; max-width: 920px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #0071e3 0%, #22a6b3 55%, #7ac70c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.hero h1 em::after { display: none; }
.hero-sub { margin: 0 auto 26px; max-width: 700px; font-size: clamp(19px, 2vw, 24px); line-height: 1.33; color: var(--gray-600); letter-spacing: .009em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.hero-ctas .more { font-size: clamp(17px, 1.6vw, 19px); }
.lineup { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 2.2vw, 30px); max-width: 1180px; margin: clamp(48px, 7vw, 80px) auto 0; padding: 0 var(--gutter); }
.lineup figure { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lineup figcaption { font-size: 14px; font-weight: 600; color: var(--gray-600); letter-spacing: -0.01em; white-space: nowrap; }
.lineup .dev-real { width: 100%; }
.ln-garmin { flex: 0 1 10%; } .ln-watch { flex: 0 1 8.4%; } .ln-iphone { flex: 0 1 22%; }
.ln-ipad { flex: 0 1 30%; } .ln-pixel { flex: 0 1 21%; } .ln-wear { flex: 0 1 9.4%; }
.hero-foot { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-foot .store-badges { justify-content: center; }
.hero-micro { color: var(--gray-400); font-size: 14px; }
@media (max-width: 760px) {
  .lineup { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 10px; align-items: end; }
  .ln-ipad { grid-column: 1 / -1; grid-row: 1; width: 82%; justify-self: center; }
  .ln-iphone { grid-column: 1 / 4; grid-row: 2; } .ln-pixel { grid-column: 4 / 7; grid-row: 2; }
  .ln-garmin { grid-column: 1 / 3; grid-row: 3; } .ln-watch { grid-column: 3 / 5; grid-row: 3; } .ln-wear { grid-column: 5 / 7; grid-row: 3; }
  .ln-watch .dev-real { width: 70%; } .ln-garmin .dev-real, .ln-wear .dev-real { width: 82%; }
  .lineup figcaption { font-size: 12px; }
}

/* Ways to score: bento tiles */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--surface); padding: 40px 36px 0; min-height: 100%; }
.section-alt .tile { background: var(--surface); }
.tile.span-2 { grid-column: span 2; }
.tile.dark { background: #000; color: #f5f5f7; }
.tile-tag { font-size: 15px; font-weight: 600; color: #bf4800; letter-spacing: -0.01em; margin-bottom: 6px; }
.tile.dark .tile-tag { color: var(--accent); }
.tile h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.tile p { color: var(--gray-600); font-size: 17px; line-height: 1.45; }
.tile.dark p { color: #a1a1a6; }
.tile-points { list-style: none; margin: 16px 0 0; display: grid; gap: 6px; }
.tile-points li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.43; color: var(--gray-600); }
.tile.dark .tile-points li { color: #a1a1a6; }
.tile-points li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gray-200); }
.tile-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.tile-req { margin-top: 10px; font-size: 12px; color: var(--gray-400); }
.tile-visual { margin-top: auto; padding: 32px 0 36px; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.tile-visual .dev-real.dev-watch { width: auto; height: 260px; }
.tile-visual .dev-real.dev-round { width: auto; height: 240px; }
.tile.span-2 .tile-visual { min-height: 320px; }
.tile .duo { height: 280px; max-width: 560px; }
.tile .dev-browser { max-width: 300px; }
.tile .flic-legend span { background: rgba(255,255,255,.1); }
.tile.span-2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; padding-bottom: 0; }
.tile.span-2 .tile-copy { padding-bottom: 40px; }
.tile.span-2 .tile-visual { padding: 0 0 36px; align-items: center; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.span-2 { grid-column: 1 / -1; }
  .tile-dark-wide, .tile-flic { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .tile { padding: 32px 26px 0; border-radius: 22px; }
  .tile.span-2 { display: flex; }
  .tile-visual .dev-real.dev-watch { height: 230px; }
  .tile .duo { height: 220px; }
}

/* Live */
.point-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 900px; margin: -24px auto clamp(36px, 5vw, 52px); }
.point-row li { padding: 8px 16px; border-radius: 980px; background: var(--paper); font-size: 14px; color: var(--ink); }
.section-dark .point-row li { background: #1d1d1f; color: #f5f5f7; }
.live-card { max-width: 860px; margin: 0 auto; border-radius: 34px; background: #1d1d1f; box-shadow: var(--sh-lg); }
.live-inner { border-radius: 24px; }
.live-inner iframe { height: clamp(240px, 38vw, 400px); }
.key-form button { background: var(--brand); border-radius: 980px; padding: 12px 22px; font-weight: 400; font-size: 15px; }
.key-form input, .input { border-radius: 12px; border: 1px solid var(--gray-200); }

/* Film */
#film .section-intro { margin-bottom: 40px; }
.film-shot { max-width: 920px; margin: 0 auto clamp(40px, 5vw, 56px); }
.film-platforms { justify-content: center; margin: 0 auto 22px; }
.film-platforms span { border-color: #424245; color: #d2d2d7; }
.overlay-box { max-width: 860px; margin: clamp(48px, 6vw, 72px) auto 0; background: #1d1d1f; border: 0; border-radius: 28px; }
.overlay-form button, .overlay-actions button { background: var(--brand); color: #fff; border-radius: 980px; font-weight: 400; }
.overlay-actions a { border-radius: 980px; font-weight: 400; }

/* Features */
.feature-shots { margin: 0 auto clamp(48px, 6vw, 72px); max-width: 860px; }
.feature-grid { gap: 20px; }
.feature { border: 0; border-radius: 22px; padding: 30px 28px; background: var(--surface); }
.feature:hover { transform: none; box-shadow: none; }
.feature-icon { background: none; color: var(--brand); width: auto; height: auto; justify-content: flex-start; margin-bottom: 12px; }
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 15px; line-height: 1.47; color: var(--gray-600); }

/* Formats */
.format { border: 0; border-radius: 22px; background: var(--paper); padding: 26px 28px; }
.format dt { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.format dd { font-size: 15px; line-height: 1.47; color: var(--gray-600); }
.toc a, .guide-chips a { border-radius: 980px; border-color: var(--gray-200); font-weight: 400; color: var(--ink); }

/* Pricing */
.plan { border: 0; border-radius: 28px; padding: 40px 36px; background: var(--surface); }
.plan h3 { font-size: 32px; font-weight: 700; }
.plan.pro { background: #000; }
.plan.pro h3 .tag { background: var(--accent); color: #1d1d1f; font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 13px; }
.tag { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: 13px; border-radius: 980px; }
.pricing-note { color: var(--gray-400); }

/* Gear teaser */
.teaser { background: var(--paper); color: var(--ink); border-radius: 28px; }
.teaser::before { display: none; }
.teaser h2 { color: var(--ink); }
.teaser p { color: var(--gray-600); }
.teaser .eyebrow-accent { color: #bf4800; }
.teaser-item { background: var(--surface); border: 0; border-radius: 18px; color: var(--ink); font-weight: 500; }
.teaser-item .feature-icon { background: none; color: var(--brand); }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item, .faq-item:first-child { border-color: var(--gray-200); }
.faq-q { font-family: var(--font-display); font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; padding: 24px 0; }
.faq-icon { background: none; font-size: 24px; font-weight: 300; color: var(--gray-600); }
.faq-item[open] .faq-icon { background: none; }
.faq-a { font-size: 17px; line-height: 1.47; }

/* Download */
.download::before, .download::after { display: none; }
.download-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
.download-inner > div { display: flex; flex-direction: column; align-items: center; }
.download-icon { width: 84px; height: 84px; border-radius: 19px; margin-bottom: 22px; }
.download h2 { color: #f5f5f7; }
.download p { color: #86868b; margin-left: auto; margin-right: auto; }
.download .store-badges { justify-content: center; margin-bottom: 14px; }
.qr-chip { border-radius: 22px; }

/* Footer */
.footer { background: var(--paper); border-top: 0; padding: 40px 0 24px; font-size: 12px; }
.footer-grid { padding-bottom: 28px; margin-bottom: 0; border-bottom: 1px solid var(--gray-200); }
.footer-col h2 { font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); }
.footer-col a { font-size: 12px; color: var(--gray-600); padding: 4px 0; }
.footer-tagline { font-size: 12px; color: var(--gray-600); }
.footer-bottom { border-top: 0; font-size: 12px; color: var(--gray-400); }

/* Sticky mobile download bar, language hint */
.sticky-dl { background: rgba(251,251,253,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0,0,0,.08); box-shadow: none; }
.sticky-dl .btn { padding: 8px 16px; font-size: 14px; }
.lang-banner { background: rgba(29,29,31,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.lang-banner a { color: var(--link-dark); }

/* Gear page and other pages share the tokens; a few touch-ups */
.page-hero { padding-top: clamp(96px, 11vw, 128px); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 64px); }
.product { border: 0; border-radius: 22px; background: var(--paper); }
.product.top { border: 2px solid var(--brand); }
.product:hover { transform: none; box-shadow: none; }
.pick { background: var(--brand); color: #fff; text-transform: none; letter-spacing: 0; font-weight: 600; }
.tips { border: 0; border-radius: 22px; }
.tips h3 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.gear-cat { border-top-color: var(--gray-200); }
.disclosure { border: 0; border-radius: 18px; background: var(--paper); }
.chips span { border-radius: 980px; }
.gear-app-cta { background: #000; border-radius: 28px; }
.feature-icon svg { stroke-width: 1.6; }
.gear-cat-head h2 .feature-icon { background: var(--paper); color: var(--brand); border-radius: 12px; width: 44px; height: 44px; justify-content: center; }
/* Tiles: picture first, like Apple's lineup cards; the wide tiles keep text left, picture right. */
.tile { padding: 0 34px 38px; }
.tile-visual { order: -1; margin: 0; padding: 40px 0 26px; min-height: 0; height: 330px; align-items: flex-end; }
.tile-visual .dev-real.dev-watch { height: 264px; }
.tile-visual .dev-real.dev-round { height: 250px; }
.tile .tile-req { margin-top: 12px; font-size: 12px; color: var(--gray-400); }
.tile.span-2 { padding: 0 40px; align-items: center; }
.tile.span-2 .tile-copy { padding: 44px 0; }
.tile.span-2 .tile-visual { order: 0; height: auto; padding: 32px 0; }
.tile-flic .tile-visual { height: 330px; align-items: center; }
@media (max-width: 680px) {
  .tile { padding: 0 24px 32px; }
  .tile-visual { height: 270px; padding-top: 30px; }
  .tile.span-2 { padding: 0 24px; }
  .tile.span-2 .tile-visual { order: -1; }
  .tile.span-2 .tile-copy { padding: 0 0 32px; }
}
.bento { grid-auto-flow: row dense; }
.tile.span-2 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.tile.span-2 .duo { height: 300px; max-width: 600px; }
.tile-visual { width: 100%; }
@media (max-width: 680px) { .tile.span-2 { align-items: stretch; } .tile.span-2 .duo { height: 230px; } }
/* Google's PNG keeps its transparent margin; without this the global img max-width squeezed it (uneven gaps). */
.store-badge img { max-width: none; }
/* Store badges sit right under the hero copy (user, 2026-10-30): first thing on a phone after the headline. */
.hero-ctas { flex-direction: column; gap: 16px; }
.hero-ctas .store-badges { justify-content: center; }
.hero-ctas .hero-micro { margin-top: -4px; }
@media (max-width: 760px) {
  .hero { padding-top: 84px; }
  .hero-sub { margin-bottom: 22px; font-size: 18px; }
  .hero-ctas { gap: 14px; }
}
/* Affiliate links: an asterisk instead of an "Ad" pill, explained right below the links and in the disclosure. */
.aff-mark { margin-left: 1px; font-weight: 600; opacity: .8; }
.aff-note { margin-top: 14px; font-size: 12px; color: var(--gray-400); }
/* Language menu (globe + code) replaces the EN/DE pills; the old suggestion banner is gone. */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 980px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: rgba(0,0,0,.06); }
.lang-menu summary svg { width: 16px; height: 16px; }
.lang-menu ul { list-style: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; padding: 6px; border-radius: 14px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 40px rgba(0,0,0,.16); z-index: 260; }
.lang-menu li a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14px; color: var(--ink); }
.lang-menu li a:hover { background: var(--paper); }
.lang-menu li a[aria-current="true"] { font-weight: 600; color: var(--brand); }
.mm-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mm-langs a { padding: 7px 13px; border-radius: 980px; background: var(--paper); font-size: 14px; color: var(--ink); }
.mm-langs a[aria-current="true"] { background: var(--ink); color: #fff; }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-200); font-size: 12px; }
.footer-langs svg { width: 14px; height: 14px; color: var(--gray-400); }
.footer-langs a { color: var(--gray-600); }
.footer-langs a:hover { color: var(--ink); text-decoration: underline; }
.footer-langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.lang-banner { display: none !important; }
/* Right-to-left (Arabic): mirror the few physical left/right rules; Arabic letters must never be tracked. */
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] p, [dir="rtl"] a, [dir="rtl"] li, [dir="rtl"] span, [dir="rtl"] summary, [dir="rtl"] dt, [dir="rtl"] dd { letter-spacing: 0; }
[dir="rtl"] body { font-family: -apple-system, BlinkMacSystemFont, 'SF Arabic', 'Geeza Pro', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
[dir="rtl"] .ticks li, [dir="rtl"] .tile-points li { padding-left: 0; padding-right: 16px; }
[dir="rtl"] .ticks li::before, [dir="rtl"] .tile-points li::before { left: auto; right: 0; }
[dir="rtl"] .faq-q, [dir="rtl"] .format dt { text-align: right; }
[dir="rtl"] .film-hud, [dir="rtl"] .store-badges, [dir="rtl"] .key-form input[type="text"]::placeholder { direction: ltr; }
[dir="rtl"] .skip-link { left: auto; right: 10px; }
[dir="rtl"] .hero h1 em { white-space: normal; }
/* Longer languages (fr, pt, ru…): hero links and notes wrap instead of pushing the column wider than the screen. */
.hero-ctas { max-width: 100%; }
.hero-ctas .more, .hero-ctas .hero-micro { white-space: normal; text-align: center; max-width: 100%; }
.tile-links .more { white-space: normal; }
@media (max-width: 760px) { .more { white-space: normal; } .download-inner > div { max-width: 100%; } }
@media (max-width: 760px) { .hero h1 em { white-space: normal; } }
