/* WatchStats site. Mobile first; the brand is the App Store screenshots':
   cream paper, court-green ink, a gold kicker and the app's yellow score flash. */

:root {
  color-scheme: light;
  --paper: #F7F5EE;
  --paper-2: #F1EFE4;
  --mint: #E3ECE3;
  --ink: #1E2B23;
  --ink-soft: #5F6F64;
  --line: rgba(16, 67, 47, .12);
  --green: #10432F;
  --green-deep: #0B3323;
  --accent: #1D7A4C;
  --gold: #A9852F;
  --flash: #F2D33B;
  --ball: #D6E46F;
  --card: #FFFFFF;
  --radius: 22px;
  --shadow: 0 18px 44px rgba(16, 67, 47, .14), 0 3px 10px rgba(16, 67, 47, .06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --gutter: 20px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 400 17px/1.55 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Court paper: the screenshots' faint grid. */
.paper {
  background:
    linear-gradient(rgba(16, 67, 47, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(16, 67, 47, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 55%, var(--mint) 100%);
}

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 238, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-head.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16, 67, 47, .06); }
/* scroll progress (site.js sets --p) */
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%;
  transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), var(--ball)); }
.site-head .wrap { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.brand span { font: 600 21px/1 var(--serif); letter-spacing: -.01em; }
.nav { margin-left: auto; display: none; gap: 24px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.head-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 999px;
  transition: transform .2s var(--ease), background .2s;
}
.head-cta:hover { color: #fff; background: var(--green-deep); transform: translateY(-1px); }
.head-cta svg { width: 16px; height: 16px; }
@media (min-width: 760px) { .nav { display: flex; } .head-cta { margin-left: 8px; } }

/* ---------------------------------------------------------------- type */
.kicker { font: 800 13px/1.2 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
h1 { font-size: clamp(42px, 11.5vw, 84px); line-height: .98; font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 7.4vw, 54px); line-height: 1.02; font-weight: 900; letter-spacing: -.03em; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.accent { color: var(--accent); }
h2 .accent { display: block; }
.lede { font-size: clamp(18px, 4.6vw, 21px); line-height: 1.5; color: var(--ink-soft); margin: 18px 0 0; max-width: 34em; }
.section { padding: 76px 0; }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

/* ---------------------------------------------------------------- buttons */
.store { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .2s var(--ease), box-shadow .2s; }
.store img { height: 54px; width: auto; }
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.price-note { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.price-note li { display: flex; align-items: center; gap: 6px; }
.price-note li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(29, 122, 76, .15); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.btn-ghost { font-weight: 700; color: var(--green); text-decoration: none; padding: 12px 4px; }
.btn-ghost:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero .wrap { display: grid; gap: 34px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 .accent { display: block; }
@media (min-width: 980px) {
  .hero { padding: 72px 0 0; }
  .hero .wrap { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 24px; }
}

/* The device stage: iPhone board + Apple Watch, joined by the sync badge. */
.stage { position: relative; height: 520px; margin: 0 auto; width: 100%; max-width: 520px; }
@media (min-width: 420px) { .stage { height: 600px; } }
@media (min-width: 980px) { .stage { height: 680px; max-width: none; } }

/* iPhone frame (same proportions as the screenshot composer). */
.iphone {
  --w: 250px;
  position: absolute; width: calc(var(--w) * 1.064); aspect-ratio: 266 / 559;
  border-radius: calc(var(--w) * .145);
  background: linear-gradient(135deg, #d8d9d4 0%, #8b8d89 22%, #e7e8e3 48%, #7e807c 76%, #c7c8c3 100%);
  padding: calc(var(--w) * .0102);
  box-shadow: 0 40px 80px rgba(16, 67, 47, .28), 0 10px 24px rgba(0, 0, 0, .2);
}
.iphone > .bezel { width: 100%; height: 100%; border-radius: calc(var(--w) * .135); background: #050505; padding: calc(var(--w) * .0136); }
.iphone .screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .125); overflow: hidden; background: #000; }
.iphone .screen img { width: 100%; height: 100%; object-fit: cover; }
.iphone .island { position: absolute; left: 50%; top: calc(var(--w) * .025); width: 30%; height: calc(var(--w) * .07); transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 2; }
.iphone.land { width: auto; aspect-ratio: 559 / 266; height: calc(var(--w) * 1.064); }

/* Apple Watch frame. */
.watch { --w: 150px; position: absolute; width: calc(var(--w) * 1.15); }
.watch .band { position: absolute; left: 19%; right: 19%; top: -28%; bottom: -28%; border-radius: calc(var(--w) * .2); background: linear-gradient(#2b2f2c, #151816); z-index: -1; }
.watch .case { position: relative; padding: calc(var(--w) * .075); border-radius: calc(var(--w) * .3); background: linear-gradient(145deg, #d1ccbe, #8f8a7d); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.watch .case::after { content: ""; position: absolute; right: calc(var(--w) * -.05); top: 30%; width: calc(var(--w) * .07); height: 17%; border-radius: 6px; background: var(--gold); }
.watch .screen { position: relative; border-radius: calc(var(--w) * .22); overflow: hidden; aspect-ratio: 422 / 514; background: #000; }
.watch .screen img { width: 100%; height: 100%; object-fit: cover; }

.stage .iphone { --w: 230px; right: 4%; top: 6%; }
.stage .watch { --w: 150px; left: 2%; top: 38%; z-index: 3; }
@media (min-width: 420px) { .stage .iphone { --w: 262px; } .stage .watch { --w: 172px; left: 0; } }
@media (min-width: 980px) { .stage .iphone { --w: 290px; right: 6%; top: 4%; } .stage .watch { --w: 190px; left: 1%; top: 36%; } }

.sync {
  position: absolute; z-index: 4; right: calc(var(--w) * -.26); top: 12%;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: var(--green); box-shadow: 0 0 0 5px rgba(255, 255, 255, .9), 0 14px 30px rgba(16, 67, 47, .35);
}
.sync svg { width: 30px; height: 30px; }
@media (min-width: 980px) { .sync { width: 72px; height: 72px; right: calc(var(--w) * -.27); top: 3%; } .sync svg { width: 36px; height: 36px; } }

/* Tap -> sync -> board: the one loop the hero is about. */
.tap {
  position: absolute; left: 50%; top: 74%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 3px solid rgba(255, 255, 255, .95); opacity: 0; pointer-events: none;
}
.glow { position: absolute; inset: 0 0 0 50%; background: var(--flash); mix-blend-mode: soft-light; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .stage.live .tap { animation: tap 3.6s var(--ease) infinite 1.2s; }
  .stage.live .sync { animation: pulse 3.6s var(--ease) infinite 1.2s; }
  .stage.live .glow { animation: glow 3.6s var(--ease) infinite 1.2s; }
  .stage .iphone, .stage .watch, .stage .sync { opacity: 0; }
  .stage.in .iphone { animation: rise .9s var(--ease) forwards .1s; }
  .stage.in .watch { animation: rise .9s var(--ease) forwards .3s; }
  .stage.in .sync { animation: pop .6s var(--ease) forwards .75s; }
  .stage.in.live .sync { animation: pop .6s var(--ease) forwards .75s, pulse 3.6s var(--ease) infinite 1.4s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 6% { opacity: 1; } 22% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
@keyframes pulse { 0%, 14% { transform: scale(1); } 22% { transform: scale(1.14); } 32%, 100% { transform: scale(1); } }
@keyframes glow { 0%, 24% { opacity: 0; } 30% { opacity: .85; } 50%, 100% { opacity: 0; } }

/* ---------------------------------------------------------------- proof strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .45); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.strip li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--green); }
.strip svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
@media (min-width: 760px) { .strip ul { grid-template-columns: repeat(4, 1fr); padding: 22px 0; } }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--card); border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff; font: 800 17px/1 var(--display); margin-bottom: 16px;
}
.step p { margin: 8px 0 0; color: var(--ink-soft); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- demo (score a rally) */
.demo { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.demo::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='330' height='220'><g fill='none' stroke='%23ffffff' stroke-width='5'><rect x='20' y='20' width='290' height='180' rx='6'/><line x1='165' y1='10' x2='165' y2='210'/><line x1='20' y1='110' x2='310' y2='110'/><line x1='115' y1='20' x2='115' y2='200'/><line x1='215' y1='20' x2='215' y2='200'/></g></svg>") 0 0 / 330px 220px;
}
.demo h2, .demo h3 { color: #fff; }
.demo .kicker { color: #E2C46E; }
.demo .lede { color: rgba(255, 255, 255, .78); }
.demo .wrap { position: relative; display: grid; gap: 36px; }
@media (min-width: 900px) { .demo .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }

.sim { display: grid; gap: 18px; justify-items: center; }
.modes { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); gap: 2px; }
.modes button {
  appearance: none; border: 0; background: transparent; color: rgba(255, 255, 255, .8);
  font: 700 14px/1 var(--font); padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.modes button[aria-pressed="true"] { background: #fff; color: var(--green-deep); }

/* The scoreboard: the watch's THEM-top / US-bottom split. */
.board {
  position: relative; width: min(100%, 330px); aspect-ratio: 422 / 514; border-radius: 64px;
  padding: 14px; background: linear-gradient(145deg, #d1ccbe, #8f8a7d); box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.board::after { content: ""; position: absolute; right: -10px; top: 30%; width: 14px; height: 17%; border-radius: 6px; background: var(--gold); }
.board-screen { position: relative; height: 100%; border-radius: 52px; overflow: hidden; background: #000; display: grid; grid-template-rows: 1fr 1fr; }
.half {
  appearance: none; border: 0; margin: 0; width: 100%; cursor: pointer; color: #fff; background: #000;
  display: grid; place-content: center; justify-items: center; gap: 2px; font-family: var(--display);
  transition: background-color .35s ease; position: relative; -webkit-tap-highlight-color: transparent;
}
.half + .half { border-top: 1px solid rgba(255, 255, 255, .35); }
.half .who { display: flex; align-items: center; gap: 6px; font: 800 15px/1 var(--font); letter-spacing: .02em; color: rgba(255, 255, 255, .6); }
.half .pts { font-size: 74px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; }
.half.serving { background: rgba(29, 122, 76, .55); }
.half.serving .who { color: #F5D90A; }
.half.serving .who::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff59a, #F5D90A 60%, #c9a900); }
.half.flash { background: var(--flash); color: #433000; }
.half.flash .who { color: #433000; }
.half:active { filter: brightness(1.15); }
.call {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none;
  font: 800 22px/1 var(--display); font-variant-numeric: tabular-nums; padding: 6px 16px; border-radius: 99px;
  background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
}
.banner {
  position: absolute; left: 50%; top: 50%; z-index: 3; pointer-events: none; white-space: nowrap;
  font: 900 20px/1 var(--display); letter-spacing: .02em; padding: 10px 18px; border-radius: 99px; color: #fff;
  background: #2F6FE4; box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .25s, transform .35s var(--ease);
}
.banner.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.banner.win { background: var(--accent); }
.sim-explain { min-height: 3.2em; margin: 0; max-width: 30em; text-align: center; color: rgba(255, 255, 255, .86); font-size: 16px; }
.sim-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sim-row button {
  appearance: none; cursor: pointer; font: 700 15px/1 var(--font); padding: 12px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
}
.sim-row button:hover { background: rgba(255, 255, 255, .1); }
.rules { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rules li { padding-left: 30px; position: relative; color: rgba(255, 255, 255, .86); }
.rules li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--ball); }
.rules b { color: #fff; }

/* ---------------------------------------------------------------- features */
.features { display: grid; gap: 18px; }
.feature {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
}
.feature .shot { background: linear-gradient(180deg, var(--mint), var(--paper-2)); display: grid; place-items: center; padding: 24px 0 0; overflow: hidden; height: 250px; }
.feature .shot .iphone { position: relative; --w: 168px; transform: translateY(14px); box-shadow: 0 20px 40px rgba(16, 67, 47, .22); }
.feature .shot .iphone.land { --w: 128px; transform: none; margin-bottom: 24px; }
.feature .shot .watch { position: relative; --w: 120px; margin-top: 40px; }
.feature .body { padding: 22px 22px 24px; }
.feature p { margin: 8px 0 0; color: var(--ink-soft); }
.feature ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-soft); }
.feature li { margin: 4px 0; }
@media (min-width: 680px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 22px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: center; }
.gallery img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; background: var(--paper-2); }
@media (min-width: 680px) { .gallery { grid-auto-columns: 38%; } }
@media (min-width: 1040px) { .gallery { grid-auto-columns: 23%; } }
.gallery-hint { text-align: center; color: var(--ink-soft); font-size: 14px; margin: 0; }
.gallery-nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.gallery-nav button {
  display: none; appearance: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--green); box-shadow: 0 6px 16px rgba(16, 67, 47, .1);
  place-items: center; transition: transform .2s var(--ease), background .2s;
}
.gallery-nav button svg { width: 20px; height: 20px; }
.gallery-nav button:hover { transform: translateY(-1px); background: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .gallery-nav button { display: grid; }
  .gallery-hint { display: none; }
}

/* ---------------------------------------------------------------- pricing / promise */
.promise { display: grid; gap: 22px; align-items: center; background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: 30px 22px; }
.promise .big { margin: 0; font: 900 clamp(56px, 16vw, 96px)/1 var(--display); letter-spacing: -.04em; color: var(--green); }
.promise .big small { font-size: .32em; letter-spacing: 0; font-weight: 800; color: var(--ink-soft); margin-left: 6px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
@media (min-width: 860px) { .promise { grid-template-columns: auto 1fr auto; padding: 40px 44px; gap: 44px; } }

/* ---------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: 12px; }
.qa { background: var(--card); border-radius: 18px; box-shadow: 0 6px 18px rgba(16, 67, 47, .07); border: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font: 700 17px/1.35 var(--font); color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s;
}
.qa[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.qa .a { padding: 0 20px 20px; color: var(--ink-soft); }
.qa .a p { margin: 0 0 10px; }
.qa .a p:last-child { margin-bottom: 0; }
.qa .a ul, .qa .a ol { margin: 0 0 10px; padding-left: 20px; }
.qa .a b { color: var(--ink); }
.faq-more { margin-top: 26px; text-align: center; }

.faq-page .hero-faq { padding: 44px 0 30px; }
.faq-tools { display: grid; gap: 14px; margin-top: 26px; }
.search { position: relative; }
.search input {
  width: 100%; font: 500 17px/1 var(--font); padding: 16px 18px 16px 48px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(16, 67, 47, .06);
}
.search input:focus { outline: 3px solid rgba(29, 122, 76, .35); outline-offset: 0; border-color: var(--accent); }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-soft); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--green); background: rgba(29, 122, 76, .09); padding: 9px 14px; border-radius: 999px; }
.chips a:hover { background: rgba(29, 122, 76, .16); }
.faq-group { padding: 34px 0 6px; }
.faq-group h2 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 18px; }
.faq-empty { display: none; text-align: center; color: var(--ink-soft); padding: 30px 0; }
.qa mark { background: rgba(242, 211, 59, .55); color: inherit; border-radius: 3px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }

/* ---------------------------------------------------------------- final CTA + footer */
.final { text-align: center; }
.final .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 16px 34px rgba(16, 67, 47, .25); }
.final .cta-row { justify-content: center; }
.site-foot { background: var(--green-deep); color: rgba(255, 255, 255, .78); padding: 44px 0 34px; font-size: 15px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 26px; }
.foot-grid h4 { margin: 0 0 10px; color: #E2C46E; font: 800 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand span { font: 600 22px/1 var(--serif); color: #fff; }
.fine { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Mobile sticky buy bar: appears once the hero badge scrolls away. */
.buybar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: rgba(11, 51, 35, .94); color: #fff; box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.buybar.show { transform: none; }
.buybar img.ic { width: 40px; height: 40px; border-radius: 10px; }
.buybar .t { line-height: 1.2; font-size: 14px; }
.buybar .t b { display: block; font-size: 15px; }
.buybar .store { margin-left: auto; }
.buybar .store img { height: 40px; }
@media (min-width: 980px) { .buybar { display: none; } }

/* ---------------------------------------------------------------- reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal, .js .rv { --dl: calc(var(--i, 0) * 75ms); opacity: 0; translate: 0 30px;
    transition: opacity .85s var(--out) var(--dl), translate .85s var(--out) var(--dl), scale .85s var(--out) var(--dl),
      transform .4s var(--spring), box-shadow .4s var(--out), border-color .3s, background-color .3s; }
  .js .reveal.d1 { --dl: .08s; } .js .reveal.d2 { --dl: .16s; }
  .js .gallery .rv { translate: 44px 0; }
  .js .reveal.seen, .js .rv.in { opacity: 1; translate: none; scale: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .rv { opacity: 0; transition: opacity .7s ease calc(var(--i, 0) * 50ms); }
  .js .reveal.seen, .js .rv.in { opacity: 1; }
  .js .stage .iphone, .js .stage .watch, .js .stage .sync { opacity: 0; }
  .stage.in .iphone, .stage.in .watch, .stage.in .sync { animation: ws-fade .9s ease forwards; }
  .stage.in .watch { animation-delay: .2s; } .stage.in .sync { animation-delay: .4s; }
}
.no-anim .stage .iphone, .no-anim .stage .watch, .no-anim .stage .sync { opacity: 1 !important; animation: none !important; }
.no-anim .reveal, .no-anim .rv { opacity: 1 !important; translate: none !important; scale: none !important; transition: none !important; }
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; }

/* "Your way": the both-together card stacks the watch over the phone. */
.feature .shot.pair { position: relative; }
.feature .shot.pair .iphone { transform: translate(28px, 14px); }
.feature .shot.pair .watch { position: absolute; left: calc(50% - 118px); top: 64px; margin: 0; --w: 96px; z-index: 2; }
@media (min-width: 1040px) { .ways { grid-template-columns: repeat(3, 1fr); } }

/* Broadcast card: the web board on a big screen, the iPhone's share screen in front. */
.feature .shot.broadcast { position: relative; display: block; padding: 0; }
.shot.broadcast .tv {
  position: absolute; left: 7%; top: 30px; width: 70%; aspect-ratio: 16 / 9; padding: 6px; border-radius: 12px;
  background: #121212; box-shadow: 0 18px 36px rgba(16, 67, 47, .25), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.shot.broadcast .tv img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.feature .shot.broadcast .iphone { position: absolute; right: 6%; top: 58px; --w: 112px; transform: none; z-index: 2; }
.feature .shot .watch { z-index: 1; }   /* own layer, so the strap shows above the card background */

/* Support + privacy pages (2026-11-10) */
.doc-page .hero-faq { padding: 44px 0 18px; }
.doc { max-width: 740px; padding-bottom: 64px; }
.doc h2 { font-size: clamp(22px, 5vw, 28px); margin: 38px 0 12px; }
.doc p, .doc ul { margin: 0 0 12px; color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong, .doc b { color: var(--ink); }
.doc .meta { font-size: 15px; }
.doc-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 0 0 12px; box-shadow: 0 6px 18px rgba(16, 67, 47, .07); }
.doc-card h3 { font-size: 18px; margin: 0 0 6px; }
.doc-card p:last-child { margin-bottom: 0; }
.doc .mail { font-size: 20px; font-weight: 700; }
.doc .cta-row { justify-content: flex-start; margin-top: 18px; }
.feature .body .more { margin-top: 14px; }
.feature .body .more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green); text-decoration: none; padding: 10px 16px; border-radius: 999px; background: rgba(29, 122, 76, .1); }
.feature .body .more a:hover { background: rgba(29, 122, 76, .17); }
/* /free promo code giveaway (2026-11-11) */
.promo-left { font-weight: 700; color: var(--ink); margin-bottom: 14px !important; }
.promo-btn { font: 700 17px/1 var(--font); color: #fff; background: var(--green); border: 0; border-radius: 999px; padding: 15px 26px; cursor: pointer; }
.promo-btn:disabled { opacity: .45; cursor: default; }
.promo-btn:not(:disabled):hover { background: var(--green-deep); }
.promo-err { color: #A13333; margin-top: 10px !important; min-height: 1em; }
.promo-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 8px; }
.promo-code code { font: 800 clamp(24px, 7vw, 34px)/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--ink); background: var(--paper); border: 2px dashed var(--line); border-radius: 14px; padding: 12px 16px; }
.promo-copy { font: 700 15px/1 var(--font); color: var(--green); background: rgba(29, 122, 76, .1); border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; }
.promo-exp { font-weight: 600; }
.doc .promo ol { padding-left: 22px; margin: 0 0 12px; color: var(--ink-soft); }
.promo-terms { font-size: 14px; }
#promo-country { font: 500 15px var(--font); padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; max-width: 100%; }
/* /free: how to redeem, 3 steps with screenshots (2026-11-11) */
.redeem-steps { list-style: none; padding: 0 !important; margin: 0 0 24px; display: grid; gap: 14px; }
.redeem-step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(16, 67, 47, .07); margin: 0 !important; }
.redeem-shot { background: #F2F2F7; aspect-ratio: 1 / 1; }
.redeem-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.redeem-text { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px 16px; }
.redeem-text p { margin: 0 !important; color: var(--ink); line-height: 1.4; }
.redeem-text p span { color: var(--ink-soft); font-size: 14px; }
.redeem-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (min-width: 760px) { .redeem-steps { grid-template-columns: repeat(3, 1fr); } }
/* /free: codes-left ticket icons, the ticket, loading states (2026-11-11) */
.tix { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; min-height: 26px; }
.tix-i { width: 40px; height: 26px; fill: #E7E5DD; stroke: #CFCBBE; stroke-width: 1.5; }
.tix-i .tix-perf { fill: none; stroke-dasharray: 2 2.5; }
.tix-i.on { fill: var(--flash); stroke: var(--green); }
.tix-i.on .tix-perf { stroke: var(--green); }
.tix-more { font-weight: 700; color: var(--ink-soft); align-self: center; }
.tix-skel, .skel-line { display: inline-block; border-radius: 6px; background: linear-gradient(90deg, #ECEAE2 25%, #F7F5EE 50%, #ECEAE2 75%); background-size: 200% 100%; animation: ws-shimmer 1.2s linear infinite; }
.tix-skel { width: 40px; height: 26px; }
.skel-line { width: 230px; max-width: 100%; height: 18px; vertical-align: middle; }
@keyframes ws-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.promo-btn { display: inline-flex; align-items: center; gap: 10px; }
.promo-btn.loading { opacity: .85 !important; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: ws-spin .7s linear infinite; }
@keyframes ws-spin { to { transform: rotate(360deg); } }
.ticket-wrap { position: relative; overflow: hidden; padding: 10px 16px 28px; margin: 0 -16px -4px; }
.ticket-slot { position: absolute; top: 0; left: 12%; right: 12%; height: 10px; border-radius: 0 0 8px 8px; background: #1E2B23; box-shadow: inset 0 -3px 0 #0B3323; z-index: 2; }
.ticket { position: relative; display: grid; grid-template-columns: 86px 1fr; border-radius: 16px; overflow: hidden; background: #FFFBEA; box-shadow: 0 8px 16px rgba(16, 67, 47, .16), 0 2px 5px rgba(16, 67, 47, .08); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 75px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); z-index: 1; }
.ticket::before { top: -11px; }
.ticket::after { bottom: -11px; }
.ticket-stub { background: var(--green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; border-right: 2px dashed rgba(255, 255, 255, .45); }
.ticket-stub img { border-radius: 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ticket-free { font-weight: 900; letter-spacing: .18em; color: var(--flash); font-size: 15px; writing-mode: vertical-rl; transform: rotate(180deg); }
.ticket-no, .ticket-of { font: 700 11px/1.2 ui-monospace, Menlo, monospace; opacity: .85; white-space: nowrap; }
.ticket-of { margin-top: -6px; opacity: .6; }
.ticket-main { padding: 14px 16px 12px; min-width: 0; background-image: radial-gradient(rgba(16, 67, 47, .06) 1px, transparent 1px); background-size: 10px 10px; }
.ticket-kicker { font-size: 11px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; margin: 0 0 2px !important; }
.ticket-title { font-weight: 800; color: var(--ink) !important; margin: 0 0 8px !important; }
.ticket-code { display: block; font: 800 clamp(17px, 4.9vw, 26px)/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; color: var(--green-deep); white-space: nowrap; margin: 0 0 10px; }
.ticket-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.ticket-meta b { display: block; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.ticket-bar { display: block; width: 100%; height: 26px; margin-top: 10px; fill: var(--ink); opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .ticket.print { animation: ws-print 1.3s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes ws-print { 0% { transform: translateY(-104%); } 70% { transform: translateY(3%); } 100% { transform: none; } }
}
/* /free: 'What you're getting' phone + watch (the home hero's scene, smaller) */
.promo-show { margin: 34px 0 10px; }
.promo-show h2 { margin-top: 0 !important; }
.stage.stage-sm { height: 430px; max-width: 420px; margin: 8px auto 14px; }
.stage.stage-sm .iphone { --w: 180px; right: 6%; top: 3%; }
.stage.stage-sm .watch { --w: 122px; left: 5%; top: 33%; }
.stage.stage-sm .sync { width: 50px; height: 50px; }
.stage.stage-sm .sync svg { width: 24px; height: 24px; }
@media (min-width: 420px) { .stage.stage-sm { height: 475px; } .stage.stage-sm .iphone { --w: 198px; } .stage.stage-sm .watch { --w: 134px; left: 6%; } }
.promo-show figcaption { color: var(--ink-soft); line-height: 1.5; }
.promo-show figcaption b { color: var(--ink); }
/* /free: the claim box is the first thing on screen (2026-11-11) */
.page-free .hero-faq { padding: 16px 0 6px; }
.page-free .hero-faq .crumbs { display: none; }
.page-free .hero-faq .kicker { margin-bottom: 4px; }
.page-free .hero-faq h1 { font-size: clamp(30px, 8.6vw, 46px); line-height: 1.05; }
.page-free .hero-faq .lede { font-size: 16px; margin-top: 8px; }
.promo-hero { border: 2px solid var(--flash) !important; box-shadow: 0 12px 32px rgba(169, 133, 47, .22) !important; padding: 20px 20px 18px !important; }
.promo-hero .tix { gap: 10px; margin-bottom: 14px; }
.promo-hero .tix-i, .promo-hero .tix-skel { width: 60px; height: 39px; }
.promo-hero .promo-left { font-size: clamp(26px, 7.4vw, 34px); font-weight: 800; color: var(--ink); line-height: 1.1; margin: 0 0 6px !important; }
.promo-hero .promo-left b { color: var(--accent); font-size: 1.3em; }
.promo-hero .skel-line { height: 30px; }
.promo-sub { font-size: 15px; font-weight: 600; color: var(--ink-soft); margin: 0 0 16px !important; min-height: 1.2em; }
.promo-big { width: 100%; justify-content: center; font-size: 20px !important; padding: 20px 24px !important; box-shadow: 0 10px 24px rgba(16, 67, 47, .3); }
@media (prefers-reduced-motion: no-preference) {
  .promo-big:not(:disabled) { animation: ws-glow 2.4s ease-in-out infinite; }
  @keyframes ws-glow { 0%, 100% { box-shadow: 0 10px 24px rgba(16, 67, 47, .3), 0 0 0 0 rgba(242, 211, 59, 0); } 50% { box-shadow: 0 10px 24px rgba(16, 67, 47, .3), 0 0 0 9px rgba(242, 211, 59, .5); } }
}
.promo-hero .promo-err:empty { display: none; }
.promo-hero .promo-err { margin: 12px 0 0 !important; }

/* ══ Motion (2026-11-12) ════════════════════════════════════════════════════════════════
   Load: header drops in, hero copy staggers up (the device stage has its own rise above).
   Scroll: blocks reveal as they enter (.reveal / .rv, staggered by --i from site.js).
   Hover (mouse) + press (touch): cards lift, devices float up, icons tip, links underline.
   Navigation: cross-document View Transitions (header stays, page slides in).
   Reduce Motion: fades instead of movement. ?noanim: nothing animates. */
:root { --out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ws-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes ws-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ws-drop { from { opacity: 0; transform: translateY(-100%); } }
@keyframes ws-wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -8deg; } 60% { rotate: 6deg; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }

@view-transition { navigation: auto; }
.site-head { view-transition-name: site-head; }

.feature, .step, .qa, .chips a, .store, .gallery img, .promise, .final .icon, .brand img, .strip svg, .step::before { transition: transform .4s var(--spring), box-shadow .4s var(--out), border-color .3s, background-color .3s, color .2s; }
.feature .shot .iphone, .feature .shot .watch, .feature .shot .tv { transition: translate .6s var(--spring), rotate .6s var(--spring); }
.nav a { position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .35s var(--out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-foot a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--out); }
.site-foot a:hover { text-decoration: none; background-size: 100% 1px; }

/* press feedback, touch and mouse */
.store:active, .head-cta:active, .chips a:active, .modes button:active, .gallery-nav button:active, .promo-btn:active, .btn-ghost:active { transform: scale(.96); transition-duration: .08s; }

@media (hover: hover) {
  .feature:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(16, 67, 47, .2), 0 4px 12px rgba(16, 67, 47, .08); }
  .feature:hover .shot .iphone { translate: 0 -10px; }
  .feature:hover .shot .watch { translate: 0 -6px; rotate: -3deg; }
  .feature:hover .shot .tv { translate: 0 -4px; }
  .step:hover { transform: translateY(-5px); box-shadow: 0 26px 52px rgba(16, 67, 47, .18); }
  .step:hover::before { transform: scale(1.12) rotate(-8deg); background: var(--accent); }
  .gallery figure:hover img { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 34px 60px rgba(16, 67, 47, .26); }
  .promise:hover { box-shadow: 0 30px 64px rgba(16, 67, 47, .18); }
  .qa:hover { border-color: rgba(29, 122, 76, .35); }
  .qa summary { transition: color .2s, padding-left .3s var(--out); }
  .qa summary:hover { color: var(--green); padding-left: 26px; }
  .chips a:hover { transform: translateY(-2px); }
  .strip li:hover svg { transform: scale(1.18) rotate(-8deg); }
  .final .icon:hover { animation: ws-wiggle .6s var(--spring); }
  .brand:hover img { transform: rotate(-8deg) scale(1.06); }
  .store:hover { transform: translateY(-3px); }
}

/* FAQ: smooth open where the browser can animate to auto height; the answer always fades in */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--out), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.no-anim) .site-head { animation: ws-drop .7s var(--out) both; }
  html:not(.no-anim) .hero-copy > *, html:not(.no-anim) .hero-faq .wrap > * { animation: ws-up .9s var(--out) both; }
  html:not(.no-anim) .hero-copy > :nth-child(2), html:not(.no-anim) .hero-faq .wrap > :nth-child(2) { animation-delay: .08s; }
  html:not(.no-anim) .hero-copy > :nth-child(3), html:not(.no-anim) .hero-faq .wrap > :nth-child(3) { animation-delay: .16s; }
  html:not(.no-anim) .hero-copy > :nth-child(4), html:not(.no-anim) .hero-faq .wrap > :nth-child(4) { animation-delay: .24s; }
  html:not(.no-anim) .hero-copy > :nth-child(5), html:not(.no-anim) .hero-faq .wrap > :nth-child(5) { animation-delay: .32s; }
  html:not(.no-anim) .hero-copy > :nth-child(6) { animation-delay: .4s; }
  html:not(.no-anim) .qa[open] .a { animation: ws-up .5s var(--out) both; }
  ::view-transition-old(root) { animation: vt-out .22s var(--out) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--out) both; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.no-anim) .hero-copy > *, html:not(.no-anim) .hero-faq .wrap > * { animation: ws-fade .8s ease both; }
  .feature:hover, .step:hover, .gallery figure:hover img, .store:hover, .chips a:hover { transform: none; }
  .feature:hover .shot .iphone, .feature:hover .shot .watch, .feature:hover .shot .tv { translate: none; rotate: none; }
}
