/* PadelWin website. "Scoreboard" design: the watch's yellow/blue split, court lines and big numerals.
   Dark night-court theme by default, light theme for devices set to light mode. */
:root {
  --blue: #2161CC;
  --blue-2: #3B7BE6;
  --yellow: #DBED3D;
  --navy: #0E1E3D;
  --night: #070E1F;
  --panel: #111F42;

  --bg: var(--night);
  --surface: var(--panel);
  --surface-2: #0B1530;
  --line: rgba(166, 178, 204, .18);
  --court: rgba(242, 245, 251, .09);
  --text: #F2F5FB;
  --muted: #A6B2CC;
  --hi: var(--yellow);          /* highlight colour; yellow only ever sits on dark */
  --hi-ink: #070E1F;
  --link: #A9C6FA;
  --you-text: #7EA8F2;
  --them-text: var(--yellow);

  --r: 24px;
  --max: 1160px;
  --pad: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
/* Light theme: follows the device unless the visitor picked Light or Dark in the footer (html[data-theme]). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F3F5FA;
    --surface: #FFFFFF;
    --surface-2: #E8EDF7;
    --line: rgba(14, 30, 61, .13);
    --court: rgba(14, 30, 61, .07);
    --text: #0E1E3D;
    --muted: #4A5878;
    --hi: var(--blue);
    --hi-ink: #FFFFFF;
    --link: #1A52B0;
    --you-text: var(--blue);
    --them-text: #5E6B00;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F3F5FA;
  --surface: #FFFFFF;
  --surface-2: #E8EDF7;
  --line: rgba(14, 30, 61, .13);
  --court: rgba(14, 30, 61, .07);
  --text: #0E1E3D;
  --muted: #4A5878;
  --hi: var(--blue);
  --hi-ink: #FFFFFF;
  --link: #1A52B0;
  --you-text: var(--blue);
  --them-text: #5E6B00;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) :focus-visible { outline-color: var(--blue); } }
:root[data-theme="light"] :focus-visible { outline-color: var(--blue); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 99; padding: 10px 14px; border-radius: 10px; background: var(--yellow); color: #070E1F; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 88px); letter-spacing: -.05em; line-height: .95; }
h2 { font-size: clamp(34px, 5.6vw, 64px); letter-spacing: -.045em; }
h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 2.3vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.you { color: var(--you-text); }
.them { color: var(--them-text); }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(72px, 11vw, 136px) 0; position: relative; }
.section + .section { padding-top: 0; }

/* Score tag: each main section is labelled like a point in a game (15, 30, 40, Game) */
.tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tag b { display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 9px; border-radius: 8px; background: var(--hi); color: var(--hi-ink); font-size: 15px; letter-spacing: -.01em; }
.head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.wordmark { font: 800 22px/1 var(--display); letter-spacing: -.04em; color: #fff; }
.wordmark b { color: var(--yellow); font-weight: 800; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .wordmark { color: var(--navy); } :root:not([data-theme="dark"]) .wordmark b { color: var(--blue); } }
:root[data-theme="light"] .wordmark { color: var(--navy); } :root[data-theme="light"] .wordmark b { color: var(--blue); }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.menu a:hover, .menu a[aria-current] { color: var(--text); }
.menu-links { display: flex; align-items: center; gap: 26px; }
.burger { display: none; }

/* Phones and small tablets: links fold into a panel that drops down under the header */
@media (max-width: 980px) {
  .menu { gap: 10px; }
  .burger { display: inline-grid; place-content: center; gap: 4px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); cursor: pointer; }
  .burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .top.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .top.open .burger span:nth-child(2) { opacity: 0; }
  .top.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 64px - env(safe-area-inset-top)); max-height: calc(100dvh - 64px - env(safe-area-inset-top)); overflow-y: auto; padding: 6px var(--pad) calc(18px + env(safe-area-inset-bottom)); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
  .top.open .menu-links { display: flex; }
  .menu .menu-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--text); font: 800 21px/1.2 var(--display); letter-spacing: -.02em; }
  .menu .menu-links a::after { content: "›"; color: var(--muted); font-size: 24px; font-weight: 700; }
  .menu .menu-links a:last-child { border-bottom: 0; }
  .menu .menu-links a[aria-current] { color: var(--hi); }
}

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--hi); color: var(--hi-ink) !important; font: 800 15px/1 var(--display); letter-spacing: -.01em; text-decoration: none; border: 0; cursor: pointer; }
.pill:hover { filter: brightness(1.07); }
.pill.ghost { background: transparent; color: var(--text) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.store { display: inline-block; line-height: 0; border-radius: 11px; }
.store img { height: 56px; width: auto; }
.store .on-light { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .store .on-dark { display: none; } :root:not([data-theme="dark"]) .store .on-light { display: block; } }
:root[data-theme="light"] .store .on-dark { display: none; } :root[data-theme="light"] .store .on-light { display: block; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.fine { font-size: 15px; color: var(--muted); }
.fine strong { color: var(--text); }

/* Hero: night court with floodlights and court lines */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 10vw, 120px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(38% 46% at 12% 0%, rgba(219, 237, 61, .13), transparent 70%),
  radial-gradient(42% 52% at 92% 6%, rgba(59, 123, 230, .34), transparent 72%); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .hero::before { opacity: .5; } }
:root[data-theme="light"] .hero::before { opacity: .5; }
.hero .court-lines { position: absolute; z-index: -1; left: 50%; bottom: -2px; width: max(1400px, 120vw); transform: translateX(-50%); color: var(--court); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 .w { color: var(--hi); }
.hero .lead { margin: 22px 0 30px; }
.free-flag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 700 14px/1 var(--display); }
.free-flag span { padding: 5px 9px; border-radius: 999px; background: var(--yellow); color: #070E1F; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Interactive watch demo */
.demo { display: grid; justify-items: center; gap: 18px; }
.demo-watch { position: relative; width: min(300px, 78vw); }
.demo-watch .bezel { aspect-ratio: 41 / 50; padding: 14px; border-radius: 64px; background: linear-gradient(150deg, #FAFBFF 0%, #DCE2EE 55%, #B9C3D8 100%); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 -4px 8px rgba(0, 0, 0, .14), inset 0 2px 2px rgba(255, 255, 255, .9); }
.demo-watch .crown { position: absolute; right: -9px; top: 24%; width: 12px; height: 46px; border-radius: 6px; background: linear-gradient(90deg, #B9C3D8, #EEF1F8); }
.demo-watch .button { position: absolute; right: -5px; top: 45%; width: 7px; height: 56px; border-radius: 4px; background: #C9D1E2; }
.screen { height: 100%; display: grid; grid-template-rows: 1fr 1fr; border-radius: 50px; overflow: hidden; background: #000; }
.side { position: relative; display: grid; place-items: center; align-content: center; gap: 2px; border: 0; padding: 0; cursor: pointer; font-family: var(--display); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.side.them { background: var(--yellow); color: #0E1E3D; }
.side.you { background: var(--blue); color: #fff; }
.side:active { filter: brightness(.93); }
.side:focus-visible { outline: 4px solid #fff; outline-offset: -8px; border-radius: 40px; }
.side .who { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.side .pts { font-size: clamp(56px, 17vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.side .gms { position: absolute; left: 22px; font-size: 15px; font-weight: 800; opacity: .72; font-variant-numeric: tabular-nums; }
.side.them .gms { bottom: 14px; }
.side.you .gms { top: 14px; }
.side .srv { position: absolute; right: 20px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.side.them .srv { bottom: 12px; background: #0E1E3D; color: var(--yellow); }
.side.you .srv { top: 12px; background: #fff; color: var(--blue); }
.srv[hidden] { display: none; }
.side .pts.bump { animation: bump .32s ease-out; }
@keyframes bump { 40% { transform: scale(1.16); } 100% { transform: scale(1); } }
.winner { position: absolute; inset: 14px; border-radius: 50px; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; background: rgba(7, 14, 31, .92); color: #fff; font-family: var(--display); }
.winner[hidden] { display: none; }
.winner strong { font-size: 30px; letter-spacing: -.03em; }
.winner span { color: #A6B2CC; font-size: 15px; }
.demo-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 13px/1 var(--display); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.demo-hint { margin: 0; font-size: 14px; color: var(--muted); text-align: center; min-height: 1.6em; }

/* Problem: three "line calls" */
.calls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.call { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.call .q { padding: 26px 26px 22px; background: var(--surface-2); }
.call .q p { margin: 0; color: var(--muted); }
.call .q h3 { font-size: 20px; }
.call .a { padding: 22px 26px 26px; border-top: 3px solid var(--blue); }
.call .a h3 { font-size: 20px; color: var(--you-text); }
.call .a p { margin: 0; }
@media (max-width: 900px) { .calls { grid-template-columns: 1fr; } }

/* How it works: three big numbered strokes */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.how li { list-style: none; padding: 30px 28px 6px 0; }
.how li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.how .n { display: block; font: 800 clamp(64px, 9vw, 112px)/.9 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--muted); margin-bottom: 18px; }
.how li:nth-child(2) .n { -webkit-text-stroke-color: var(--hi); }
.how ol { margin: 0; padding: 0; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } .how li, .how li + li { padding: 26px 0 8px; border-left: 0; border-top: 1px solid var(--line); } .how li:first-child { border-top: 0; } }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; grid-column: span 2; padding: 28px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile p { color: var(--muted); margin: 0; }
.tile p + p { margin-top: .8em; }
.tile.blue { background: var(--blue); box-shadow: none; color: #fff; }
.tile.blue p { color: #DCE7FB; }
.tile.yellow { background: var(--yellow); box-shadow: none; color: #0E1E3D; }
.tile.yellow p { color: #2E3B14; }
.tile .visual { margin-top: 22px; }
.rules { display: flex; flex-wrap: wrap; gap: 8px; }
.rules span { padding: 9px 14px; border-radius: 999px; font: 700 14px/1 var(--display); background: rgba(255, 255, 255, .14); }
.rules span.on { background: #fff; color: var(--blue); }
.rules span.star { background: var(--yellow); color: #0E1E3D; }
.glyphs { display: flex; gap: 10px; }
.glyphs span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 800 26px/1 var(--display); background: #0E1E3D; color: var(--yellow); }
.glyphs span:first-child { background: #fff; color: #0E1E3D; }
.big { font: 800 clamp(44px, 6vw, 64px)/1 var(--display); letter-spacing: -.05em; }
.tile .corner { position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(33, 97, 204, .18); color: var(--you-text); }
.tile .corner svg { width: 24px; height: 24px; }
.tile:has(.corner) h3 { padding-right: 56px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.langs span { padding: 5px 9px; border-radius: 8px; background: var(--surface-2); font: 700 13px/1 var(--display); letter-spacing: .04em; }
.pro-mark { display: inline-block; margin-left: 8px; padding: 4px 8px 3px; border-radius: 6px; background: var(--hi); color: var(--hi-ink); font: 800 11px/1 var(--display); letter-spacing: .08em; vertical-align: 4px; text-transform: uppercase; }
.tile.blue .pro-mark { background: var(--yellow); color: #0E1E3D; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.half { grid-column: span 1; } .tile.wide { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide, .tile.half { grid-column: auto; } }

/* Stats board */
.board { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.board > * { min-width: 0; }
.scorecard { position: sticky; top: 96px; padding: 26px; border-radius: 30px; background: linear-gradient(165deg, #142A5C, #0B1734); color: #F2F5FB; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.scorecard .cap { display: flex; justify-content: space-between; font-size: 13px; color: #A6B2CC; margin-bottom: 18px; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; margin-bottom: 20px; }
.vs div { font: 800 15px/1.2 var(--display); }
.vs div:last-child { text-align: right; }
.vs div:last-child strong { justify-content: flex-end; }
.vs strong { display: flex; gap: 14px; font-size: 46px; letter-spacing: -.05em; line-height: 1; }
.vs .y strong { color: #7EA8F2; }
.vs .t strong { color: var(--yellow); }
.vs small { font: 700 13px/1 var(--display); color: #A6B2CC; padding-bottom: 8px; }
.bar { margin: 14px 0 0; }
.bar .lbl { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.bar .lbl span:first-child { color: #C9D3E8; }
.bar .lbl b { font-family: var(--display); }
.bar .track { height: 10px; border-radius: 6px; background: var(--yellow); overflow: hidden; }
.bar .fill { height: 100%; background: var(--blue-2); border-radius: 6px 0 0 6px; }
.scorecard .note { margin: 18px 0 0; font-size: 12px; color: #8592AE; }
.defs { margin: 0; display: grid; }
.defs div { display: grid; grid-template-columns: 210px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.defs div:first-child { border-top: 1px solid var(--line); }
.defs dt { font: 800 17px/1.35 var(--display); letter-spacing: -.015em; }
.defs dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } .scorecard { position: static; } }
@media (max-width: 560px) { .defs div { grid-template-columns: 1fr; gap: 4px; } }

/* Privacy band */
.band { border-radius: 32px; padding: clamp(30px, 6vw, 72px); background: var(--navy); color: #F2F5FB; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(219, 237, 61, .25); box-shadow: 0 0 0 40px rgba(219, 237, 61, .05); pointer-events: none; }
.band .lead { color: #C3CDE2; }
.band a { color: var(--yellow); }
.band .tag { color: #A6B2CC; }
.band .tag b { background: var(--yellow); color: #070E1F; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font: 700 18px/1.35 var(--display); letter-spacing: -.015em; }
.checks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1E3D' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 4vw, 36px); border-radius: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 30px; margin-bottom: 6px; }
.plan .sub { color: var(--muted); margin-bottom: 22px; }
.plan .price { font: 800 56px/1 var(--display); letter-spacing: -.05em; margin-bottom: 6px; }
.plan ul.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232161CC' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan .pill { margin-top: auto; align-self: flex-start; }
.plan.pro { background: var(--blue); box-shadow: none; color: #fff; position: relative; overflow: hidden; }
.plan.pro .sub { color: #DCE7FB; }
.plan.pro .ticks li::before { background-color: #fff; }
.plan.pro .ticks strong { color: #fff; }
.plan.pro .pill { background: var(--yellow); color: #070E1F !important; }
.options { display: grid; gap: 10px; margin: 0 0 26px; }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(7, 14, 31, .22); }
.opt.best { background: #fff; color: #0E1E3D; box-shadow: 0 0 0 3px var(--yellow); }
.opt .nm { font: 800 18px/1.2 var(--display); letter-spacing: -.02em; }
.opt .pr { font: 800 24px/1 var(--display); letter-spacing: -.03em; grid-row: span 2; text-align: right; }
.opt .pr small { display: block; margin-top: 4px; font: 600 12px/1 var(--body); letter-spacing: 0; opacity: .75; }
.opt .ds { font-size: 14px; opacity: .8; }
.opt .badge { display: inline-block; margin-left: 6px; padding: 4px 8px 3px; border-radius: 6px; background: var(--yellow); color: #0E1E3D; font: 800 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.compare { width: 100%; margin-top: 40px; border-collapse: collapse; font-size: 16px; }
.compare caption { text-align: left; font: 800 22px/1.2 var(--display); letter-spacing: -.025em; margin-bottom: 12px; }
.compare th, .compare td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; }
.compare thead th { font: 800 15px/1 var(--display); color: var(--muted); }
.compare thead th:last-child { color: var(--you-text); }
.compare td { color: var(--muted); }
.compare td:first-child { color: var(--text); }
.compare .yes { color: var(--you-text); font-weight: 800; }
@media (max-width: 520px) { .compare { font-size: 15px; } .compare th, .compare td { padding: 12px 6px; } }
.price-notes { margin: 22px 0 0; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 22px 52px 22px 0; font: 700 19px/1.35 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237EA8F2' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 44em; }
.faq summary h4 { margin: 0; font: inherit; letter-spacing: inherit; }
.faq-group { margin: 44px 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 800 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--hi); }
.faq-group:first-child { margin-top: 0; }
.faq details:target summary, .faq details[open] summary { color: var(--text); }
.faq .ans a { white-space: nowrap; }
.faq-more { margin: 28px auto 0; max-width: 860px; color: var(--muted); text-align: center; }
.faq .ans p:last-child { margin: 0; }

/* Final call to action: the split screen, full width */
.final { display: grid; grid-template-rows: auto auto; border-radius: 36px; overflow: hidden; text-align: center; }
.final .t { background: var(--yellow); color: #0E1E3D; padding: clamp(36px, 6vw, 64px) 20px clamp(20px, 3vw, 30px); }
.final .y { background: var(--blue); color: #fff; padding: clamp(28px, 4vw, 40px) 20px clamp(36px, 6vw, 64px); }
.final h2 { margin: 0 auto; max-width: 14em; }
.final .y p { color: #DCE7FB; max-width: 30em; margin: 0 auto 26px; }
.final .actions { justify-content: center; }
.final .fine { color: #DCE7FB; }
.final .fine strong { color: #fff; }
.final .who { display: block; margin-bottom: 10px; font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* Footer */
.foot { padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot nav a { color: var(--text); font-weight: 600; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot small { grid-column: 1 / -1; font-size: 13px; line-height: 1.55; }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }

/* Long-form pages */
.doc + .foot, main:has(.doc) + .foot { margin-top: clamp(56px, 8vw, 96px); }
.page-head { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 90% 0%, rgba(59, 123, 230, .28), transparent 70%); }
.page-head h1 { font-size: clamp(42px, 7vw, 76px); }
.page-head .lead { margin: 0; }
.doc { padding: clamp(32px, 5vw, 56px) 0 0; }
.doc .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.doc article { max-width: 720px; min-width: 0; }
.doc h2 { font-size: clamp(26px, 3.6vw, 34px); margin-top: 1.7em; letter-spacing: -.035em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 1.4em; font-size: 20px; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li { margin: .4em 0; }
.toc { position: sticky; top: 96px; font-size: 15px; }
.toc strong { display: block; margin-bottom: 10px; font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); border-left-color: var(--hi); }
@media (max-width: 860px) {
  .doc .wrap { grid-template-columns: 1fr; }
  .toc { position: static; padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .toc ol { border-left: 0; }
  .toc a { padding: 5px 0; margin: 0; border: 0; }
}
.callout { margin: 1.6em 0; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-left: 5px solid var(--hi); }
.callout p:last-child { margin-bottom: 0; }
.meta { margin-top: 16px; font-size: 15px; color: var(--muted); }
.ph { padding: 0 5px; border-radius: 5px; background: rgba(219, 237, 61, .18); color: var(--text); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .ph { background: rgba(33, 97, 204, .13); } }
:root[data-theme="light"] .ph { background: rgba(33, 97, 204, .13); }
.tbl { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; }
.tbl th, .tbl td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font-family: var(--display); }
.tbl td:last-child { font: 800 18px/1 var(--display); }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin: .8em 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--hi); color: var(--hi-ink); font: 800 15px/1 var(--display); }

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

/* Blog: list of posts and single post */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: clamp(36px, 5vw, 56px) 0 0; }
.posts.two { grid-template-columns: repeat(2, 1fr); padding-top: 0; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts, .posts.two { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card:hover h2, .card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card .body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.card h2, .card h3 { margin: 0; font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .meta { margin: auto 0 0; padding-top: 6px; font-size: 14px; }
.card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.card.featured h2 { font-size: clamp(26px, 3.4vw, 38px); }
.card.featured .body { justify-content: center; padding: clamp(24px, 4vw, 44px); }
@media (max-width: 760px) { .card.featured { grid-template-columns: 1fr; } }

/* Cover: drawn in CSS like the watch screen, no photos needed */
.cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; font: 800 clamp(44px, 7vw, 72px)/1 var(--display); letter-spacing: -.05em; }
.card.featured .cover { aspect-ratio: auto; min-height: 260px; }
.cover.blue { background: var(--blue); color: #fff; }
.cover.yellow { background: var(--yellow); color: #0E1E3D; }
.cover.navy { background: var(--navy); color: var(--yellow); }
.cover.split { grid-template-rows: 1fr 1fr; place-items: stretch; }
.cover.split span { display: grid; place-items: center; }
.cover.split span:first-child { background: var(--yellow); color: #0E1E3D; }
.cover.split span:last-child { background: var(--blue); color: #fff; }
.cover small { position: absolute; left: 18px; top: 16px; font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.cover .lines { position: absolute; inset: 0; width: 100%; height: 100%; color: currentColor; opacity: .16; }
.kicker { font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--hi); }

.post { padding-top: clamp(32px, 5vw, 56px); }
.post .wrap { max-width: calc(740px + 2 * var(--pad)); }
.post article { font-size: 18px; line-height: 1.7; }
.post article h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 1.7em 0 .5em; letter-spacing: -.035em; }
.post article h3 { margin: 1.4em 0 .4em; font-size: 21px; }
.post article ul, .post article ol { padding-left: 1.25em; }
.post article li { margin: .4em 0; }
.post .cover { border-radius: var(--r); margin-bottom: clamp(28px, 4vw, 40px); aspect-ratio: 3 / 1; font-size: clamp(36px, 6vw, 56px); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.byline span + span::before { content: "·"; margin-right: 14px; }
.tldr { margin: 0 0 1.6em; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tldr strong:first-child { display: block; margin-bottom: 6px; font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--hi); }
.tldr p { margin: 0; }
.related { margin-top: clamp(56px, 8vw, 88px); padding-top: 32px; border-top: 1px solid var(--line); }
.related h2 { font-size: 26px; margin-bottom: 20px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }
main:has(.post) + .foot, main:has(.posts) + .foot { margin-top: clamp(56px, 8vw, 96px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

/* Appearance switch in the footer */
.theme { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; grid-column: 1 / -1; }
.theme[hidden] { display: none; }
.theme > span { font-size: 14px; color: var(--muted); }
.theme .seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; }
.theme .seg svg { width: 16px; height: 16px; flex: none; }
