/* ---------------------------------------------------------------------------
   lms-picks.com — marketing site styles.

   Hand-written rather than a framework: these pages are the SEO surface, and
   Core Web Vitals are easier to hold when the whole stylesheet is a few KB and
   there is no render-blocking JavaScript at all.
   ------------------------------------------------------------------------- */

:root {
  --green:      #0b3d2c;
  --green-mid:  #14634a;
  --pitch:      #157a4f;
  --red:        #c8102e;
  --ink:        #16202b;
  --ink-soft:   #55616f;
  --line:       #e3e7ec;
  --bg:         #ffffff;
  --bg-alt:     #f5f8f6;
  --radius:     .75rem;
  --wrap:       68rem;
  --shadow:     0 8px 24px rgba(11, 61, 44, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--green); }
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff;
  padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* --- header ------------------------------------------------------------- */

/* Site-wide announcement. Sits ABOVE the sticky header and scrolls away with
   the page: it is information, not navigation, and pinning it would cost
   vertical space on a phone for the whole visit. */
.site-banner {
  background: var(--green);
  color: #fff;
  font-size: .9rem;
  line-height: 1.45;
  padding: .6rem 0;
  text-align: center;
}
.site-banner a { color: #fff; text-decoration: underline; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1.1rem;
        color: var(--green); text-decoration: none; letter-spacing: -.02em; }
.logo-mark { font-size: 1.15rem; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
/* :not(.btn) is load-bearing. `.site-nav a` scores (0,1,1) against
   `.btn-primary`'s (0,1,0), so without it the nav's ink colour beats the
   button's own white and "Start free" renders dark-on-dark green. Excluding
   buttons here fixes it at the source, and keeps working for any button
   variant added to the nav later. */
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--green); }

.navtoggle, .navtoggle-btn { display: none; }

@media (max-width: 46rem) {
  .navtoggle-btn { display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: .5rem; }
  .navtoggle-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
              flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line);
              padding: .5rem 1.25rem 1rem; }
  .navtoggle:checked ~ .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: .75rem; text-align: center; }
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-size: 1rem; line-height: 1.3; transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-mid); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* --- sections ----------------------------------------------------------- */

section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 42rem; margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }

.hero { padding-block: clamp(3.5rem, 9vw, 6rem); background:
        radial-gradient(ellipse at 50% -20%, rgba(21,122,79,.14), transparent 60%); }
.hero h1 { max-width: 20ch; margin-inline: auto; text-align: center; }
.hero .lead { max-width: 40rem; margin-inline: auto; text-align: center; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-note { text-align: center; margin-top: 1rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon { font-size: 1.6rem; display: block; margin-bottom: .6rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: step; padding-left: 3.25rem; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.steps h3 { margin-bottom: .2rem; }

/* --- pricing ------------------------------------------------------------ */

.plans { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.plan.featured { border-color: var(--green); box-shadow: var(--shadow); position: relative; }
.plan.featured::after {
  content: "Most clubs"; position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .25rem .7rem; border-radius: 1rem; white-space: nowrap;
}
.plan-price { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; margin: .25rem 0 .1rem; }
.plan-price span { font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .55rem; }
.plan li { padding-left: 1.6rem; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--pitch); font-weight: 700; }

/* --- forms -------------------------------------------------------------- */

.form-row { margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.hint { font-size: .85rem; color: var(--ink-soft); margin: .3rem 0 0; }
input[type=text], input[type=email], select, textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: .5rem;
  font: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--pitch); outline-offset: 1px; border-color: var(--pitch);
}

.subdomain-field { display: flex; align-items: stretch; }
.subdomain-field input { border-radius: .5rem 0 0 .5rem; border-right: 0; text-align: right; }
.subdomain-suffix {
  display: flex; align-items: center; padding: 0 .8rem; background: var(--bg-alt);
  border: 1px solid var(--line); border-left: 0; border-radius: 0 .5rem .5rem 0;
  color: var(--ink-soft); font-size: .95rem; white-space: nowrap;
}
.availability { font-size: .9rem; margin-top: .45rem; min-height: 1.4em; font-weight: 600; }
.availability.ok   { color: var(--pitch); }
.availability.bad  { color: var(--red); }
.availability.busy { color: var(--ink-soft); font-weight: 500; }

.alert { padding: .9rem 1.1rem; border-radius: .5rem; margin-bottom: 1.5rem; border: 1px solid; }
.alert-error { background: #fdf2f3; border-color: #f3c9ce; color: #8a1022; }
.alert-info  { background: #f0f7f4; border-color: #c6e2d5; color: #14634a; }

/* --- prose (guides) ----------------------------------------------------- */

.prose { max-width: 42rem; margin-inline: auto; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--pitch);
  color: var(--ink-soft); font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; }
.table-scroll { overflow-x: auto; }

.callout {
  background: var(--bg-alt); border-left: 3px solid var(--pitch);
  padding: 1.1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.75rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.faq-item { border-bottom: 1px solid var(--line); padding-block: 1.25rem; }
.faq-item h3 { margin-bottom: .35rem; }
.faq-item p:last-child { margin-bottom: 0; }

.guide-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.guide-list a { font-weight: 600; text-decoration: none; }
.guide-list p { margin: .25rem 0 0; }

.cta-band { background: var(--green); color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--green); }
.cta-band .btn-primary:hover { background: var(--bg-alt); color: var(--green); }

/* --- footer ------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.logo-footer { margin-bottom: .6rem; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; }
