/* ================================================================
   The Clarity Hub — visual system
   Inspired by Heather brand carousel graphics
   ================================================================ */

:root {
  /* Surfaces */
  --bg: #f2ede4;
  --bg-warm: #ebe5d7;
  --bg-card: #ece6d8;
  --cream: #f5efe4;

  /* Ink */
  --ink: #1c1f26;
  --ink-soft: #3a3f47;
  --muted: #6b6f76;
  --rule: #d6cfbf;

  /* Brand palette */
  --sage: #a4b8ab;
  --sage-deep: #8da395;
  --sage-pale: #c8d4c9;
  --sage-mist: #dde4dc;

  --purple: #3d3464;
  --purple-deep: #2c2549;
  --purple-soft: #524a7a;
  --lavender: #9b8fcf;
  --lavender-soft: #b8aedc;

  --terracotta: #c97c5d;
  --terracotta-soft: #d8987c;
  --terracotta-deep: #a96247;

  --dark: #181a1c;
  --dark-soft: #232629;

  /* Type */
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shape */
  --radius: 6px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 0 rgba(28, 31, 38, 0.04), 0 16px 40px -28px rgba(28, 31, 38, 0.18);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ================================================================
   Header
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 237, 228, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__name em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 500;
}

.brand__tagline {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Nav */
.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nav[hidden] {
  display: none;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav a:hover {
  color: var(--purple);
  border-bottom-color: var(--terracotta);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

@media (min-width: 821px) {
  .nav-toggle {
    display: none;
  }
  .nav,
  .nav[hidden] {
    display: flex !important;
    position: static;
  }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 8px 24px 16px;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav a:last-child {
    border-bottom: none;
  }
}

/* ================================================================
   Eyebrow
   ================================================================ */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 28px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
}

.eyebrow__num {
  color: var(--muted);
  font-weight: 500;
}

.eyebrow__sep {
  color: var(--rule);
}

.eyebrow__rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.eyebrow--mobile {
  display: none;
}

.eyebrow--light {
  color: var(--sage-pale);
}

.eyebrow--light .eyebrow__num {
  color: rgba(245, 239, 228, 0.5);
}

.eyebrow--light .eyebrow__rule {
  background: rgba(245, 239, 228, 0.18);
}

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

.eyebrow--center .eyebrow__rule {
  display: none;
}

/* ================================================================
   Section title
   ================================================================ */
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.018em;
  margin: 0 0 28px;
  color: var(--ink);
}

.section-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--purple);
}

.section-title--light {
  color: var(--cream);
}

.section-title--light em {
  color: var(--lavender-soft);
}

.section-title__rule {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--ink);
  margin: 18px 0 24px;
}

.section-title--light .section-title__rule {
  background: var(--cream);
}

/* ================================================================
   Hero
   ================================================================ */
.hero {
  position: relative;
  padding: 80px 0 96px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 16ch;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--purple);
}

.hero__title-rule {
  display: block;
  width: 88px;
  height: 2px;
  background: var(--ink);
  margin: 0 0 24px;
}

.hero__lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0 0 14px;
}

.hero__sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 40px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

@media (min-width: 700px) {
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .eyebrow--mobile {
    display: flex;
  }
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: 16px 26px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.05s;
}

.btn:active {
  transform: translateY(1px);
}

.btn strong {
  font-weight: 600;
}

.btn em,
.btn strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08em;
  line-height: 1;
  position: relative;
  top: 0.04em;
}

.btn em {
  font-style: italic;
}

.btn strong {
  font-style: normal;
  font-weight: 400;
}

.btn--primary {
  background: var(--purple);
  color: var(--cream);
  border-color: var(--purple);
}

.btn--primary:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}

.btn--accent {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

.btn--accent:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn--ghost:hover {
  background: rgba(61, 52, 100, 0.06);
}

.btn--ghost-light {
  color: var(--cream);
  border-color: rgba(245, 239, 228, 0.7);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cream);
}

/* ================================================================
   Flow / Stack
   ================================================================ */
.stack--inline {
  padding: 0 0 64px;
}

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

.flow__step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  font-weight: 500;
  border-left: 5px solid transparent;
  background: var(--bg-card);
}

.flow__label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.flow__meaning {
  font-size: 15px;
  letter-spacing: 0.01em;
  text-align: right;
  opacity: 0.92;
}

.flow__arrow {
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  padding: 8px 0;
}

/* color ramp - inline (light bg) */
.stack--inline .flow__step--1 {
  background: var(--sage-mist);
  border-left-color: var(--sage);
  color: var(--ink);
}
.stack--inline .flow__step--2 {
  background: var(--sage-pale);
  border-left-color: var(--sage-deep);
  color: var(--ink);
}
.stack--inline .flow__step--3 {
  background: var(--purple);
  border-left-color: var(--lavender);
  color: var(--cream);
}
.stack--inline .flow__step--4 {
  background: var(--terracotta);
  border-left-color: var(--terracotta-deep);
  color: var(--cream);
}

/* ================================================================
   Foundation
   ================================================================ */
.foundation {
  padding: 96px 0 104px;
  background: var(--sage-deep);
  color: var(--ink);
  position: relative;
}

.foundation .eyebrow {
  color: var(--cream);
}

.foundation .eyebrow__rule {
  background: rgba(245, 239, 228, 0.35);
}

.foundation .card {
  background: var(--cream);
  border-color: rgba(28, 31, 38, 0.1);
}

/* Product wordmark — "The Clarity Dashboard" */
.kw-layer,
.kw-dashboard {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  color: var(--sage-deep);
}

.stack .kw-layer,
.stack .kw-dashboard {
  color: var(--ink);
}

/* Upright "The Clarity" prefix, used alongside .kw-dashboard in body text
   so the wordmark reads in a single serif family (not mixed serif+sans). */
.kw-clarity {
  font-family: var(--serif);
  font-weight: 600;
  font-style: normal;
}

.prose p {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 64ch;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border-left: 5px solid var(--sage);
}

.card--purple {
  border-left-color: var(--purple);
}
.card--terracotta {
  border-left-color: var(--terracotta);
}

.card__label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}

.card__body {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.card__body--lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
}

/* ================================================================
   Belief (purple, like the brand colourway)
   ================================================================ */
.belief {
  background: var(--purple);
  color: var(--cream);
  padding: 96px 0;
}

.belief--feature {
  padding: clamp(60px, 10vw, 128px) 0;
}

.belief--feature .belief__quote {
  font-size: clamp(32px, 5.6vw, 76px);
  line-height: 1.1;
  max-width: none;
  font-weight: 400;
  letter-spacing: 0.005em;
  word-spacing: 0.04em;
}

.belief--feature .belief__quote em {
  font-style: italic;
  font-weight: 600;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
}

.belief__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
  color: var(--cream);
}

/* ================================================================
   Help
   ================================================================ */
.help {
  padding: 88px 0;
}

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

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

.service {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--sage);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(28, 31, 38, 0.04), 0 22px 50px -28px rgba(28, 31, 38, 0.25);
}

.service__more {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--purple);
}

.service:nth-child(2) .service__more {
  color: var(--purple);
}
.service:nth-child(3) .service__more {
  color: var(--terracotta);
}

.service:nth-child(2) {
  border-left-color: var(--purple);
}
.service:nth-child(3) {
  border-left-color: var(--terracotta);
}

.service__num {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
}

.service:nth-child(1) .service__num {
  color: var(--sage-deep);
}
.service:nth-child(2) .service__num {
  color: var(--purple);
}
.service:nth-child(3) .service__num {
  color: var(--terracotta);
}

.service__title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  color: var(--ink);
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.callout {
  background: var(--sage-mist);
  border-left: 5px solid var(--sage-deep);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 12px;
}

.callout__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

/* ================================================================
   Stack (dark / sage section — inspired by carousel slide 5)
   ================================================================ */
.stack {
  background: var(--sage-deep);
  color: var(--ink);
  padding: 96px 0 104px;
}

.stack .eyebrow {
  color: var(--cream);
}

.stack .eyebrow .eyebrow__num {
  color: rgba(245, 239, 228, 0.6);
}

.stack .eyebrow .eyebrow__rule {
  background: rgba(245, 239, 228, 0.3);
}

.stack .section-title {
  color: var(--ink);
  margin-bottom: 44px;
}

.stack .section-title em {
  color: var(--purple);
}

.stack .flow__step {
  background: var(--cream);
  color: var(--ink);
  border-left-width: 6px;
  padding: 24px 28px;
}

.stack .flow__step--1 {
  border-left-color: var(--ink);
}
.stack .flow__step--2 {
  border-left-color: var(--terracotta-soft);
}
.stack .flow__step--3 {
  border-left-color: var(--purple);
}
.stack .flow__step--3b {
  border-left-color: var(--lavender);
}
.stack .flow__step--4 {
  border-left-color: var(--terracotta);
}

.stack .flow__arrow {
  color: rgba(245, 239, 228, 0.7);
}

/* ================================================================
   Layer (purple feature, inspired by slide 3 / 4)
   ================================================================ */
.layer {
  background: var(--purple);
  color: var(--cream);
  padding: 104px 0 112px;
}

.layer__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.layer__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 88px);
  margin: 12px 0 28px;
  letter-spacing: -0.012em;
  color: var(--cream);
  line-height: 1.04;
}

.layer__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--sage-deep);
}

.layer__body {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: rgba(245, 239, 228, 0.88);
  margin: 0 auto 40px;
  max-width: 50ch;
}

.layer__caption {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 500;
  margin: 0 0 26px;
}

/* ================================================================
   Contact
   ================================================================ */
.contact {
  padding: 96px 0 104px;
  background: var(--bg);
}

.contact__inner {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.contact__title {
  margin-bottom: 16px;
}

.contact__body {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

.contact-form {
  display: grid;
  gap: 18px;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 13px 14px;
  width: 100%;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(61, 52, 100, 0.18);
}

.contact-form .btn {
  justify-self: start;
}

.contact-form__note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.contact-form__note a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
  background: var(--purple-deep);
  color: rgba(245, 239, 228, 0.78);
  padding: 64px 0 44px;
}

.site-footer__inner {
  display: grid;
  gap: 18px;
  text-align: center;
}

.brand--footer {
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand--footer .brand__name {
  color: var(--cream);
  font-size: 26px;
}

.brand--footer .brand__name em {
  color: var(--sage-deep);
}

.site-footer__belief em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 600;
}

.brand--footer .brand__tagline {
  color: rgba(245, 239, 228, 0.55);
}

.site-footer__belief {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: rgba(245, 239, 228, 0.85);
  margin: 8px auto 0;
  max-width: 32ch;
}

.site-footer__meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 228, 0.4);
  margin: 16px 0 0;
}

/* ================================================================
   Sub-pages (Education / Consulting / Tools)
   ================================================================ */
.page-hero {
  padding: 88px 0 56px;
  background: var(--bg);
}

.page-hero__back {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}

.page-hero__back:hover {
  color: var(--purple);
}

.page-hero__num {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  margin: 0 0 18px;
}

.page-hero__num--purple {
  color: var(--purple);
}

.page-hero__num--terracotta {
  color: var(--terracotta);
}

.page-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 24px;
  color: var(--ink);
}

.page-hero__title em {
  font-style: normal;
  font-weight: 400;
  color: var(--sage-deep);
}

.page-hero__lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0;
}

.page-section {
  padding: 64px 0;
}

.page-section--alt {
  background: var(--sage-pale);
}

.page-section__inner {
  max-width: 760px;
}

.page-section__inner p {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

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

.feature-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
}

.feature-card__label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 500;
}

.feature-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.feature-card__title em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 600;
}

.waitlist {
  background: var(--purple);
  color: var(--cream);
  padding: 88px 0 96px;
}

.waitlist__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.waitlist__eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-pale);
  font-weight: 500;
  margin: 0 0 18px;
}

.waitlist__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.06;
  margin: 0 0 18px;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.waitlist__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--sage-pale);
}

.waitlist__body {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(245, 239, 228, 0.85);
  margin: 0 0 36px;
}

.waitlist .contact-form {
  background: rgba(245, 239, 228, 0.06);
  border-color: rgba(245, 239, 228, 0.18);
  text-align: left;
}

.waitlist .field label {
  color: rgba(245, 239, 228, 0.7);
}

.waitlist .field input,
.waitlist .field textarea {
  background: rgba(245, 239, 228, 0.95);
  color: var(--ink);
  border-color: transparent;
}

.waitlist .field input:focus,
.waitlist .field textarea:focus {
  border-color: var(--sage-pale);
  box-shadow: 0 0 0 3px rgba(168, 184, 171, 0.4);
}

.waitlist .contact-form__note {
  color: rgba(245, 239, 228, 0.65);
}

.waitlist .contact-form__note a {
  color: var(--sage-pale);
}

.waitlist .btn--primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.waitlist .btn--primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}

/* ================================================================
   Masthead (home intro before Core Belief)
   ================================================================ */
.masthead {
  background: var(--bg);
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
}

.masthead__inner {
  text-align: center;
}

.masthead__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}

.masthead__name em {
  font-style: italic;
  font-weight: 600;
  color: var(--sage-deep);
}

.masthead__rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--sage-deep);
  margin: 28px auto 22px;
}

.masthead__tagline {
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* ================================================================
   Prose document (Privacy Policy, Terms, etc.)
   ================================================================ */
.prose-doc h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--ink);
}

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

.prose-doc p,
.prose-doc li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose-doc p {
  margin: 0 0 16px;
}

.prose-doc ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose-doc li {
  margin-bottom: 6px;
}

.prose-doc a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-doc a:hover {
  color: var(--purple-deep);
}

.prose-doc__meta {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* Footer legal link */
.site-footer__legal {
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.site-footer__legal a {
  color: rgba(245, 239, 228, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 239, 228, 0.25);
  padding-bottom: 2px;
}

.site-footer__legal a:hover {
  color: var(--cream);
  border-bottom-color: var(--sage);
}

.contact-form__consent {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.waitlist .contact-form__consent {
  color: rgba(245, 239, 228, 0.7);
}

/* ================================================================
   Socials (footer)
   ================================================================ */
.socials {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: rgba(245, 239, 228, 0.75);
  border: 1px solid rgba(245, 239, 228, 0.18);
  transition: color 0.18s, border-color 0.18s, background-color 0.18s;
}

.socials a:hover {
  color: var(--cream);
  border-color: var(--sage-deep);
  background: rgba(245, 239, 228, 0.05);
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* About page connect CTA */
.about-connect {
  margin-top: 40px;
}

/* About page header accent — brand purple */
.page-hero--brand .page-hero__title,
.page-hero--brand .page-hero__lede {
  color: var(--purple);
}
