/* ============================================================
   Ride With Jay public page
   Static, mobile-first, no build step, no JavaScript.
   Spark shared system: green primary, gold accent, warm paper.
   Feel: mentor notebook, season recap, quiet proof.
   ============================================================ */

:root {
  --green: #24463a;
  --green-deep: #18332a;
  --green-soft: #2f5748;
  --gold: #d4a646;
  --gold-deep: #a97f2c;
  --paper: #faf6ee;
  --paper-warm: #f3ecdd;
  --card: #fffdf8;
  --card-line: #e6dcc8;
  --ink: #26302b;
  --ink-soft: #56635c;
  --cream: #f0e9d8;
  --cream-soft: #cfc5ac;
  --line: rgba(255, 255, 255, 0.16);
  --maxw: 64rem;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(30, 42, 36, 0.12);
  --pad: clamp(1.1rem, 4vw, 2.25rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Nova", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 7vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 3vw, 1.35rem); }

p { margin: 0 0 1rem; }

a { color: var(--gold-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---- Skip link ---- */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--green-deep);
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  z-index: 50;
}
.skip:focus { left: 0; }

/* ---- Header ---- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(24, 51, 42, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  font-size: 1.1rem;
}
.brand:hover { color: #fff; }

/* CSS-only snowboard glyph */
.board {
  width: 15px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 75%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
  rotate: 38deg;
  flex: none;
}

.nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.95rem;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a:focus { color: #fff; border-bottom-color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
  transition: translate 0.08s ease, box-shadow 0.15s ease;
}
.btn:active { translate: 0 1px; }
.btn-primary {
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #241a06;
  box-shadow: 0 8px 20px rgba(169, 127, 44, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(169, 127, 44, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }

/* Disabled preview control: looks like a button, does nothing */
.btn-disabled {
  background: rgba(36, 70, 58, 0.06);
  color: var(--ink-soft);
  border: 2px dashed var(--cream-soft);
  cursor: not-allowed;
}
.preview-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  margin-top: 1.6rem;
  align-items: flex-start;
}
.cta-stack { display: flex; flex-direction: column; }
.cta-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  color: var(--cream);
  background: linear-gradient(175deg, var(--green-deep) 0%, var(--green) 60%, var(--green-soft) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero .wrap {
  position: relative;
  z-index: 3;
  padding-top: clamp(2.8rem, 9vw, 5rem);
  padding-bottom: clamp(5rem, 14vw, 8rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.hero h1 { color: #fff; }
.hero p.lead {
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: var(--cream);
  max-width: 44ch;
}
.hero .cta-note { color: var(--cream-soft); }
.hero-boundary {
  margin-top: 1.4rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  color: var(--cream);
  max-width: 46ch;
}

/* quiet ridge silhouette along the hero base */
.ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.ridge span {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  display: block;
}
.ridge-back {
  height: clamp(70px, 16vw, 140px);
  background: rgba(240, 233, 216, 0.08);
  clip-path: polygon(0 100%, 0 62%, 18% 34%, 34% 58%, 52% 22%, 70% 54%, 86% 32%, 100% 60%, 100% 100%);
}
.ridge-front {
  height: clamp(46px, 10vw, 90px);
  background: rgba(240, 233, 216, 0.13);
  clip-path: polygon(0 100%, 0 80%, 26% 44%, 52% 76%, 76% 42%, 100% 78%, 100% 100%);
}

/* ---- Pilot card (hero aside) ---- */
.pilot-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--card-line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 14px 34px rgba(12, 24, 19, 0.35);
}
.pilot-tag {
  display: inline-block;
  background: var(--green);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.pilot-card h2 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.pilot-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pilot-card li {
  padding: 0.5rem 0;
  border-top: 1px dashed var(--card-line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.pilot-card li:first-child { border-top: 0; }
.pilot-card li strong { color: var(--ink); }

/* ---- Sections ---- */
section { padding: clamp(2.6rem, 8vw, 4.5rem) 0; }
.section-paper { background: var(--paper); }
.section-cream { background: var(--paper-warm); }
.section-pine {
  background: linear-gradient(165deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--cream);
}
.section-pine h2, .section-pine h3 { color: #fff; }

.lede {
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 58ch;
}
.section-pine .lede { color: var(--cream); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.section-pine .kicker,
.kicker-gold { color: var(--gold); }

/* ---- Card grid ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 1.8rem;
}
@media (min-width: 40rem) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.35rem; color: var(--green-deep); }
.card p { margin-bottom: 0; color: var(--ink-soft); }
.card .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  background: var(--paper-warm);
  border: 1px solid var(--card-line);
  font-size: 1.3rem;
}

/* ---- How it works steps ---- */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  position: relative;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.8rem 3.4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--green-deep);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 1.12rem;
  top: 2.5rem;
  bottom: 0.2rem;
  width: 2px;
  background: rgba(240, 233, 216, 0.25);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.25rem; }
.steps p { color: var(--cream); margin-bottom: 0; max-width: 56ch; }

/* ---- Offer tracks ---- */
.track { position: relative; }
.track-tag {
  display: inline-block;
  background: var(--paper-warm);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
@media (min-width: 40rem) {
  .track-wide { grid-column: 1 / -1; }
}

/* ---- Pilot deliverables ---- */
.gets {
  margin: 0;
  padding: 0;
  list-style: none;
}
.gets li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.9rem;
  border-bottom: 1px dashed var(--card-line);
  color: var(--ink-soft);
}
.gets li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  rotate: 45deg;
  background: var(--gold);
}

/* ---- Behind the recap ---- */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 1.8rem;
  align-items: start;
}
@media (min-width: 52rem) {
  .review-grid { grid-template-columns: 1.1fr 1fr; gap: 2rem; }
}
.review-cards { margin-top: 0; }

/* notebook-style sample recap */
.sample-recap {
  background:
    repeating-linear-gradient(
      to bottom,
      var(--card) 0,
      var(--card) 1.7rem,
      #efe7d4 1.7rem,
      #efe7d4 calc(1.7rem + 1px)
    );
  border: 1px solid var(--card-line);
  border-left: 5px solid var(--gold);
  border-radius: 4px var(--radius) var(--radius) 4px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.sample-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.sample-recap h3 { color: var(--green-deep); margin-bottom: 0.2rem; }
.sample-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
}
.sample-recap dl { margin: 1rem 0 0; }
.sample-recap dl div { margin-bottom: 0.9rem; }
.sample-recap dt {
  font-weight: 700;
  color: var(--gold-deep);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sample-recap dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.02rem;
}

.stay-in-lane {
  margin: 1.8rem 0 0;
  padding: 0.9rem 1.1rem;
  background: var(--paper-warm);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---- Boundary block ---- */
.boundary {
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}
.boundary h2 { color: var(--green-deep); }
.boundary .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.boundary ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}
.boundary li { margin-bottom: 0.45rem; color: var(--ink-soft); }
.boundary li strong { color: var(--ink); }
.boundary-close { margin: 1rem 0 0; }

/* ---- FAQ ---- */
.faq-section { padding-top: 0; }
.faq { margin-top: 1.6rem; }
.faq details {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: 0.4rem 1.1rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 14px rgba(30, 42, 36, 0.06);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.7rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-deep);
  font-weight: 700;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}

/* ---- CTA band ---- */
.cta-band {
  text-align: center;
  background: linear-gradient(165deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--cream);
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: var(--cream); margin: 0 auto; }
.cta-band .cta-row { justify-content: center; margin-top: 1.6rem; }
.cta-band .cta-note { color: var(--cream-soft); margin: 1rem auto 0; }

/* ---- Footer ---- */
.site-foot {
  background: var(--green-deep);
  color: var(--cream-soft);
  padding: clamp(2rem, 6vw, 3rem) 0;
  font-size: 0.9rem;
}
.site-foot .brand { margin-bottom: 0.8rem; }
.site-foot p { color: var(--cream-soft); max-width: 62ch; }
.foot-boundary {
  border-left: 3px solid var(--gold);
  padding-left: 0.9rem;
  margin-top: 1rem;
}
.foot-note {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: #94a096;
}
.foot-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--cream);
}
.spark-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4dfae, var(--gold));
  box-shadow: 0 0 10px rgba(212, 166, 70, 0.7);
  flex: none;
}

/* ---- Motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- Print ---- */
@media print {
  .site-head, .cta-band, .btn, .skip { display: none; }
  body { background: #fff; color: #000; }
  .hero, .section-pine { background: #fff; color: #000; }
  .hero h1, .section-pine h2, .section-pine h3 { color: #000; }
  .steps p, .hero p.lead, .section-pine .lede { color: #000; }
}
