/* Ad Lib Golf site.
   Direction: "Scorecard". White ground, black type, putting-green actions and a pin-flag yellow highlighter.
   Layout: mobile-first editorial. Real vertical video does the visual work; sections are separated by space and hairlines, not boxes. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F5F3;   /* cool light grey, never cream */
  --ink: #101411;
  --muted: #59605B;
  --line: #E2E5E2;
  --green: #0E7A43;       /* putting green: buttons, links, ticks */
  --green-ink: #FFFFFF;
  --green-soft: #E3F3E8;
  --yellow: #FFD84D;      /* pin-flag yellow: highlighter and badges */
  --yellow-soft: #FFF5CC;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 800; font-stretch: 72%; letter-spacing: -0.012em; line-height: .96; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(50px, 7.6vw, 112px); }
h2 { font-size: clamp(38px, 5vw, 70px); }
h3 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.05; }
h1 em, h2 em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 54ch; margin: 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* Wordmark: Ad Lib in heavy condensed, Golf in green. */
.wordmark { display: inline-flex; align-items: baseline; gap: .22em; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: 30px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.wordmark .golf { color: var(--green); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 14px; color: var(--green-ink); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } .top .wrap { min-height: 60px; } .wordmark { font-size: 26px; } }

/* Hero */
.hero { padding-block: clamp(36px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero .copy { display: grid; gap: 22px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.proof { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.proof span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }
.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.stack .clip:nth-child(1) { margin-top: 48px; }
.stack .clip:nth-child(3) { margin-top: 24px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .stack .clip:nth-child(1) { margin-top: 24px; } .stack .clip:nth-child(3) { margin-top: 12px; }
}

/* Clips */
.clip { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 9 / 16; max-width: 100%; }
.clip video, .clip img { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Reel strip */
.reel { padding-block: clamp(32px, 5vw, 64px); background: var(--surface-2); overflow: hidden; }
.reel .head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.reel h2 { font-size: clamp(30px, 3.4vw, 46px); }
.track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.track .clip { flex: 0 0 clamp(150px, 17vw, 210px); scroll-snap-align: start; }

/* Sections */
section.block { padding-block: clamp(56px, 9vw, 120px); }
section.block.tight { padding-top: 0; }
.intro { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.trio > div { border-top: 3px solid var(--green); padding-top: 18px; }
.trio h3 { margin-bottom: 10px; }
.trio p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .trio { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface-2); border-color: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 30px; line-height: 1; color: var(--ink); }
.steps h3 { font-size: 23px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; justify-self: center; width: 100%; }
.split .media .clip:nth-child(2) { margin-top: 40px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.rows { display: grid; gap: 18px; }
.rows .row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding-top: 18px; border-top: 1px solid var(--line); }
.rows .row:first-child { border-top: 0; padding-top: 0; }
.rows .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; color: var(--green); font-weight: 700; }
.rows h3 { font-size: 23px; margin-bottom: 4px; }
.rows p { margin: 0; color: var(--muted); }

.checks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.checks div { padding: 22px; border-left: 1px solid var(--line); background: var(--surface); }
.checks b::before { content: ""; display: block; width: 28px; height: 6px; border-radius: 3px; background: var(--yellow); margin-bottom: 12px; }
.checks div:first-child { border-left: 0; }
.checks b { display: block; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 24px; line-height: 1.05; margin-bottom: 8px; }
.checks span { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .checks { grid-template-columns: minmax(0, 1fr); } .checks div { border-left: 0; border-top: 1px solid var(--line); } .checks div:first-child { border-top: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; background: var(--surface); }

/* Packs (businesses) */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; align-content: start; position: relative; }
.pack.featured { border: 2px solid var(--green); box-shadow: 0 18px 50px rgba(14, 122, 67, .12); }
.pack .tag { position: absolute; top: -13px; left: 24px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pack h3 { font-size: 34px; }
.pack .sub { color: var(--muted); font-size: 15px; margin-top: -10px; }
.pack .price { font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums; }
.pack .per { color: var(--muted); font-size: 14px; margin-top: -12px; }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.pack li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.pack li::before { content: "✓"; color: var(--green); font-weight: 700; }
.pack li.plus { font-weight: 600; }
.pack .btn { justify-content: center; margin-top: auto; }
@media (max-width: 960px) { .packs { grid-template-columns: minmax(0, 1fr); } }
.note { font-size: 15px; color: var(--muted); margin-top: 20px; }

.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.types div { padding-top: 16px; border-top: 1px solid var(--line); }
.types b { display: block; font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 24px; line-height: 1.05; margin-bottom: 6px; }
.types span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .types { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.panel h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }
.panel p { margin: 0; color: var(--muted); max-width: 60ch; }
.panel.green { background: var(--yellow-soft); border-color: transparent; }
.panel.grey { background: var(--surface-2); border-color: transparent; }
@media (max-width: 760px) { .panel { grid-template-columns: minmax(0, 1fr); } }

/* Homepage doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 20px; align-items: end; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s, transform .15s; }
.door:hover { border-color: var(--green); transform: translateY(-2px); }
.door .eyebrow { color: var(--green); }
.door { background: var(--surface-2); border-color: transparent; }
.door h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 10px 0 12px; }
.door p { margin: 0 0 18px; color: var(--muted); }
.door .go { font-weight: 600; }
.door .clip { width: 132px; }
@media (max-width: 860px) { .doors { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .door { grid-template-columns: minmax(0, 1fr); } .door .clip { width: 100%; max-width: 200px; } }

/* Apply */
.apply { background: var(--surface-2); border-block: 1px solid var(--line); }
.apply .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.apply ul { padding-left: 1.1em; color: var(--muted); margin: 0; }
.formslot { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); min-height: 520px; padding: 28px; display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; color: var(--muted); }
.formslot b { color: var(--ink); font-size: 18px; }
@media (max-width: 860px) { .apply .wrap { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 68ch; }

/* Closing call to action */
.closer { padding-block: clamp(64px, 10vw, 128px); text-align: center; }
.closer .wrap { display: grid; justify-items: center; gap: 22px; }
.closer h2 { max-width: 16ch; }

/* Footer */
footer { padding-block: 56px 40px; background: var(--ink); color: #fff; }
footer .wordmark { color: #fff; }
footer .wordmark .golf { color: var(--yellow); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: start; justify-content: space-between; }
footer p { margin: 6px 0 0; color: rgba(255,255,255,.65); font-size: 14px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
footer nav a { color: rgba(255,255,255,.72); text-decoration: none; }
footer nav a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 560px) { body { font-size: 16px; } .wrap { padding-inline: 16px; } }
