/* orlandogolfschool.com: Instant Golf Improvement brand
   Navy #051c35, IGI blue #2396eb, lime #c2fc4a, off-white #f0f4f9, near-black #141414
   Headings: Gabarito. Body: Neue Haas Unica if installed, else Helvetica Neue / Arial. */
:root {
  --navy: #051c35;
  --blue: #2396eb;
  --blue-ink: #0f6fb8;
  --lime: #c2fc4a;
  --mist: #f0f4f9;
  --ink: #141414;
  --muted: #4a5868;
  --rule: #d5dee9;
  --paper: #ffffff;
  --measure: 66ch;
  --head: "Gabarito", "Helvetica Neue", Arial, sans-serif;
  --body: "Neue Haas Unica", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: .5rem .75rem; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.prose { max-width: var(--measure); }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: var(--measure); }

h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .55em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* Promo bar */
.promo { background: var(--lime); color: var(--navy); padding-top: env(safe-area-inset-top, 0px); }
.promo-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem 1.25rem; min-height: 44px; padding: .4rem 0; text-align: center; }
.promo p { margin: 0; font-weight: 700; font-family: var(--head); }
.promo-countdown { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Masthead */
.masthead { background: var(--navy); }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.brand { font-family: var(--head); font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; }
.masthead-link { color: #fff; font-weight: 600; text-decoration: none; }
.masthead-link:hover, .brand:hover { color: var(--lime); }

/* Buttons */
.button { display: inline-block; background: var(--lime); color: var(--navy); font-family: var(--head); font-weight: 800; font-size: 1.1rem; padding: .85rem 1.5rem; border-radius: 6px; text-decoration: none; border: 2px solid var(--lime); }
.button:hover { background: #d6ff7f; border-color: #d6ff7f; color: var(--navy); }
.button-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.button-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.button-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.button-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.button-small { font-size: 1rem; padding: .55rem 1.2rem; }

/* Hero */
.hero { background: var(--mist); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 40ch; }
.lede cite { font-style: italic; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .75rem; margin: 1.5rem 0; }
.price-now { font-family: var(--head); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--navy); line-height: 1; }
.price-was { font-family: var(--head); font-size: 1.5rem; color: var(--muted); }
.price-note { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1rem; }
.hero-photo { margin: 0; aspect-ratio: 9 / 11; background: var(--navy); border-radius: 8px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Bands */
.band { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band-tint { background: var(--mist); }
.band-navy { background: var(--navy); color: #e6edf6; }
.band-navy h2 { color: #fff; }
.band-navy a:not(.button) { color: var(--lime); }

/* What's included: facts */
.included { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 3px solid var(--navy); }
.facts li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .2rem; align-content: start; }
.facts li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--rule); }
.facts strong { font-family: var(--head); font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.facts span { color: var(--muted); }

/* Two columns */
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.side-photo { margin: 0; aspect-ratio: 4 / 5; background: var(--mist); border-radius: 8px; overflow: hidden; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Wedge ladder: a row of yardage flags */
.ladder { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.ladder li { font-family: var(--head); font-weight: 800; font-size: 1.15rem; text-align: center; color: var(--navy); background: var(--lime); padding: .9rem 0 .6rem; border-radius: 4px; position: relative; }
.ladder li::after { content: "yds"; display: block; font-size: .7rem; font-weight: 600; letter-spacing: .02em; opacity: .8; }
.ladder li:nth-child(3), .ladder li:nth-child(4), .ladder li:nth-child(5), .ladder li:nth-child(6) { background: #fff; outline: 2px dashed var(--lime); outline-offset: -4px; }
.ladder-note { color: #e6edf6; }

/* Schools */
.schools { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 3px solid var(--navy); max-width: 820px; }
.schools li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.school-date { font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.school-meta { color: var(--muted); }
.schools li[hidden] { display: none; }

/* Tuition schedule */
.ladder-prices { margin-top: 2.5rem; max-width: 820px; }
.schedule { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.schedule li { background: var(--mist); border-radius: 6px; padding: .9rem 1rem; display: grid; gap: .15rem; color: var(--muted); }
.sched-when { font-size: .9rem; }
.sched-price { font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: var(--navy); }
.schedule li.is-past { opacity: .45; }
.schedule li.is-past .sched-price { text-decoration: line-through; }
.schedule li.is-now { background: var(--navy); color: #e6edf6; }
.schedule li.is-now .sched-price { color: var(--lime); }

/* Gift */
.gift { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gift ul { padding-left: 1.2em; }
.gift li + li { margin-top: .35em; }
.certificate { background: var(--navy); color: #fff; border-radius: 10px; padding: 2rem; outline: 2px dashed var(--lime); outline-offset: -12px; transform: rotate(-2deg); }
.cert-kicker { color: var(--lime); font-family: var(--head); font-weight: 700; margin-bottom: 1.25rem; }
.cert-title { font-family: var(--head); font-weight: 900; font-size: 2.1rem; line-height: 1.05; margin-bottom: 1.25rem; }
.cert-line { margin: 0; color: #c9d6e6; }
.cert-for { margin: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.3); padding-top: .75rem; }
.cert-for span { font-family: var(--head); font-weight: 700; color: var(--lime); }

/* Coach */
.coach { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.coach-photo { aspect-ratio: 6 / 7; object-fit: cover; width: 100%; background: var(--mist); border-radius: 8px; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); padding: .9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.faq details p { margin: .6rem 0 0; }

/* Footer */
.footer { background: var(--ink); color: #b9c3cf; padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer p { margin: 0; }

@media (max-width: 860px) {
  .hero-grid, .included, .two-col, .gift, .coach { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
  .coach-photo { max-width: 280px; }
  .schedule { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(5, 1fr); }
  .certificate { transform: none; max-width: 420px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts li:nth-child(even) { padding-left: 0; border-left: 0; }
  .schools li { grid-template-columns: 1fr auto; }
  .school-meta { display: none; }
}

/* golfimprovement.com additions */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.promo-text:empty { display: none; }
.hero-season { font-family: var(--head); font-weight: 700; color: var(--navy); background: var(--lime); display: inline-block; padding: .35rem .75rem; border-radius: 4px; }
.hero-book { margin: 0; display: flex; justify-content: center; }
.hero-book img { width: min(360px, 100%); filter: drop-shadow(0 18px 30px rgba(5, 28, 53, .28)); }

/* Self-check */
.check fieldset { border: 0; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-item { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; align-content: start; background: var(--paper); border: 2px solid var(--rule); border-radius: 8px; padding: 1rem 1.1rem; cursor: pointer; }
.check-item input { grid-row: 1 / span 2; width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--navy); }
.check-q { font-weight: 600; color: var(--ink); }
.check-a { display: none; color: var(--muted); font-size: .97rem; }
.check-a strong { color: var(--navy); display: block; font-family: var(--head); }
.check-item:has(input:checked) { border-color: var(--navy); }
.check-item:has(input:checked) .check-a { display: block; }
.check-item:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.result { margin-top: 1.25rem; background: var(--navy); color: #e6edf6; border-radius: 8px; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.5rem; align-items: center; }
.result p { margin: 0; }
.result-count { font-family: var(--head); font-weight: 900; font-size: 2.2rem; color: var(--lime); line-height: 1; }
.tryit { margin-top: 1.5rem; }

/* Book and buy options */
.book { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book-img { filter: drop-shadow(0 12px 24px rgba(5, 28, 53, .22)); }
.buy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 1rem; max-width: 640px; }
.buy-option { border: 2px solid var(--rule); border-radius: 8px; padding: 1.25rem; display: grid; gap: .3rem; align-content: start; }
.buy-option:first-child { border-color: var(--navy); }
.buy-option p { margin: 0; }
.buy-name { font-family: var(--head); font-weight: 700; color: var(--navy); }
.buy-price { font-family: var(--head); font-weight: 900; font-size: 2.2rem; color: var(--navy); line-height: 1.1; }
.buy-note { color: var(--muted); font-size: .95rem; margin-bottom: .6rem !important; }
.buy .button { text-align: center; }

/* Praise */
.band-navy ul { padding-left: 1.2em; }
.praise blockquote { margin: 0 0 1.5rem; padding-left: 1.1rem; border-left: 3px solid var(--lime); }
.praise blockquote p { font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: .35rem; }
.praise footer { color: #b9c7d8; font-size: .92rem; }

/* More */
.more { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.more a { display: grid; gap: .3rem; height: 100%; background: var(--paper); border: 2px solid var(--rule); border-radius: 8px; padding: 1.25rem; text-decoration: none; color: var(--ink); }
.more a:hover { border-color: var(--navy); }
.more strong { font-family: var(--head); font-size: 1.2rem; color: var(--navy); }
.more span { color: var(--muted); }

@media (max-width: 860px) {
  .check fieldset, .more, .book { grid-template-columns: 1fr; }
  .book-img { max-width: 220px; }
}
@media (max-width: 560px) {
  .buy { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; }
}

/* golfingmilestones.com additions */
.hero-card { display: flex; justify-content: center; }
.scorecard-svg { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 14px 26px rgba(5, 28, 53, .18)); }

/* Finder */
.finder { margin-top: .5rem; max-width: 560px; }
.finder label { display: block; font-weight: 600; color: #fff; margin-bottom: .4rem; }
.finder-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.finder input { font: inherit; font-family: var(--head); font-weight: 800; font-size: 1.6rem; width: 9rem; padding: .55rem .8rem; border-radius: 6px; border: 2px solid #fff; color: var(--navy); }
.finder input:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.finder-result { margin-top: 1.5rem; background: #0b2a4b; border-left: 4px solid var(--lime); border-radius: 6px; padding: 1.25rem 1.5rem; max-width: 720px; }
.finder-result p { margin: 0 0 .5rem; }
.finder-goal { font-family: var(--head); font-weight: 900; font-size: 1.8rem; color: var(--lime); }
.finder-first { color: #e6edf6; }
.finder-link { font-weight: 700; }

/* Milestone strips */
.legend { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.legend li { display: inline-flex; align-items: center; gap: .4rem; }
.legend .h { width: 14px; height: 14px; }
.math { display: grid; gap: 1rem; max-width: 900px; margin-bottom: 1.5rem; }
.math-row { display: grid; grid-template-columns: 9rem 1fr; gap: .35rem 1rem; align-items: center; padding: .75rem 1rem; border-radius: 8px; }
.math-row.is-key { background: var(--mist); outline: 2px solid var(--navy); }
.math-row p { margin: 0; }
.math-name { font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.math-name span { font-weight: 600; color: var(--muted); margin-left: .35rem; }
.math-note { grid-column: 2; color: var(--muted); font-size: .95rem; }
.strip { display: grid; grid-template-columns: repeat(18, 1fr); gap: 3px; }
.h { display: inline-block; aspect-ratio: 1; border-radius: 3px; }
.h-P { background: var(--blue); }
.h-B { background: var(--navy); }
.h-D { background: #f29b38; }
.h-T { background: #d64545; }

/* Optional photos */
.optional-photo { aspect-ratio: 3 / 2; }
.optional-photo[hidden] { display: none; }

/* Four-week plan */
.weeks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.weeks li { background: #0b2a4b; border-top: 4px solid var(--lime); border-radius: 6px; padding: 1.1rem; display: grid; gap: .35rem; align-content: start; color: #d4deea; }
.weeks strong { font-family: var(--head); color: var(--lime); font-size: .95rem; }
.wk-title { font-family: var(--head); font-weight: 800; font-size: 1.25rem; color: #fff; }
.free-chapter { margin-top: 1rem; font-weight: 600; }

@media (max-width: 860px) {
  .weeks { grid-template-columns: repeat(2, 1fr); }
  .math-row { grid-template-columns: 1fr; }
  .math-note { grid-column: 1; }
}
@media (max-width: 560px) {
  .weeks { grid-template-columns: 1fr; }
  .strip { gap: 2px; }
}
.hero-grid:has(.hero-card) { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 860px) { .hero-grid:has(.hero-card) { grid-template-columns: 1fr; } }
