/* ==========================================================================
   AL BRAVO COACH — shared stylesheet
   Locked logo green is the brand: #105C2C (exact sample from the live mark).
   UI uses that green. Header and hero stay light so the green lockup reads.
   ========================================================================== */

:root {
  --ink-950: #0A3D1C;
  --ink-900: #0C4A24;
  --ink-800: #105C2C;
  --ink-700: #1A6B38;
  --ink-600: #2A7A48;
  --line-str: #6A8F74;

  --bone-50: #FBF8F4;
  --bone-100: #F5F0EA;
  --bone-200: #EAE3DA;
  --bone-300: #DCD3C7;

  --text-on-dark-1: #F3EEE8;
  --text-on-dark-2: #C4B9B1;
  --text-on-dark-3: #9A8F87;
  --text-on-light-1: #1A1614;
  --text-on-light-2: #4A413B;
  --text-on-light-3: #6B6058;

  --ember-400: #2E8A4A;
  --ember-500: #105C2C;
  --ember-600: #0C4A24;
  --ember-700: #08351A;

  --amber-300: #A3D4B0;
  --amber-400: #4CAF6A;

  --sage-300: #A3BCA0;
  --sage-400: #8FA98C;
  --sage-600: #4F6B4C;
  --sage-700: #3D5A3A;

  --error: #FF7B6B;
  --focus: #FFC46B;

  /* EXACT SAMPLE from live logo PNG. Primary UI color. */
  --brand-green: #105C2C;

  --font-head: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --measure: 34em;
  --gutter: 1.25rem;
  --container: 1180px;
  --container-narrow: 760px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 68px;
  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);

  --bg: var(--bone-50);
  --fg: var(--text-on-light-1);
  --fg-muted: var(--text-on-light-2);
  --accent: var(--brand-green);
  --accent-text: var(--brand-green);
  --line: var(--ink-600);
  --line-strong: var(--line-str);
  --card-bg: var(--ink-800);
  --card-line: var(--ink-600);
}

@media (min-width: 900px) {
  :root {
    --gutter: 2rem;
    --header-h: 76px;
  }
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bone-50);
  color: var(--text-on-light-1);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.02rem + 0.14vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  background-color: transparent;
}

ul,
ol {
  padding-left: 1.25em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection {
  background: var(--ember-500);
  color: var(--ink-950);
}

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

:focus:not(:focus-visible) {
  outline: none;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 0.6em;
  color: var(--fg);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.33rem + 3.89vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.021em;
  max-width: 16ch;
}

h2 {
  font-size: clamp(2rem, 1.33rem + 2.22vw, 3rem);
  max-width: 22ch;
}

h3 {
  font-size: clamp(1.5rem, 1.25rem + 0.83vw, 1.875rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
}

h4 {
  font-size: clamp(1.25rem, 1.17rem + 0.28vw, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.008em;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
  color: var(--fg-muted);
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--ember-400);
}

.section--light a,
.section--light-alt a {
  color: var(--ember-700);
}

.section--light a:hover,
.section--light-alt a:hover {
  color: var(--ember-600);
}

strong,
b {
  font-weight: 600;
  color: var(--fg);
}

blockquote {
  margin: 0;
}

.lead {
  font-size: clamp(1.1875rem, 1.06rem + 0.42vw, 1.375rem);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: var(--measure);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-400);
  max-width: none;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-400);
}

.eyebrow--center {
  justify-content: center;
}

.note {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: var(--measure);
}

.legal {
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3.25rem, 2rem + 6vw, 6.5rem);
  background-color: var(--bg);
  color: var(--fg);
}

.section__head {
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  max-width: 46rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .lead,
.section__head--center p,
.section__head--center h2 {
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid {
    gap: 1.5rem;
  }
}

.grid--2,
.grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split--reverse > :first-child {
    order: 2;
  }
  .split--top {
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   Section themes — dark-anchored, not all-dark
   -------------------------------------------------------------------------- */

.section--dark {
  --bg: var(--ink-900);
  --fg: var(--text-on-dark-1);
  --fg-muted: var(--text-on-dark-2);
  --accent-text: var(--ember-400);
  --line: var(--ink-600);
  --line-strong: var(--line-str);
  --card-bg: var(--ink-800);
  --card-line: var(--ink-600);
}

.section--deep {
  --bg: var(--ink-950);
  --fg: var(--text-on-dark-1);
  --fg-muted: var(--text-on-dark-2);
  --accent-text: var(--ember-400);
  --line: var(--ink-600);
  --line-strong: var(--line-str);
  --card-bg: var(--ink-800);
  --card-line: var(--ink-600);
}

.section--light {
  --bg: var(--bone-100);
  --fg: var(--text-on-light-1);
  --fg-muted: var(--text-on-light-2);
  --accent-text: var(--ember-700);
  --line: var(--bone-300);
  --line-strong: var(--line-str);
  --card-bg: var(--bone-50);
  --card-line: var(--bone-300);
}

.section--light-alt {
  --bg: var(--bone-50);
  --fg: var(--text-on-light-1);
  --fg-muted: var(--text-on-light-2);
  --accent-text: var(--ember-700);
  --line: var(--bone-300);
  --line-strong: var(--line-str);
  --card-bg: #fff;
  --card-line: var(--bone-300);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--brand-green);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, 0.94);
  border-bottom: 1px solid var(--bone-300);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--brand-green);
  line-height: 1.1;
  flex: none;
}

.logo:hover {
  color: var(--brand-green);
}

.logo__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--ink-800);
  color: var(--bone-50);
  border: 1px solid var(--ink-600);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__img {
  height: 48px;
  width: auto;
  max-width: 56px;
  min-width: 40px;
  background: transparent;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.logo__name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-green);
}

.logo__tag {
  display: none;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green);
}

@media (min-width: 480px) {
  .logo__tag {
    display: block;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--brand-green);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--brand-green);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--bone-200);
}

.nav-toggle__bars,
.nav-toggle__close {
  width: 20px;
  height: 20px;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bone-50);
  border-bottom: 1px solid var(--bone-300);
  padding: 0.75rem var(--gutter) 1.5rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-nav__link {
  display: block;
  padding: 0.85rem 0.25rem;
  color: var(--text-on-light-1);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-bottom: 1px solid var(--bone-300);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--brand-green);
}

.site-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-on-light-1);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--brand-green);
}

.header__phone svg {
  width: 17px;
  height: 17px;
  color: var(--amber-400);
  flex: none;
}

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    margin-left: auto;
  }

  .site-nav.is-open {
    position: static;
    background: none;
    border: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
  }

  .site-nav__link {
    padding: 0.5rem 0.7rem;
    border: 0;
    border-radius: var(--radius-sm);
  }

  .site-nav__link:hover {
    background: var(--bone-200);
  }

  .site-nav__actions {
    display: none;
  }

  .header__phone {
    display: inline-flex;
  }

  .header__cta {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   Buttons — one ember fill per viewport; header uses outline
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.75rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--brand-green);
  color: #fff;
}

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

.section--light .btn--primary,
.section--light-alt .btn--primary {
  background: var(--brand-green);
  color: #fff;
}

.section--light .btn--primary:hover,
.section--light-alt .btn--primary:hover {
  background: var(--ember-700);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-str);
  color: var(--fg);
}

.btn--ghost:hover {
  border-color: var(--ember-400);
  color: var(--fg);
  background: transparent;
}

.section--light .btn--ghost,
.section--light-alt .btn--ghost {
  color: var(--text-on-light-1);
  border-color: var(--line-str);
}

.section--light .btn--ghost:hover,
.section--light-alt .btn--ghost:hover {
  border-color: var(--ember-700);
  color: var(--text-on-light-1);
}

.btn--lg {
  padding: 1.1rem 2rem;
}

.btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: 1rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: none;
}

.btn-note svg {
  width: 15px;
  height: 15px;
  color: var(--sage-400);
  flex: none;
  margin-top: 3px;
}

.section--light .btn-note svg,
.section--light-alt .btn-note svg {
  color: var(--sage-700);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero,
.page-hero,
.cta-band {
  position: relative;
  overflow: hidden;
  background-color: var(--bone-50);
  color: var(--text-on-light-1);
  --fg: var(--text-on-light-1);
  --fg-muted: var(--text-on-light-2);
  --accent-text: var(--brand-green);
  --line: var(--bone-300);
  --line-strong: var(--line-str);
  --card-bg: #fff;
  --card-line: var(--bone-300);
}

.hero {
  padding-block: clamp(3rem, 2rem + 7vw, 7rem);
}

.hero::before,
.page-hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80ch 60ch at 12% 108%,
    rgba(16, 92, 44, 0.14),
    transparent 62%
  );
  pointer-events: none;
}

.hero > *,
.page-hero > *,
.cta-band > * {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: clamp(2.25rem, 1.5rem + 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.hero h1 {
  margin-bottom: 0.45em;
}

.hero__media {
  position: relative;
}

.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bone-300);
  background: var(--bone-200);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: -2.5rem;
  margin-inline: 1rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--bone-300);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}

.hero__badge svg {
  width: 26px;
  height: 26px;
  color: var(--sage-400);
  flex: none;
}

.hero__badge p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-on-light-2);
}

.hero__badge strong {
  display: block;
  color: var(--text-on-dark-1);
  font-size: 0.9375rem;
}

.page-hero {
  padding-block: clamp(2.5rem, 1.75rem + 5vw, 5rem);
}

.page-hero__inner {
  max-width: 52rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.breadcrumb {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-on-dark-3);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--ink-600);
}

.breadcrumb a {
  color: var(--text-on-dark-3);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ember-400);
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */

.trustbar {
  background: var(--ink-900);
  border-block: 1px solid var(--ink-600);
  padding-block: 1.5rem;
}

.trustbar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .trustbar__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .trustbar__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trustbar__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-on-dark-2);
}

.trustbar__item svg {
  width: 20px;
  height: 20px;
  color: var(--sage-400);
  flex: none;
  margin-top: 1px;
}

.trustbar__item strong {
  color: var(--text-on-dark-1);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Cards, steps, lists
   -------------------------------------------------------------------------- */

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  height: 100%;
}

.card h3,
.card h4 {
  margin-bottom: 0.5em;
}

.card p {
  max-width: none;
  font-size: 1rem;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--card-line);
  color: var(--amber-400);
}

.section--light .card__icon,
.section--light-alt .card__icon {
  color: var(--ember-700);
}

.card__icon svg {
  width: 23px;
  height: 23px;
}

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition);
}

.card--link:hover {
  border-color: var(--ember-600);
  color: inherit;
}

.card--link h3 {
  color: var(--fg);
}

.card--link .link-arrow {
  margin-top: 1rem;
}

.card--feature {
  border-color: var(--ember-600);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.step {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 1.83rem + 2.22vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber-400);
}

.step h3 {
  margin-bottom: 0.5em;
}

.step p {
  max-width: none;
  font-size: 1rem;
  margin-bottom: 0;
}

.icon-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: var(--measure);
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg-muted);
}

.icon-list li strong {
  color: var(--fg);
}

.icon-list svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 3px;
}

.icon-list--check svg {
  color: var(--sage-400);
}

.section--light .icon-list--check svg,
.section--light-alt .icon-list--check svg {
  color: var(--sage-700);
}

.icon-list--cross svg {
  color: var(--text-on-dark-3);
}

.section--light .icon-list--cross svg,
.section--light-alt .icon-list--cross svg {
  color: var(--text-on-light-3);
}

.icon-list--lg li {
  font-size: 1.0625rem;
}

.pullquote {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--amber-400);
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 34ch;
}

.callout {
  display: flex;
  gap: 0.9rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--card-line);
  border-left: 3px solid var(--amber-400);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  margin-block: 1.75rem;
}

.callout svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 3px;
  color: var(--amber-400);
}

.callout p {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.55;
  max-width: none;
}

.callout p + p {
  margin-top: 0.6rem;
}

.prose h2 {
  margin-top: 2.5rem;
  max-width: none;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.9rem;
}

.prose ul,
.prose ol {
  max-width: var(--measure);
  margin: 0 0 1.15em;
  color: var(--fg-muted);
}

.prose li {
  margin-bottom: 0.5em;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tl;
  display: grid;
  max-width: var(--measure);
}

.timeline li {
  position: relative;
  counter-increment: tl;
  padding: 0 0 1.75rem 3.25rem;
  border-left: 1px solid var(--line);
  margin-left: 1rem;
}

.timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline li::before {
  content: counter(tl);
  position: absolute;
  left: -1rem;
  top: -2px;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber-400);
  color: var(--ink-950);
  font-size: 0.875rem;
  font-weight: 700;
}

.timeline h3 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.35em;
}

.timeline p {
  margin-bottom: 0;
  font-size: 1rem;
  max-width: none;
}

/* --------------------------------------------------------------------------
   Testimonials & placeholders
   -------------------------------------------------------------------------- */

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  height: 100%;
}

.testimonial__quote {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  max-width: none;
}

.testimonial__mark {
  width: 28px;
  height: 28px;
  color: var(--amber-400);
}

.testimonial__cite {
  margin-top: auto;
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.testimonial__cite strong {
  display: block;
  color: var(--fg);
}

.testimonial--placeholder {
  border-style: dashed;
  border-color: var(--amber-400);
}

.placeholder-flag {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--amber-400);
  color: var(--ember-700);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
}

.section--dark .placeholder-flag,
.section--deep .placeholder-flag {
  color: var(--amber-400);
}

.ph {
  font-variant-numeric: tabular-nums;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  background: transparent;
  border: 1px dashed var(--amber-400);
  color: var(--ember-700);
  white-space: nowrap;
}

.section--dark .ph,
.section--deep .ph,
.hero .ph,
.cta-band .ph,
.trustbar .ph,
.page-hero .ph,
.site-footer .ph {
  color: var(--amber-400);
}

/* --------------------------------------------------------------------------
   Offer, cost table, workshop teaser
   -------------------------------------------------------------------------- */

.offer {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 2vw, 2.75rem);
}

.offer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.offer__price-value {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 1.83rem + 2.22vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.offer__price-unit {
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

.calc {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
  font-size: 1rem;
}

.calc caption {
  text-align: left;
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-bottom: 0.85rem;
}

.calc th,
.calc td {
  padding: 0.8rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.calc thead th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.calc tbody th {
  font-weight: 600;
  color: var(--fg);
}

.calc td {
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

.calc__highlight th,
.calc__highlight td {
  color: var(--fg);
  font-weight: 700;
}

.teaser {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .teaser {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.teaser__meta {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.teaser__meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ink-600);
  color: var(--text-on-dark-2);
}

.teaser__meta strong {
  color: var(--text-on-dark-1);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 52rem;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--accent-text);
}

.faq__icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--amber-400);
  transition: transform var(--transition);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 0.25rem 1.4rem;
}

.faq__a p {
  font-size: 1rem;
  margin-bottom: 0.9em;
}

.faq__a p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.15rem;
  max-width: 34rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}

.field__hint {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.field__req {
  color: var(--ember-400);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--fg);
  background: var(--ink-700);
  border: 1.5px solid var(--line-str);
  border-radius: var(--radius-sm);
}

.section--light .input,
.section--light .textarea,
.section--light-alt .input,
.section--light-alt .textarea {
  background: #fff;
  color: var(--text-on-light-1);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--amber-400);
}

.textarea {
  min-height: 7rem;
  resize: vertical;
}

.field__error {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--error);
  display: none;
}

.field.has-error .input,
.field.has-error .textarea {
  border-color: var(--error);
}

.field.has-error .field__error {
  display: block;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field--check {
  gap: 0.65rem;
}

.field__check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--fg);
  cursor: pointer;
}

.field__check input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--brand-green);
}

.field__check a {
  color: inherit;
  text-decoration: underline;
}

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-line);
  background: var(--card-bg);
  font-size: 0.9375rem;
  display: none;
}

.form__status.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   CTA + footer
   -------------------------------------------------------------------------- */

.cta-band {
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
}

.site-footer {
  background: var(--ink-950);
  color: var(--text-on-dark-2);
  border-top: 1px solid var(--ink-600);
  padding-top: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  font-size: 0.9375rem;
}

.site-footer h2 {
  color: var(--text-on-dark-1);
}

.footer__grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

.footer__brand .logo {
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: var(--text-on-dark-2);
  max-width: 36ch;
}

.footer__title {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-1);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer__list a {
  color: var(--text-on-dark-2);
  text-decoration: none;
}

.footer__list a:hover {
  color: var(--ember-400);
}

.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--amber-400);
  flex: none;
  margin-top: 3px;
}

.footer__contact a {
  color: var(--text-on-dark-1);
  text-decoration: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.footer__contact a:hover {
  color: var(--ember-400);
}

.footer__disclaimer {
  border-top: 1px solid var(--ink-600);
  padding-block: 1.75rem;
}

.footer__disclaimer p {
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--text-on-dark-3);
  max-width: 78ch;
  margin-bottom: 0.85rem;
}

.footer__bottom {
  border-top: 1px solid var(--ink-600);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-on-dark-3);
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__bottom a {
  color: var(--text-on-dark-3);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--ember-400);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

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

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.mt-2 {
  margin-top: 1.5rem;
}
.mt-3 {
  margin-top: 2.25rem;
}
.mb-2 {
  margin-bottom: 1.5rem;
}
.mb-3 {
  margin-bottom: 2.25rem;
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--card-line);
  object-fit: cover;
}

.figure--portrait img {
  aspect-ratio: 4 / 5;
}

.figure--wide img {
  aspect-ratio: 16 / 10;
}

.figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.stat {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 1.83rem + 2.22vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber-400);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--delay-1 {
  transition-delay: 90ms;
}
.js .reveal--delay-2 {
  transition-delay: 180ms;
}

/* Classroom — locked outline until courses are for sale. No vibe motion. */
.demo-banner {
  background: var(--brand-green);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.demo-banner a { color: #fff; text-decoration: underline; }

body.is-course-player {
  background: #0E0C0B;
  color: var(--text-on-dark-1);
  --fg: var(--text-on-dark-1);
  --fg-muted: var(--text-on-dark-2);
  --line: var(--ink-600);
  --line-strong: var(--ink-600);
  --card-bg: #161311;
  --card-line: #2A2622;
}

body.is-course-player .site-header {
  background: rgba(14, 12, 11, 0.94);
  border-bottom-color: #2A2622;
}

body.is-course-player .btn--ghost {
  color: var(--text-on-dark-1);
  border-color: #4A433C;
}

body.is-course-player .btn--ghost:hover {
  border-color: var(--sage-400);
  color: #fff;
}

body.is-course-player .site-footer {
  background: #0E0C0B;
}

.course-layout {
  display: grid;
  gap: 1.5rem;
  padding-block: 1.5rem 2.5rem;
}
@media (min-width: 960px) {
  .course-layout {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }
}

.course-nav {
  background: #161311;
  border: 1px solid #2A2622;
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.15rem;
}
@media (min-width: 960px) {
  .course-nav {
    position: sticky;
    top: 5.5rem;
  }
}
.course-nav__status {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-400);
}
.course-nav h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  margin: 0 0 0.45rem;
}
.course-nav__progress {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-3);
}
.course-nav__bar {
  height: 3px;
  background: #2A2622;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.course-nav__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand-green);
}
.course-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.course-nav li { margin: 0; }
.course-nav a,
.course-nav button {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.6rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-on-dark-1);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.course-nav a:hover,
.course-nav button:hover,
.course-nav [aria-current="true"] {
  background: #1E1A17;
  color: #fff;
}
.course-nav__lock {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--text-on-dark-3);
}
.course-nav [aria-current="true"] .course-nav__lock {
  color: var(--sage-400);
}
.course-nav__label {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.course-nav__name {
  font-size: 0.9375rem;
  line-height: 1.35;
}
.course-nav__dur {
  font-size: 0.75rem;
  color: var(--text-on-dark-3);
}
.course-nav .mod {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
  padding: 0.9rem 0.6rem 0.2rem;
}

.player {
  background: #161311;
  border: 1px solid #2A2622;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.player__stage {
  background: #0A0908;
  min-height: 18rem;
  display: grid;
  place-items: center;
  color: var(--text-on-dark-2);
  text-align: center;
  padding: 2.25rem 1.4rem;
  border-bottom: 1px solid #2A2622;
}
@media (min-width: 720px) {
  .player__stage {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}
.player__stage-inner {
  max-width: 34rem;
}
.player__stage .eyebrow--on-dark,
.player__stage .eyebrow {
  color: var(--sage-400);
  justify-content: center;
}
.player__stage strong {
  color: #fff;
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.player__stage p {
  margin: 0 auto 1rem;
  max-width: 40ch;
}
.player__lock {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border: 1px solid #3A342E;
  border-radius: 50%;
  color: var(--sage-400);
}
.player__lock svg {
  width: 1.25rem;
  height: 1.25rem;
}
.player__play-disabled {
  margin: 0 auto 1.15rem !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
}
.player__stage-actions {
  justify-content: center;
  margin-top: 0.25rem;
}
.player__stage .btn--ghost {
  color: #fff;
  border-color: #4A433C;
}
.player__body {
  padding: 1.5rem 1.75rem 2rem;
  background: #161311;
  color: var(--text-on-dark-1);
}
.player__body .eyebrow {
  color: var(--sage-400);
}
.player__body h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  margin: 0.25rem 0 0.5rem;
  color: #fff;
}
.player__body .note,
.player__body p {
  color: var(--text-on-dark-2);
}
.player__lock-copy {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #2A2622;
  font-size: 0.95rem;
}
.player__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.player__actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.course-wait {
  padding-top: 0;
}

/* Public curriculum on sales pages — titles visible, rows locked */
.classroom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.section--light .classroom-list,
.section--light-alt .classroom-list {
  background: #fff;
  border-color: var(--bone-300);
}
.classroom-list__mod {
  margin: 0;
  padding: 0.85rem 1.15rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
  background: var(--bone-100);
  border-top: 1px solid var(--bone-300);
}
.classroom-list__mod:first-child {
  border-top: 0;
}
.classroom-list__item {
  display: grid;
  grid-template-columns: 1.25rem 1fr auto;
  gap: 0.75rem 0.9rem;
  align-items: start;
  margin: 0;
  padding: 0.95rem 1.15rem 1.05rem;
  border-top: 1px solid var(--bone-200);
}
.classroom-list__lock {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--sage-700);
}
.classroom-list__item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.classroom-list__item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-on-light-2);
  max-width: none;
}
.classroom-list__meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
  padding-top: 0.2rem;
}
.classroom-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text-on-light-2);
}
@media (max-width: 639px) {
  .classroom-list__item {
    grid-template-columns: 1.25rem 1fr;
  }
  .classroom-list__meta {
    grid-column: 2;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.booking-panel {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.booking-empty {
  padding: 2.5rem 2rem 2.75rem;
  max-width: 36rem;
}

.booking-empty h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.booking-empty .lead {
  margin-bottom: 1.25rem;
}

@media (min-width: 720px) {
  .booking-empty {
    padding: 3.25rem 3rem;
  }
}

/* --------------------------------------------------------------------------
   Message-Al widget (not a live chat)
   -------------------------------------------------------------------------- */

.chat-widget {
  position: fixed;
  z-index: 180;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  max-width: calc(100vw - 1.7rem);
  pointer-events: none;
}

.chat-widget > * {
  pointer-events: auto;
}

.chat-widget [hidden] {
  display: none !important;
}

.chat-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 92, 44, 0.28);
}

.chat-widget__toggle:hover {
  background: var(--ember-600);
  color: #fff;
}

.chat-widget__toggle-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex: none;
}

.chat-widget__toggle-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.chat-widget.is-open .chat-widget__toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.chat-widget.is-open .chat-widget__toggle {
  padding: 0.45rem;
  border-radius: 50%;
  overflow: hidden;
}

.chat-widget__panel {
  display: flex;
  flex-direction: column;
  width: min(24rem, calc(100vw - 1.7rem));
  max-height: min(36rem, calc(100dvh - 6.5rem));
  overflow: hidden;
  background: #fff;
  color: var(--text-on-light-1);
  border: 1px solid var(--bone-300);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(10, 61, 28, 0.16);
  padding: 1.1rem 1.15rem 1rem;
}

.chat-widget__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  flex: none;
}

.chat-widget__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.chat-widget__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-green);
}

.chat-widget__close {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: -0.2rem -0.25rem 0 0;
  padding: 0;
  border: 1px solid var(--bone-300);
  border-radius: 50%;
  background: var(--bone-50);
  color: var(--text-on-light-2);
  cursor: pointer;
  flex: none;
}

.chat-widget__close:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.chat-widget__close svg {
  width: 1rem;
  height: 1rem;
}

.chat-widget__tabs {
  display: flex;
  gap: 0.2rem;
  margin: 0 0 0.85rem;
  padding: 0.2rem;
  background: var(--bone-100);
  border-radius: 999px;
  flex: none;
}

.chat-widget__tab {
  flex: 1;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-on-light-2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.chat-widget__tab:hover {
  color: var(--brand-green);
}

.chat-widget__tab[aria-selected="true"] {
  background: #fff;
  color: var(--brand-green);
  box-shadow: 0 1px 3px rgba(10, 61, 28, 0.08);
}

.chat-widget__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.chat-widget__intro,
.chat-widget__aside {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-on-light-2);
}

.chat-widget__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
}

.chat-widget__chip {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--bone-300);
  border-radius: 999px;
  background: var(--bone-50);
  color: var(--text-on-light-1);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.chat-widget__chip:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.chat-widget__log {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 11.5rem;
  overflow: auto;
  margin: 0 0 0.75rem;
}

.chat-widget__log:empty {
  display: none;
}

.chat-widget__turn {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.chat-widget__you,
.chat-widget__bot {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-widget__you {
  align-self: flex-end;
  max-width: 92%;
  background: var(--bone-100);
  color: var(--text-on-light-1);
}

.chat-widget__bot {
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--bone-300);
  color: var(--text-on-light-1);
}

.chat-widget__who {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.chat-widget__ask {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
  margin: 0 0 0.55rem;
}

.chat-widget__ask .input {
  flex: 1;
  min-width: 0;
}

.chat-widget__ask .btn {
  flex: none;
  padding: 0.55rem 0.9rem;
}

.chat-widget__need {
  margin: 0;
}

.chat-widget__need-al {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-green);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.chat-widget__need-al:hover {
  color: var(--ember-600);
}

.chat-widget__form {
  gap: 0.85rem;
  max-width: none;
}

.chat-widget .input,
.chat-widget .textarea {
  background: #fff;
  color: var(--text-on-light-1);
  border-color: var(--bone-300);
}

.chat-widget .textarea {
  min-height: 5.5rem;
}

.chat-widget__aside {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

.chat-widget__aside a,
.chat-widget__book a {
  color: var(--brand-green);
  font-weight: 600;
}

.chat-widget__book {
  flex: none;
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bone-300);
  font-size: 0.95rem;
}

.chat-widget__success-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-green);
  outline: none;
}

@media (max-width: 639px) {
  .chat-widget {
    right: max(0.65rem, env(safe-area-inset-right));
    /* Keep the bubble off the iOS home indicator; header phone is desktop-only. */
    bottom: max(1.15rem, calc(env(safe-area-inset-bottom) + 0.65rem));
  }

  .chat-widget__panel {
    width: min(24rem, calc(100vw - 1.3rem));
    max-height: min(32rem, calc(100dvh - 8rem));
  }

  .chat-widget__log {
    max-height: 8.5rem;
  }

  .chat-widget__toggle-label {
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   First-visit newsletter popup (not a MailerLite embed)
   Centered so the Message Al button stays visible at bottom-right (z-index 180).
   -------------------------------------------------------------------------- */

.nl-popup {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.1rem 6.25rem;
  pointer-events: none;
}

.nl-popup[hidden] {
  display: none !important;
}

.nl-popup.is-open {
  pointer-events: auto;
}

.nl-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 61, 28, 0.42);
  opacity: 0;
  transition: opacity var(--transition);
}

.nl-popup.is-open .nl-popup__overlay {
  opacity: 1;
}

.nl-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(36rem, calc(100vh - 7.5rem));
  overflow: auto;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--bone-50);
  color: var(--text-on-light-1);
  border: 1px solid var(--bone-300);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(10, 61, 28, 0.18);
  opacity: 0;
  transition: opacity var(--transition);
}

.nl-popup.is-open .nl-popup__dialog {
  opacity: 1;
}

.nl-popup__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-on-light-2);
  cursor: pointer;
}

.nl-popup__close:hover {
  background: var(--bone-200);
  color: var(--text-on-light-1);
}

.nl-popup__close svg {
  width: 1.15rem;
  height: 1.15rem;
}

.nl-popup__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-green);
  padding-right: 1.75rem;
}

.nl-popup__lead {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-on-light-2);
}

.nl-popup .form {
  max-width: none;
  gap: 1rem;
}

.nl-popup .input {
  background: #fff;
  color: var(--text-on-light-1);
  border-color: var(--bone-300);
}

.nl-popup .input:focus {
  border-color: var(--brand-green);
}

.nl-popup .field__check {
  color: var(--text-on-light-2);
  font-size: 0.9rem;
}

.nl-popup .field__check a {
  color: var(--brand-green);
}

.nl-popup .form__status {
  background: #fff;
  border-color: var(--bone-300);
  color: var(--text-on-light-1);
}

.nl-popup .btn--primary {
  background: var(--brand-green);
  color: #fff;
}

.nl-popup .btn--primary:hover {
  background: var(--ember-700);
  color: #fff;
}

body.nl-popup-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .nl-popup__overlay,
  .nl-popup__dialog {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-nav,
  .nav-toggle,
  .cta-band,
  .skip-link,
  .btn-row,
  .chat-widget,
  .nl-popup {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .faq__a {
    display: block !important;
  }
}
