/* =========================================================
   FearlessAI:Professionals page
   Style: Modern Tonal · Geist + Geist Mono
   Palette: navy #334574 · sage #73997C · grey #C5C5C5 · white #FFFFFF
            grey #C5C5C5 · stone #F4F4F2 · off-white #FAFAF8
   ========================================================= */

:root {
  /* Official FearlessAI palette: 334574 · 73997C · C5C5C5 · FFFFFF */
  --navy:          #334574;   /* primary brand navy */
  --navy-mid:      #334574;   /* alias for body copy */
  --navy-dark:     #28365c;   /* hover / deeper accent only */
  --sage:          #73997C;
  --sage-dark:     #5C7E64;
  --sage-soft:     #A8C2AE;
  --grey:          #6E7585;   /* muted body text */
  --border:        #C5C5C5;
  --stone:         #F4F4F2;
  --off-white:     #FAFAF8;
  --white:         #FFFFFF;
  --shadow-mock:   0 40px 80px -30px rgba(51, 69, 116, 0.28);

  --font-sans:  "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max-w:      1240px;
  --gutter:     56px;
  --section-y:  110px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-mid);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(48px, 7.4vw, 96px); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0 0 1em; color: var(--navy-mid); opacity: 0.85; }

em {
  font-style: normal;
  color: var(--sage-dark);
  font-weight: 500;
}

a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white);
  padding: 8px 14px; border-radius: 6px; font-family: var(--font-mono); font-size: 12px;
}
.skip-link:focus { left: 8px; z-index: 100; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   Mono micro-UI
========================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sage);
  font-weight: 400;
  text-transform: lowercase;
  display: inline-block;
}
.eyebrow::before {
  content: "// ";
  opacity: 0.6;
}

.mono { font-family: var(--font-mono); }

/* Sage underline accent for emphasis phrases */
.underline {
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.wordmark-dot {
  width: 10px;
  height: 10px;
  background: var(--sage);
  transform: rotate(45deg);
  display: inline-block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.7;
  padding: 8px 14px;
  border-radius: 6px;
  transition: opacity 0.18s ease, background 0.18s ease;
}
.nav-link:hover { opacity: 1; background: var(--stone); color: var(--navy); }
.nav-link[aria-current="page"] { opacity: 1; background: var(--stone); }
.nav-cta {
  background: var(--navy);
  color: var(--white);
  opacity: 1;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--sage-dark); color: var(--white); opacity: 1; }

@media (max-width: 820px) {
  .header-nav .nav-link:not(.nav-cta) { display: none; }
}

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--sage-dark); color: var(--white); transform: translateY(-1px); }
.btn-chip {
  width: 18px;
  height: 18px;
  background: var(--sage);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}
.btn-ghost {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--stone); }

/* =========================================================
   Section scaffolding
========================================================= */
section {
  padding: var(--section-y) 0;
}
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--grey);
  letter-spacing: 0.04em;
}
.section-head-right { text-align: left; }
.section-head-right .eyebrow { margin-bottom: 12px; }
.section-head-right h2 { margin-bottom: 16px; text-align: left; }
.section-sub {
  font-size: 17px;
  color: var(--navy-mid);
  opacity: 0.85;
  max-width: 620px;
  margin: 0;
  text-align: left;
}

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* =========================================================
   Hero
========================================================= */
.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 {
  max-width: 1080px;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--navy-mid);
  opacity: 0.85;
  max-width: 680px;
  margin: 0 0 40px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  max-width: 760px;
}
.hero-meta-item {
  padding-right: 24px;
}
.hero-meta-item + .hero-meta-item {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
.hero-meta-num {
  font-family: var(--font-sans);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .hero-meta { grid-template-columns: 1fr; gap: 24px; }
  .hero-meta-item + .hero-meta-item { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
}

/* =========================================================
   Audience
========================================================= */
.audience {
  background: var(--stone);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 26px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.audience-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}
.audience-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.audience-card p {
  font-size: 14.5px;
  color: var(--navy-mid);
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   Why different (value cards):one featured navy card
========================================================= */
.why { background: var(--white); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.value-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.value-card:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
}
.value-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14.5px;
  color: var(--navy-mid);
  opacity: 0.8;
  line-height: 1.55;
  margin: 0;
}
.value-card .value-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  text-transform: uppercase;
  margin-bottom: 18px;
}
/* Legacy featured-card class: now styled identically to other value cards (no special navy fill).
   Kept selector for backwards compatibility with existing HTML. */
.value-card--featured { background: var(--off-white); border-color: var(--border); }
.value-card--featured h3,
.value-card--featured p { color: inherit; opacity: 1; }
.value-card--featured .value-tag { color: var(--sage-dark); }

/* =========================================================
   Programme:categories + 20 sessions
========================================================= */
.programme { background: var(--stone); }
.category { margin-bottom: 72px; }
.category:last-child { margin-bottom: 0; }
.category-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}
.category-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
}
.category-pill--foundation { color: var(--sage-dark); border-color: var(--sage); }
.category-pill--tools { color: var(--navy); }
.category-pill--specialist { color: var(--grey); }
.category-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  margin: 0;
}
.category-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
}
.category-blurb {
  font-size: 16px;
  color: var(--navy-mid);
  opacity: 0.8;
  max-width: 720px;
  margin: 0 0 28px;
}
.sessions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}
.session-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.session-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}
.session-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}
.session-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.session-desc {
  font-size: 14px;
  color: var(--navy-mid);
  opacity: 0.8;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.session-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* =========================================================
   Portal preview
========================================================= */
.portal { background: var(--white); }
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.portal-copy .eyebrow { margin-bottom: 18px; }
.portal-copy h2 { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 20px; letter-spacing: -0.025em; }
.portal-copy p { font-size: 16.5px; max-width: 520px; }
.portal-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.portal-list li {
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--navy-mid);
  transition: padding-left 0.18s ease;
}
.portal-list li:last-child { border-bottom: 1px solid var(--border); }
.portal-list li:hover { padding-left: 16px; color: var(--navy); }
.portal-list .tick {
  width: 16px;
  height: 16px;
  background: var(--sage);
  border-radius: 4px;
  flex-shrink: 0;
}

/* Mock portal */
.portal-mock {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-mock);
  overflow: hidden;
}
.portal-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.portal-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.portal-mock-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.04em;
  margin-left: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
}
.portal-mock-body {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.portal-mock-side {
  background: var(--stone);
  padding: 22px 18px;
  border-right: 1px solid var(--border);
}
.portal-mock-side-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}
.portal-mock-side-item {
  font-size: 13px;
  color: var(--navy-mid);
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.portal-mock-side-item.active {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  border: 1px solid var(--border);
}
.portal-mock-main {
  padding: 22px 24px;
}
.portal-mock-main h4 {
  font-size: 16px;
  margin-bottom: 14px;
}
.portal-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--navy-mid);
}
.portal-mock-row:last-child { border-bottom: 1px solid var(--border); }
.portal-mock-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.portal-mock-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--off-white);
}
.status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  font-weight: 500;
}
.status--done { background: var(--sage); color: var(--navy); }
.status--inprog { background: var(--navy); color: var(--sage-soft); }
.status--todo { background: var(--stone); color: var(--grey); border: 1px solid var(--border); }
.status--explore { background: transparent; color: var(--sage-dark); border: 1px dashed var(--sage); }

@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; gap: 40px; }
  .portal-mock-body { grid-template-columns: 1fr; }
  .portal-mock-side { border-right: none; border-bottom: 1px solid var(--border); }
}

/* =========================================================
   How it works
========================================================= */
.how { background: var(--stone); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 30px;
  transition: border-color 0.18s ease;
}
.step:hover { border-color: var(--sage); }
.step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.step-num::before { content: "step "; opacity: 0.55; }
.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.step p {
  font-size: 14.5px;
  color: var(--navy-mid);
  opacity: 0.8;
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ
========================================================= */
.faq { background: var(--white); }
.faq-list { max-width: 880px; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 4px 0;
}
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: padding-left 0.18s ease;
}
.faq-item summary:hover { padding-left: 8px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--sage-dark);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 22px;
  color: var(--navy-mid);
  opacity: 0.82;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0;
}

/* =========================================================
   Final CTA:dark navy with subtle line pattern
========================================================= */
.final-cta {
  background: var(--navy);
  color: var(--white);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.06) 0px,
    rgba(255,255,255,0.06) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.final-cta .eyebrow { color: var(--sage-soft); margin-bottom: 24px; }
.final-cta h2 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 880px;
}
.final-cta p {
  color: rgba(255,255,255,0.78);
  font-size: 19px;
  max-width: 620px;
  margin-bottom: 40px;
}
.final-cta .btn-primary {
  background: var(--sage);
  color: var(--navy);
}
.final-cta .btn-primary .btn-chip { background: var(--navy); color: var(--sage); }
.final-cta .btn-primary:hover { background: var(--white); color: var(--navy); }
.final-cta .btn-primary:hover .btn-chip { background: var(--navy); color: var(--sage); }

/* =========================================================
   Footer
========================================================= */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.footer-brand .wordmark { margin-bottom: 8px; }
.footer-mission {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0;
}
.footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-link {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--navy);
  opacity: 0.7;
}
.footer-link:hover { opacity: 1; color: var(--sage-dark); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--grey);
  text-transform: uppercase;
  text-align: center;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* =========================================================
   Booking modal (shared across all pages with a CTA)
========================================================= */
dialog.book-modal {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 30px 80px -20px rgba(51, 69, 116, 0.25);
  overflow: visible;
  color: var(--navy);
}
dialog.book-modal::backdrop {
  background: rgba(51, 69, 116, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.book-modal-inner {
  padding: 36px 32px 32px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.book-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.book-modal-close:hover { background: var(--stone); border-color: var(--sage); }

.book-modal .eyebrow { margin-bottom: 14px; }
.book-modal h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  font-weight: 500;
}
.book-modal-sub {
  font-size: 15px;
  color: var(--navy-mid);
  opacity: 0.85;
  margin: 0 0 24px;
  line-height: 1.55;
}

.form-row { margin-bottom: 14px; }
.form-label {
  display: block;
  font-family: var(--font-sans);
}
.form-label-text {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  /* 16px prevents iOS Safari from zooming the viewport on focus */
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23334574' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea.form-input {
  resize: vertical;
  min-height: 80px;
  font-family: var(--font-sans);
}
.form-input::placeholder { color: var(--grey); opacity: 0.7; }
.form-input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(115, 153, 124, 0.18);
}

.book-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}
.book-submit[disabled] { opacity: 0.6; cursor: progress; }

.form-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #FCEFEF;
  border: 1px solid #E5BBBB;
  color: #8A3434;
  font-size: 14px;
  line-height: 1.5;
}

/* Marketing opt-in + privacy fine print on the booking form */
.form-consent { margin-bottom: 10px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--sage-dark);
}
.form-check-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--navy);
  opacity: 0.85;
}
.form-fineprint {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--grey);
  margin: 0 0 4px;
}
.form-fineprint a { color: var(--sage-dark); }

.book-modal-success {
  padding: 36px 32px 32px;
  text-align: left;
}
.book-modal-success h2 { margin-bottom: 12px; }
.book-modal-success p {
  font-size: 15.5px;
  color: var(--navy-mid);
  opacity: 0.85;
  margin: 0 0 24px;
}

@media (max-width: 600px) {
  dialog.book-modal { width: calc(100vw - 16px); border-radius: 12px; }
  .book-modal-inner, .book-modal-success { padding: 28px 22px; }
  .book-modal h2 { font-size: 22px; }
  .book-modal-sub { font-size: 14.5px; }
  /* Make modal close button a comfortable Apple-HIG touch target on phones */
  .book-modal-close { width: 44px; height: 44px; font-size: 22px; top: 10px; right: 10px; }
}

/* =========================================================
   Sticky "Book a call" CTA for long pages.
   Appears after the visitor scrolls past the hero; the
   .is-visible class is toggled by booking.js via an
   IntersectionObserver on the hero section.
========================================================= */
.sticky-book {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 40;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px -10px rgba(51, 69, 116, 0.5);
  border: 1px solid var(--navy-dark);
  /* Hidden by default; .is-visible flips it in */
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease;
}
.sticky-book.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-book:hover {
  background: var(--sage-dark);
  text-decoration: none;
  color: var(--white);
}
.sticky-book .btn-chip {
  width: 18px;
  height: 18px;
  background: var(--sage);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}
@media (max-width: 520px) {
  .sticky-book { bottom: 12px; right: 12px; padding: 11px 16px; font-size: 13.5px; }
}

/* =========================================================
   Mobile polish for the hero + founder byline
========================================================= */
@media (max-width: 520px) {
  .founder-byline {
    margin-bottom: 22px;
    padding: 5px 12px 5px 5px;
    max-width: 100%;
  }
  .founder-byline-photo { width: 32px; height: 32px; }
  .founder-byline-name { font-size: 13px; }
  .founder-byline-role { font-size: 9.5px; }

  .hero { padding: 60px 0 70px; }
  .hero-sub { font-size: 16.5px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* =========================================================
   Cookie consent banner (only shown when Cal.com is enabled).
   Injected by booking.js.
========================================================= */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(26, 31, 46, 0.35);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-text {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy);
  margin: 0;
}
.cookie-banner-text a { color: var(--sage-dark); }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-banner-actions .btn { padding: 9px 18px; font-size: 14px; }
@media (max-width: 520px) {
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   Cal.com booking modal (inline embed). Injected by booking.js.
========================================================= */
dialog.cal-modal {
  width: min(960px, calc(100vw - 32px));
  max-width: 960px;
  border: none;
  border-radius: 16px;
  padding: 0;
  background: var(--white);
  box-shadow: 0 30px 80px -20px rgba(26, 31, 46, 0.5);
  overflow: hidden;
}
/* Narrower while showing the consent step (before the calendar loads) */
dialog.cal-modal.is-consent { width: min(460px, calc(100vw - 32px)); }

.cal-consent { padding: 44px 34px 36px; text-align: center; }
.cal-consent-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 12px;
}
.cal-consent-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.85;
  margin: 0 auto 22px;
  max-width: 360px;
}
.cal-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
}
.cal-consent-actions .btn { justify-content: center; }
.cal-consent-fine {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--grey);
  margin: 18px 0 0;
}
.cal-consent-fine a { color: var(--sage-dark); }

/* =========================================================
   Mobile: show the "who it's for" and "why different" cards
   two per row instead of collapsing to one tall column, with
   tighter spacing so the programme is reachable sooner.
========================================================= */
@media (max-width: 600px) {
  .audience-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .audience-card { padding: 16px 14px; }
  .value-card { padding: 18px 14px; }
  .audience-card h3 { font-size: 15.5px; line-height: 1.25; }
  .value-card h3 { font-size: 16px; line-height: 1.25; }
  .audience-card p,
  .value-card p { font-size: 12.5px; line-height: 1.45; }
  .value-card .value-tag { font-size: 9px; }
}
dialog.cal-modal::backdrop { background: rgba(26, 31, 46, 0.55); }
.cal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cal-modal-close:hover { background: var(--stone); }
.cal-inline {
  width: 100%;
  height: min(720px, 80vh);
  overflow: auto;
}
@media (max-width: 600px) {
  dialog.cal-modal { width: calc(100vw - 16px); border-radius: 12px; }
  .cal-inline { height: 82vh; }
}

/* =========================================================
   Per-stream tinting
   Applied via <body data-stream="parents|professionals|businesses">.
   Homepage (index.html) has no data-stream and keeps the default white.
   Each stream tints both the sticky header and the hero section so the
   visitor sees a clear visual cue for which stream they're inside.
========================================================= */

/* ---------- PARENTS: grey (#C5C5C5) ----------
   Light enough to keep navy text legible, so we leave most colors alone
   and only tint the header + hero backgrounds and tidy the borders. */
body[data-stream="parents"] .site-header {
  background: var(--border);
  border-bottom-color: rgba(0, 0, 0, 0.10);
}
body[data-stream="parents"] .hero {
  background: var(--border);
  border-bottom-color: rgba(0, 0, 0, 0.10);
}
body[data-stream="parents"] .hero-meta,
body[data-stream="parents"] .hero-meta-item + .hero-meta-item {
  border-color: rgba(0, 0, 0, 0.18);
}
body[data-stream="parents"] .hero-meta-label {
  color: var(--navy);
  opacity: 0.7;
}
/* Sage eyebrow disappears on grey (1.85:1), use navy instead */
body[data-stream="parents"] .hero .eyebrow {
  color: var(--navy);
  opacity: 0.75;
}

/* ---------- PROFESSIONALS: sage/teal (#73997C) ----------
   Mid-tone background, so all foreground text flips to white. */
body[data-stream="professionals"] .site-header {
  background: var(--sage);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
body[data-stream="professionals"] .hero {
  background: var(--sage);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
body[data-stream="professionals"] .wordmark,
body[data-stream="professionals"] .nav-link,
body[data-stream="professionals"] .hero h1,
body[data-stream="professionals"] .hero-sub,
body[data-stream="professionals"] .hero-meta-num {
  color: var(--white);
}
body[data-stream="professionals"] .wordmark-dot { background: var(--navy); }
body[data-stream="professionals"] .nav-link { opacity: 0.88; }
/* Hover + active use a translucent overlay so the tab reads as a lighter
   shade of sage, matching the Businesses page nav behavior. The solid
   navy is reserved for the CTA only. */
body[data-stream="professionals"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  opacity: 1;
}
body[data-stream="professionals"] .nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  opacity: 1;
}
body[data-stream="professionals"] .nav-cta {
  background: var(--navy);
  color: var(--white);
  opacity: 1;
}
body[data-stream="professionals"] .nav-cta:hover {
  background: var(--white);
  color: var(--navy);
}
body[data-stream="professionals"] .hero .eyebrow {
  color: var(--white);
  opacity: 0.85;
}
body[data-stream="professionals"] .hero .underline {
  text-decoration-color: var(--white);
}
body[data-stream="professionals"] .hero em { color: var(--white); }
body[data-stream="professionals"] .hero-sub { opacity: 0.92; }
body[data-stream="professionals"] .hero-meta,
body[data-stream="professionals"] .hero-meta-item + .hero-meta-item {
  border-color: var(--navy);
}
body[data-stream="professionals"] .hero-meta-label {
  color: var(--white);
  opacity: 0.78;
}
body[data-stream="professionals"] .hero .btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
body[data-stream="professionals"] .hero .btn-primary .btn-chip {
  background: var(--white);
  color: var(--navy);
}
body[data-stream="professionals"] .hero .btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
body[data-stream="professionals"] .hero .btn-primary:hover .btn-chip {
  background: var(--navy);
  color: var(--white);
}
/* Ghost button on green: navy-dark outline + text, the "blue" accent.
   Uses navy-dark (#28365c) instead of navy for 3.7:1 contrast on sage. */
body[data-stream="professionals"] .hero .btn-ghost {
  background: transparent;
  color: var(--navy-dark);
  border-color: var(--navy-dark);
}
body[data-stream="professionals"] .hero .btn-ghost:hover {
  background: var(--navy-dark);
  color: var(--white);
}

/* ---------- BUSINESSES: navy (#334574) ----------
   Dark background, all foreground text flips to white. Use sage as the
   accent color (instead of white) so the brand identity still shows. */
body[data-stream="businesses"] .site-header {
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
body[data-stream="businesses"] .hero {
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
body[data-stream="businesses"] .wordmark,
body[data-stream="businesses"] .nav-link,
body[data-stream="businesses"] .hero h1,
body[data-stream="businesses"] .hero-sub,
body[data-stream="businesses"] .hero-meta-num {
  color: var(--white);
}
body[data-stream="businesses"] .wordmark-dot { background: var(--sage); }
body[data-stream="businesses"] .nav-link { opacity: 0.85; }
body[data-stream="businesses"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  opacity: 1;
}
body[data-stream="businesses"] .nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}
body[data-stream="businesses"] .nav-cta {
  background: var(--sage);
  color: var(--white);
  opacity: 1;
}
body[data-stream="businesses"] .nav-cta:hover {
  background: var(--white);
  color: var(--navy);
}
body[data-stream="businesses"] .hero .eyebrow {
  color: var(--sage-soft);
}
body[data-stream="businesses"] .hero .underline {
  text-decoration-color: var(--sage);
}
body[data-stream="businesses"] .hero em { color: var(--sage); }
body[data-stream="businesses"] .hero-sub { opacity: 0.88; }
body[data-stream="businesses"] .hero-meta,
body[data-stream="businesses"] .hero-meta-item + .hero-meta-item {
  border-color: rgba(255, 255, 255, 0.22);
}
body[data-stream="businesses"] .hero-meta-label {
  color: var(--white);
  opacity: 0.72;
}
body[data-stream="businesses"] .hero .btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
body[data-stream="businesses"] .hero .btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
/* Ghost button on navy: sage-soft outline + text for stronger legibility
   (sage-soft #A8C2AE = 4.9:1 on navy, vs sage's 2.93:1). */
body[data-stream="businesses"] .hero .btn-ghost {
  background: transparent;
  color: var(--sage-soft);
  border-color: var(--sage-soft);
}
body[data-stream="businesses"] .hero .btn-ghost:hover {
  background: var(--sage-soft);
  color: var(--navy);
}

/* =========================================================
   Stream hero accent line
   Replaces the small inline .underline with a strong left-anchored
   horizontal accent line under the H1, extending across the hero.
   Each stream picks an accent color that contrasts with its background.
========================================================= */
body[data-stream="parents"] .hero h1,
body[data-stream="professionals"] .hero h1,
body[data-stream="businesses"] .hero h1 {
  position: relative;
  padding-bottom: 28px;
  margin-bottom: 32px;
}
body[data-stream="parents"] .hero h1 .underline,
body[data-stream="professionals"] .hero h1 .underline,
body[data-stream="businesses"] .hero h1 .underline {
  text-decoration: none;
}
body[data-stream="parents"] .hero h1::after,
body[data-stream="professionals"] .hero h1::after,
body[data-stream="businesses"] .hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
}
body[data-stream="parents"] .hero h1::after       { background: var(--navy); }
body[data-stream="professionals"] .hero h1::after { background: var(--navy); }
body[data-stream="businesses"] .hero h1::after    { background: var(--sage); }

/* Homepage (no data-stream) gets the same accent treatment with sage,
   which keeps it tied to the existing brand underline color. */
body:not([data-stream]) .hero h1 {
  position: relative;
  padding-bottom: 28px;
  margin-bottom: 32px;
}
body:not([data-stream]) .hero h1 .underline {
  text-decoration: none;
}
body:not([data-stream]) .hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--sage);
}
