/* ==========================================================
   Ode — shared site styles
   Used by the homepage and every landing page in /lp/.
   ========================================================== */

:root {
  --sage-bg:     #E1E7DE;  /* page background */
  --sage-pale:   #EDF1EC;
  --sage:        #BFD0BB;
  --sage-btn:    #B8CBB2;
  --paper:       #F4F5F0;
  --ink:         #171817;
  --ink-muted:   #4E554D;
  --hairline:    #C7CFC3;
  --lilac:       #D2B3E6;  /* primary CTA */
  --lilac-hover: #C4A8DA;
  --lilac-ink:   #8A6BB0;
  --periwinkle:  #B9C6EC;  /* "Start tonight" band */
  --sand:        #EBD8C0;  /* founder band */

  --serif: "Lora", Georgia, serif;
  --sans:  "Archivo", "Acumin Pro", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; font-family: var(--sans); background: var(--sage-bg); color: var(--ink); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--lilac-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.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;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lilac); color: var(--ink);
  padding: 16px 32px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--lilac-hover); color: var(--ink); }

.btn-nav {
  display: inline-flex; align-items: center;
  background: var(--sage-btn); color: var(--ink) !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: background-color .15s ease;
}
.btn-nav:hover { background: var(--lilac-hover); }

/* ---------- FAQ (native <details>, no JavaScript needed) ---------- */
.faq { border-bottom: 1px solid var(--hairline); padding: 22px 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  font-family: var(--sans); font-weight: 250; font-size: 28px; line-height: 1;
  flex: 0 0 auto; transition: transform .2s ease;
}
.faq[open] .faq-icon { transform: rotate(45deg); }
.faq p { font-size: 16px; line-height: 1.65; color: var(--ink-muted); margin: 14px 0 0; max-width: 64ch; }

/* ---------- Email capture form ---------- */
.lead-row {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end;
  border-bottom: 1px solid var(--ink); padding-bottom: 8px;
}
.lead-row input[type="email"] {
  flex: 1 1 180px; min-width: 0; padding: 10px 0; border: 0; background: transparent;
  font-family: var(--sans); font-size: 17px; color: var(--ink); outline-offset: 4px;
}
.lead-row input[type="email"]::placeholder { color: var(--ink-muted); }
.lead-row button {
  padding: 10px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600; color: var(--ink);
}
.lead-row button:hover { color: var(--paper); }
.lead-row button[disabled] { opacity: .5; cursor: default; }
.lead-success, .lead-error { font-size: 14px; margin: 14px 0 0; }

/* ==========================================================
   Landing page building blocks (used in /lp/)
   Mix and match these sections; colors come from the variables above.
   ========================================================== */
.lp-section { padding: clamp(72px, 9vw, 120px) var(--gutter); }
.lp-narrow { max-width: 1120px; margin: 0 auto; }
.bg-paper { background: var(--paper); }
.bg-sage { background: var(--sage); }
.bg-pale { background: var(--sage-pale); }
.bg-periwinkle { background: var(--periwinkle); }
.bg-sand { background: var(--sand); }

.eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; margin: 0 0 20px;
}
.display {
  font-family: var(--sans); font-weight: 250;
  font-size: clamp(40px, 5.6vw, 88px); line-height: 0.96; letter-spacing: -0.02em;
  margin: 0;
}
.display em { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.lead-text { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; margin: 0; max-width: 44ch; }
.body-text { font-size: 16px; line-height: 1.6; margin: 0; }
.muted { color: var(--ink-muted); }

.split {
  display: grid; gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.cols {
  display: grid; gap: 0 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.col { border-top: 1px solid var(--ink); padding: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.col h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; margin: 0; }
.col .num { font-size: 11px; letter-spacing: 0.18em; font-weight: 600; }

.quote { margin: 0; text-align: center; }
.quote blockquote {
  margin: 0 auto; font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; max-width: 20ch; text-wrap: balance;
}
.quote figcaption { margin: 28px 0 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }

/* LP hero */
.lp-hero {
  position: relative; min-height: min(88vh, 820px);
  display: flex; flex-direction: column; justify-content: space-between; color: var(--paper);
}
.lp-hero-media { position: absolute; inset: 0; overflow: hidden; }
.lp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.lp-hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 80% at 0% 100%, rgba(23,24,23,.74) 0%, rgba(23,24,23,.45) 45%, rgba(23,24,23,0) 100%),
    linear-gradient(180deg, rgba(23,24,23,.38) 0%, rgba(23,24,23,0) 30%, rgba(23,24,23,0) 55%, rgba(23,24,23,.5) 100%);
}
.lp-hero header, .lp-hero .lp-hero-copy { position: relative; padding-left: var(--gutter); padding-right: var(--gutter); }
.lp-hero header { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lp-hero header img { height: 44px; width: auto; display: block; }
.lp-hero .lp-hero-copy { padding-bottom: clamp(40px, 6vw, 80px); }
.lp-hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08; margin: 0 0 18px; max-width: 16ch; color: var(--paper);
}
.lp-hero .sub { font-size: 17px; line-height: 1.55; margin: 0 0 28px; max-width: 44ch; }
.lp-hero .assure { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Pricing cards */
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.price-card { background: var(--paper); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.price-card.featured { box-shadow: inset 0 0 0 1.5px var(--ink); }
.price-card .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.price-card .amount { font-weight: 300; font-size: clamp(44px, 5vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.price-card .per { font-size: 14px; line-height: 1.45; }
.checklist { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; max-width: 46ch; }
.checklist li { border-top: 1px solid var(--ink); padding-top: 10px; }

.lp-footer {
  padding: 28px var(--gutter); border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted);
}
.lp-footer a { color: var(--ink-muted); }

@media (max-width: 420px) {
  .price-cards { grid-template-columns: 1fr; }
}
/* Hero photo on phones: zoom out a little and crop just past the child's eye so the tablet shows; the bottom fades into a dark background */
@media (max-width: 760px) {
  .hero { background: #171817; }
  .hero-img {
    height: 85% !important; object-position: 63% 0% !important;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
