/* ============================================================
   Executive Coaching Academy — Design Tokens & Components
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces — warm parchment ivory */
  --color-bg: #faf7f1;
  --color-surface: #ffffff;
  --color-surface-2: #fdfcfa;
  --color-surface-offset: #f1ebe0;
  --color-surface-offset-2: #e9e1d2;
  --color-surface-dynamic: #e2d7c2;
  --color-divider: #e3d9c8;
  --color-border: #d8cdb5;

  /* Text — deep ink brown */
  --color-text: #221e17;
  --color-text-muted: #5e5849;
  --color-text-faint: #a79c86;
  --color-text-inverse: #faf7f1;

  /* Primary accent — burnished brass */
  --color-primary: #8f6428;
  --color-primary-hover: #6c4c1e;
  --color-primary-active: #4f3815;
  --color-primary-highlight: #e9dcbe;

  /* Supporting accent — deep ledger green (savings / success) */
  --color-success: #46612f;
  --color-success-hover: #354a24;
  --color-success-highlight: #dbe3ce;

  --radius-sm: 0.3rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.9rem;
  --radius-xl: 1.4rem;
  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 70 / 0.08);
  --shadow-md: 0 6px 20px oklch(0.2 0.02 70 / 0.1);
  --shadow-lg: 0 20px 48px oklch(0.2 0.02 70 / 0.16);

  --content-narrow: 640px;
  --content-default: 780px;
  --content-wide: 1180px;
  --content-full: 100%;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #15120d;
  --color-surface: #1b1710;
  --color-surface-2: #1f1a13;
  --color-surface-offset: #221c14;
  --color-surface-offset-2: #2a2317;
  --color-surface-dynamic: #332b1c;
  --color-divider: #2c2519;
  --color-border: #3b3220;

  --color-text: #ece4d3;
  --color-text-muted: #ab9f85;
  --color-text-faint: #6f6551;
  --color-text-inverse: #17130d;

  --color-primary: #d3a563;
  --color-primary-hover: #e2bd85;
  --color-primary-active: #efd3a4;
  --color-primary-highlight: #3c3018;

  --color-success: #9db97f;
  --color-success-hover: #b3cd98;
  --color-success-highlight: #33402a;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 24px 56px oklch(0 0 0 / 0.5);
}

/* ---------- Type scale ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.03rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.3rem + 3.6vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ---------- Global elements ---------- */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}
.bio-link {
  display: inline;
  white-space: nowrap;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bio-link:hover {
  color: var(--color-primary-hover);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 1.4em;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: var(--text-xl);
  max-width: 26ch;
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 58ch;
  line-height: 1.5;
}

p.body-copy {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 65ch;
  line-height: 1.7;
}

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.wrap--narrow {
  max-width: var(--content-narrow);
}
.wrap--default {
  max-width: var(--content-default);
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section-pad--tight {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.9em 1.7em;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
[data-theme='dark'] .btn-primary {
  color: #15120d;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.btn-text svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-interactive);
}
.btn-text:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.6);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}
.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand-name em {
  font-style: normal;
  color: var(--color-primary);
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.main-nav ul {
  display: flex;
  gap: var(--space-6);
}
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.main-nav a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.header-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #f5efe1;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.14 0.02 60 / 0.18) 0%, oklch(0.1 0.02 60 / 0.38) 55%, oklch(0.08 0.02 60 / 0.72) 100%),
    linear-gradient(90deg, oklch(0.08 0.02 60 / 0.55) 0%, oklch(0.08 0.02 60 / 0.08) 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-20), 14vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-16));
  max-width: 780px;
}
.hero .eyebrow {
  color: #e8c98a;
}
.hero h1 {
  font-size: var(--text-3xl);
  margin-block: var(--space-5) var(--space-6);
  color: #faf5e8;
}
.hero p.lede {
  color: #d9d0bb;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  align-items: center;
}
.hero-actions .btn-ghost {
  color: #f5efe1;
  border-color: oklch(0.9 0.02 80 / 0.35);
}
.hero-actions .btn-ghost:hover {
  border-color: #e8c98a;
  color: #e8c98a;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-10);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid oklch(0.9 0.02 80 / 0.2);
}
.hero-fact {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.hero-fact strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #f5efe1;
}
.hero-fact span {
  font-size: var(--text-xs);
  color: #b9ae94;
  letter-spacing: 0.04em;
}

/* ---------- Intro band ---------- */
.intro-band {
  border-bottom: 1px solid var(--color-divider);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: var(--space-10);
  align-items: start;
}
.intro-grid .section-title {
  max-width: 20ch;
}
.intro-grid .credential-list {
  gap: var(--space-3);
}
.intro-grid .credential-list li {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.intro-grid .credential-list svg {
  margin-top: 0.35em;
}

/* ---------- Why a coach (asymmetric split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
}
.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img {
  width: 100%;
  aspect-ratio: 4/3.1;
  object-fit: cover;
}
.split--reverse .split-media {
  order: 2;
}
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text);
  border-left: none;
  padding: var(--space-6) 0 0;
  margin-top: var(--space-6);
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  display: block;
  font-size: 2.6em;
  line-height: 0.4;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
}
.pull-quote--no-mark::before {
  content: none;
}
.pull-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
  letter-spacing: 0.04em;
}

/* ---------- Focus areas — narrative numbered list ---------- */
.focus-section {
  background: var(--color-surface-offset);
  border-block: 1px solid var(--color-divider);
}
.focus-header {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: var(--space-10);
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.focus-list {
  display: flex;
  flex-direction: column;
}
.focus-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-8);
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-divider);
  align-items: baseline;
}
.focus-item:last-child {
  border-bottom: 1px solid var(--color-divider);
}
.focus-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-primary);
}
.focus-body h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: var(--space-2);
}
.focus-body p {
  color: var(--color-text-muted);
  max-width: 62ch;
  font-size: var(--text-base);
}

/* ---------- About coach ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 600px) 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.coach-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.coach-photo {
  width: calc(100% + var(--space-16));
  max-width: none;
  margin: calc(var(--space-8) * -1) calc(var(--space-8) * -1) var(--space-6);
  aspect-ratio: 1080 / 1226;
  border-radius: 0;
  object-fit: cover;
  display: block;
  box-shadow: none;
}
.coach-card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
}
.coach-card .role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  margin-bottom: var(--space-5);
}
.credential-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.credential-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
}
.credential-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.2em;
  color: var(--color-primary);
}
.about-copy p + p {
  margin-top: var(--space-5);
}

/* ---------- Pricing ---------- */
.pricing-section {
  background: var(--color-surface-2);
  border-block: 1px solid var(--color-divider);
}
.offer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  background: var(--color-primary-highlight);
  color: var(--color-primary-hover);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.offer-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.price-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-8px);
}
.price-card-badge {
  align-self: flex-start;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: calc(-1 * var(--space-2));
}
[data-theme='dark'] .price-card-badge {
  color: #17130d;
}
.price-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
}
.price-figures {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.price-now {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
}
.price-was {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  text-decoration: line-through;
}
.price-save {
  display: inline-flex;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-success);
  background: var(--color-success-highlight);
  padding: 0.25em 0.7em;
  border-radius: var(--radius-full);
}
.price-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex-grow: 1;
}
.price-card .btn {
  width: 100%;
}
.price-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  width: 100%;
  margin-top: auto;
}
.price-payment-methods .btn {
  flex: 1 1 auto;
  min-width: 128px;
  font-size: var(--text-xs);
  padding: 0.85em 1em;
}
.btn-pay--square {
  background-color: var(--color-text);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-text);
}
.btn-pay--square:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-text-inverse);
}
.price-secondary-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.price-secondary-link:hover {
  color: var(--color-primary);
}
.pricing-footnote {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-8);
  max-width: 68ch;
  line-height: 1.6;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.step-card {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.step-card:last-child {
  background: var(--color-surface-offset);
}
.step-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-primary);
}
.step-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
}
.step-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  flex-grow: 1;
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--color-divider);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-6);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  transition: transform var(--transition-interactive);
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  max-width: 68ch;
  font-size: var(--text-base);
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  color: #f5efe1;
  overflow: hidden;
}
.final-cta-media {
  position: absolute;
  inset: 0;
}
.final-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, oklch(0.08 0.02 60 / 0.92) 0%, oklch(0.1 0.02 60 / 0.7) 55%, oklch(0.1 0.02 60 / 0.85) 100%);
}
.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.final-cta h2 {
  font-size: var(--text-2xl);
  color: #faf5e8;
  margin-block: var(--space-5) var(--space-6);
}
.final-cta p.lede {
  color: #d9d0bb;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.final-cta .eyebrow {
  color: #e8c98a;
}
.final-cta .btn-ghost {
  color: #f5efe1;
  border-color: oklch(0.9 0.02 80 / 0.35);
}
.final-cta .btn-ghost:hover {
  border-color: #e8c98a;
  color: #e8c98a;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-10);
}
.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}
.footer-tagline {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 34ch;
}
.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  clip-path: inset(6% 0 0 0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .main-nav ul {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .intro-grid,
  .focus-header,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split--reverse .split-media {
    order: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .focus-item {
    grid-template-columns: 48px 1fr;
    gap: var(--space-4);
  }
  .hero {
    min-height: 92vh;
  }
  .hero-facts {
    gap: var(--space-5) var(--space-8);
  }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6) clamp(var(--space-5), 5vw, var(--space-12));
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-nav-close svg {
  width: 22px;
  height: 22px;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-12);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  padding-block: var(--space-3);
  display: block;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav .btn {
  margin-top: var(--space-8);
  width: 100%;
}
