/* Rebotazo · the court glass as motif: dark court, frosted glass, ball yellow as the only accent. */
:root {
  --court: #0a1020;
  --court-raised: #121b33;
  --turf: #1e5aa8;
  --turf-bright: #3a7be0;
  --ball: #dfff1f;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --go: #3ddc84;
  --stop: #ff5a5f;
  --radius: 26px;
  --wide: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--wide);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(30, 90, 168, 0.55), transparent 60%),
    radial-gradient(900px 600px at 110% 40%, rgba(30, 90, 168, 0.3), transparent 60%),
    var(--court);
  background-attachment: fixed;
  line-height: 1.5;
  min-height: 100vh;
}
/* Faint court lines behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line), var(--line)) 50% 30% / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 50% 50% / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 50% 70% / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 50% 50% / 1px 40% no-repeat;
  opacity: 0.5;
  z-index: -1;
}

a { color: var(--ball); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.display {
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-2);
}
.score { font-weight: 900; font-stretch: 125%; font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.ball { color: var(--ball); }

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 50px rgba(0, 0, 0, 0.25);
}
.card { padding: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
}
.btn-ball { background: var(--ball); color: var(--court); box-shadow: 0 10px 34px rgba(223, 255, 31, 0.35); }
.btn-glass { background: var(--glass); color: var(--text); border: 1px solid var(--line); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--line);
  font-size: 13px;
  font-weight: 600;
}
.pill-ball { background: rgba(223, 255, 31, 0.16); color: var(--ball); }

/* ---------- Site header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(10, 16, 32, 0.6); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-stretch: 125%; letter-spacing: 0.08em; text-transform: uppercase; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 22px; align-items: center; font-weight: 600; }
.nav a { color: var(--text-2); }
.nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 36px 0 48px; color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--text-2); }

/* ---------- Landing ---------- */
.hero { padding: 84px 0 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 86px); }
.hero p.lead { font-size: clamp(18px, 2vw, 22px); color: var(--text-2); max-width: 30ch; margin: 22px 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.device-stack { position: relative; min-height: 560px; }
.phone { position: absolute; right: 12%; top: 0; width: 270px; border-radius: 44px; overflow: hidden; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 40px 90px rgba(0,0,0,0.55); }
.watch { position: absolute; left: 0; bottom: 30px; width: 190px; border-radius: 48px; overflow: hidden; border: 10px solid #1b1f2a; background: #000; box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 60px rgba(223,255,31,0.18); }
.watch img { border-radius: 36px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .device-stack { min-height: 470px; }
  .phone { right: 0; width: 230px; }
  .watch { width: 160px; }
}

.section { padding: 72px 0 0; }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.section .intro { color: var(--text-2); max-width: 60ch; font-size: 18px; margin: 0 0 32px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.feature h3 { margin: 10px 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--text-2); }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(223, 255, 31, 0.12); color: var(--ball); font-size: 20px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shots img { border-radius: 30px; border: 1px solid var(--line); }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr 1fr; } .shots img:nth-child(3) { display: none; } }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 90px; }
.compare .yes { color: var(--ball); font-weight: 900; }
.compare .no { color: var(--text-3); }
.price { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 8px; }
.price .amount { font-size: 54px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.faq p { color: var(--text-2); margin: 10px 0 0; }

.legal { max-width: 760px; padding-top: 56px; }
.legal h1 { font-size: clamp(30px, 9vw, 44px); overflow-wrap: anywhere; }
.legal h2 { font-size: 20px; margin-top: 34px; }
.legal p, .legal li { color: var(--text-2); }

/* ---------- Dashboard ---------- */
.app-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding: 40px 0 24px; }
.app-top h1 { font-size: clamp(36px, 5vw, 56px); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 800px) { .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.kpi .value { font-size: 34px; line-height: 1.1; margin-top: 4px; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.bar { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 8px; }
.bar > span { display: block; height: 100%; background: var(--ball); box-shadow: 0 0 12px rgba(223, 255, 31, 0.6); border-radius: 99px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }

.match-list { display: grid; gap: 12px; margin-top: 16px; }
.match {
  display: grid;
  grid-template-columns: 1fr auto 140px;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  color: inherit;
  text-align: left;
  font: inherit;
  width: 100%;
}
.match:hover { border-color: rgba(223, 255, 31, 0.4); }
.match .sets { font-size: 26px; }
@media (max-width: 640px) { .match { grid-template-columns: 1fr auto; } .match svg { display: none; } }
.won { color: var(--ball); }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 36px; }
.toolbar input, .toolbar select {
  min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass);
  color: var(--text); font: inherit; padding: 0 18px;
}

dialog.detail {
  width: min(920px, 100% - 24px);
  max-height: 92vh;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(170deg, rgba(30, 90, 168, 0.35), rgba(10, 16, 32, 0.96) 40%), var(--court);
  color: var(--text);
  padding: 30px;
}
dialog.detail::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); }
.detail .close { position: absolute; top: 18px; right: 18px; }
.players { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .players { grid-template-columns: 1fr; } }

.signin { max-width: 560px; margin: 80px auto 0; text-align: center; padding: 40px 28px; }
.signin h1 { font-size: clamp(34px, 5vw, 50px); }
#apple-sign-in-button { display: flex; justify-content: center; margin: 28px 0 10px; min-height: 44px; }
.notice { padding: 14px 18px; border-radius: 16px; background: rgba(223, 255, 31, 0.1); color: var(--ball); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade 0.5s ease both; }
  @keyframes fade { from { opacity: 0; transform: translateY(8px); } }
}

.btn-small { min-height: 40px; padding: 0 18px; }
.mt { margin-top: 14px; }
.grow { flex: 1; }
.h2-inline { font-size: 32px; margin: 0 auto 0 0; }
.detail-title { font-size: 44px; }
.sets-big { font-size: 26px; }
.phone { height: 540px; }
.phone img { height: 100%; width: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .phone { height: 450px; } }
/* Anchored sections must not hide under the sticky header. */
section[id] { scroll-margin-top: 76px; }
@media (max-width: 600px) {
  .compare th:not(:first-child), .compare td:not(:first-child) { width: 64px; padding-inline: 4px; }
  .compare th, .compare td { padding-block: 12px; }
  .device-stack { min-height: 430px; }
  .phone { right: 0; width: 210px; height: 410px; border-radius: 36px; }
  .watch { width: 150px; bottom: 10px; border-width: 8px; }
}
.value.ball { font-size: 54px; }

/* ---------- Hero stage with photo ---------- */
.hero-stage {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10, 16, 32, 0.96) 0%, rgba(10, 16, 32, 0.78) 42%, rgba(10, 16, 32, 0.25) 100%),
    linear-gradient(0deg, var(--court) 0%, rgba(10, 16, 32, 0) 28%),
    url("/assets/img/hero.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-stage .hero { padding-bottom: 64px; }
@media (max-width: 900px) {
  .hero-stage {
    background:
      linear-gradient(180deg, rgba(10, 16, 32, 0.92) 0%, rgba(10, 16, 32, 0.75) 55%, var(--court) 100%),
      url("/assets/img/hero.jpg") 70% center / cover no-repeat;
  }
}
.cols { align-items: start; }
.eyebrow .pill { margin-left: 8px; font-size: 11px; letter-spacing: 0.08em; }

/* ---------- Spectator screens (live score, club TV) ---------- */
body.screen { display: flex; flex-direction: column; min-height: 100vh; }
body.screen main { flex: 1; display: grid; place-items: center; padding: 32px 0; }
.screen-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); font-size: 13px; }
.scoreboard { width: min(900px, 100%); }
.sb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.sb-row {
  display: grid; grid-template-columns: 1fr auto 80px 140px; align-items: center; gap: 16px;
  padding: 22px 26px; margin-bottom: 12px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.14);
}
.sb-row.serving { border-color: rgba(223, 255, 31, 0.6); box-shadow: 0 0 40px rgba(223, 255, 31, 0.12); }
.sb-row.serving .sb-name::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 12px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 12px var(--ball); vertical-align: middle; }
.sb-name { font-size: clamp(22px, 3.4vw, 38px); font-weight: 800; }
.sb-sets { display: flex; gap: 14px; color: var(--text-2); font-size: clamp(18px, 2.4vw, 28px); font-variant-numeric: tabular-nums; }
.sb-games { font-size: clamp(30px, 4.4vw, 52px); color: var(--text-2); text-align: right; }
.sb-points { font-size: clamp(44px, 7vw, 88px); text-align: right; }
.sb-callout { text-align: center; color: var(--ball); font-weight: 900; font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; font-size: clamp(18px, 2.6vw, 30px); margin-top: 12px; }
.sb-foot { text-align: center; margin-top: 14px; font-size: 13px; }
@media (max-width: 640px) { .sb-row { grid-template-columns: 1fr auto 70px; padding: 16px 18px; } .sb-sets { display: none; } }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.tv { width: 100%; }
.tv-head h1 { font-size: clamp(36px, 5vw, 72px); margin-top: 8px; }
.tv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.tv-courts { display: grid; gap: 18px; align-content: start; }
.tv-row { font-size: clamp(18px, 2vw, 26px); }
@media (max-width: 900px) { .tv-grid { grid-template-columns: 1fr; } }

/* ---------- Dashboard v2 ---------- */
.dash-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: stretch; padding: 48px 0 8px; }
.dash-hello { display: flex; flex-direction: column; justify-content: center; }
.dash-hello h1 { font-size: clamp(30px, 6vw, 76px); margin-top: 12px; }
.dash-hello .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--text-2); }
.facts b { color: var(--text); font-size: 22px; font-weight: 900; font-stretch: 125%; margin-right: 4px; }
.facts b.ball { color: var(--ball); }
.next-card {
  position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  border-color: rgba(223, 255, 31, 0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 30px 80px rgba(0,0,0,0.35), 0 0 70px rgba(223,255,31,0.10);
  background:
    linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05)) 72% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05)) 0 62% / 100% 1px no-repeat,
    radial-gradient(420px 260px at 100% 0%, rgba(223,255,31,0.16), transparent 70%),
    linear-gradient(160deg, rgba(30,90,168,0.42), rgba(255,255,255,0.03));
}
.next-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.next-card { container-type: inline-size; }
.next-title { font-size: clamp(22px, 9cqw, 50px); max-width: 100%; }
.countdown { display: flex; gap: 10px; margin: 8px 0 4px; }
.countdown div { flex: 1; min-width: 0; max-width: 92px; padding: 12px 14px; border-radius: 18px; background: rgba(10,16,32,0.55); border: 1px solid var(--line); text-align: center; }
.countdown b { display: block; font-size: 36px; font-weight: 900; font-stretch: 125%; font-variant-numeric: tabular-nums; line-height: 1.05; }
.countdown span { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.1em; }
.next-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; width: 100%; margin: 8px 0 6px; }
.next-meta div { display: flex; flex-direction: column; gap: 2px; }
.next-meta .eyebrow { font-size: 10px; }
.next-note { margin: 0; }
.empty-next { justify-content: center; border-color: var(--line); }
.empty-next h2 { font-size: 34px; }
@media (max-width: 900px) { .dash-hero { grid-template-columns: 1fr; padding-top: 32px; } }
@media (max-width: 420px) { .countdown div { min-width: 0; flex: 1; padding: 10px 6px; } .countdown b { font-size: 28px; } .next-card { padding: 22px; } }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: 40px 0 14px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.plan-tile { display: flex; align-items: center; gap: 16px; padding: 14px 18px; color: inherit; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.plan-tile:hover { border-color: rgba(223, 255, 31, 0.45); }
.cal { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 6px 0; border-radius: 14px; background: rgba(223,255,31,0.1); color: var(--ball); line-height: 1.1; }
.cal span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.cal b { font-size: 26px; font-weight: 900; font-stretch: 125%; }
.kpi-ring { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-ring svg { flex: none; filter: drop-shadow(0 0 8px rgba(223,255,31,0.35)); }
.empty { text-align: center; padding: 40px 24px; }
.empty-icon { font-size: 40px; }
.loading { display: grid; place-items: center; min-height: 50vh; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--go); box-shadow: 0 0 10px var(--go); }
.loading .dot { width: 16px; height: 16px; background: var(--ball); box-shadow: 0 0 20px var(--ball); }
.sync { background: rgba(61, 220, 132, 0.12); color: var(--go); }
.account { position: relative; }
.account #apple-sign-out-button { position: absolute; inset: 0; opacity: 0.01; overflow: hidden; }
.account #apple-sign-out-button * { width: 100% !important; height: 100% !important; cursor: pointer; }
.account:focus-within .btn { outline: 2px solid var(--ball); outline-offset: 3px; }
.account:hover .btn { border-color: rgba(255,255,255,0.3); }
@media (max-width: 520px) { .nav { gap: 10px; } .site-header .hide-sm { display: none; } }

/* Plan editor */
dialog.editor-dialog { width: min(620px, 100% - 24px); }
.editor h2 { font-size: 34px; margin: 6px 0 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); margin-bottom: 18px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.seg input:checked + span { background: var(--ball); color: var(--court); }
.seg input:focus-visible + span { outline: 2px solid var(--ball); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.fields .span2 { grid-column: span 2; }
.fields input, .fields select, .fields textarea {
  min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10,16,32,0.6);
  color: var(--text); font: inherit; font-size: 16px; width: 100%;
}
.fields textarea { padding: 12px 16px; resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; border-color: var(--ball); box-shadow: 0 0 0 3px rgba(223,255,31,0.18); }
.fields input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.6; }
.editor[data-format="singles"] .doubles-only { display: none; }
.editor-actions { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.btn-danger { background: rgba(255, 90, 95, 0.14); color: var(--stop); border: 1px solid rgba(255, 90, 95, 0.3); }
.btn:disabled { opacity: 0.5; cursor: progress; }
.form-error { margin: 16px 0 0; background: rgba(255, 90, 95, 0.12); color: var(--stop); }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } .fields .span2 { grid-column: auto; } dialog.detail { padding: 22px 18px; } }
.sb-row { grid-template-columns: 1fr auto 80px minmax(140px, auto); }
@media (max-width: 640px) { .sb-row { grid-template-columns: 1fr auto 70px; } }

.plan-strip + .kpis, .dash-hero + .kpis { margin-top: 28px; }

/* ---------- iPhone mockup (pure CSS, scales with its width via container units) ---------- */
.iphone { position: relative; container-type: inline-size; }
.iphone > div {
  position: relative;
  padding: 3.4cqw;
  border-radius: 16.5cqw;
  border: 1.3cqw solid transparent;
  background:
    linear-gradient(#050507, #050507) padding-box,
    linear-gradient(140deg, #a9aeb6 0%, #3a3d44 18%, #8d929a 38%, #24262b 62%, #7b8088 82%, #c4c8cf 100%) border-box;
  box-shadow:
    0 0 0 0.35cqw #0d0e10,
    0 4cqw 10cqw rgba(0, 0, 0, 0.55),
    0 14cqw 30cqw rgba(0, 0, 0, 0.45),
    0 0 26cqw rgba(30, 90, 168, 0.28);
}
.iphone img { width: 100%; height: auto; border-radius: 12.4cqw; }
/* Action and volume buttons left, side button right */
.iphone > div::before {
  content: ""; position: absolute; left: -2.6cqw; top: 23cqw; width: 1.3cqw; height: 6.5cqw; border-radius: 1cqw 0 0 1cqw;
  background: #6d7179;
  box-shadow: 0 11cqw 0 0 #6d7179, 0 11cqw 0 0 #6d7179, 0 24cqw 0 0 #6d7179, calc(100cqw + 1.3cqw) 14cqw 0 0 #6d7179, calc(100cqw + 1.3cqw) 20cqw 0 0 #6d7179;
}
/* Glass sheen over the screen */
.iphone::after {
  content: ""; position: absolute; inset: 0; border-radius: 16.5% / 7.6%; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 26%, transparent 42%);
}
.phone.iphone { height: auto; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.phone.iphone img { height: auto; object-fit: initial; }

.shots { perspective: 1800px; align-items: center; padding: 30px 4% 60px; gap: 4%; }
.shots .iphone { transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.shots .iphone:nth-child(1) { transform: rotateY(16deg) translateZ(-60px) translateY(26px); }
.shots .iphone:nth-child(2) { transform: translateY(-14px); z-index: 1; }
.shots .iphone:nth-child(3) { transform: rotateY(-16deg) translateZ(-60px) translateY(26px); }
.shots .iphone:hover { transform: translateY(-20px) scale(1.02); z-index: 2; }
.shots img { border: 0; }
@media (max-width: 720px) {
  .shots { padding: 10px 6% 40px; gap: 7%; }
  .shots .iphone:nth-child(3) { display: none; }
  .shots .iphone:nth-child(1) { transform: rotateY(10deg) translateY(16px); }
}
@media (prefers-reduced-motion: reduce) { .shots .iphone { transition: none; } }

/* ---------- Apple Watch mockup: case, crown, side button, sport band ---------- */
.watch {
  overflow: visible; background: #000; padding: 9px; border-radius: 30%/25%;
  border: 6px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(140deg, #b9bec6 0%, #3b3e45 22%, #9196a0 45%, #23252a 68%, #c9cdd3 100%) border-box;
  box-shadow: 0 0 0 1.5px #0d0e10, 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(223, 255, 31, 0.16);
}
.watch img { border-radius: 24%/20%; }
.watch::before {
  content: ""; position: absolute; left: 13%; right: 13%; top: -46%; bottom: -46%; z-index: -1; border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.35), transparent 18%, transparent 82%, rgba(0,0,0,0.35)),
    linear-gradient(180deg, #11151f 0%, #1c2233 30%, #1c2233 70%, #11151f 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.watch::after {
  content: ""; position: absolute; right: -15px; top: 24%; width: 11px; height: 17%; border-radius: 0 5px 5px 0;
  background: repeating-linear-gradient(180deg, #a6abb3 0 2px, #5d6168 2px 4px);
  box-shadow: -1px 0 0 #2a2c31, -3px 62px 0 -2px #6d7179;
}
.watch { z-index: 2; padding: 0; background: linear-gradient(140deg, #b9bec6 0%, #3b3e45 22%, #9196a0 45%, #23252a 68%, #c9cdd3 100%) border-box; }
.watch img { border: 9px solid #000; border-radius: 27%/22%; position: relative; }
.device-stack .phone.iphone { right: 0; }
@media (min-width: 901px) { .device-stack { margin-left: 40px; } }

/* ---------- v10: brand lockup, icon tiles, watch setups, hero devices side by side ---------- */
.brand { gap: 12px; letter-spacing: 0; text-transform: none; }
.brand img { width: 38px; height: 38px; border-radius: 0; filter: drop-shadow(0 4px 14px rgba(30, 90, 168, 0.5)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 19px; font-weight: 900; font-stretch: 125%; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-text small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.42em; text-transform: uppercase; color: var(--ball); margin-top: 4px; }

.feature, .setup { position: relative; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s, box-shadow 0.35s; }
.feature:hover, .setup:hover { transform: translateY(-4px); border-color: rgba(223, 255, 31, 0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 30px 60px rgba(0,0,0,0.35), 0 0 40px rgba(223,255,31,0.08); }
.feature .icon, .setup .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--ball);
  background: radial-gradient(circle at 30% 25%, rgba(223,255,31,0.28), rgba(223,255,31,0.06) 70%);
  border: 1px solid rgba(223, 255, 31, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 24px rgba(223,255,31,0.12);
}
.feature .icon svg, .setup .icon svg { filter: drop-shadow(0 0 6px rgba(223,255,31,0.45)); }
.feature h3 { margin-top: 18px; }
.grid .feature { padding: 26px; }

.setups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .setups { grid-template-columns: 1fr; } }
.setup { padding: 30px; }
.setup h3 { font-size: 24px; margin: 18px 0 8px; font-stretch: 125%; font-weight: 900; }
.setup-featured { border-color: rgba(223, 255, 31, 0.3); background: radial-gradient(500px 260px at 100% 0%, rgba(223,255,31,0.12), transparent 70%), linear-gradient(160deg, rgba(30,90,168,0.35), rgba(255,255,255,0.03)); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1020' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 0 10px rgba(223,255,31,0.4); }
.setup-note { margin: 20px 0 0; }
.compare .no { font-size: 22px; line-height: 1; }

/* Hero: phone right, watch left of it, no overlap. */
.device-stack .phone.iphone { right: 0; top: 0; width: 270px; }
.device-stack .watch { left: auto; right: 300px; bottom: 70px; }
@media (max-width: 900px) {
  .device-stack .phone.iphone { width: 230px; }
  .device-stack .watch { right: 255px; bottom: 60px; width: 160px; }
}
@media (max-width: 600px) {
  .device-stack { min-height: 470px; }
  .device-stack .phone.iphone { width: 200px; }
  .device-stack .watch { right: auto; left: 0; bottom: 70px; width: 128px; border-width: 5px; }
  .device-stack .watch::after { right: -11px; width: 8px; }
}
/* Hero devices in a row: watch left, phone right · never on top of each other. */
.device-stack { display: flex; align-items: flex-end; justify-content: flex-end; gap: 26px; min-height: 0; margin-left: 0; padding: 40px 10px 20px 0; }
.device-stack .phone.iphone, .device-stack .watch { position: relative; inset: auto; flex: none; }
.device-stack .phone.iphone { width: 250px; }
.device-stack .watch { order: -1; width: 168px; margin-bottom: 90px; }
@media (max-width: 900px) { .device-stack { justify-content: center; } }
@media (max-width: 600px) {
  .device-stack { gap: 18px; padding-top: 50px; }
  .device-stack .phone.iphone { width: 190px; }
  .device-stack .watch { width: 118px; margin-bottom: 70px; }
}
.sb-server { font-size: clamp(13px, 1.5vw, 17px); font-weight: 700; color: var(--ball); margin-top: 4px; letter-spacing: 0.02em; }
.brand img.wordmark { width: auto; height: 34px; border-radius: 0; filter: none; }

/* =====================================================================
   v12 · Logo lettering, pure white text, floating navbar, 100vh hero, motion
   ===================================================================== */
@font-face { font-family: "Syncopate"; src: url("/assets/fonts/syncopate-700.woff2") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Exo 2"; src: url("/assets/fonts/exo2-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; src: url("/assets/fonts/exo2-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: block; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --display: "Syncopate", "Exo 2", system-ui, sans-serif;
  --wide: "Exo 2", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --text-2: #ffffff;
  --text-3: #ffffff;
}
body { font-family: var(--wide); font-size: 17px; }
.display { font-family: var(--display); font-weight: 700; font-stretch: normal; letter-spacing: -0.01em; line-height: 1.08; text-transform: uppercase; }
.eyebrow { font-family: var(--display); font-weight: 700; font-stretch: normal; letter-spacing: 0.22em; color: var(--ball); font-size: 11px; }
.score { font-family: var(--display); font-stretch: normal; letter-spacing: -0.01em; }
.muted, .faint, .section .intro, .hero p.lead, .feature p, .faq p, .legal p, .legal li { color: #fff; }
.feature h3, .setup h3 { font-family: var(--wide); font-weight: 800; font-stretch: normal; letter-spacing: 0; }
.setup h3 { font-size: 22px; }
.btn { font-family: var(--wide); font-weight: 700; letter-spacing: 0.01em; }

/* ---------- Floating glass navbar ---------- */
.site-header {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px)); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
  background: rgba(10, 16, 32, 0.38); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 50px rgba(0, 0, 0, 0.35);
  transition: background 0.35s, top 0.35s, box-shadow 0.35s;
}
.site-header.scrolled { top: 8px; background: rgba(10, 16, 32, 0.78); }
.site-header .wrap { width: 100%; padding: 0 10px 0 18px; min-height: 62px; }
.nav { gap: 6px; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; color: #fff; font-weight: 600; border-radius: 999px; transition: background 0.25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; border-radius: 2px; background: var(--ball); box-shadow: 0 0 8px var(--ball); transition: width 0.3s cubic-bezier(.2,.8,.2,1), left 0.3s cubic-bezier(.2,.8,.2,1); }
.nav a:not(.btn):hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.nav a:not(.btn):hover::after { width: 22px; left: calc(50% - 11px); }
.nav .btn { margin-left: 6px; }
.nav .btn-nav { background: var(--ball); color: var(--court); border: 0; box-shadow: 0 6px 22px rgba(223,255,31,0.35); }
.nav .btn-nav:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(223,255,31,0.5); }
body:not(.landing):not(.screen) { padding-top: 92px; }
@media (max-width: 720px) { .site-header .wrap { padding-left: 12px; min-height: 56px; } .nav a:not(.btn) { padding: 8px 10px; } }

/* ---------- Hero: full viewport, slow zoom, floating devices ---------- */
.hero-stage { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: none; border-bottom: 0; }
.hero-stage::before { content: ""; position: absolute; inset: -4%; z-index: -2; background: url("/assets/img/hero.jpg") center right / cover no-repeat; transform: translateY(var(--parallax, 0px)) scale(1.06); }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 600px at 78% 45%, rgba(223,255,31,0.08), transparent 60%),
  linear-gradient(90deg, rgba(10,16,32,0.95) 0%, rgba(10,16,32,0.72) 45%, rgba(10,16,32,0.2) 100%),
  linear-gradient(0deg, var(--court) 0%, rgba(10,16,32,0) 30%); }
.hero-stage .hero { padding: 120px 0 90px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 72px); }
.hero p.lead { font-size: clamp(18px, 1.7vw, 21px); max-width: 34ch; line-height: 1.6; }
@media (max-width: 900px) { .hero-stage::after { background: linear-gradient(180deg, rgba(10,16,32,0.9) 0%, rgba(10,16,32,0.7) 55%, var(--court) 100%); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,0.6); border-radius: 16px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--ball); box-shadow: 0 0 8px var(--ball); }
@media (max-height: 700px), (max-width: 900px) { .scroll-cue { display: none; } }

/* No court-line grid behind the landing page: cleaner sections. */
.landing::before { display: none; }

/* ---------- FAQ as quiet cards ---------- */
.faq details { border: 0; padding: 0; margin-top: 10px; border-radius: 20px; background: rgba(255,255,255,0.05); transition: background 0.25s; }
.faq details[open] { background: rgba(255,255,255,0.08); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(223,255,31,0.14); color: var(--ball); font-size: 20px; font-weight: 700; transition: transform 0.3s cubic-bezier(.2,.8,.2,1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 24px 22px; line-height: 1.65; }
.faq h2 { margin-bottom: 18px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage::before { animation: kenburns 26s ease-in-out infinite alternate; }
  @keyframes kenburns { from { transform: translateY(var(--parallax, 0px)) scale(1.06); } to { transform: translateY(var(--parallax, 0px)) scale(1.14) translateX(-1.5%); } }
  .hero .fade > * { animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both; }
  .hero .fade > :nth-child(2) { animation-delay: 0.12s; }
  .hero .fade > :nth-child(3) { animation-delay: 0.24s; }
  .hero .fade > :nth-child(4) { animation-delay: 0.36s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } }
  .device-stack .phone.iphone { animation: enter-right 1.1s 0.2s cubic-bezier(.2,.8,.2,1) both, bob 7s 1.3s ease-in-out infinite; }
  .device-stack .watch { animation: enter-up 1.1s 0.45s cubic-bezier(.2,.8,.2,1) both, bob 6s 1.6s ease-in-out infinite reverse; }
  @keyframes enter-right { from { opacity: 0; transform: translateX(60px) rotate(4deg); } }
  @keyframes enter-up { from { opacity: 0; transform: translateY(60px); } }
  @keyframes bob { 50% { transform: translateY(-12px); } }
  .scroll-cue::after { animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
  .btn-ball { position: relative; overflow: hidden; }
  .btn-ball::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s 2s ease-in-out infinite; }
  @keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
  [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
  [data-reveal].in { opacity: 1; transform: none; }
  .shots [data-reveal] { transform: translateY(80px) scale(0.94); }
  .shots [data-reveal].in { transform: none; }
}

/* ---------- Sign-in: photo story left, card right ---------- */
[hidden] { display: none !important; }
.app-page::before { display: none; }
.signin-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; margin: 28px 0 0; min-height: calc(100vh - 220px); border-radius: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 100px rgba(0,0,0,0.45); animation: rise 0.8s cubic-bezier(.2,.8,.2,1) both; }
.signin-visual { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: 56px; isolation: isolate; }
.signin-visual::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/img/hero.jpg") 70% center / cover no-repeat; }
.signin-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,16,32,0.96) 0%, rgba(10,16,32,0.6) 55%, rgba(10,16,32,0.25) 100%); }
.signin-visual h1 { font-size: clamp(30px, 3.6vw, 48px); max-width: 14ch; }
.signin-visual .checks { margin-top: 6px; font-weight: 600; }
.signin-card { border-radius: 0; border: 0; border-left: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 56px 44px; background: linear-gradient(170deg, rgba(30,90,168,0.28), rgba(10,16,32,0.92) 60%); }
.signin-mark { width: 72px; height: 72px; filter: drop-shadow(0 10px 30px rgba(30,90,168,0.6)); margin-bottom: 18px; }
.signin-card h2 { font-family: var(--display); text-transform: uppercase; font-size: 30px; margin: 0 0 10px; }
.signin-card p { margin: 0 0 26px; max-width: 34ch; line-height: 1.6; }
.apple-btn { position: relative; width: min(320px, 100%); }
.btn-apple { width: 100%; min-height: 56px; background: #fff; color: #000; gap: 12px; font-size: 17px; box-shadow: 0 12px 34px rgba(0,0,0,0.35); transition: transform 0.2s, box-shadow 0.2s; }
.apple-btn:hover .btn-apple { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0,0,0,0.45), 0 0 0 4px rgba(223,255,31,0.25); }
.apple-btn:focus-within .btn-apple { outline: 2px solid var(--ball); outline-offset: 3px; }
.apple-btn #apple-sign-in-button { position: absolute; inset: 0; margin: 0; min-height: 0; opacity: 0.01; overflow: hidden; display: block; }
.apple-btn #apple-sign-in-button * { width: 100% !important; height: 100% !important; cursor: pointer; }
.signin-privacy { font-size: 14px; margin-top: 22px !important; opacity: 0.85; }
.signin-demo { font-weight: 700; margin-top: 6px; }
@media (max-width: 860px) {
  .signin-split { grid-template-columns: 1fr; min-height: 0; }
  .signin-visual { min-height: 340px; padding: 32px 24px; }
  .signin-card { border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding: 40px 24px; }
}
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-actions .faint { font-size: 14px; opacity: 0.8; }
/* Nav CTA keeps dark text on hover (the generic nav link hover turned it white). */
.nav a.btn-nav, .nav a.btn-nav:hover, .nav a.btn-nav:focus-visible { color: var(--court); text-decoration: none; }
.nav a.btn-nav { transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.nav a.btn-nav:hover { background: #ecff6a; }

/* v15 · Rebotazo: the swept R from the logo as a brand element */
.hero-r { position: absolute; z-index: -1; right: -4vw; top: 50%; height: min(88vh, 900px); width: auto; transform: translateY(-50%); opacity: 0.07; pointer-events: none; }
.name-story { display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.name-story .name-r { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(223, 255, 31, 0.25)); }
.name-story .intro p { margin: 0 0 14px; }
.name-story em { font-style: normal; color: var(--ball); }
.landing .section .eyebrow::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-right: 0.6em; vertical-align: -0.2em; background: url(/assets/img/r-mark.svg) center / contain no-repeat; }
@media (max-width: 640px) {
  .name-story { grid-template-columns: 1fr; }
  .name-story .name-r { width: 120px; }
  .hero-r { right: -30vw; opacity: 0.05; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-r { animation: r-drift 18s ease-in-out infinite alternate; }
  @keyframes r-drift { from { transform: translateY(-52%) rotate(-2deg); } to { transform: translateY(-48%) rotate(2deg); } }
}

/* v16 · header: the R alone instead of the small app icon */
.brand img.brand-r { width: auto; height: 34px; border-radius: 0; filter: drop-shadow(0 0 10px rgba(223, 255, 31, 0.45)); transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img.brand-r { transform: rotate(-8deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .brand img.brand-r { transition: none; } }

/* v17 · the R draws itself: a ball flies its path (same as the app's splash). landing.js arms and starts it. */
.r-draw { display: block; overflow: visible; }
.r-draw .r-ball { display: none; }
.r-draw.armed .r-ball { display: inline; transition: opacity 0.25s; }
.r-draw.armed .r-trail { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.r-draw.armed.go .r-trail { stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s cubic-bezier(.45, 0, .25, 1); }
.name-r.armed.go .r-trail { transition-duration: 1s; }
.hero-r.armed.go .r-trail { transition-duration: 1.6s; }
.r-draw.done .r-ball { opacity: 0; }
.brand svg.brand-r { width: 31px; height: 34px; filter: drop-shadow(0 0 10px rgba(223, 255, 31, 0.45)); transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover svg.brand-r { transform: rotate(-8deg) scale(1.06); }
svg.hero-r { width: auto; aspect-ratio: 260.9 / 289.9; }
svg.name-r { width: 100%; height: auto; aspect-ratio: 260.9 / 289.9; filter: drop-shadow(0 0 40px rgba(223, 255, 31, 0.25)); }

/* ADVEMA logo in the footer */
.footer-logo { display: inline-flex; vertical-align: -1px; }
.footer-logo img { height: 12px; width: auto; }
@media (max-width: 420px) { .brand img.wordmark { height: 22px; } }
@media (max-width: 420px) { .kpi .value { font-size: 28px; } .kpi-ring svg { display: none; } }
/* Partner studio page (rendered by Server/api/partners.go) */
.studio { max-width: 860px; padding-top: 48px; padding-bottom: 40px; display: grid; gap: 18px; justify-items: start; }
.studio h1 { font-size: clamp(32px, 6vw, 60px); overflow-wrap: anywhere; }
.studio-back { color: var(--text-2, rgba(255,255,255,.7)); text-decoration: none; font-weight: 700; }
.studio-about { font-size: 19px; max-width: 38em; white-space: pre-line; }
.studio-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.studio-facts { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 18px; padding: 24px; margin: 6px 0 0; }
.studio-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ball); }
.studio-facts dd { margin: 4px 0 0; font-weight: 700; }
.studio-app { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 28px; background: linear-gradient(150deg, rgba(30, 90, 168, .5), rgba(14, 24, 50, .9)); border-color: rgba(223, 255, 31, .35); }
.studio-app h2 { font-size: clamp(22px, 3vw, 32px); margin: 6px 0 10px; }
.studio-note { font-size: 14px; }
@media (max-width: 640px) { .studio-app { grid-template-columns: minmax(0, 1fr); } }
/* City pages (Server/api/cities.go) */
.city-list { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.city-list li { padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.city-list li.is-partner { border-color: rgba(223, 255, 31, .45); }
.city-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.city-list p { margin: 0; font-size: 15px; }
.city-links a { color: var(--ball); font-weight: 700; }
.city-faq { width: 100%; }
.city-faq h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.city-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.city-faq summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.city-faq p { margin: 10px 0 0; color: var(--text-2, rgba(255,255,255,.8)); }
.city-near a, .studio-note a { color: var(--ball); }
.city-country { width: 100%; padding-top: 20px; }
.city-country h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 14px; }
.city-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.city-grid a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; background: rgba(255,255,255,.03); }
.city-grid a:hover { border-color: rgba(223,255,31,.5); }
.city-grid span { font-size: 14px; color: var(--text-3, rgba(255,255,255,.6)); }
.city-faq summary { list-style: none; position: relative; padding-right: 34px; }
.city-faq summary::-webkit-details-marker { display: none; }
.city-faq summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 26px; color: var(--ball); transition: transform .25s; }
.city-faq details[open] summary::after { transform: rotate(45deg); }
.city h1 { font-size: clamp(24px, 6.6vw, 60px); }
/* Shared results (Server/api/results.go) */
.result-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.result-card { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.result-facts { display: grid; gap: 14px; justify-items: start; }
.result-facts h1 { font-size: clamp(40px, 6vw, 72px); }
.result-teams { display: grid; gap: 2px; font-size: 20px; margin: 0; }
.result-teams span { color: var(--text-2, rgba(255,255,255,.75)); }
.result-line { width: 100%; height: 60px; }
@media (max-width: 760px) { .result-grid { grid-template-columns: minmax(0, 1fr); } }
.result-facts .studio-app { grid-template-columns: minmax(0, 1fr); justify-items: start; margin-top: 10px; }
.result-facts .studio-app h2 { font-size: clamp(20px, 2.2vw, 26px); }
/* Map and "Anlage fehlt?" on the city pages (Server/api/cities.go, assets/padel.js) */
.padel-map { width: 100%; height: min(62vh, 560px); min-height: 340px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #0a1020; }
.padel-map-city { height: min(46vh, 420px); }
.padel-map .pop { display: grid; gap: 3px; color: #0a1020; font: 500 14px/1.4 "Exo 2", sans-serif; }
.padel-map .pop strong { font-size: 15px; }
.padel-map .pop a { color: #1e5aa8; font-weight: 700; }
.maplibregl-popup-content { border-radius: 14px; }
.missing { width: 100%; padding-top: 24px; }
.missing h2 { font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 16px; }
.missing-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 16px; align-items: start; }
.report-form, .missing-partner { padding: 22px; display: grid; gap: 12px; }
.report-form strong, .missing-partner strong { font-size: 19px; }
.report-form p, .missing-partner p { margin: 0; color: var(--text-2, rgba(255,255,255,.78)); }
.report-form label { display: grid; gap: 5px; font-weight: 700; font-size: 14px; }
.report-form input { width: 100%; font: 500 16px/1.4 "Exo 2", sans-serif; color: #fff; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 10px 12px; }
.report-form input:focus { outline: none; border-color: var(--ball); }
.report-form .two { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
.report-form .hp { position: absolute; left: -9999px; }
.report-form button, .missing-partner .btn { justify-self: start; }
.form-status.good { color: var(--ball); font-weight: 700; }
.form-status.bad { color: #ff8a8e; font-weight: 700; }
.missing-partner { background: linear-gradient(150deg, rgba(30,90,168,.5), rgba(14,24,50,.9)); border-color: rgba(223,255,31,.35); }
@media (max-width: 760px) { .missing-grid { grid-template-columns: minmax(0, 1fr); } }
