/* assets/landing.css — shared styles for the four server-rendered SEO
   landing pages (kids-tennis, adult-tennis, pickleball-lessons,
   private-lessons). Separate from the SPA's own CSS on purpose: these pages
   are plain PHP with no build step, so this file is hand-written and loaded
   with a plain <link>, not bundled.

   Brand colours copied from src/index.css in the Vite source (NOVA_TA
   Guidelines, 2 Sep 2026): deep green is primary, lime is an accent only and
   never sits under body text, gray/ink are the working background/text —
   see memory nova-tennis-brand-book. One accent family (green) — no coral
   here, so lime stays the only "urgent" accent on this page.

   Mobile-first: base rules target a 390px phone with 44px tap targets and no
   horizontal scroll; a single breakpoint widens the layout for a tablet/desktop. */

:root {
  --ink: #1b1b1b;
  --court: #2e5644;
  --court-deep: #1b3a2d;
  --chalk: #ffffff;
  --mist: #eceff0;
  --lime: #d8ff3f;
  --ink-on-lime: #14210a; /* darker than --ink: lime is bright enough that pure #1b1b1b read slightly muddy in a contrast check */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: 'Inter', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;                 /* never smaller on a form-adjacent page — iOS zooms the viewport on anything under 16px */
  line-height: 1.55;
  overflow-x: hidden;               /* belt-and-suspenders; every block below is also width-safe on its own */
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: 'Barlow Semi Condensed', Arial, sans-serif;
  font-weight: 800;
  line-height: 0.95;                /* brand book: H1-H3 leading ~90% */
  color: var(--court-deep);
  margin: 0 0 .5em;
}
h1 { font-size: 34px; }
h2 { font-size: 24px; margin-top: 2.2em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }

.ll-staging {
  background: #7a1f1f; color: var(--chalk); text-align: center;
  font-size: 13px; font-weight: 600; padding: 6px 10px;
}

/* ---------- header / nav ---------- */
.ll-nav { background: var(--court); }
.ll-nav-in {
  max-width: 1100px; margin: 0 auto; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
}
.ll-logo {
  font-family: 'Barlow Semi Condensed', Arial, sans-serif;
  font-weight: 800; font-style: italic; text-decoration: none;
  color: var(--chalk); font-size: 19px; letter-spacing: .01em;
  white-space: nowrap;
}
.ll-logo span { color: var(--lime); }
.ll-nav-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ll-nav-links a {
  color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 10px 2px; /* padding, not just line-height, so the tap target clears 44px without inflating the visible text */
  border-bottom: 2px solid transparent;
}
.ll-nav-links a:hover, .ll-nav-links a[aria-current="page"] { color: var(--chalk); border-bottom-color: var(--lime); }

/* ---------- page shell ---------- */
.ll-wrap { max-width: 780px; margin: 0 auto; padding: 28px 20px 8px; }
.ll-eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--court);
  margin: 0 0 .6em;
}
.ll-lede { font-size: 17px; color: #3a3a3a; }

/* ---------- breadcrumb ---------- */
.ll-crumb { font-size: 13px; color: #666; margin: 14px 20px 0; max-width: 780px; }
.ll-crumb a { text-decoration: underline; text-underline-offset: 2px; }
.ll-crumb-wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* ---------- CTA buttons ---------- */
.ll-cta-row { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; align-items: stretch; }
.ll-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; text-align: center;
  border: 2px solid transparent;
}
.ll-btn-primary { background: var(--lime); color: var(--ink-on-lime); }
.ll-btn-primary:hover { background: #c8ee2c; }
.ll-btn-secondary { background: var(--chalk); color: var(--court); border-color: var(--court); }
.ll-btn-secondary:hover { background: var(--mist); }
.ll-cta-note { font-size: 13px; color: #666; margin-top: -2px; }

/* ---------- badge / callout (Caveat used sparingly, per brand book) ---------- */
.ll-badge {
  display: inline-block; font-family: 'Caveat', cursive; font-size: 22px;
  color: var(--court); background: var(--mist); padding: 4px 14px 6px;
  border-radius: 10px; transform: rotate(-2deg); margin: 0 0 14px;
}

/* ---------- cards: programs / levels ---------- */
.ll-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0 8px; }
.ll-card {
  border: 1px solid #dfe3e0; border-radius: 14px; padding: 16px 18px;
  background: var(--mist);
}
.ll-card h3 { margin-bottom: .3em; }
.ll-card .ll-age { font-size: 13px; font-weight: 700; color: var(--court); margin-bottom: .5em; display: block; }
.ll-card .ll-price { font-weight: 700; color: var(--ink); }
.ll-card .ll-price small { font-weight: 500; color: #555; }

/* ---------- schedule table ---------- */
.ll-sched-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
table.ll-sched { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14px; }
table.ll-sched th, table.ll-sched td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid #e2e5e3;
  vertical-align: top;
}
table.ll-sched th {
  font-family: 'Barlow Semi Condensed', Arial, sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--court);
  background: var(--mist);
}
table.ll-sched tr:last-child td { border-bottom: none; }
.ll-sched-note { font-size: 13px; color: #666; margin-top: 10px; }

/* ---------- FAQ ---------- */
.ll-faq dt {
  font-family: 'Barlow Semi Condensed', Arial, sans-serif; font-weight: 700;
  font-size: 17px; color: var(--court-deep); margin: 1.1em 0 .3em;
}
.ll-faq dd { margin: 0 0 .2em; color: #333; }

/* ---------- internal cross-links ---------- */
.ll-programs-row {
  border-top: 1px solid #e2e5e3; border-bottom: 1px solid #e2e5e3;
  margin: 30px 0; padding: 14px 0;
}
.ll-programs-row p { margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #777; }
.ll-programs-row .ll-programs-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ll-programs-row a { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.ll-foot { background: var(--court-deep); color: rgba(255,255,255,.85); margin-top: 40px; }
.ll-foot-in {
  max-width: 1100px; margin: 0 auto; padding: 28px 20px 34px;
  display: grid; grid-template-columns: 1fr; gap: 20px; font-size: 14px;
}
.ll-foot p { margin: 0 0 6px; }
.ll-foot a { text-decoration: underline; text-underline-offset: 2px; padding: 2px 0; display: inline-block; }
.ll-foot-brand { font-family: 'Barlow Semi Condensed', Arial, sans-serif; font-weight: 800; font-size: 17px; color: var(--chalk); }

/* ---------- tablet / desktop ---------- */
@media (min-width: 700px) {
  h1 { font-size: 46px; }
  h2 { font-size: 28px; }
  .ll-wrap { padding-top: 40px; }
  .ll-cta-row { flex-direction: row; }
  .ll-btn { flex: 0 0 auto; }
  .ll-cards { grid-template-columns: 1fr 1fr; }
  .ll-foot-in { grid-template-columns: 1.3fr 1fr 1fr; }
}
