/* Par5 prelaunch site. Brand: forest #0F3D2E, green #2F8F46, lime #7CC142, paper #F5F6F2, mist #D9DDDA, ink #1C1C1C. */
/* DM Serif Display, SIL Open Font License 1.1 (assets/fonts/OFL.txt), self-hosted. */
@font-face { font-family: 'DM Serif Display'; src: url('../fonts/dm-serif-display-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('../fonts/dm-serif-display-italic-latin.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --forest: #0f3d2e;
  --forest-deep: #0a2b20;
  --green: #2f8f46;
  --lime: #7cc142;
  --paper: #f5f6f2;
  --mist: #d9ddda;
  --ink: #1c1c1c;
  --ink-dim: #4d5a52;
  --card: #ffffff;
  --line: #e1e5e0;
  --sand: #e9d9a6;
  --water: #4f8fc9;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'DM Serif Display', var(--serif);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(10, 43, 32, 0.06), 0 12px 32px rgba(10, 43, 32, 0.1);
  --gutter: 16px;
  --top: 66px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 10px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h1 em, h2 em { font-style: italic; color: var(--green); }
.hero h1 em, .photo-section h2 em, .page-hero h1 em, .caddie h2 em { color: var(--lime); }
.center { text-align: center; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.wrap--narrow { max-width: 800px; }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

.label { font: 700 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.label--lime, .photo-section .label--lime { color: var(--lime); }
.pill { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.pill--lime { background: var(--lime); color: var(--forest-deep); }
.pill--outline { border: 1.5px solid currentColor; color: var(--green); margin-bottom: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--green); }
.link-arrow::after { content: '→'; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Scroll reveal: only when JavaScript runs, and never for people who prefer less motion. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1.1 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--forest-deep); box-shadow: 0 6px 18px rgba(124, 193, 66, 0.35); }
.btn--lime:hover { background: #8acd52; transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.12); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: #145039; }
.btn--forest[disabled] { opacity: 0.6; cursor: progress; }
.btn--outline { color: var(--forest); border-color: var(--mist); background: #fff; }
.btn--outline:hover { border-color: var(--forest); }
.btn--disabled { background: var(--paper); color: #6d7a72; border-color: var(--line); cursor: default; }

/* Header: clear over the hero photo, solid once the page scrolls (site.js sets .top--solid). */
.top { position: sticky; top: 0; z-index: 50; background: rgba(15, 61, 46, 0.96); border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: background-color 0.25s ease, border-color 0.25s ease; }
.has-hero .top { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.has-hero .top.top--solid, .has-hero .top.top--open { background: rgba(15, 61, 46, 0.96); border-color: rgba(255, 255, 255, 0.08); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.top__row { display: flex; align-items: center; gap: 18px; min-height: var(--top); }
.top__brand img { width: 92px; height: auto; }
.top__nav { display: none; gap: 26px; margin-left: auto; }
.top__nav a { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 600; font-size: 15px; }
.top__nav a:hover, .top__nav a[aria-current='page'] { color: #fff; }
.top__nav a[aria-current='page'] { box-shadow: 0 2px 0 var(--lime); }
.top .btn { margin-left: auto; }
.top__menu { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; cursor: pointer; }
.mobile-nav { display: grid; padding: 4px var(--gutter) 16px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 12px 4px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 900px) {
  .top__nav { display: flex; }
  .top .btn { margin-left: 8px; }
  .top__menu, .mobile-nav { display: none !important; }
}
@media (max-width: 400px) {
  .top .btn { padding: 0 12px; font-size: 13px; }
  .top__brand img { width: 76px; }
  .top__row { gap: 10px; }
}

/* Photo sections: a cover photo behind a brand-green shade. */
.photo-section, .hero { position: relative; overflow: hidden; isolation: isolate; }
.photo { position: absolute; inset: 0; z-index: -2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { color: #fff; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--top) + 36px) 0 0; background: var(--forest-deep); }
.hero .photo img { object-position: 60% 60%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8, 34, 25, 0.5) 0%, rgba(8, 34, 25, 0) 18%),
  linear-gradient(90deg, rgba(8, 34, 25, 0.86) 0%, rgba(8, 34, 25, 0.6) 34%, rgba(8, 34, 25, 0.12) 60%, rgba(8, 34, 25, 0) 78%),
  linear-gradient(0deg, rgba(8, 34, 25, 0.6) 0%, rgba(8, 34, 25, 0) 24%); }
@media (max-width: 959px) { .hero__shade { background: linear-gradient(180deg, rgba(8, 34, 25, 0.5) 0%, rgba(8, 34, 25, 0.66) 40%, rgba(8, 34, 25, 0.9) 100%); } }
.hero__grid { display: grid; gap: 44px; align-items: center; padding-bottom: 40px; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero__brand { font: 800 15px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero__lead { font-size: clamp(18px, 2vw, 21px); color: rgba(255, 255, 255, 0.92); max-width: 34em; }
.hero__tag { font-weight: 700; color: var(--lime); font-size: 18px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__note { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin: 0; }
.hero__visual { position: relative; margin: 0 auto; width: 100%; max-width: 440px; perspective: 1600px; }
/* A phone standing on the course: titanium edge, black bezel, camera island, side buttons, a slight turn toward
   the headline and a shadow on the grass. The screen is the app's real full screen. */
.phone { position: relative; z-index: 1; width: min(270px, 68vw); margin: 0 auto; padding: 10px; border-radius: 52px; background: #050606;
  box-shadow: 0 0 0 1.5px #e3e5e7, 0 0 0 3px #9ca1a6, 0 0 0 4.5px #5a5f63, 9px 5px 0 4px #474c50, 10px 6px 0 5.5px #2b2f32, 46px 54px 70px rgba(0, 0, 0, 0.42);
  transform: rotateY(-15deg) rotateX(4deg) rotateZ(1.2deg); }
.phone::after { content: ''; position: absolute; left: 4%; right: -14%; bottom: -34px; height: 46px; border-radius: 50%; background: radial-gradient(ellipse at 45% 50%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 68%); filter: blur(5px); z-index: -1; }
.phone__screen { position: relative; border-radius: 42px; overflow: hidden; background: #f5f6f2; }
.phone__screen img { display: block; width: 100%; height: auto; }
.phone__status { position: relative; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 4px 24px 0 30px; font: 600 13px/1 var(--sans); color: #15201a; background: #f5f6f2; }
.phone__island { position: absolute; left: 50%; top: 10px; width: 78px; height: 23px; margin-left: -39px; border-radius: 14px; background: #000; }
.phone__icons { width: 46px; height: 12px; }
.phone__btn { position: absolute; width: 4px; background: linear-gradient(90deg, #6d7277, #d3d6d9 55%, #8a8f94); }
.phone__btn--power { right: -8px; top: 150px; height: 70px; border-radius: 0 3px 3px 0; }
.phone__btn--action { left: -8px; top: 96px; height: 26px; border-radius: 3px 0 0 3px; }
.phone__btn--up { left: -8px; top: 140px; height: 46px; border-radius: 3px 0 0 3px; }
.phone__btn--down { left: -8px; top: 196px; height: 46px; border-radius: 3px 0 0 3px; }
/* The caddie's card sits below the phone, its pointer toward the screen; it never covers the phone. */
.speech { position: relative; z-index: 2; display: flex; gap: 12px; align-items: flex-start; margin: 30px 0 0 auto; width: min(372px, 94%); padding: 16px 18px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35); }
.speech::before { content: ''; position: absolute; top: -7px; left: 46px; width: 16px; height: 16px; background: #fff; border-radius: 3px; transform: rotate(45deg); }
@media (max-width: 959px) {
  .phone { transform: rotateY(-10deg) rotateX(3deg); }
  .speech { margin: 30px auto 0; }
}
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .speech { margin-right: -28px; }
  .hero__caption { text-align: right; margin-right: -28px; }
}
/* Laptop screens: a slightly smaller phone so the whole hero fits. */
@media (min-width: 960px) and (max-height: 840px) {
  .hero { padding-top: calc(var(--top) + 20px); }
  .hero__grid { padding-bottom: 28px; }
  .hero .phone { width: 222px; padding: 8px; border-radius: 44px; }
  .hero .speech { padding: 13px 15px; width: min(340px, 94%); margin-top: 26px; }
  .hero .speech__text { font-size: 16px !important; }
  .hero .speech__icon { width: 38px; height: 38px; }
  .phone { width: 238px; padding: 9px; border-radius: 46px; }
  .phone__screen { border-radius: 37px; }
  .phone__status { height: 34px; font-size: 12px; }
  .phone__island { top: 8px; width: 70px; height: 21px; margin-left: -35px; }
  .phone__btn--power { top: 132px; height: 60px; }
  .phone__btn--action { top: 84px; }
  .phone__btn--up { top: 122px; height: 40px; }
  .phone__btn--down { top: 170px; height: 40px; }
  .speech__text { font-size: 17px; }
}
.speech__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--lime); border: 0; cursor: pointer; }
.speech__icon svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.say.is-speaking { background: var(--lime); color: var(--forest-deep); box-shadow: 0 0 0 6px rgba(124, 193, 66, 0.25); }
.speech__label { display: block; font: 700 11px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.speech__text { display: block; font-family: var(--display); font-size: 18px; line-height: 1.38; }
.hero__caption { margin-top: 12px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, 0.88); }
.hero__facts span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 10px; vertical-align: 2px; }

/* Founding 500 */
.founding { padding: 80px 0; color: #fff; background: var(--forest-deep); border-top: 4px solid var(--lime); }
.founding .photo img { object-position: 50% 40%; }
.founding__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 34, 25, 0.94) 0%, rgba(8, 34, 25, 0.86) 50%, rgba(8, 34, 25, 0.6) 100%); }
@media (max-width: 959px) { .founding__shade { background: rgba(8, 34, 25, 0.88); } }
.founding__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .founding__grid { grid-template-columns: 1fr 0.9fr; gap: 64px; } .founding { padding: 104px 0; } }
.founding h2 { color: #fff; }
.founding__lead { font-family: var(--display); font-size: 26px; color: var(--lime); }
.founding p { color: rgba(255, 255, 255, 0.9); }
/* minmax(0, 1fr): on a narrow phone the boxes shrink and "/month" drops under the price, instead of the price widening the section past the screen. */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.prices__item { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; background: rgba(8, 34, 25, 0.35); }
.prices__item--feature { background: rgba(124, 193, 66, 0.14); border-color: rgba(124, 193, 66, 0.7); }
.prices__name { font: 700 12px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.prices__amount { font: 400 44px/1 var(--display); color: #fff; }
.prices__item--feature .prices__amount { color: var(--lime); }
.prices__amount small { display: inline-block; font: 600 15px/1 var(--sans); color: rgba(255, 255, 255, 0.72); margin-left: 2px; }
.prices__amount--regular { font-size: 30px; padding-top: 10px; }
.steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { position: relative; padding-left: 44px; color: rgba(255, 255, 255, 0.88); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest-deep); font: 800 14px/1 var(--sans); }
.steps strong { color: #fff; }
.founding .fine { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.74); border-left: 3px solid rgba(124, 193, 66, 0.6); padding-left: 14px; }
.qr { display: none; align-items: center; gap: 18px; margin-top: 26px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); max-width: 420px; }
@media (min-width: 960px) and (hover: hover) { .qr:not([hidden]) { display: flex; } }
.qr__code { flex: none; width: 116px; height: 116px; padding: 8px; background: #fff; border-radius: 12px; }
.qr__code svg { width: 100%; height: 100%; display: block; }
.founding .qr__title { font-weight: 700; color: #fff; margin: 0 0 4px; }
.qr__text { margin: 0; font-size: 15px; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card { color: var(--ink); padding: 26px 20px; }
@media (min-width: 560px) { .form-card { padding: 34px 32px; } }
.form-card h3 { font-size: 26px; margin-bottom: 18px; }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--ink-dim); }
.field input[type='text'], .field input[type='email'], .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--mist); border-radius: 12px; font: 16px var(--sans); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 143, 70, 0.18); }
.field [aria-invalid='true'] { border-color: #c0392b; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice__opt { display: flex !important; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--mist); border-radius: 12px; font-weight: 600 !important; cursor: pointer; margin: 0 !important; }
.choice__opt:has(input:checked) { border-color: var(--green); background: #eef6ee; }
.choice__opt input { accent-color: var(--green); width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin-bottom: 12px; color: var(--ink-dim); cursor: pointer; }
.check input { accent-color: var(--green); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: #8e2318; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.form-fine { font-size: 13px; color: var(--ink-dim); text-align: center; margin: 12px 0 0; }
.done { text-align: center; }
.done:focus { outline: none; }
.done__mark { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--lime); }
.done h3 { font-size: 28px; margin-bottom: 10px; }
.done > p { color: var(--ink-dim); }
.share { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.share__title { font-weight: 700; margin-bottom: 12px; }
.share__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.share__link { margin: 14px 0 0; font-size: 13px; color: var(--ink-dim); word-break: break-all; }
.share__copied { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--green); }

/* Sections */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 108px 0; } }
.section--paper { background: var(--paper); }
.section--tint { background: #eceee8; }
.section__lead { font-size: 19px; color: var(--ink-dim); max-width: 40em; margin-bottom: 24px; }
.split { display: grid; gap: 28px; align-items: center; margin-bottom: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 560px; gap: 56px; } }
.split__photo, .teaser__photo { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.split__photo img, .teaser__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }

.features { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 18px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature h3 { font-size: 21px; margin: 10px 0 8px; }
.feature p { color: var(--ink-dim); font-size: 16px; margin: 0; }
.feature__tier { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-dim); border: 1px solid var(--line); }
.feature--plus { border-color: rgba(47, 143, 70, 0.35); background: linear-gradient(180deg, #fff, #f3f9f1); }
.feature--plus .feature__tier { background: var(--forest); color: var(--lime); border-color: var(--forest); }

.intro { max-width: 760px; margin-bottom: 40px; }
.intro--center { margin-left: auto; margin-right: auto; text-align: center; }
.intro--center .section__lead { margin-left: auto; margin-right: auto; }
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px 22px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.7s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(47, 143, 70, 0.35); }
.tile h3 { font: 700 19px/1.25 var(--sans); letter-spacing: 0; margin: 16px 0 6px; }
.tile p { margin: 0; color: var(--ink-dim); font-size: 16px; }
.ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: #e8f3e6; color: var(--green); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ic--lg { width: 64px; height: 64px; padding: 14px; flex: none; }
.tiles--plus .tile { background: linear-gradient(180deg, #fff, #f4faf2); }
.tiles--plus .ic { background: var(--forest); color: var(--lime); }

/* Real screens in flat phone frames. Phones: a swipeable row. Tablets: two across. Desktop: four across. */
.screens { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 18px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); align-items: start; }
.screen { margin: 0; scroll-snap-align: start; }
@media (min-width: 640px) { .screens { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 36px 32px; margin: 0; padding: 0; overflow: visible; } }
@media (min-width: 1040px) { .screens { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.screen figcaption { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 4px 0; font-weight: 700; font-size: 15.5px; }
.phone.phone--flat { width: 100%; max-width: 250px; margin: 0 auto; padding: 7px; border-radius: 40px; transform: none; box-shadow: 0 0 0 1.5px #e3e5e7, 0 0 0 3px #9ca1a6, 0 0 0 4.5px #5a5f63, 0 22px 44px rgba(10, 43, 32, 0.22); }
.phone.phone--flat::after { display: none; }
.phone--flat .phone__screen { border-radius: 33px; }
.phone--flat .phone__status { height: 30px; font-size: 11px; padding: 3px 18px 0 24px; }
.phone--flat .phone__island { top: 7px; width: 62px; height: 18px; margin-left: -31px; }
.phone--flat .phone__icons { width: 38px; }
.tag { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.tag--free { background: #e8f3e6; color: var(--green); }
.tag--plus { background: var(--forest); color: var(--lime); }
.screens__note { font-size: 13px; color: var(--ink-dim); margin-top: 16px; }

/* Caddie */
.caddie { color: #fff; background: var(--forest-deep); }
.caddie .photo img { object-position: 50% 70%; }
.caddie__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 34, 25, 0.8), rgba(8, 34, 25, 0.9)); }
.caddie h2 { color: #fff; }
.caddie p { color: rgba(255, 255, 255, 0.88); }
.caddie__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .caddie__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.caddie .caddie__sub { font-family: var(--display); font-size: 25px; color: var(--lime); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: rgba(255, 255, 255, 0.9); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230a2b20' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.decides__title { font: 700 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime) !important; margin: 26px 0 14px; }
.decides { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .decides { grid-template-columns: 1fr 1fr; } }
.decide { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.decide .ic { flex: none; background: var(--lime); color: var(--forest-deep); width: 40px; height: 40px; padding: 9px; border-radius: 12px; }
.decide h3 { font: 700 16px/1.3 var(--sans); color: #fff; margin: 2px 0 4px; letter-spacing: 0; }
.caddie .decide p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 40px; padding: 16px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; font-weight: 600; }
.also__label { font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.also__item { display: inline-flex; align-items: center; gap: 10px; }
.also .link-arrow { color: var(--lime); margin-left: auto; }
@media (max-width: 700px) { .also .link-arrow { margin-left: 0; } }
.ic--sm { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: rgba(124, 193, 66, 0.18); color: var(--lime); }
.lines { display: grid; gap: 12px; }
.caddie .lines__title { font: 700 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.line { margin: 0; display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.line__play { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--forest); color: var(--lime); display: grid; place-items: center; cursor: pointer; margin-top: 2px; }
.line__play svg { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
.caddie .lines__title span { font-weight: 600; letter-spacing: 0.04em; text-transform: none; color: rgba(255, 255, 255, 0.7); margin-left: 8px; }
.line__when { display: block; font: 700 11px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.caddie .line p { margin: 0; color: var(--ink); font-family: var(--display); font-size: 19px; line-height: 1.4; }
.caddie .lines__note { font-size: 13px; color: rgba(255, 255, 255, 0.66); margin: 4px 0 0; }

/* Courses teaser */
.teaser { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .teaser { grid-template-columns: 1fr 560px; gap: 56px; } }
.search { display: flex; gap: 10px; margin: 6px 0 16px; max-width: 520px; }
.search input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--mist); border-radius: 999px; font: 16px var(--sans); background: #fff; }
.search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 143, 70, 0.18); }

/* Pricing */
.plans { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 36px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: 1.08fr 1fr 1fr; gap: 22px; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; margin-bottom: 6px; }
.plan__price { font: 400 50px/1 var(--display); margin: 6px 0 14px; color: var(--forest); }
.plan__price small { font: 600 16px/1 var(--sans); color: var(--ink-dim); }
.plan__desc { color: var(--ink-dim); }
.plan__limit { font-weight: 700; color: var(--forest); }
.plan__list { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; font-size: 16px; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 17px; height: 17px; border-radius: 50%; background: #e6f2e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232f8f46' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { margin-top: auto; }
.plan--featured .plan__list { flex: none; }
.plan--featured .offer .btn { margin-top: 0; }
.plan--founding { background: linear-gradient(165deg, var(--forest), var(--forest-deep)); color: #fff; border: 2px solid var(--lime); box-shadow: 0 24px 60px rgba(15, 61, 46, 0.35); }
.plan--founding h3 { color: #fff; }
.plan--founding .plan__price { color: var(--lime); }
.plan--founding .plan__price small, .plan--founding .plan__desc { color: rgba(255, 255, 255, 0.82); }
.plan--founding .plan__limit, .plan--founding .plan__list li { color: #fff; }
.plan--founding .plan__list li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230a2b20' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.plan__badge { align-self: flex-start; font: 700 11px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; background: var(--lime); color: var(--forest-deep); padding: 7px 11px; border-radius: 999px; margin-bottom: 16px; }
.plan--plus { border-color: rgba(47, 143, 70, 0.4); }
.plans__note { font-size: 14px; color: var(--ink-dim); margin-top: 18px; max-width: 60em; }

.compare { margin-top: 48px; }
.compare h3 { font-size: 26px; margin-bottom: 16px; }
.compare__scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { text-align: left; font-weight: 600; }
.compare thead th { font: 700 15px/1.2 var(--sans); background: #fafbf8; vertical-align: bottom; }
.compare thead th:first-child { text-align: left; color: var(--ink-dim); font-weight: 600; }
.compare thead span { display: block; font-weight: 500; font-size: 13px; color: var(--ink-dim); margin-top: 4px; }
.compare thead .compare__founding { background: var(--forest); color: #fff; }
.compare tbody td:nth-child(3) { background: #f3f9f1; }
.compare thead .compare__founding span { color: var(--lime); }
.compare td { font-size: 0; }
.compare td.y::before, .compare td.n::before { content: ''; display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.compare td.y::before { background: #e6f2e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232f8f46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat; }
.compare td.n::before { width: 14px; height: 2px; border-radius: 2px; background: #b9c1bb; }

@media (max-width: 600px) {
  .compare table { min-width: 0; }
  .compare th, .compare td { padding: 10px 6px; }
  .compare tbody th { font-size: 14px; padding-left: 12px; }
  .compare thead th { font-size: 13px; }
  .compare thead th:first-child { padding-left: 12px; }
  .compare thead span { font-size: 11px; }
}

.mini-plans { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 28px; align-items: stretch; }
@media (min-width: 980px) { .mini-plans { grid-template-columns: 1fr 1.25fr 1fr; } }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.mini h3 { font-size: 26px; margin: 0; }
.mini p { margin: 0; color: var(--ink-dim); font-size: 15px; flex: 1; }
.mini .mini__price { flex: none; font: 400 44px/1 var(--display); color: var(--forest); margin: 4px 0 8px; }
.mini .plan__badge { flex: none; }
.mini__price small { font: 600 15px var(--sans); color: var(--ink-dim); }
.mini .mini__price--tba { color: var(--ink-dim); }
.mini__tag { align-self: flex-start; margin-top: 12px; font: 700 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); background: var(--paper); border: 1px solid var(--line); padding: 8px 10px; border-radius: 999px; }
.mini--founding { background: linear-gradient(165deg, var(--forest), var(--forest-deep)); border: 2px solid var(--lime); color: #fff; box-shadow: 0 24px 60px rgba(15, 61, 46, 0.3); }
.mini--founding h3 { color: #fff; }
.mini--founding p { color: rgba(255, 255, 255, 0.86); }
.mini--founding .mini__price { color: var(--lime); }
.mini--founding .mini__price small { color: rgba(255, 255, 255, 0.75); }
.mini--founding .btn { margin-top: 14px; }
.mini--future { border-style: dashed; border-color: rgba(47, 143, 70, 0.5); }
.mini--plus, .plan--featured { background: linear-gradient(165deg, var(--forest), var(--forest-deep)); border: 2px solid var(--lime); color: #fff; box-shadow: 0 24px 60px rgba(15, 61, 46, 0.3); }
.mini--plus h3, .plan--featured h3 { color: #fff; }
.mini--plus p { color: rgba(255, 255, 255, 0.86); flex: none; }
.mini--plus .mini__price, .plan--featured .plan__price { color: #fff; }
.mini--plus .mini__price small, .plan--featured .plan__price small, .plan--featured .plan__desc { color: rgba(255, 255, 255, 0.8); }
.plan--featured .plan__list li { color: #fff; }
.plan--featured .plan__list li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230a2b20' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.offer { margin-top: 16px; padding: 16px; border-radius: 16px; background: rgba(124, 193, 66, 0.14); border: 1px solid rgba(124, 193, 66, 0.55); }
.offer .offer__badge { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; background: var(--lime); color: var(--forest-deep); padding: 6px 9px; border-radius: 999px; margin: 0 0 8px; }
.offer .offer__price { font: 400 40px/1 var(--display); color: var(--lime); margin: 0 0 6px; }
.offer__price small { font: 600 14px var(--sans); color: rgba(255, 255, 255, 0.8); }
.offer .offer__text { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin: 0 0 12px; }
.plan--featured .offer { margin-top: 0; margin-bottom: 4px; }
.plan--future { border-style: dashed; border-color: rgba(47, 143, 70, 0.5); }
.plan--future .pill { align-self: flex-start; }
.plan__price--tba { color: var(--ink-dim) !important; }
.plan--future .plan__desc { flex: none; }
.plan--future .btn { margin-top: auto; }
.premium-card { margin-top: 28px; display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1.5px dashed rgba(47, 143, 70, 0.5); border-radius: 22px; padding: 26px 24px; }
.premium-card h3 { font-size: 28px; margin-bottom: 8px; }
.premium-card p:last-child { margin: 0; color: var(--ink-dim); }
@media (max-width: 600px) { .premium-card { flex-direction: column; } }
.compare .compare__group th { background: var(--paper); font: 700 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); text-align: left; padding: 12px 16px; }
.compare td.s::before { content: 'Planned'; font: 700 12px/1 var(--sans); color: var(--green); background: #e6f2e6; border-radius: 999px; padding: 6px 10px; display: inline-block; }
.future { margin-top: 48px; border: 1.5px dashed rgba(47, 143, 70, 0.5); border-radius: 22px; padding: 26px 24px; background: #fff; }
.future h3 { margin-bottom: 8px; }
.future p:last-child { margin: 0; color: var(--ink-dim); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 14px; font: 400 26px/1 var(--sans); color: var(--green); }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-dim); margin: 0 0 18px; }

/* CTA band and footer */
.cta-band { padding: 72px 0; color: #fff; background: var(--forest); }
.cta-band .photo img { object-position: 50% 45%; }
.cta-band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 34, 25, 0.9) 0%, rgba(8, 34, 25, 0.72) 55%, rgba(8, 34, 25, 0.4) 100%); }
.cta-band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 42px); margin-bottom: 6px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.88); font-weight: 600; }
.foot { background: var(--forest-deep); color: rgba(255, 255, 255, 0.72); padding: 56px 0 28px; font-size: 15px; }
.foot__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.foot__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot__brand { grid-column: auto; } }
.foot__brand img { width: 104px; margin-bottom: 12px; }
.foot__brand p { margin: 0 0 4px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot__col a { color: #fff; text-decoration: none; }
.foot__col a:hover { color: var(--lime); }
.foot__col p { margin: 0; }
.foot .foot__head { font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.foot__join { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot__join { grid-column: auto; } }
.foot__join .btn { margin-top: 6px; }
.foot__base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.foot__row p { margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot__links a { color: #fff; }
.foot__copy { margin-left: auto !important; }
.foot__credit { width: 100%; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 640px) { .foot__copy { margin-left: 0 !important; width: 100%; } }

/* Courses page */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(var(--top) + 56px) 0 56px; background: var(--forest-deep); }
.page-hero .photo img { object-position: 50% 55%; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 34, 25, 0.75), rgba(8, 34, 25, 0.88)); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.9); font-size: 19px; max-width: 36em; }
.page-hero--tall { padding: calc(var(--top) + 90px) 0 120px; }
/* Courses: once a search runs, the header shrinks so the results start near the top. */
.is-searching .page-hero { padding: calc(var(--top) + 22px) 0 26px; }
.is-searching .page-hero .label, .is-searching .page-hero h1 + p { display: none; }
.is-searching .page-hero h1 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 14px; }
.is-searching .page-hero .search { margin-bottom: 8px; }
.is-searching main > .section { padding-top: 40px; padding-bottom: 56px; }
.page-hero--tall h1 { font-size: clamp(44px, 7vw, 84px); }
.page-hero .center p { margin-left: auto; margin-right: auto; }
.page-hero .page-hero__lead { font-size: 21px; }
.plans-section { padding-top: 0; }
.plans-section .plans { margin-top: -72px; position: relative; }
.page-hero .search { max-width: 640px; }
.page-hero .search input { border-color: transparent; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.page-hero .link-arrow { color: var(--lime); background: none; border: 0; padding: 0; font: 700 16px var(--sans); cursor: pointer; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.results-head h2 { font-size: 28px; margin: 0; }
.status { color: var(--ink-dim); margin: 0; }
.course-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }
.course-card { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; padding: 0; cursor: pointer; font: inherit; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.course-card:hover, .course-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); outline: none; }
.course-card__img { position: relative; aspect-ratio: 16 / 10; background: #cfd8cc linear-gradient(135deg, #dfe7dc, #c9d6c6); }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; }
.course-card__img .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-dim); font-size: 14px; padding: 12px; text-align: center; }
.course-card__tag { position: absolute; left: 10px; top: 10px; background: rgba(8, 34, 25, 0.82); color: #fff; font: 700 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; }
.course-card__body { padding: 14px 16px 16px; }
.course-card__name { font: 400 21px/1.2 var(--display); margin: 0 0 4px; }
.course-card__meta { color: var(--ink-dim); font-size: 14px; margin: 0; }
.course-card__dist { color: var(--green); font-weight: 700; }
.attribution { font-size: 12px; color: var(--ink-dim); margin-top: 28px; }

.detail { display: grid; gap: 28px; }
@media (min-width: 1000px) { .detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.detail > div { min-width: 0; }
.detail__back { display: inline-flex; margin-bottom: 18px; background: none; border: 0; padding: 0; font: 700 15px var(--sans); color: var(--green); cursor: pointer; }
#detail-view > h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 4px; }
.detail__meta { color: var(--ink-dim); margin-bottom: 18px; }
.aerial { position: relative; border-radius: 22px; overflow: hidden; background: #c9d6c6; box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.aerial img { position: absolute; inset: 0; width: 100%; height: 100%; }
.aerial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aerial .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-dim); padding: 24px; text-align: center; }
.aerial__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 2px 0; font-size: 14px; color: var(--ink-dim); }
.aerial__legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-green::before { background: #8fe07a; }
.lg-fairway::before { background: rgba(92, 196, 92, 0.55); }
.lg-bunker::before { background: var(--sand); }
.lg-water::before { background: var(--water); }
.lg-tee::before { background: #ffffff; border: 1px solid #9aa; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--paper); border-radius: 14px; padding: 12px 14px; }
.stat b { display: block; font: 400 30px/1.1 var(--display); color: var(--forest); }
.stat span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); font-weight: 700; }
.scorecard { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.scorecard table { border-collapse: collapse; font-size: 13px; width: 100%; }
.scorecard th, .scorecard td { padding: 7px 6px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.scorecard th:first-child, .scorecard td:first-child { text-align: left; padding-left: 12px; position: sticky; left: 0; background: #fff; font-weight: 700; }
.scorecard thead th { background: #fafbf8; }
.scorecard .sum { background: #f3f9f1; font-weight: 700; }
.mapped { margin: 18px 0; padding: 16px 18px; border-radius: 16px; background: #eef6ee; border: 1px solid rgba(47, 143, 70, 0.25); }
.mapped h3 { font-size: 19px; margin-bottom: 6px; }
.mapped p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.checks { margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.checks h3 { font: 700 16px/1.3 var(--sans); margin: 0 0 6px; letter-spacing: 0; }
.checks p, .checks li { color: var(--ink-dim); font-size: 15px; }
.checks p { margin: 0 0 8px; }
.checks ul { margin: 0 0 10px; padding-left: 20px; }
.checks--warn { background: #fdf6e6; border-color: #f0d9a2; }
.checks--warn h3 { color: #8a5a00; }
.checks .checks__note { font-size: 13.5px; }
.checks .link-arrow { font-size: 15px; }
.course-card__warn { position: absolute; right: 10px; top: 10px; background: #fdf1d6; color: #7a5200; font: 700 11px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; }
.tee-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tee-pick button { border: 1.5px solid var(--mist); background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 13px var(--sans); cursor: pointer; }
.tee-pick button[aria-pressed='true'] { border-color: var(--green); background: #eef6ee; }

/* Plain pages (privacy, admin) */
.page { max-width: 800px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); }
.page h2 { font-size: 22px; margin-top: 32px; }
.page li { margin-bottom: 6px; }
