﻿:root {
  --ink: #edf7f0;
  --ink-soft: #9db2a6;
  --green: #39a873;
  --green-bright: #55c58a;
  --mint: #c7decd;
  --mint-light: #19372a;
  --blue: #6f9fc8;
  --coral: #e96b4a;
  --paper: #081610;
  --white: #f4faf6;
  --panel: #10231a;
  --panel-soft: #142b20;
  --line: rgba(199, 222, 205, .14);
  --shadow: 0 22px 60px rgba(0, 0, 0, .28);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
body.login-open { overflow: hidden; }
body.signup-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, strong { font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif; }
h1, h2, h3, p { margin-top: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  background: rgba(6,16,12,.94);
  color: var(--white);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
}
.brand .header-wordmark {
  width: 158px;
  height: auto;
  border-radius: 0;
}
.site-header.scrolled .header-wordmark {
  filter: none;
}
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a, .text-link { font-weight: 600; font-size: 14px; }
.desktop-nav a:hover, .text-link:hover { color: var(--mint); }
.site-header.scrolled .desktop-nav a:hover,
.site-header.scrolled .text-link:hover { color: var(--mint); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: currentColor;
  border: 1px solid currentColor;
  background: transparent;
}
.menu-toggle svg { width: 21px; }
.mobile-nav { display: none; }

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #06150e;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: #61ca91; }
.button svg { width: 18px; }
.button-small { min-height: 42px; padding-inline: 17px; }
.button-light { background: var(--mint); color: #07140f; border-color: var(--mint); }
.button-light:hover { background: #e5f1e8; }
.button-glass { background: rgba(8,30,20,.35); border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); }
.button-outline { background: transparent; color: var(--mint); border-color: rgba(199,222,205,.4); }

.hero {
  position: relative;
  min-height: 92vh;
  padding: 134px max(24px, calc((100vw - var(--max)) / 2)) 96px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #173d2d url("/static/mgh-hero-golf.jpg") center / cover no-repeat;
  color: var(--white);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,15,10,.94) 0%, rgba(3,15,10,.82) 42%, rgba(3,15,10,.42) 73%, rgba(3,15,10,.24) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(690px, 62vw); }
.eyebrow {
  margin-bottom: 18px;
  color: #55c58a;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--mint); }
.hero h1 {
  margin-bottom: 8px;
  font-size: clamp(62px, 8vw, 112px);
  line-height: .98;
  letter-spacing: 0;
}
.hero-wordmark {
  width: min(640px, 55vw);
  height: auto;
  margin: 2px 0 18px;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.22));
}
.hero-lead {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--mint);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.16;
}
.hero-copy { max-width: 620px; color: rgba(255,255,255,.82); font-size: 17px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-setup-note {
  width: min(620px, 100%);
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(199,222,205,.26);
  border-left: 4px solid var(--green-bright);
  border-radius: 8px;
  background: rgba(8,30,20,.48);
  color: rgba(237,247,240,.86);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.hero-points { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; color: var(--mint); }
.hero-scroll {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.hero-scroll svg { width: 17px; }

.hero-product {
  position: absolute;
  z-index: 2;
  right: max(36px, calc((100vw - var(--max)) / 2));
  bottom: 14px;
  width: 282px;
  transform: rotate(2deg);
}
.phone-shell {
  overflow: hidden;
  height: 512px;
  border: 7px solid rgba(9,27,19,.95);
  border-radius: 30px;
  background: #07140f;
  box-shadow: 0 32px 70px rgba(0,0,0,.38);
}
.phone-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 499 / 911;
  object-fit: cover;
  object-position: center center;
  background: #07140f;
}
.phone-map {
  position: relative;
  height: 485px;
  background:
    linear-gradient(82deg, transparent 42%, rgba(208,225,207,.86) 42.5%, rgba(208,225,207,.86) 43.4%, transparent 44%),
    linear-gradient(100deg, #426d48 0 25%, #78966a 26% 68%, #375d41 69% 100%);
}
.phone-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 64% 18%, #8fb383 0 7%, transparent 7.5%), radial-gradient(circle at 58% 74%, #657e56 0 8%, transparent 8.5%);
}
.phone-topbar {
  height: 72px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--mint);
  color: #07140f;
}
.phone-topbar > span { font: 800 34px/1 "Plus Jakarta Sans", "Segoe UI", sans-serif; }
.phone-topbar small { font-size: 11px; }
.phone-topbar > div { display: grid; justify-items: center; color: var(--green); font-weight: 800; }
.phone-topbar svg { width: 24px; }
.map-label, .map-distance {
  position: absolute;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--mint);
  color: #07140f;
  font-size: 10px;
  font-weight: 800;
}
.map-green { top: 35px; left: 148px; }
.map-target { top: 215px; left: 139px; }
.map-tee { bottom: 24px; left: 148px; }
.map-distance { left: 142px; }
.distance-one { top: 125px; }
.distance-two { bottom: 120px; }
.map-line {
  position: absolute;
  left: 155px;
  width: 3px;
  background: var(--mint);
  transform-origin: top;
}
.line-one { top: 54px; height: 170px; transform: rotate(-2deg); }
.line-two { top: 236px; height: 215px; transform: rotate(2deg); }
.phone-round-nav {
  height: 80px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mint);
  color: #07140f;
}
.phone-round-nav svg { width: 23px; }
.phone-round-nav div { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px; }
.phone-round-nav strong { font-size: 34px; line-height: 1; }
.phone-round-nav span { color: #385348; font-size: 10px; font-weight: 800; line-height: 1.1; }

.feature-strip {
  min-height: 96px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 16px;
  background: #10271d;
  border-bottom: 1px solid var(--line);
}
.feature-strip div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; }
.feature-strip div { color: #dbe9df; }
.feature-strip svg { width: 20px; color: #55c58a; }

.section { padding: 112px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading h2, .insight-copy h2, .proof-copy h2, .cta-section h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}
.section-heading > p:last-child, .insight-copy > p, .proof-copy > p, .cta-section p {
  color: var(--ink-soft);
  font-size: 17px;
}

.product-section { background: #081610; }
.product-stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 72px; align-items: center; }
.course-panel {
  position: relative;
  width: min(100%, 460px);
  justify-self: center;
  overflow: hidden;
  border-radius: 8px;
  background: #07140f;
  border: 1px solid rgba(199,222,205,.12);
  box-shadow: var(--shadow);
}
.course-screenshot {
  display: block;
  width: 100%;
  height: auto;
}
.product-copy { display: grid; }
.product-copy article { padding: 28px 0; display: grid; grid-template-columns: 48px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.product-copy article:first-child { border-top: 1px solid var(--line); }
.feature-number { color: #55c58a; font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif; font-size: 12px; font-weight: 800; }
.product-copy h3 { margin-bottom: 9px; font-size: 24px; }
.product-copy p { margin-bottom: 0; color: var(--ink-soft); }

.insight-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; background: #0d2017; color: var(--white); }
.insight-copy > p { color: rgba(255,255,255,.72); }
.check-list { margin: 28px 0; padding: 0; display: grid; gap: 15px; list-style: none; }
.check-list li { display: flex; gap: 11px; color: rgba(255,255,255,.85); }
.check-list svg { width: 19px; flex: 0 0 auto; color: var(--mint); }
.inline-link { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 800; }
.inline-link svg { width: 18px; }
.dashboard-visual { padding: 28px; border: 1px solid rgba(199,222,205,.16); border-radius: 8px; background: #13281e; color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; }
.dashboard-head > div { display: grid; }
.dashboard-head span { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.dashboard-head strong { font-size: 20px; }
.trend-positive { padding: 6px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; background: #254636; color: #91d7ad !important; }
.trend-positive svg { width: 14px; }
.dashboard-grid { margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dashboard-grid article { padding: 16px; display: grid; border: 1px solid var(--line); border-radius: 6px; background: #0d1f17; }
.dashboard-grid article > span { color: var(--ink-soft); font-size: 11px; }
.dashboard-grid article strong { font-size: 28px; }
.dashboard-grid article small { color: #55c58a; font-weight: 700; }
.mini-chart-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 18px 0 8px; }
.mini-chart-key span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 700; white-space: nowrap; }
.mini-chart-key .key-swatch { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.mini-chart-key .key-gross { background: var(--green-bright); }
.mini-chart-key .key-net { background: #e8b464; }
.mini-chart-key .key-stableford { width: 8px; height: 8px; background: #72a5ff; border-radius: 2px; transform: rotate(45deg); }
.insight-chart { position: relative; height: 250px; padding: 15px 12px 22px 36px; border: 1px solid var(--line); background: #0b1c14; }
.insight-chart svg { width: 100%; height: 205px; overflow: visible; }
.chart-area { fill: rgba(25,164,102,.12); }
.chart-line { fill: none; stroke: var(--green-bright); stroke-width: 4; }
.chart-line-net { fill: none; stroke: #e8b464; stroke-width: 3; stroke-linecap: round; }
.chart-marker-stableford { fill: #0f2119; stroke: #72a5ff; stroke-width: 3; }
.chart-labels { position: absolute; left: 8px; top: 16px; bottom: 28px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink-soft); font-size: 9px; }
.chart-rounds { position: absolute; left: 38px; right: 14px; bottom: 6px; display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 9px; }
.ai-callout { margin-top: 12px; padding: 15px; display: flex; gap: 12px; background: #19372a; border-left: 4px solid var(--green); }
.ai-callout svg { width: 20px; flex: 0 0 auto; color: var(--green); }
.ai-callout p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; }

.clubs-section { background: #0b1b14; }
.club-layout { display: grid; grid-template-columns: 1fr .85fr; gap: 22px; align-items: stretch; }
.club-table, .dispersion-visual { border: 1px solid var(--line); border-radius: 8px; background: #10231a; box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.club-table-head, .club-row { display: grid; grid-template-columns: 1fr .8fr 1fr .8fr; gap: 12px; align-items: center; padding: 18px 20px; }
.club-table-head { color: var(--ink-soft); font-size: 11px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.club-row { border-bottom: 1px solid var(--line); }
.club-row:last-child { border-bottom: 0; }
.club-row.active { background: #19372a; }
.club-row > span { color: var(--ink-soft); font-size: 14px; }
.confidence { width: 54px; padding: 4px 7px; border-radius: 4px; text-align: center; font-weight: 800; }
.confidence.high { background: #254c38; color: #9bdbb5; }
.confidence.medium { background: #49452b; color: #e1ce8c; }
.confidence.low { background: #4b3029; color: #eaa08d; }
.dispersion-visual { padding: 22px; }
.dispersion-head { display: flex; justify-content: space-between; }
.dispersion-head > div { display: grid; }
.dispersion-head span { color: var(--ink-soft); font-size: 12px; }
.dispersion-map { position: relative; height: 280px; margin: 18px 0; overflow: hidden; background: #1a382a; border: 1px solid var(--line); }
.dispersion-map::before, .dispersion-map::after { content: ""; position: absolute; background: rgba(199,222,205,.28); }
.dispersion-map::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.dispersion-map::after { top: 50%; left: 0; right: 0; height: 1px; }
.dispersion-target { position: absolute; z-index: 4; left: 50%; top: 50%; width: 36px; height: 36px; display: grid; place-items: center; transform: translate(-50%,-50%); color: var(--green-bright); }
.dispersion-target svg { display: block; width: 34px; height: 34px; stroke-width: 2.2; filter: drop-shadow(0 2px 6px rgba(0,0,0,.32)); }
.dispersion-ellipse { position: absolute; left: 30%; top: 22%; width: 39%; height: 56%; border: 2px solid rgba(15,122,69,.62); border-radius: 50%; transform: rotate(-18deg); transform-origin: center; }
.shot-dot { position: absolute; z-index: 3; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(233,107,74,.18), 0 2px 6px rgba(0,0,0,.28); transform: translate(-50%,-50%); }
.dot-1 { left: 45%; top: 38%; }.dot-2 { left: 57%; top: 47%; }.dot-3 { left: 41%; top: 56%; }.dot-4 { left: 60%; top: 61%; }
.dot-5 { left: 48%; top: 69%; }.dot-6 { left: 64%; top: 35%; }.dot-7 { left: 37%; top: 44%; }.dot-8 { left: 53%; top: 28%; }
.dot-9 { left: 44%; top: 49%; }.dot-10 { left: 52%; top: 41%; }.dot-11 { left: 55%; top: 57%; }.dot-12 { left: 43%; top: 64%; }
.dot-13 { left: 59%; top: 41%; }.dot-14 { left: 39%; top: 51%; }.dot-15 { left: 50%; top: 59%; }.dot-16 { left: 62%; top: 50%; }
.dot-17 { left: 43%; top: 34%; }.dot-18 { left: 53%; top: 66%; }
.dispersion-visual > p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.compete-section { background: #0b1b14; }
.compete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.compete-panel {
  padding: 32px;
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #10231a;
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.panel-tag svg { width: 14px; }
.panel-tag.tag-goals { background: rgba(85,197,138,.16); color: #7fdba5; }
.panel-tag.tag-leaderboard { background: rgba(111,159,200,.18); color: #9dc2e6; }
.compete-panel h3 { margin-bottom: 0; font-size: 25px; }
.compete-panel > p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.compete-checklist { margin: 4px 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.compete-checklist li { display: flex; gap: 10px; color: rgba(237,247,240,.82); font-size: 13px; }
.compete-checklist svg { width: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--mint); }

.goal-widget, .leaderboard-widget {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1f17;
}
.goal-widget-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.goal-chip {
  padding: 4px 9px;
  border-radius: 4px;
  background: #19372a;
  color: #9bdbb5;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.goal-status-pill {
  padding: 4px 9px;
  border-radius: 999px;
  background: #254636;
  color: #91d7ad;
  font-size: 11px;
  font-weight: 800;
}
.goal-widget-target { display: flex; align-items: baseline; gap: 9px; margin-bottom: 14px; }
.goal-widget-target span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.goal-widget-target strong { font-size: 40px; line-height: 1; }
.goal-progress-track { height: 10px; margin-bottom: 16px; border-radius: 999px; background: #173126; overflow: hidden; }
.goal-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--green-bright)); }
.goal-widget-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.goal-widget-stats div { display: grid; gap: 4px; }
.goal-widget-stats span { color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.goal-widget-stats strong { font-size: 18px; }

.leaderboard-widget-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.leaderboard-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
}
.leaderboard-live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(111,159,200,.55);
  animation: lb-pulse 1.8s ease-out infinite;
  will-change: transform, opacity;
}
@keyframes lb-pulse {
  0% { transform: scale(.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.leaderboard-widget-head strong { font-size: 13px; font-weight: 800; }
.leaderboard-format { margin-left: auto; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.leaderboard-rows { display: grid; gap: 8px; }
.leaderboard-row {
  display: grid;
  grid-template-columns: 20px 32px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #10231a;
}
.leaderboard-row.rank-1 { border-color: rgba(232,180,100,.4); background: #19291d; }
.lb-rank { color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.leaderboard-row.rank-1 .lb-rank { color: #e8b464; }
.lb-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #19372a;
  color: #9bdbb5;
  font-size: 11px;
  font-weight: 800;
}
.leaderboard-row.rank-1 .lb-avatar { background: #3a3120; color: #e8b464; }
.lb-name { font-size: 13px; font-weight: 700; }
.lb-thru { color: var(--ink-soft); font-size: 11px; font-weight: 700; white-space: nowrap; }
.lb-score { min-width: 26px; color: var(--mint); font-size: 15px; font-weight: 800; text-align: right; }

.workflow-section { background: #081610; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow article { position: relative; padding: 34px 28px 40px; border-right: 1px solid var(--line); background: #0d1e16; }
.workflow article:last-child { border-right: 0; }
.workflow article > span { position: absolute; top: 15px; right: 16px; color: #55c58a; font: 800 11px "Plus Jakarta Sans", "Segoe UI", sans-serif; }
.workflow svg { width: 28px; color: #55c58a; }
.workflow h3 { margin: 38px 0 8px; font-size: 24px; }
.workflow p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.proof-section { padding: 104px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; background: #123d2c; color: var(--white); }
.proof-copy > p { color: rgba(255,255,255,.72); }
.proof-stats { display: grid; }
.proof-stats div { padding: 24px 0; display: grid; grid-template-columns: 100px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.2); }
.proof-stats div:first-child { border-top: 1px solid rgba(255,255,255,.2); }
.proof-stats strong { font-size: 44px; color: var(--mint); }
.proof-stats span { color: rgba(255,255,255,.78); }

.cta-section { padding: 96px max(24px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; align-items: end; gap: 60px; background: #10271d; border-top: 1px solid var(--line); }
.cta-section > div:first-child { max-width: 700px; }
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { padding: 70px max(24px, calc((100vw - var(--max)) / 2)) 24px; background: #050e0a; color: var(--white); }
.footer-brand { max-width: 330px; }
.footer-wordmark {
  display: inline-block;
  width: min(250px, 100%);
}
.footer-wordmark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 18px rgba(0,0,0,.22));
}
.footer-brand p { margin-top: 18px; color: rgba(255,255,255,.62); }
.footer-links { margin-top: -58px; margin-left: 44%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.footer-links div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 8px; color: var(--mint); font-size: 13px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 64px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 12px; }

.login-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .18s ease, visibility .18s ease;
}
.login-modal.open { visibility: visible; opacity: 1; }
.login-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2,10,7,.78);
  backdrop-filter: blur(10px);
}
.login-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  max-height: calc(100vh - 40px);
  padding: 30px;
  overflow-y: auto;
  border: 1px solid rgba(199,222,205,.18);
  border-radius: 8px;
  background: #10231a;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
  transform: translateY(14px) scale(.985);
  transition: transform .2s ease;
}
.login-modal.open .login-dialog { transform: translateY(0) scale(1); }
.login-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199,222,205,.16);
  border-radius: 50%;
  background: #152d21;
  color: #c7decd;
}
.login-dialog-close:hover { border-color: #55c58a; color: #fff; }
.login-dialog-close svg { width: 18px; }
.login-dialog-brand {
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}
.login-dialog-brand img { width: 154px; height: auto; }
.login-dialog-heading { padding: 25px 0 18px; }
.login-dialog-heading .eyebrow { margin-bottom: 10px; }
.login-dialog-heading h2 {
  margin-bottom: 10px;
  color: #f3f9f5;
  font-size: 32px;
  line-height: 1.08;
}
.login-dialog-heading > p:last-child {
  margin-bottom: 0;
  color: #9db2a6;
  font-size: 14px;
}
.login-notice {
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(85,197,138,.22);
  border-radius: 6px;
  background: #19372a;
  color: #c7decd;
  font-size: 13px;
}
.login-form { display: grid; gap: 16px; }
.login-form label { display: grid; gap: 7px; }
.login-form label > span {
  color: #b9cbbf;
  font-size: 11px;
  font-weight: 800;
}
.login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(199,222,205,.20);
  border-radius: 6px;
  outline: 0;
  background: #0a1a13;
  color: #edf7f0;
  font: 500 15px "Plus Jakarta Sans", "Segoe UI", sans-serif;
}
.login-form input:hover { border-color: rgba(199,222,205,.36); }
.login-form input:focus {
  border-color: #55c58a;
  box-shadow: 0 0 0 3px rgba(85,197,138,.14);
}
.login-password-field { position: relative; }
.login-password-field input { padding-right: 52px; }
.login-password-field button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: #173126;
  color: #9fc5ad;
}
.login-password-field button:hover { color: #fff; }
.login-password-field svg { width: 18px; }
.login-form-row {
  margin-top: -3px;
  display: flex;
  justify-content: flex-end;
}
.login-form-row a,
.login-signup a { color: #77d39f; font-size: 12px; font-weight: 700; }
.login-submit { width: 100%; margin-top: 2px; }
.login-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.login-status {
  min-height: 18px;
  color: #9db2a6;
  font-size: 12px;
}
.login-status.error { color: #efa18d; }
.login-signup {
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #8fa499;
  font-size: 12px;
  text-align: center;
}
.signup-dialog { width: min(100%, 500px); }

@media (max-width: 980px) {
  .desktop-nav, .header-actions > .text-link { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav {
    position: fixed;
    inset: 74px 0 auto;
    padding: 24px;
    display: none;
    gap: 18px;
    background: #081610;
    color: var(--white);
    box-shadow: 0 20px 30px rgba(0,0,0,.14);
  }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { font: 700 18px "Plus Jakarta Sans", "Segoe UI", sans-serif; }
  .hero-content { width: min(700px, 76vw); }
  .hero-product { right: -70px; opacity: .66; }
  .feature-strip { grid-template-columns: repeat(4, 1fr); padding-block: 24px; }
  .product-stage, .insight-section, .club-layout, .proof-section, .compete-grid { grid-template-columns: 1fr; }
  .product-stage, .insight-section { gap: 52px; }
  .course-panel { min-height: 0; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow article:nth-child(2) { border-right: 0; }
  .workflow article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-section { align-items: flex-start; flex-direction: column; }
  .footer-links { margin: 48px 0 0; }
}

@media (max-width: 680px) {
  .site-header { height: 66px; padding-inline: 16px; }
  .brand span { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .brand .header-wordmark { width: 132px; height: auto; }
  .header-actions { gap: 10px; }
  .button-small { display: none; }
  .mobile-nav { top: 66px; }
  .hero {
    min-height: 1120px;
    padding: 112px 18px 118px;
    align-items: flex-start;
    flex-direction: column;
    background-position: 62% center;
  }
  .hero-shade { background: linear-gradient(180deg, rgba(5,22,15,.86) 0%, rgba(5,22,15,.72) 52%, rgba(5,22,15,.46) 100%); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: 58px; }
  .hero-wordmark { width: min(350px, 92vw); margin-bottom: 16px; }
  .hero-lead { font-size: 26px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-points { gap: 10px 18px; }
  .hero-product {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    align-self: center;
    width: min(282px, 72vw);
    margin: 32px auto 0;
    opacity: 1;
    transform: rotate(2deg);
  }
  .phone-shell { height: min(500px, 86vh); min-height: 430px; border-width: 6px; border-radius: 26px; }
  .phone-topbar { height: 52px; padding: 8px 10px; }
  .phone-topbar > span { font-size: 24px; }
  .phone-map { height: 330px; }
  .map-line { left: 96px; }
  .line-one { height: 110px; }.line-two { top: 160px; height: 140px; }
  .map-label, .map-distance { font-size: 7px; }
  .map-green { left: 87px; }.map-target { left: 80px; top: 145px; }.map-tee { left: 88px; bottom: 15px; }
  .map-distance { left: 86px; }.distance-one { top: 85px; }.distance-two { bottom: 78px; }
  .phone-round-nav { height: 58px; }
  .phone-round-nav strong { font-size: 24px; }
  .hero-scroll { left: 18px; }
  .feature-strip { grid-template-columns: 1fr 1fr; padding-inline: 18px; }
  .feature-strip div { font-size: 11px; }
  .section { padding: 80px 18px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .insight-copy h2, .proof-copy h2, .cta-section h2 { font-size: 39px; }
  .product-stage { grid-template-columns: 1fr; gap: 36px; }
  .course-panel { min-height: 0; }
  .dashboard-visual { padding: 14px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .insight-chart { height: 210px; }
  .insight-chart svg { height: 165px; }
  .club-table { overflow-x: auto; }
  .club-table-head, .club-row { min-width: 590px; }
  .compete-panel { padding: 22px; }
  .goal-widget, .leaderboard-widget { padding: 16px; }
  .goal-widget-target strong { font-size: 34px; }
  .workflow { grid-template-columns: 1fr; }
  .workflow article { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-section { padding: 80px 18px; gap: 42px; }
  .proof-stats div { grid-template-columns: 72px 1fr; }
  .proof-stats strong { font-size: 34px; }
  .cta-section { padding: 76px 18px; gap: 30px; }
  .cta-actions { width: 100%; display: grid; }
  .site-footer { padding: 56px 18px 24px; }
  .footer-wordmark { width: 210px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .login-modal { padding: 12px; align-items: end; }
  .login-dialog {
    width: 100%;
    max-height: calc(100vh - 18px);
    padding: 24px 20px 20px;
    border-radius: 8px 8px 0 0;
  }
  .login-dialog-heading h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .leaderboard-live-dot { animation: none; }
}

