/* AlpsPlanner public site — tokens from design-system.md, AAA body contrast,
   18px+ base, no hover-only UI, reduced-motion respected, < 600KB budget. */

@font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/assets/fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Zilla Slab'; src: url('/assets/fonts/zilla-slab-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Zilla Slab'; src: url('/assets/fonts/zilla-slab-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --pine: #1F4D3A; --pine-deep: #16382B; --limestone: #FAF7F2;
  --enrosadira: #B0492F; --enrosadira-deep: #8F3B26; --enrosadira-ink: #A8432A;
  --slate: #2B3034; --muted: #4D555B; --success: #1E6E46; --error: #A33B2E; --line: #DDD5C7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0; background: var(--limestone); color: var(--slate);
  font: 400 18px/1.55 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}
h1, h2, h3 { font-family: 'Zilla Slab', Georgia, serif; color: var(--pine); line-height: 1.15; }
h1 { font-size: 44px; margin: 0 0 16px; }
h2 { font-size: 32px; margin: 0 0 12px; }
h3 { font-size: 24px; margin: 0 0 8px; }
p { margin: 0 0 16px; }
a { color: var(--pine); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }

/* Top utility bar */
.topbar { background: var(--slate); color: #fff; font-size: 18px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.topbar a { color: #fff; text-decoration: none; padding: 8px 10px; display: inline-block; }
.topbar a[aria-current="true"] { text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }

/* Nav */
.nav { background: var(--limestone); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.nav .logo { display: flex; align-items: center; height: 40px; }
.nav .logo svg { height: 36px; width: auto; }
.nav ul { display: flex; gap: 8px; list-style: none; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; padding: 14px 12px; display: inline-block; min-height: 48px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 28px; border-radius: 8px; font-size: 18px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--enrosadira); color: #fff; }
.btn-primary:hover { background: var(--enrosadira-deep); }
.btn-secondary { background: var(--pine); color: #fff; }
.btn-secondary:hover { background: var(--pine-deep); }
.btn-quiet { border-color: var(--pine); color: var(--pine); background: transparent; }

/* Ridge divider */
.ridge { color: var(--line); height: 60px; margin: 0; }
.ridge svg { width: 100%; height: 100%; display: block; }

/* Hero */
.hero { padding: 80px 0 64px; }
.hero .kicker { color: var(--enrosadira-ink); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 18px; margin-bottom: 12px; }
.hero .sub { font-size: 22px; color: var(--muted); max-width: 640px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 16px; font-weight: 600; font-size: 18px; color: var(--pine); }

/* Cards / grids */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card .scene { background: var(--pine); border-radius: 8px; aspect-ratio: 16/10; display: flex;
  align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; overflow: hidden; }
.card .scene img { width: 100%; height: 100%; object-fit: cover; }
.card p { color: var(--muted); margin: 0; }

/* Feature deep-dives */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature ul { padding-left: 0; list-style: none; }
.feature li { padding: 8px 0 8px 36px; position: relative; font-size: 20px; }
.feature li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; font-size: 22px; }
.feature .shot { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature-text { order: 0; } }

/* CTA banner */
.cta-banner { background: var(--pine); color: #fff; text-align: center; border-radius: 0; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #E8EFE9; font-size: 20px; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.numbers .num { font-family: 'Zilla Slab', serif; font-size: 44px; font-weight: 700; color: var(--pine); }
.numbers .lbl { color: var(--muted); font-size: 18px; }

/* Roles chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: #fff; border: 2px solid var(--pine); color: var(--pine); border-radius: 8px;
  padding: 12px 20px; font-weight: 600; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: start; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px 24px; }
.tier.feat { border: 3px solid var(--pine); }
.tier .price { font-family: 'Zilla Slab', serif; font-size: 32px; color: var(--pine); margin: 8px 0; }
.tier ul { list-style: none; padding: 0; }
.tier li { padding: 6px 0 6px 30px; position: relative; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.draft { background: #FBEFD9; border: 1px solid #C9A35A; color: #6B4E12; border-radius: 8px;
  padding: 10px 16px; font-weight: 600; display: inline-block; margin-bottom: 20px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; }
summary { padding: 18px 22px; font-weight: 700; font-size: 20px; cursor: pointer; min-height: 48px; color: var(--pine); }
details > div { padding: 0 22px 18px; }

/* Footer */
footer { background: var(--slate); color: #fff; padding: 48px 0 32px; font-size: 18px; }
footer h3 { color: #fff; font-size: 20px; }
footer a { color: #fff; text-decoration: none; display: inline-block; padding: 6px 0; }
footer a:hover { text-decoration: underline; }
.footgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.todo { background: #FBEFD9; border: 1px dashed #C9A35A; color: #6B4E12; padding: 12px 16px;
  border-radius: 8px; font-weight: 600; }

@media (max-width: 700px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  section { padding: 44px 0; }
  .nav ul { margin: 0; }
}
