/* ============================================================
   The Grandparent Standard — design tokens + components
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.8125rem, 0.76rem + 0.25vw, 0.9375rem);
  --text-sm: clamp(0.9375rem, 0.86rem + 0.35vw, 1.0625rem);
  --text-base: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.1rem, 1.1rem + 2.6vw, 3.4rem);

  /* Spacing (4px base) */
  --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;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 620px;
  --content-default: 960px;
  --content-wide: 1180px;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Atkinson Hyperlegible Next', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Warm brand palette (light) ---------- */
:root,
[data-theme='light'] {
  --color-bg: #f7f1e4;
  --color-surface: #fffcf6;
  --color-surface-2: #f1e6d2;
  --color-surface-offset: #ede0c7;
  --color-divider: #e6d6b0;
  --color-border: #dfcba0;

  --color-text: #2a1e12;
  --color-text-muted: #6b5a42;
  --color-text-faint: #a99872;
  --color-text-inverse: #fff8ec;

  --color-primary: #8a5218;
  --color-primary-hover: #6e3f10;
  --color-primary-active: #572f0a;
  --color-primary-highlight: #f0ddb8;

  --color-success: #3f7a3d;
  --color-success-highlight: #dbe8d4;
  --color-warning: #a15316;
  --color-error: #a3324a;

  --shadow-sm: 0 1px 2px rgba(42, 30, 18, 0.07);
  --shadow-md: 0 6px 20px rgba(42, 30, 18, 0.1);
  --shadow-lg: 0 16px 40px rgba(42, 30, 18, 0.16);
}

/* ---------- Warm brand palette (dark) ---------- */
[data-theme='dark'] {
  --color-bg: #191410;
  --color-surface: #211a14;
  --color-surface-2: #271f17;
  --color-surface-offset: #2d2419;
  --color-divider: #3a2e21;
  --color-border: #47392a;

  --color-text: #efe6d6;
  --color-text-muted: #b3a48b;
  --color-text-faint: #7d7160;
  --color-text-inverse: #221a12;

  --color-primary: #e3ad5c;
  --color-primary-hover: #f0c179;
  --color-primary-active: #f7d497;
  --color-primary-highlight: #4a3a22;

  --color-success: #7bbf72;
  --color-success-highlight: #2c3a26;
  --color-warning: #d98a4c;
  --color-error: #d9738a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #191410;
    --color-surface: #211a14;
    --color-surface-2: #271f17;
    --color-surface-offset: #2d2419;
    --color-divider: #3a2e21;
    --color-border: #47392a;
    --color-text: #efe6d6;
    --color-text-muted: #b3a48b;
    --color-text-faint: #7d7160;
    --color-text-inverse: #221a12;
    --color-primary: #e3ad5c;
    --color-primary-hover: #f0c179;
    --color-primary-active: #f7d497;
    --color-primary-highlight: #4a3a22;
    --color-success: #7bbf72;
    --color-success-highlight: #2c3a26;
    --color-warning: #d98a4c;
    --color-error: #d9738a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  scroll-margin-top: 88px;
}
.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
  scroll-margin-top: 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  flex-shrink: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
}

.section-title {
  font-size: var(--text-xl);
  margin-top: var(--space-3);
}
.section-lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 62ch;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--color-primary);
}
.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.1;
}
.brand__name span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

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

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

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

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}
.btn--block {
  width: 100%;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20)) clamp(var(--space-16), 8vw, var(--space-24));
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.hero__title {
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-5);
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  align-items: center;
}
.hero__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-divider);
  aspect-ratio: 4 / 5;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero__badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  background: color-mix(in oklab, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-md);
}
.hero__badge-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__badge strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
}
.hero__badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   Trust bar
   ============================================================ */

.trust-bar {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-8);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.trust-item__icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
}
.trust-item span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   How it works
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary-highlight);
  -webkit-text-stroke: 1.5px var(--color-primary);
  margin-bottom: var(--space-3);
  line-height: 1;
}
.step h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   What I check
   ============================================================ */

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-10);
}
.check-item {
  display: flex;
  gap: var(--space-3);
}
.check-item__icon {
  width: 22px;
  height: 22px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}
.check-item strong {
  display: block;
  color: var(--color-text);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.check-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.checklist-disclaimer {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   Pricing
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.price-card--featured {
  background: var(--color-surface-2);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card__badge {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.price-card__badge--highlight {
  color: var(--color-text);
  background: var(--color-divider);
}
.price-card__badge--urgent {
  color: var(--color-error, #a13544);
}
.price-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.price-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex-grow: 1;
}
.price-card__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-5) 0 var(--space-4);
}
.price-card__price span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}
.price-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.price-card__list svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card__cta {
  margin-top: auto;
}
.pricing-footnote {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Why section / quote
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: start;
  margin-top: var(--space-12);
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.why-item {
  display: flex;
  gap: var(--space-3);
}
.why-item__icon {
  width: 22px;
  height: 22px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.why-item strong {
  display: block;
  color: var(--color-text);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.quote-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-10));
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.4;
}
.quote-card cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================================
   Service area
   ============================================================ */

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
}
.area-chip svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  margin-top: var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
}
.faq-item p {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 64ch;
}

/* ============================================================
   CTA / form section
   ============================================================ */

.cta-section {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: start;
}
.cta-copy__list {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cta-copy__list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
}
.cta-copy__list svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  min-height: 44px;
}
.field textarea {
  min-height: 88px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.field-optional {
  color: var(--color-text-faint);
  font-weight: 400;
  text-transform: none;
}

/* Custom dropdown — replaces native <select> so it opens reliably on
   touch devices even inside embedded/iframe previews. */
.custom-select {
  position: relative;
}
.custom-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  font: inherit;
  color: var(--color-text);
  min-height: 44px;
  text-align: left;
  cursor: pointer;
}
.custom-select__trigger:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-select__chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition-interactive);
}
.custom-select__trigger[aria-expanded='true'] .custom-select__chevron {
  transform: rotate(180deg);
}
.custom-select__list {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 240px;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
}
.custom-select__list li {
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  color: var(--color-text);
  cursor: pointer;
}
.custom-select__list li:hover,
.custom-select__list li:focus-visible {
  background: var(--color-surface-2);
  outline: none;
}
.custom-select__list li[aria-selected='true'] {
  color: var(--color-primary);
  font-weight: 600;
}
.form-footnote {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
  text-align: center;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding-block: var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-10);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--color-text);
  text-decoration: none;
}
.footer-brand svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
}
.site-footer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 40ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  clip-path: inset(12% 0 0 0);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    clip-path: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    order: -1;
    aspect-ratio: 4 / 3;
    overflow: visible;
    box-shadow: none;
    border: none;
  }
  .hero__media img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-divider);
  }
  .hero__badge {
    position: static;
    margin-top: var(--space-4);
    width: 100%;
  }
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    order: -1;
    margin-bottom: var(--space-8);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 1100px) {
  .site-header__inner {
    flex-wrap: nowrap;
    position: relative;
  }
  .brand__name {
    font-size: var(--text-sm);
  }
  .brand__name span {
    display: none;
  }
  .header-actions .btn--primary {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-md);
    padding: var(--space-2) var(--space-4) var(--space-4);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-divider);
    color: var(--color-text);
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
  .main-nav a.main-nav__cta {
    display: block;
    margin-top: var(--space-3);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: var(--color-text-inverse);
    text-align: center;
    font-weight: 600;
    border-bottom: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
}
