/* Wagon — market page body styles.
   Uses the site type system from /colors_and_type.css (Archivo Black / Archivo / JetBrains Mono).
   Header + footer live in /assets/css/chrome.css. */
:root {
  --accent: #F55F1E;        /* blaze-500 — large type, buttons, accents */
  --accent-text: #B33E0C;   /* blaze-700 — small text on cream (passes contrast) */
  --ink: #1A1814;
  --ink-2: #423C31;
  --muted: #5F5647;
  --ground: #FAF5EC;        /* cream */
  --ground-2: #F3EBDB;      /* cream-soft */
  --paper: #FFFDF8;
  --line: #E8DCC4;          /* cream-deep */
  --dark-2: #2B2720;
  --on-dark: #FAF5EC;
  --on-dark-2: #B8AE9F;
  --ok: #325A28;            /* palm */
  --no: #C4361F;
  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { background: var(--ground); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
main a { color: var(--accent-text); }
main a:hover { color: #872E08; }
main h1, main h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: -0.03em; margin: 0; }
main h3 { font-family: var(--sans); font-weight: 800; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section { padding-top: 120px; padding-bottom: 120px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-text); }
.h2 { font-size: clamp(40px, 5.5vw, 80px); line-height: .95; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 80px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1; }
.hero-sub { font-size: 20px; line-height: 1.45; color: var(--ink-2); max-width: 520px; }
.hero-media { flex: 1 1 420px; min-width: 0; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(42,28,12,.22)); }

/* Pricing */
.pricing { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.season-special { background: var(--ink); color: var(--on-dark); border-radius: 20px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.season-label { display: flex; flex-direction: column; gap: 4px; }
.season-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.season-dates { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); }
.season-price { font-family: var(--display); font-size: 36px; letter-spacing: -0.03em; }
.price-intro { margin-top: 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.price-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.price-name { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.price-amt { font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; line-height: 1; }
.price-note { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Booking embed */
.book { padding-top: 16px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 36px; }
.book-head { align-items: center; text-align: center; }
.frame { width: 100%; max-width: 980px; margin: 0 auto; background: #fff; border: 1.5px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 20px 40px rgba(42,28,12,.14), 0 4px 8px rgba(42,28,12,.06); }
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--ground-2); border-bottom: 1.5px solid var(--line); }
.frame-dots { display: flex; gap: 7px; }
.frame-dots span { width: 11px; height: 11px; border-radius: 999px; background: #D9D2C7; }
.frame-url { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.book-fallback { text-align: center; font-size: 14px; color: var(--muted); }

/* Fact strip */
.facts { background: var(--ink); color: var(--on-dark); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.fact { display: flex; flex-direction: column; gap: 8px; }
.fact strong { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; text-transform: uppercase; color: var(--accent); line-height: 1.05; }
.fact span { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }

/* Rules */
.rules { background: var(--ground-2); }
.rules-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.rules-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rules-card { flex: 1 1 420px; min-width: 0; background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.rules-card h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; text-transform: uppercase; }
.rules-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.rules-card li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); }
.rules-card li strong { color: var(--ink); }
.rules-card svg { flex: 0 0 auto; margin-top: 1px; }

/* Why Wagon */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.why-item { background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.why-item h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.05; }
.why-item p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Hosts */
.hosts { background: var(--ink); color: var(--on-dark); }
.hosts-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hosts-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hosts-copy .eyebrow { color: #FA7838; }
.hosts-copy .h2 { color: var(--on-dark); }
.hosts-copy .lede { color: var(--on-dark-2); }
.hosts-copy .btn { align-self: flex-start; }
.host-stats { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.host-stat { background: var(--dark-2); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.host-stat strong { font-family: var(--display); font-size: 40px; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.host-stat span { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }

/* FAQ */
.faq { max-width: 920px; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.faq-item { border-bottom: 1.5px solid var(--line); padding-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.faq-item h3 { font-size: 18px; }
.faq-item p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* App CTA */
.cta { margin-bottom: 120px; }
.cta-box { background: var(--accent); color: var(--on-dark); border-radius: 28px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-copy h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: .92; color: var(--on-dark); }
.cta-copy p { font-size: 18px; line-height: 1.5; color: var(--on-dark); opacity: .92; }
.cta-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: block; transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 58px; width: auto; }

:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .book { padding-bottom: 72px; }
  .cta { margin-bottom: 72px; }
  .cta-box { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .frame iframe { height: 900px; }
  .frame-bar { display: none; }
}
@media (max-width: 480px) {
  .price-card { padding: 14px; }
  .price-amt { font-size: 24px; }
}

/* ============ Booking pages (/book/...) ============ */
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 32px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.book-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 32px; padding-bottom: 72px; }
.book-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.book-hero-copy h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1; }
.book-hero-copy img { width: 100%; max-width: 560px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(42,28,12,.2)); }
.order-card { flex: 0 1 420px; min-width: 0; background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 40px rgba(42,28,12,.10), 0 4px 8px rgba(42,28,12,.05); position: sticky; top: 110px; }
.order-card h2 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.order-lines { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.order-line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-2); }
.order-line dt { margin: 0; } .order-line dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-line small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-top: 2px; }
.order-total { border-top: 1.5px solid var(--line); padding-top: 14px; color: var(--ink); font-weight: 800; font-size: 17px; }
.order-total dd { font-family: var(--display); font-size: 30px; letter-spacing: -0.02em; font-weight: 400; }
.order-card .btn { justify-content: center; width: 100%; }
.order-note { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.order-note strong { color: var(--ink); }
.included { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.included li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.included li strong { color: var(--ink); }
.included svg { flex: 0 0 auto; margin-top: 3px; }
.steps-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }
.steps-list li { background: var(--paper); border: 1.5px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps-list li::before { content: "0" counter(step); font-family: var(--display); font-size: 28px; color: var(--accent); letter-spacing: -0.02em; }
.steps-list h3 { font-size: 20px; }
.steps-list p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.thanks { max-width: 860px; padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; }
.thanks-badge { width: 64px; height: 64px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.thanks h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1; }
.thanks .steps-list { margin-top: 16px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 860px) {
  .order-card { position: static; flex-basis: 100%; }
  .book-hero { padding-bottom: 48px; gap: 32px; }
  .thanks { padding-top: 48px; padding-bottom: 72px; }
}

/* Why Wagon is different */
.why-check { width: 44px; height: 44px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.why-foot { margin-top: 28px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.hero-copy .contact-line { margin-top: 4px; }
