/* =========================================================
   Wisdom on Air — styles
   Palette + type per the brand brief. Sentence case throughout.
   ========================================================= */

:root {
  --paper:           #FAF6EE; /* page background, warm off-white */
  --surface:         #FFFFFF; /* cards */
  --ink:             #221E1A; /* primary text, warm near-black */
  --slate:           #6B6258; /* secondary text */
  --subtle:          #9A9085; /* tertiary text, labels */
  --terracotta:      #C4502A; /* primary accent + CTA buttons */
  --terracotta-dark: #993C1D; /* button hover, small accent text */
  --signal:          #E03E3E; /* the "on air" light — signature only */
  --border:          #EAE2D6; /* hairline borders */
  --walnut:          #2E2823; /* dark sections / footer background */

  --radius: 14px;
  --maxw: 1080px;
  --pad: clamp(20px, 5vw, 48px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;            /* larger base for older eyes */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

a { color: var(--terracotta-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

p { margin: 0 0 1em; }

.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container--narrow { max-width: 760px; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- On-air dot (signature) ---------- */
.on-air-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(224, 62, 62, 0.55);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}
.on-air-dot--sm { width: 9px; height: 9px; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224, 62, 62, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(224, 62, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 62, 62, 0); }
}

/* ---------- Soundwave underline (signature) ---------- */
.soundwave {
  display: block;
  color: var(--terracotta);
  opacity: 0.85;
  margin-top: 8px;
  max-width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--terracotta-dark);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta-dark); background: #fff; }

.btn-lg { min-height: 54px; padding: 15px 34px; font-size: 1.12rem; }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: 1rem; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  color: var(--terracotta-dark);
  text-decoration: none;
}
.btn-text:hover { color: var(--terracotta); text-decoration: underline; }

/* WhatsApp — the one deliberate exception to the terracotta palette.
   This audience recognises the green button instantly. */
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1EBE5A; color: #fff; }
.btn-whatsapp .whatsapp-icon { flex: none; }

/* Full-width button, used for the prominent WhatsApp CTA above the form */
.btn-block { display: flex; width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.wordmark--light .wordmark-text { color: var(--paper); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
}
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: #fff; }
.nav .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bar { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px var(--pad) 22px;
  border-top: 1px solid var(--border);
  background: var(--paper);
}
.mobile-nav a {
  padding: 12px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.btn { border-bottom: 0; margin-top: 8px; color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: #F4EDE0; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-sub { font-size: 1.18rem; color: var(--slate); margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--terracotta-dark);
  text-transform: none;
  margin: 0 0 18px;
}
.hero-headline {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  margin: 0 0 18px;
}
.hero-subhead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--slate);
  max-width: 36ch;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-bottom: 18px;
}
.reassurance { color: var(--subtle); font-size: 1rem; margin: 0; }

/* Outcome channel card */
.hero-visual { display: flex; justify-content: center; }
.channel-card {
  margin: 0;
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--border);
}
.channel-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #2E2823;
  overflow: hidden;
}
.channel-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.live-badge {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 30, 26, 0.72);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}
.channel-meta {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.channel-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: #EAE2D6;
}
.channel-meta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.channel-name { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; }
.channel-sub { color: var(--slate); font-size: 1rem; }

/* ---------- How it works (steps) ---------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #F4EDE0;
  color: var(--terracotta-dark);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.4rem; }
.step p { color: var(--slate); margin: 0; }

/* ---------- Proof / quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.quote p { font-size: 1.12rem; color: var(--ink); }
.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--terracotta-dark);
  font-size: 0.98rem;
}
.proof-body { max-width: 70ch; }
.proof-body p { font-size: 1.2rem; color: var(--ink); }
.proof-body p:last-child { margin-bottom: 0; }
.proof-note { margin-top: 28px; color: var(--subtle); font-size: 1rem; }

/* ---------- Pricing ---------- */
.onboarding-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  background: var(--walnut);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
}
.onboarding-head h3 { color: var(--paper); font-size: 1.9rem; margin: 6px 0 10px; }
.onboarding-body { color: #E7DECF; margin: 0; font-size: 1.1rem; }
.tag {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.price { margin: 0; }
.price-amount { font-family: var(--font-display); font-weight: 500; font-size: 2rem; }
.price-unit { color: var(--slate); font-size: 1rem; }
.onboarding-head .price-unit { color: #C9BFAE; }

.plans-subhead { font-size: 1.4rem; margin: clamp(36px, 5vw, 52px) 0 22px; }
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--featured { border-color: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
.plan-head h4 { font-size: 1.55rem; margin: 0 0 4px; }
.plan-best { color: var(--terracotta-dark); font-weight: 600; font-size: 0.98rem; margin: 0 0 10px; }
.plan .price { margin-bottom: 18px; }
.plan-lead { color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.plan-features { list-style: none; margin: 0 0 24px; padding: 0; }
.plan-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--slate);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.overage-note {
  margin: 28px 0 0;
  color: var(--subtle);
  font-size: 0.98rem;
  max-width: 70ch;
}
.pricing-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 36px;
}
.pricing-cta-note { color: var(--slate); }

/* ---------- Book / Kit form ---------- */
.section--book { background: #F4EDE0; }
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.book-copy h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.book-copy > p { font-size: 1.15rem; color: var(--slate); }
.book-points { list-style: none; margin: 18px 0 0; padding: 0; }
.book-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink);
}
.book-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}
.call-back-line { margin: 16px 0 22px; color: var(--slate); font-size: 1rem; }

.book-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  min-height: 240px;
}
.kit-form { width: 100%; }

/* Brand overrides for the embedded Kit form. !important is needed to beat
   the inline styles Kit sets on its own elements. */
.kit-form .formkit-form[data-uid="1384900990"] {
  background: transparent !important;
  border: 0 !important;
  max-width: none;
}
.kit-form .formkit-form[data-uid="1384900990"] .formkit-background { display: none; }
.kit-form .formkit-form[data-uid="1384900990"] [data-style="minimal"] { padding: 0 !important; }
/* Hide the form's own heading + empty subheader (the section already has one) */
.kit-form .formkit-form[data-uid="1384900990"] .formkit-header,
.kit-form .formkit-form[data-uid="1384900990"] .formkit-subheader { display: none; }
.kit-form .formkit-form[data-uid="1384900990"] .formkit-fields { margin-top: 0; }
.kit-form .formkit-form[data-uid="1384900990"] .formkit-input {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 10px !important;
  padding: 13px 14px;
}
.kit-form .formkit-form[data-uid="1384900990"] .formkit-input:focus {
  border-color: var(--terracotta) !important;
}
.kit-form .formkit-form[data-uid="1384900990"] .formkit-submit {
  background-color: var(--terracotta) !important;
  border-radius: 999px !important;
  font-family: var(--font-body);
  font-weight: 600 !important;
  font-size: 1.05rem;
}
.kit-form .formkit-form[data-uid="1384900990"] .formkit-submit:hover {
  background-color: var(--terracotta-dark) !important;
}
.kit-form .formkit-form[data-uid="1384900990"] .formkit-guarantee { color: var(--subtle); }

/* ---------- Our story / founders ---------- */
.story-body { max-width: 70ch; }
.story-body p { font-size: 1.2rem; }
.founders-head { font-size: 1.5rem; margin: clamp(32px, 5vw, 48px) 0 22px; }
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 28px);
}
.founder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.founder h4 { font-size: 1.4rem; margin-bottom: 2px; }
.founder-role { color: var(--terracotta-dark); font-weight: 600; font-size: 0.95rem; margin: 0 0 12px; }
.founder p:last-child { color: var(--slate); margin: 0; }
.story-venture { margin-top: 28px; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 4px;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 28px;
  width: 12px; height: 12px;
  border-right: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq-answer { padding: 0 44px 22px 4px; }
.faq-answer p { color: var(--slate); font-size: 1.12rem; margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--walnut);
  color: var(--paper);
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
}
.final-cta h2 {
  color: var(--paper);
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 18ch;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut); color: #C9BFAE; padding: clamp(48px, 6vw, 72px) 0 28px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}
.footer-brand .wordmark { margin-bottom: 12px; }
.footer-tag { color: #C9BFAE; max-width: 32ch; }
.footer-col h3 { color: var(--paper); font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 12px; }
.footer-col p { margin: 0 0 8px; }
.footer-col a { color: var(--paper); }
.footer-addr { color: #C9BFAE; line-height: 1.5; }
.footer-respond { color: #9F9583; font-size: 0.95rem; }
.footer-social { list-style: none; margin: 0; padding: 0; }
.footer-social li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #9F9583;
  font-size: 0.95rem;
}
.footer-bottom a { color: #C9BFAE; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .channel-card { max-width: 420px; }
  .steps, .quotes, .plans, .founders { grid-template-columns: 1fr; }
  .onboarding-card { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  /* let dashed phrases wrap on small phones to avoid edge crowding */
  .nowrap { white-space: normal; }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Reduced motion: kill the pulse + smooth scroll ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .on-air-dot { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Footer legal links ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: #C9BFAE; text-decoration: none; }
.footer-legal a:hover { color: var(--paper); text-decoration: underline; }

/* ---------- Legal pages (privacy, disclaimer) ---------- */
.legal-section .container--narrow { max-width: 760px; }
.legal-section h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.3em; }
.legal-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin-top: 1.7em;
}
.legal-section p, .legal-section li { color: var(--slate); }
.legal-section li { margin-bottom: 0.5em; }
.legal-updated { color: var(--subtle); font-size: 0.98rem; margin-bottom: 1.6em; }
.legal-note {
  background: #F4EDE0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.98rem;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 300;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  background: var(--walnut);
  color: #E7DECF;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}
.cookie-banner__text { flex: 1 1 300px; margin: 0; font-size: 0.98rem; line-height: 1.5; }
.cookie-banner__text a { color: var(--paper); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { min-height: 42px; padding: 9px 22px; font-size: 0.98rem; }
.cookie-banner__reject {
  background: transparent;
  color: #E7DECF;
  border: 1px solid rgba(255, 255, 255, 0.30);
}
.cookie-banner__reject:hover { border-color: #E7DECF; color: #fff; background: transparent; }

@media (max-width: 540px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1 1 auto; }
}
