/* Solid Golf landing page — the app's dark look: near-black background,
   white titles, grey body text, the app's Birdie Blue as the one accent. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url("fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url("fonts/Inter-ExtraBold.woff2") format("woff2"); }

:root {
  --bg: #121212;
  --surface: #1a1a1a;
  --surface-2: #1e1e1e;
  --border: #2a2a2a;
  --title: #ffffff;
  --body: #bdbdbd;
  --muted: #8a8a8a;
  --accent: #42a5f5;
  --accent-ink: #0b1a26;
  --radius: 16px;
  --gutter: 20px;
  --max: 1120px;
  --content: 980px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2 { color: var(--title); text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  padding: 8px 14px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Buttons — one primary style, one quiet one. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #64b5f6; }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--title); box-shadow: inset 0 0 0 1px #3a3a3a; }
.btn-ghost:hover { background: #1e1e1e; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 18, 18, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  height: 60px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--title); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }

/* Hero — the app's welcome: a shot drops into the mark, which builds out
   from the cup (see intro.js). */
.hero {
  position: relative;
  min-height: min(calc(100svh - 60px), 820px);
  display: grid; place-items: center;
  padding: 48px var(--gutter) 72px;
  text-align: center;
  overflow: hidden;
}
.hero-shot { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; max-width: 720px; }
.mark-stage { position: relative; width: 200px; height: 200px; margin: 0 auto 20px; display: grid; place-items: center; }
.mark-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(66, 165, 245, .18), rgba(66, 165, 245, 0));
}
.mark { width: 120px; height: 120px; grid-area: 1 / 1; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7.4vw, 76px);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.035em;
}
.lede { margin: 0 auto 32px; max-width: 540px; font-size: clamp(17px, 2vw, 19px); color: #c9c9c9; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* Before the intro runs: hidden, ready to rise in. */
.intro [data-rise] { opacity: 0; }

/* Content */
main { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.facts {
  list-style: none; margin: 0 auto 32px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.facts li { padding: 22px 24px; display: grid; gap: 2px; }
.facts li + li { border-left: 1px solid var(--border); }
.facts strong { color: var(--title); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.facts span { color: var(--muted); font-size: 15px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.feature, .reports {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  align-items: center;
  gap: 48px 80px;
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.facts + .feature { border-top: 0; }
.feature.reverse { grid-template-columns: minmax(260px, 340px) 1fr; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy, .reports-copy { max-width: 500px; }
.feature.reverse .feature-copy { justify-self: start; }
.feature h2, .reports h2, .offer h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
}
.feature p, .reports p { margin: 0 0 16px; font-size: 18px; }

.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--body); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(66, 165, 245, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-5' fill='none' stroke='%2342a5f5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--body); font-size: 14px; font-weight: 500;
}

/* An iPhone frame around each screenshot: bezel, Dynamic Island and a
   status bar, drawn so the screenshots stay plain app captures. */
.phone {
  position: relative; margin: 0; justify-self: center;
  width: min(100%, 320px);
  padding: 10px;
  border-radius: 54px;
  background: #050505;
  box-shadow:
    0 0 0 1px #2e2e2e,
    0 0 0 4px #0c0c0c,
    0 40px 80px -24px rgba(0, 0, 0, .8),
    0 0 120px -20px rgba(66, 165, 245, .14);
  container-type: inline-size;
}
.phone img { width: 100%; border-radius: 44px; background: var(--bg); }
.phone::before {
  content: ""; position: absolute; z-index: 1;
  top: calc(10px + 3.6cqw); left: 50%; transform: translateX(-50%);
  width: 31cqw; height: 9.2cqw; border-radius: 99px; background: #000;
}
.phone::after {
  content: "9:41"; position: absolute; z-index: 1;
  top: calc(10px + 4.6cqw); left: calc(10px + 9cqw); right: calc(10px + 7cqw);
  height: 7cqw; line-height: 7cqw;
  color: #fff; font-size: 4.6cqw; font-weight: 600; letter-spacing: -0.01em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 14'%3E%3Cg fill='%23fff'%3E%3Crect x='0' y='9' width='3' height='4' rx='.8'/%3E%3Crect x='4.5' y='6.5' width='3' height='6.5' rx='.8'/%3E%3Crect x='9' y='4' width='3' height='9' rx='.8'/%3E%3Crect x='13.5' y='1.5' width='3' height='11.5' rx='.8'/%3E%3Cpath d='M30 3.6a10.5 10.5 0 0 1 7.3 2.9l1.3-1.3a12.3 12.3 0 0 0-17.2 0l1.3 1.3A10.5 10.5 0 0 1 30 3.6zm0 3.6a6.9 6.9 0 0 1 4.8 1.9l1.3-1.3a8.7 8.7 0 0 0-12.2 0l1.3 1.3A6.9 6.9 0 0 1 30 7.2zm0 3.5a3.3 3.3 0 0 1 2.3.9L30 14l-2.3-2.4a3.3 3.3 0 0 1 2.3-.9z'/%3E%3Crect x='44.5' y='1.5' width='20' height='11' rx='3.2' fill='none' stroke='%23fff' stroke-opacity='.4'/%3E%3Crect x='46.3' y='3.3' width='16.4' height='7.4' rx='1.8'/%3E%3Cpath d='M66 5.5v3a1.6 1.6 0 0 0 0-3z' fill-opacity='.4'/%3E%3C/g%3E%3C/svg%3E") right center / auto 3.4cqw no-repeat;
}

.reports { grid-template-columns: 1fr minmax(260px, 340px); }

/* Offer */
.offer {
  margin: 0 auto; padding: 96px 0 112px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.offer-lede { margin: 0 auto 36px; max-width: 480px; font-size: 18px; }
.price-card {
  max-width: 420px; margin: 0 auto; padding: 32px;
  text-align: left;
  background: linear-gradient(180deg, #1c1c1c, var(--surface));
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(66, 165, 245, .08), 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.amount { color: var(--title); font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { color: var(--muted); font-size: 16px; }
.price-note { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.price-card .ticks { margin: 0 0 28px; }

footer { border-top: 1px solid var(--border); padding: 32px var(--gutter) 40px; color: var(--muted); font-size: 14px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer nav a { color: var(--body); text-decoration: none; }
footer nav a:hover { color: var(--title); }
.legal { max-width: var(--max); margin: 0 auto; }

/* Scroll reveal (intro.js adds .is-in); static without JS or with Reduce
   Motion on. */
.intro .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.215, .61, .355, 1); }
.intro .reveal.is-in { opacity: 1; transform: none; }
.intro .phone.reveal { transition-delay: .08s; }

@media (max-width: 880px) {
  .feature, .feature.reverse, .reports {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0;
    text-align: left;
  }
  .feature.reverse .feature-copy { order: 0; }
  .phone { width: min(78vw, 300px); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 16px 20px; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--border); }
  .hero { padding-top: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .nav .btn-sm { padding: 0 14px; }
  .price-card { padding: 24px; }
  .offer { padding: 72px 0 88px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
