/* Shared base for the landing page concepts. Colors, type, radii and shadows
   come from ../styles/tokens.css (light theme), so every concept matches the app. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-base)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--scrub) 70%, white); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--s-6); }
@media (max-width: 600px) { .wrap { padding: 0 var(--s-4); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 var(--fs-xs)/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--scrub); }
.lede { font-size: var(--fs-md); color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--font-mono); }

/* ---- Brand ---- */
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem/1 var(--font-display); text-decoration: none; color: var(--ink); }
.lp-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--scrub); color: #fff; display: grid; place-items: center; flex: none; }
.lp-mark svg { width: 20px; height: 20px; }

/* ---- Buttons ---- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-sm);
  font: 600 var(--fs-sm)/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: background var(--t-fast, 160ms) ease, transform var(--t-fast, 160ms) ease, box-shadow var(--t-fast, 160ms) ease;
}
.lp-btn svg { width: 18px; height: 18px; }
.lp-btn:hover { background: var(--surface-2); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary { background: var(--scrub); border-color: var(--scrub); color: var(--scrub-ink); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--scrub) 70%, transparent); }
.lp-btn-primary:hover { background: var(--scrub-strong); }
.lp-btn-lg { min-height: 52px; padding: 0 26px; font-size: var(--fs-base); }
.lp-btn-ghost { background: transparent; border-color: transparent; }
.lp-btn-ghost:hover { background: var(--surface-2); }

/* ---- Top nav ---- */
.lp-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.lp-nav.scrolled { border-bottom-color: var(--line); }
.lp-nav .wrap { display: flex; align-items: center; gap: var(--s-6); min-height: 68px; }
.lp-nav-links { display: flex; gap: var(--s-1); margin-left: auto; }
.lp-nav-links a { padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); }
.lp-nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.lp-nav-cta { display: flex; gap: var(--s-2); }
@media (max-width: 860px) { .lp-nav-links { display: none; } .lp-nav-cta { margin-left: auto; } }
@media (max-width: 420px) { .lp-nav-cta .lp-btn-ghost { display: none; } }

/* ---- Pricing (shared shape; each concept restyles it) ---- */
.lp-price-amount { font: 700 2.4rem/1 var(--font-display); letter-spacing: -.03em; }
.lp-price-amount small { font: 500 var(--fs-sm)/1 var(--font-body); color: var(--ink-3); letter-spacing: 0; }
.lp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); }
.lp-list svg { width: 18px; height: 18px; flex: none; color: var(--scrub); margin-top: 2px; }

/* Placeholder for a real student quote; deliberately looks unfinished. */
.lp-placeholder { border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); padding: var(--s-6); color: var(--ink-3); font-size: var(--fs-sm); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.lp-placeholder b { color: var(--ink-2); }

/* ---- Footer ---- */
.lp-footer { border-top: 1px solid var(--line); padding: var(--s-10) 0 var(--s-12); margin-top: var(--s-16); font-size: var(--fs-sm); color: var(--ink-2); }
.lp-footer .wrap { display: grid; gap: var(--s-6); }
.lp-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
.lp-footer nav a { text-decoration: none; padding: 6px 0; }
.lp-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.lp-footer .fine { font-size: var(--fs-xs); color: var(--ink-3); max-width: 90ch; display: grid; gap: 6px; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
/* The device's reduce-motion setting is not followed here: Windows turns it on whenever "Animation effects" is off, which stopped every animation. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.lp-btn[hidden] { display: none; }
