/* Pointazo marketing site. Tokens from docs/launch/brand/README.md. No framework, no build step. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/Archivo-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/Archivo-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/Archivo-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/Archivo-BlackItalic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  --court: #1f4fd8;
  --night: #0b1b3f;
  --ball: #e6f24a;
  --card: #13285a;
  --card-hi: #16306b;
  --muted: #a9b4d0;
  --edge: #3a5290;
  --white: #ffffff;
  --radius: 22px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a { color: var(--ball); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ball); color: var(--night); padding: 10px 14px; border-radius: 10px; font-weight: 800; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Wordmark: Archivo Black Italic, the marks in yellow. */
.wordmark { font-weight: 900; font-style: italic; letter-spacing: -0.02em; color: var(--white); text-decoration: none; font-size: 28px; line-height: 1; }
.wordmark .mk { color: var(--ball); }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
nav.site { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; border-radius: 10px; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--white); }
nav.site a.cta { background: var(--ball); color: var(--night); font-weight: 800; }
nav.site a.cta:hover { background: var(--white); }

.btn { display: inline-block; font: inherit; font-weight: 800; font-size: 18px; text-decoration: none; border: 0; cursor: pointer; border-radius: 14px; padding: 14px 22px; min-height: 48px; }
.btn.primary { background: var(--ball); color: var(--night); }
.btn.primary:hover { background: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border: 1px solid var(--edge); }
.btn.ghost:hover { border-color: var(--white); }

.hero { padding: 36px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night); background: var(--ball); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; margin: 18px 0 18px; font-weight: 900; font-style: italic; letter-spacing: -0.02em; }
h1 .mk { color: var(--ball); }
.lede { font-size: 21px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.lede strong { color: var(--white); font-weight: 600; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.small { font-size: 15px; color: var(--muted); }

/* The phone: a scoreboard built in CSS from the brand board, so it never goes out of date as a screenshot would. */
.phone { background: var(--night); border: 2px solid var(--edge); border-radius: 36px; padding: 22px 18px; max-width: 360px; margin: 0 auto; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.phone .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.phone .wordmark { font-size: 22px; }
.pill { font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: #ff5a36; color: var(--night); }
.phone .meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.team { background: var(--card); border-radius: 20px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.team.serving { background: var(--card-hi); }
.team .name { font-weight: 600; font-size: 17px; }
.sets { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.set { font-size: 13px; font-weight: 800; padding: 3px 9px; border-radius: 8px; background: var(--night); }
.srv { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--ball); color: var(--night); }
.points { font-size: 76px; line-height: 1; font-weight: 900; font-style: italic; }
.points.hi { color: var(--ball); }
.press { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: var(--card); border-radius: 16px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.press .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ball); flex: none; }

section { padding: 56px 0; }
section.alt { background: var(--card); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 0 0 14px; font-weight: 900; font-style: italic; letter-spacing: -0.02em; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 32px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card-hi); border-radius: var(--radius); padding: 24px; }
section.alt .step { background: var(--night); }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ball); color: var(--night); font-weight: 900; font-style: italic; margin-bottom: 12px; }
.step h3, .feature h3 { margin: 0 0 6px; font-size: 20px; }
.step p, .feature p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 24px; }
section.alt .feature { background: var(--night); }

/* Interest form */
.interest { background: var(--court); }
.interest .box { background: var(--night); border-radius: 28px; padding: 36px; max-width: 640px; margin: 0 auto; }
form.interest-form label.field { display: block; font-weight: 600; margin-bottom: 8px; }
form.interest-form input[type="email"] { width: 100%; font: inherit; font-size: 18px; padding: 14px 16px; min-height: 52px; border-radius: 12px; border: 1px solid var(--edge); background: var(--card); color: var(--white); }
form.interest-form input[type="email"]::placeholder { color: #7f8db4; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; font-size: 16px; color: var(--muted); }
.consent input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--ball); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
/* The email fallback is the default; the script turns the form on only when it has somewhere to go. */
form.interest-form { display: none; }
.has-form form.interest-form { display: block; }
.has-form .fallback { display: none; }

/* Text pages */
.page { padding: 28px 0 72px; }
.page h1 { font-size: clamp(32px, 5vw, 48px); }
.page h2 { font-size: 26px; margin-top: 40px; }
.page p, .page li { color: #d6dcec; max-width: 44em; }
.page ul { padding-left: 22px; }
details { background: var(--card); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; max-width: 46em; }
details[open] { background: var(--card-hi); }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style-position: outside; }
details p { margin: 0 0 16px; }

footer.site { padding: 36px 0 48px; border-top: 1px solid var(--edge); color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--white); }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .steps, .features { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  .lede { font-size: 19px; }
}

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

/* Spacing helpers, so no page needs an inline style (the content security policy forbids them). */
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 24px; }
.mb-m { margin-bottom: 22px; }
.brand-sm { font-size: 22px; }
.footnote { margin: 10px 0 0; }

/* Light sections: white with navy text, so the page breathes. Yellow does not read on white, so accents turn Court Blue. */
section.light { background: var(--white); color: var(--night); }
section.light.grey { background: #f1f4fb; }
section.light h2 { color: var(--night); }
section.light .sub { color: #3b4a73; }
section.light a { color: var(--court); }
section.light .feature { background: var(--white); border: 1px solid #dbe3f5; box-shadow: 0 1px 2px rgba(11, 27, 63, 0.06); }
section.light .feature h3 { color: var(--night); }
section.light .feature p { color: #3b4a73; }
section.light .small { color: #3b4a73; }

/* The hero's picture: the scoreboard with a padel racket leaning behind it. */
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .phone { position: relative; z-index: 1; width: 100%; }
.hero-art .racket { position: absolute; z-index: 0; left: -64px; bottom: -28px; width: 150px; height: auto; transform: rotate(-24deg); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4)); }

/* The court */
figure.court { margin: 0; max-width: 880px; }
figure.court img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 60px rgba(11, 27, 63, 0.25); }
figure.court figcaption { margin-top: 12px; font-size: 15px; color: #3b4a73; }

@media (max-width: 860px) {
  .hero-art .racket { left: -14px; bottom: -34px; width: 104px; }
}
@media (max-width: 480px) {
  .hero-art .racket { display: none; }
}

/* One score, every screen: three devices showing the same match. Decorative; the captions carry the meaning. */
.screens { display: grid; grid-template-columns: 1fr 1.35fr 1.25fr; gap: 28px; align-items: end; }
.screen { margin: 0; }
.screen figcaption { margin-top: 14px; font-size: 16px; color: var(--muted); }
.screen figcaption strong { color: var(--white); }
.device { background: var(--night); border: 2px solid var(--edge); border-radius: 26px; padding: 16px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.device .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.device .wordmark { font-size: 18px; }
.device .meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.points.sm { font-size: 52px; }
.device.wide { padding: 14px; }
.land { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--card); border-radius: 18px; padding: 14px; text-align: left; }
.tile.hi { background: var(--card-hi); }
.tile .name { font-weight: 600; font-size: 15px; }
.tile .big { font-size: clamp(64px, 9vw, 104px); line-height: 1; font-weight: 900; font-style: italic; margin: 6px 0; }
.tile.hi .big { color: var(--ball); }
.browser { border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; background: var(--night); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.browser .chrome { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #0e214d; border-bottom: 1px solid var(--edge); }
.browser .dots { display: inline-flex; gap: 6px; }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--edge); display: block; }
.browser .url { font-size: 12px; color: var(--muted); background: var(--card); border-radius: 999px; padding: 4px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-mock { padding: 14px; }

@media (max-width: 960px) {
  .screens { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin: 0 auto; }
}

/* From the UX review (2026-10-27) */

/* The racket is decoration: it never takes taps, and the text column paints above it. */
.hero .wrap > div:first-child { position: relative; z-index: 2; }
.hero-art .racket { pointer-events: none; left: 0; }
@media (max-width: 860px) {
  .hero-art .racket { left: auto; right: -6px; bottom: -30px; width: 96px; }
}
@media (max-width: 480px) {
  /* Smaller, on the right of the phone card, instead of hidden: most visitors are on a phone. */
  .hero-art .racket { display: block; right: -2px; bottom: -26px; width: 70px; }
}

/* Contrast: a control's edge needs 3:1 against what is behind it, and placeholder text 4.5:1. */
.btn.ghost { border-color: #6f86c4; }
form.interest-form input[type="email"] { border-color: #6f86c4; }
form.interest-form input[type="email"]::placeholder { color: #98a5c9; }
.eyebrow { border-radius: 16px; line-height: 1.3; }

/* The current page is shown by more than colour. */
nav.site a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Footer links are tap targets. */
footer.site a { display: inline-block; padding: 10px 4px; }
footer.site .wordmark { padding: 0; }
.address { user-select: all; color: var(--white); }
.error { color: #ffb4a6; font-weight: 600; min-height: 1.5em; margin: 0 0 10px; }
input[aria-invalid="true"] { outline: 3px solid #ffb4a6; outline-offset: 2px; }

/* Features page */
.intro { padding: 36px 0 24px; }
.intro .lede { max-width: 40em; }
.feat { padding: 64px 0; }
.feat.alt { background: var(--card); }
.row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.chip { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.chip.now { background: var(--ball); color: var(--night); }
.chip.next { background: transparent; color: var(--ball); border: 1px solid var(--ball); }
section.light .chip.now { background: var(--court); color: var(--white); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; max-width: 46em; }
.ticks li { position: relative; padding-left: 30px; color: #d6dcec; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%; background: var(--ball); }
.ticks li strong { color: var(--white); }
section.light .ticks li { color: #3b4a73; }
section.light .ticks li strong { color: var(--night); }
section.light .ticks li::before { background: var(--court); }
.ticks.two { grid-template-columns: repeat(2, 1fr); gap: 14px 32px; margin-top: 34px; max-width: none; }
.art { margin: 0; display: grid; place-items: center; }
.art .tag { width: min(280px, 70%); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)); }

/* The scoreboard, three across (on the features page the light section needs its own captions) */
section.light .screen figcaption { color: #3b4a73; }
section.light .screen figcaption strong { color: var(--night); }
section.light .small { color: #3b4a73; }

/* Stats card */
.statcard { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--edge); border-radius: 24px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.statcard-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 8px; }
.eg { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night); background: var(--ball); padding: 3px 9px; border-radius: 999px; }
.statcard table { width: 100%; border-collapse: collapse; font-size: 15px; }
.statcard th, .statcard td { padding: 8px 6px; text-align: right; border-top: 1px solid #22397a; }
.statcard thead th { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; border-top: 0; }
.statcard th:first-child, .statcard tbody th { text-align: left; font-weight: 600; color: #d6dcec; }
.statcard td.win { color: var(--ball); font-weight: 800; }
.momentum { width: 100%; height: auto; margin-top: 12px; display: block; }
.momentum-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* Keep it, share it */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.mini { background: var(--white); border: 1px solid #dbe3f5; border-radius: var(--radius); padding: 22px; }
.mini h3 { margin: 0 0 6px; color: var(--night); }
.mini p { margin: 0; color: #3b4a73; }

/* Better the more you play */
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.next-card { background: var(--night); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.next-card h3 { margin: 0; font-size: 22px; }
.next-card p { margin: 0; color: var(--muted); }
.next-card .concept { font-size: 12px; font-style: italic; color: #7f8db4; margin-top: auto; }
.trend { width: 100%; height: auto; }
.trend text { font-family: "Archivo", system-ui, sans-serif; font-size: 11px; fill: var(--muted); }
.invite, .livelist { display: grid; gap: 10px; }
.invite-row, .live-row { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 12px; }
.invite-row > div, .live-row > div { flex: 1; min-width: 0; }
.who { font-weight: 600; font-size: 15px; color: var(--white); }
.what { font-size: 13px; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ball); color: var(--night); font-weight: 900; font-style: italic; display: grid; place-items: center; flex: none; }
.avatar.a2 { background: #6f86c4; color: var(--night); }
.avatar.a3 { background: var(--edge); color: var(--white); }
.claim, .done, .wait { font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.claim { background: var(--ball); color: var(--night); }
.done { background: #2b6b4a; color: #d8ffe8; }
.wait { background: var(--edge); color: var(--white); }
.live-row.off { opacity: 0.75; }
.pill.quiet { background: var(--edge); color: var(--white); }

/* A closing call to action */
.cta-band { background: var(--court); padding: 56px 0; text-align: center; }
.cta-band .sub { margin-left: auto; margin-right: auto; color: #e3ebff; }

@media (max-width: 960px) {
  .row { grid-template-columns: 1fr; gap: 28px; }
  .cols, .next-grid { grid-template-columns: 1fr; }
  .ticks.two { grid-template-columns: 1fr; }
  .statcard { max-width: none; }
}

/* Which phone: two big tickable chips on the sign-up form */
fieldset.platforms { border: 0; padding: 0; margin: 18px 0 4px; display: flex; gap: 10px; flex-wrap: wrap; }
fieldset.platforms legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.chip-box { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #6f86c4; border-radius: 12px; padding: 10px 16px; min-height: 48px; cursor: pointer; font-weight: 600; }
.chip-box input { width: 22px; height: 22px; accent-color: var(--ball); }
.chip-box:has(input:checked) { border-color: var(--ball); background: var(--card); }

/* The launch-list form: a hidden spam trap, and the "check your inbox" panel */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done-panel { background: var(--card); border: 1px solid var(--ball); border-radius: 18px; padding: 22px; }
.done-panel h3 { margin: 0 0 8px; font-size: 24px; }
.done-panel p { margin: 0 0 8px; color: #d6dcec; }
.status { min-height: 1.6em; font-weight: 600; color: var(--ball); }
