/* poolco.pocketpoolapp.com - the Poolco website.
   The Nothing design, same as the app (owner 2026-11-17): Doto for big
   headings only, Space Grotesk for text, Space Mono for small all-caps
   labels and every number. Monochrome, red for section labels and live
   markers, gold for every amount of money. Soft dot grid. Pill buttons,
   rows split by thin lines, no shadows, no gradients.
   Colour tokens are copied from the app (src/ui.jsx, css). */

@font-face { font-family: 'Doto'; src: url(/fonts/doto-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(/fonts/space-grotesk-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(/fonts/space-grotesk-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(/fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url(/fonts/space-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url(/fonts/space-mono-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* The shared Pocket Pool footer (assets/sitefoot.css) uses these two. */
@font-face { font-family: 'Big Shoulders Display'; src: url(/fonts/big-shoulders-display-latin.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #000000; --surf: #111111; --raised: #1A1A1A; --bd: #333333; --bdV: #4D4D4D;
  --dis: #8C8C8C; --sec: #B3B3B3; --pri: #F2F2F2; --disp: #FFFFFF;
  --red: #FF383C; --score: #FFC940; --dot: #232323;
  --bezel: #1A1A1A;
  --f-dot: 'Doto', 'Space Mono', monospace;
  --f-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --head: 112px; /* sticky header height, for jump links */
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #F5F5F5; --surf: #FFFFFF; --raised: #EBEBEB; --bd: #C2C2C2; --bdV: #8A8A8A;
    --dis: #575757; --sec: #2B2B2B; --pri: #000000; --disp: #000000;
    --red: #C8141B; --score: #855500; --dot: #E9E9E9;
    --bezel: #000000;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F5F5; --surf: #FFFFFF; --raised: #EBEBEB; --bd: #C2C2C2; --bdV: #8A8A8A;
  --dis: #575757; --sec: #2B2B2B; --pri: #000000; --disp: #000000;
  --red: #C8141B; --score: #855500; --dot: #E9E9E9;
  --bezel: #000000;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: var(--head); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-width: 0; overflow-x: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.5px);
  background-size: 16px 16px;
  color: var(--pri); font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.bi { width: 1em; height: 1em; fill: currentColor; flex: none; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Which screenshot shows: the app's own light or dark screens. */
.th-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .th-dark { display: none; }
  :root:not([data-theme="dark"]) .th-light { display: block; }
}
:root[data-theme="light"] .th-dark { display: none; }
:root[data-theme="light"] .th-light { display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }

/* ── Type ─────────────────────────────────────────────────────────── */
.hero-h { font-family: var(--f-dot); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; color: var(--disp); text-wrap: balance; overflow-wrap: anywhere; }
.label { font-family: var(--f-mono); font-size: 12px; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; color: var(--sec); font-weight: 400; }
.label.red { color: var(--red); }
.label.dis { color: var(--dis); }
.gold { color: var(--score); }
.mono { font-family: var(--f-mono); }
.lead { font-size: 19px; line-height: 1.55; color: var(--sec); max-width: 34em; }
.body { color: var(--sec); max-width: 34em; }
.body b, .lead b { color: var(--pri); font-weight: 500; }

/* ── Header: top bar + jump navigation, sticky, solid ─────────────── */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--bd); }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--disp); min-width: 0; }
.brand img { width: 36px; height: 36px; border-radius: 22%; }
.brand span { font-family: var(--f-mono); font-weight: 700; font-size: 16px; letter-spacing: .14em; }
.top__right { display: flex; align-items: center; gap: 10px; }
.jump { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 0 10px; margin-inline: -4px; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--sec); height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; white-space: nowrap; }
@media (hover: hover) { .jump a:not(.on):hover { color: var(--pri); background: var(--surf); } }
.jump a.on { background: var(--disp); color: var(--bg); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.pill { height: 52px; border-radius: 999px; border: 1px solid var(--bdV); background: transparent; color: var(--pri); font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.pill:hover { border-color: var(--pri); }
.pill.primary { background: var(--disp); border-color: var(--disp); color: var(--bg); }
.pill.primary:hover { background: var(--pri); }
.pill.small { height: 40px; padding: 0 16px; font-size: 12px; gap: 8px; }
.pill .bi { width: 14px; height: 14px; }
.pill.soon { cursor: default; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bdV); background: transparent; color: var(--pri); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.round:hover { border-color: var(--pri); }
.round .bi { width: 16px; height: 16px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ── Device frames ───────────────────────────────────────────────── */
.phone { width: 260px; flex: none; border-radius: 46px; padding: 9px; background: var(--bezel); }
.phone .scr { aspect-ratio: 393 / 852; border-radius: 38px; overflow: hidden; background: var(--bg); }
.phone .scr img { width: 100%; height: auto; aspect-ratio: 590 / 1279; }
.tv { width: 100%; }
.tv .panel { border: 10px solid var(--bezel); border-radius: 12px; overflow: hidden; background: #000; }
.tv .panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.tv .neck { width: 18%; height: 10px; margin: 0 auto; background: var(--bezel); }
.tv .foot { width: 34%; height: 6px; margin: 0 auto; background: var(--bezel); border-radius: 3px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding-block: 64px 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.price-note { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sec); }
.hero__media { position: relative; padding-bottom: 44%; min-width: 0; }
.hero__media .tv { width: 76%; }
.hero__media .phone { position: absolute; right: 0; bottom: 0; width: 27%; border-radius: 15% / 7%; padding: 2.6%; }
.hero__media .phone .scr { border-radius: 12% / 5.6%; }

/* Facts strip under the hero */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.facts > div { padding: 22px 20px; display: flex; gap: 12px; align-items: flex-start; border-left: 1px solid var(--bd); background: var(--bg); }
.facts > div:first-child { border-left: none; }
.facts .bi { width: 18px; height: 18px; margin-top: 2px; color: var(--disp); }
.facts span { font-size: 15px; line-height: 1.4; color: var(--pri); }

/* ── Sections ─────────────────────────────────────────────────────── */
.sec { padding-block: 88px; border-top: 1px solid var(--bd); }
.sec:first-of-type { border-top: none; }
/* A heading's line is the top line of the list under it: no double rule. */
.sec__head + .ticks, .doc h2 + .steps, .doc h2 + .faq, .doc h2 + .glance { border-top: none; margin-top: -4px; }
.sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--bd); }
.sec h2 { font-size: clamp(34px, 4.4vw, 56px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.row.flip > .copy { order: 2; }
.copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.media { display: flex; justify-content: center; align-items: flex-end; gap: 20px; min-width: 0; }
.media.pair { align-items: center; }
.media.pair .phone { width: 210px; border-radius: 40px; padding: 8px; }
.media.pair .phone .scr { border-radius: 33px; }
.media.pair .tv { flex: 1 1 auto; min-width: 0; }

/* Rows split by thin lines (the app's list look) */
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bd); }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--bd); font-size: 16px; line-height: 1.45; color: var(--pri); }
.ticks .bi { width: 16px; height: 16px; margin-top: 3px; color: var(--disp); }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--bd); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bd); font-size: 16px; line-height: 1.45; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 13px; color: var(--dis); padding-top: 2px; }
.steps b { font-weight: 500; }

/* Segmented control look, for the prize splits */
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--bdV); border-radius: 999px; width: max-content; max-width: 100%; }
.seg span { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; color: var(--pri); }
.seg span.on { background: var(--disp); color: var(--bg); }

/* Two formats, side by side */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.fmt { background: var(--surf); border: 1px solid var(--bd); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.fmt__top { display: flex; align-items: center; gap: 14px; }
.ibox { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bdV); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--disp); }
.ibox .bi { width: 18px; height: 18px; }
.fmt h3 { font-family: var(--f-mono); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.fmt p { color: var(--sec); font-size: 16px; }
.wide-tv { max-width: 980px; margin: 0 auto; }
.caption { text-align: center; margin-top: 18px; }

/* Price */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.price__big { font-family: var(--f-mono); font-weight: 700; font-size: clamp(72px, 10vw, 128px); line-height: 1; color: var(--score); letter-spacing: -0.04em; }
.bar { display: flex; gap: 4px; }
.bar i { width: 28px; height: 6px; background: var(--disp); }

/* FAQ: question, gap, answer, all even (design rule) */
.faq { border-top: 1px solid var(--bd); }
.faq details { border-bottom: 1px solid var(--bd); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 500; color: var(--pri); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .bi { width: 16px; height: 16px; color: var(--sec); transition: transform .2s; }
.faq details[open] summary .bi { transform: rotate(180deg); }
.faq .ans { padding: 0 0 20px; color: var(--sec); max-width: 46em; }
.faq .ans p + p { margin-top: 12px; }
.faq .ans b { color: var(--pri); font-weight: 500; }
.faq a, .doc a { color: var(--pri); text-underline-offset: 3px; }

/* Final call */
.final { padding-block: 104px; border-top: 1px solid var(--bd); text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final h2 { font-size: clamp(38px, 5.4vw, 68px); max-width: 12em; }

/* ── Document pages (support, privacy) ───────────────────────────── */
.doc-hero { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 18px; }
.doc-hero h1 { font-size: clamp(44px, 6vw, 76px); }
.doc { padding-bottom: 80px; display: flex; flex-direction: column; gap: 64px; max-width: 860px; }
.doc section { display: flex; flex-direction: column; gap: 18px; }
.doc h2 { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-weight: 400; display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--bd); }
.doc h2 span { color: var(--dis); }
.doc h3 { font-size: 20px; font-weight: 500; }
.doc p, .doc li { color: var(--sec); }
.doc p b, .doc li b { color: var(--pri); font-weight: 500; }
.doc ul.plain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.box { background: var(--surf); border: 1px solid var(--bd); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.box > :last-child { margin-bottom: 0; }
.glance { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bd); }
.glance li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bd); align-items: start; }
.glance .ibox { width: 36px; height: 36px; }
.glance .ibox .bi { width: 16px; height: 16px; }
.glance li > div { padding-top: 6px; }
.mail { font-family: var(--f-mono); font-size: clamp(15px, 2.6vw, 20px); color: var(--pri); text-decoration: none; overflow-wrap: anywhere; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid, .row, .price { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .row.flip > .copy { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: none; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--bd); }
}
@media (max-width: 640px) {
  :root { --head: 104px; }
  body { font-size: 16px; }
  .hero { padding-block: 40px 56px; }
  .lead { font-size: 17px; }
  .sec { padding-block: 64px; }
  .formats { grid-template-columns: minmax(0, 1fr); }
  .fmt { padding: 22px; }
  .hero__media { padding-bottom: 50%; }
  .hero__media .tv { width: 74%; }
  .hero__media .phone { width: 30%; }
  .media.pair { gap: 12px; }
  .media.pair .phone { width: 150px; border-radius: 30px; padding: 6px; }
  .media.pair .phone .scr { border-radius: 25px; }
  .media .phone { width: 230px; }
  .facts > div { padding: 18px 14px; }
  .top__bar .pill.small { padding: 0 12px; }
  .top__bar .pill .hide-s { display: none; }
  .box { padding: 20px; }
}
@media (max-width: 420px) {
  .media.pair { flex-direction: column; align-items: center; }
  .media.pair .phone { width: 200px; border-radius: 38px; padding: 7px; }
  .media.pair .phone .scr { border-radius: 31px; }
  .media.pair .tv { width: 100%; }
}
@media print { .top, .sitefoot { display: none; } }
