/* ============================================================
   PROJECT MAP — POWERED BY DUNE
   styles.css

   BRAND CONFIG SECTION — edit this block to white-label
   for a different builder or product variant.
   ============================================================ */

:root {
  /* ── BRAND IDENTITY (edit per client) ── */
  --brand-product-name: "Project Map";
  --brand-company-name: "Dune Homes";

  /* ── BRAND COLORS ── */
  --color-sand:        #C49A52;   /* primary accent — warm sand/amber    */
  --color-sand-light:  #D4AA68;   /* hover state                         */
  --color-sand-dark:   #9E7A3A;   /* active / pressed                    */
  --color-sand-glow:   rgba(196, 154, 82, 0.12);  /* subtle ambient glow */
  --color-sand-muted:  rgba(196, 154, 82, 0.08);  /* tinted surface fill */

  /* ── SURFACES ── */
  --color-bg:          #0D0B09;
  --color-surface:     #141210;
  --color-surface-2:   #1C1916;
  --color-surface-3:   #242018;
  --color-border:      #2E2920;
  --color-border-subtle: #1E1B14;

  /* ── TEXT ── */
  --color-text:        #EAE4D4;
  --color-text-muted:  #8A8070;
  --color-text-faint:  #4A4440;
  --color-text-inverse:#0D0B09;

  /* ── TYPOGRAPHY ── */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  /* ── TYPE SCALE (fluid) ── */
  --text-xs:   clamp(0.75rem,  0.70rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.80rem + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.00rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.20rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.20rem + 2.50vw, 3.5rem);
  --text-3xl:  clamp(2.5rem,   1.00rem + 4.00vw, 5rem);

  /* ── 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.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* ── SHADOWS ── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.6);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.7);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.8);
  --shadow-sand: 0 0 40px rgba(196,154,82,0.15);

  /* ── TRANSITIONS ── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease);
  --transition-slow: 400ms var(--ease);

  /* ── LAYOUT ── */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
  --nav-height:      72px;
}


/* Handle hidden attribute — prevents CSS display overriding it */
[hidden] { display: none !important; }

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

ul[role='list'], ol[role='list'] { list-style: none; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.1;
  font-family: var(--font-display);
  font-weight: 800;
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 68ch;
}

button { cursor: pointer; background: none; border: none; }

a, button, [role='button'] {
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
}

::selection {
  background: rgba(196,154,82,0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-sand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}


/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-4); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--sm {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  height: 36px;
}

.btn--md {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-5);
  height: 44px;
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  height: 52px;
}

.btn--full { width: 100%; }

.btn--primary {
  background: var(--color-sand);
  color: var(--color-text-inverse);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(196,154,82,0.3);
}
.btn--primary:hover {
  background: var(--color-sand-light);
  box-shadow: 0 4px 16px rgba(196,154,82,0.4);
}
.btn--primary:active { background: var(--color-sand-dark); }

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

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

/* Section headers */
.section-header {
  max-width: var(--content-default);
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* Topo background pattern */
.topo-bg {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='50'%3E%3Cellipse cx='40' cy='30' rx='35' ry='18' stroke='%23C49A52' stroke-opacity='0.05' stroke-width='1' fill='none'/%3E%3Cellipse cx='40' cy='28' rx='22' ry='11' stroke='%23C49A52' stroke-opacity='0.05' stroke-width='1' fill='none'/%3E%3Cellipse cx='40' cy='26' rx='10' ry='5' stroke='%23C49A52' stroke-opacity='0.07' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 80px 50px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition),
    box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(13, 11, 9, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--color-border);
  box-shadow: 0 1px 0 rgba(196,154,82,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav__logo:hover { color: var(--color-sand); }

.nav__logo-mark {
  width: 28px;
  height: 24px;
  color: var(--color-sand);
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.nav__logo-product {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav__logo-brand {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__links a:hover { color: var(--color-text); }

.nav__mobile-toggle {
  display: none;
  color: var(--color-text);
  margin-left: auto;
  padding: var(--space-2);
}

.nav__mobile {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav__mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--color-text); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__inner > .btn { display: none; }
  .nav__mobile-toggle { display: flex; }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(196,154,82,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(196,154,82,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='50'%3E%3Cellipse cx='40' cy='30' rx='35' ry='18' stroke='%23C49A52' stroke-opacity='0.04' stroke-width='1' fill='none'/%3E%3Cellipse cx='40' cy='28' rx='22' ry='11' stroke='%23C49A52' stroke-opacity='0.04' stroke-width='1' fill='none'/%3E%3Cellipse cx='40' cy='26' rx='10' ry='5' stroke='%23C49A52' stroke-opacity='0.055' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 80px 50px;
  opacity: 0.6;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__content { max-width: 560px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sand);
  background: var(--color-sand-muted);
  border: 1px solid rgba(196,154,82,0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

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

.hero__proof-text {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* Portal Mockup in Hero */
.hero__mockup {
  position: relative;
  z-index: 1;
}

.mockup-browser {
  background: var(--color-surface-3, #242018);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-sand);
}

.mockup-browser__chrome {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.mockup-browser__dots {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.mockup-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.mockup-browser__url {
  flex: 1;
  font-size: 11px;
  color: var(--color-text-faint);
  background: var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
  text-align: center;
  font-family: var(--font-body);
}

.mockup-browser__content {
  overflow: hidden;
}

/* Portal UI inside mockup */
.portal-mockup {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 320px;
  font-size: 11px;
}

.portal-mockup__sidebar {
  background: rgba(13,11,9,0.6);
  border-right: 1px solid var(--color-border-subtle);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.portal-mockup__sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.portal-mockup__sidebar-dot {
  width: 20px;
  height: 20px;
  background: var(--color-sand);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.portal-mockup__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.portal-mockup__nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 11px;
  text-decoration: none;
  cursor: default;
}

.portal-mockup__nav a.active {
  background: var(--color-sand-muted);
  color: var(--color-sand);
  font-weight: 600;
}

.portal-mockup__main {
  background: var(--color-bg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.portal-mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.portal-mockup__project-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--color-text);
}

.portal-mockup__status {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.portal-mockup__badge {
  font-size: 10px;
  font-weight: 700;
  color: #6DAA45;
  background: rgba(109,170,69,0.12);
  border: 1px solid rgba(109,170,69,0.25);
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
}

.portal-mockup__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.portal-mockup__stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
}

.portal-mockup__stat-label {
  font-size: 9px;
  color: var(--color-text-faint);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portal-mockup__stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-text);
}

.portal-mockup__progress {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}

.portal-mockup__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.portal-mockup__progress-bar {
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.portal-mockup__progress-fill {
  height: 100%;
  background: var(--color-sand);
  border-radius: var(--radius-full);
  position: relative;
}

.portal-mockup__progress-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

.portal-mockup__updates {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portal-mockup__update-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}

.portal-mockup__update {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
}

.portal-mockup__update-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.portal-mockup__update-dot.completed { background: #6DAA45; }
.portal-mockup__update-dot.upcoming  {
  background: transparent;
  border: 1.5px solid var(--color-text-faint);
}

.portal-mockup__update-name {
  font-size: 11px;
  color: var(--color-text);
  font-weight: 500;
}

.portal-mockup__update-date {
  font-size: 10px;
  color: var(--color-text-faint);
  margin-left: auto;
}

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__content { max-width: 100%; }
  .hero__mockup { display: none; }
}


/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
}

.problem__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.problem__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-sand), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.problem__card:hover::before { opacity: 1; }

.problem__card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-sand);
}

.problem__card-icon svg {
  width: 24px;
  height: 24px;
}

.problem__card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}

.problem__card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .problem__grid { grid-template-columns: 1fr; }
}


/* ============================================================
   COMPETITOR CALLOUT STRIP
   ============================================================ */
.callout-strip {
  background: var(--color-sand-muted);
  border-top: 1px solid rgba(196,154,82,0.2);
  border-bottom: 1px solid rgba(196,154,82,0.2);
  padding: var(--space-5) 0;
}

.callout-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.callout-strip__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  max-width: none;
}

.callout-strip__text em {
  font-style: normal;
  color: var(--color-sand);
}

@media (max-width: 640px) {
  .callout-strip__inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}


/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  max-width: var(--content-wide);
  margin-inline: auto;
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.feature-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.feature-item:hover {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.feature-item.active {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.feature-item.active .feature-item__number {
  color: var(--color-sand);
}

.feature-item__number {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-text-faint);
  flex-shrink: 0;
  padding-top: 2px;
  transition: color var(--transition);
  min-width: 24px;
}

.feature-item__content h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.feature-item__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Feature Preview Panels */
.features__preview {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.feature-panel {
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-panel.active { display: block; }

.feature-panel__inner { padding: var(--space-6); }

.feature-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.feature-panel__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sand);
  background: var(--color-sand-muted);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.feature-panel__subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Budget panel */
.fp-budget { display: flex; flex-direction: column; gap: var(--space-3); }

.fp-budget__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.fp-budget__row--total {
  border-bottom: none;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
  margin-top: var(--space-1);
}

.fp-budget__amount { font-weight: 600; color: var(--color-text); }
.fp-budget__amount--warning { color: #BB653B; }
.fp-budget__amount--highlight { color: var(--color-sand); }

.fp-budget__bar-wrap { margin-top: var(--space-2); }

.fp-budget__bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.fp-budget__bar {
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.fp-budget__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-sand-dark), var(--color-sand));
  border-radius: var(--radius-full);
}

.fp-budget__sync {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}

.fp-budget__sync svg { width: 12px; height: 12px; color: var(--color-sand); }

/* Timeline panel */
.fp-timeline { display: flex; flex-direction: column; gap: 0; }

.fp-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  position: relative;
}

.fp-timeline__item:not(:last-child) .fp-timeline__dot::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 7px;
  width: 2px;
  height: calc(100% - 4px);
  background: var(--color-border);
}

.fp-timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  background: var(--color-border);
  border: 2px solid var(--color-surface);
}

.fp-timeline__item.completed .fp-timeline__dot { background: #6DAA45; }
.fp-timeline__item.active .fp-timeline__dot { background: var(--color-sand); }

.fp-timeline__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.fp-timeline__item:not(.completed):not(.active) .fp-timeline__name {
  color: var(--color-text-muted);
}

.fp-timeline__date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: 2px;
}

/* Files panel */
.fp-files { display: flex; flex-direction: column; gap: var(--space-3); }

.fp-file {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
}

.fp-file__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.fp-file__icon.pdf { background: rgba(196,154,82,0.12); color: var(--color-sand); }
.fp-file__icon.img { background: rgba(109,170,69,0.12); color: #6DAA45; }
.fp-file__icon.doc { background: rgba(85,145,199,0.12); color: #5591c7; }

.fp-file__name { font-size: var(--text-sm); color: var(--color-text); font-weight: 500; }
.fp-file__meta { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: 2px; }

/* Selections panel */
.fp-selections { display: flex; flex-direction: column; gap: var(--space-3); }

.fp-selection {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
}

.fp-selection__cat {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.fp-selection__name { font-size: var(--text-sm); color: var(--color-text); }

.fp-selection__status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px var(--space-2);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.fp-selection__status.approved {
  background: rgba(109,170,69,0.12);
  color: #6DAA45;
}

.fp-selection__status.pending {
  background: rgba(196,154,82,0.12);
  color: var(--color-sand);
}

/* Branding panel */
.fp-branding { display: flex; flex-direction: column; gap: var(--space-5); }

.fp-branding__preview {
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.fp-branding__logo-area {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.fp-branding__logo-box {
  width: 36px;
  height: 36px;
  background: var(--color-sand-muted);
  border: 1px dashed rgba(196,154,82,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--color-sand);
  font-weight: 700;
}

.fp-branding__url {
  font-size: var(--text-xs);
  color: var(--color-sand);
  font-family: var(--font-body);
}

.fp-branding__list { display: flex; flex-direction: column; gap: var(--space-3); }

.fp-branding__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.fp-branding__item svg { width: 14px; height: 14px; color: #6DAA45; flex-shrink: 0; }

@media (max-width: 860px) {
  .features__grid { grid-template-columns: 1fr; }
  .features__preview { position: static; }
}


/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.integrations__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--content-wide);
  margin-inline: auto;
}

.integrations__content .section-eyebrow { text-align: left; }
.integrations__content .section-title {
  font-size: var(--text-2xl);
  text-align: left;
  margin-bottom: var(--space-5);
}

.integrations__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.integrations__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.integration-badge {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.integration-badge svg { width: 18px; height: 18px; color: var(--color-text-faint); }

.integration-badge--active {
  border-color: rgba(196,154,82,0.3);
  background: var(--color-sand-muted);
  color: var(--color-text);
}

.integration-badge--active svg { color: var(--color-sand); }

.integration-badge__status {
  margin-left: auto;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  background: rgba(109,170,69,0.15);
  color: #6DAA45;
}

.integration-badge__status--soon {
  background: var(--color-border-subtle);
  color: var(--color-text-faint);
}

/* QBO flow visual */
.integrations__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qbo-mockup {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.qbo-mockup__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.qbo-mockup__logo {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #2CA01C, #1A7D10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  color: white;
  letter-spacing: 0.04em;
}

.qbo-mockup__sync {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 10px;
  color: var(--color-text-faint);
}

.qbo-mockup__sync svg { width: 10px; height: 10px; color: var(--color-sand); }

.qbo-mockup__arrow svg { width: 40px; height: 16px; color: var(--color-sand); }

.qbo-mockup__dest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.qbo-mockup__dest-icon {
  width: 52px;
  height: 52px;
  background: var(--color-sand-muted);
  border: 1px solid rgba(196,154,82,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-sand);
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .integrations__inner { grid-template-columns: 1fr; }
  .integrations__visual { display: none; }
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: var(--content-wide);
  margin-inline: auto;
  margin-top: var(--space-12);
}

.step {
  flex: 1;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.step__connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  color: var(--color-text-faint);
  padding-top: var(--space-8);
}

.step__connector svg { width: 40px; height: 16px; }

.step__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-sand-muted, rgba(196,154,82,0.1));
  line-height: 1;
  margin-bottom: var(--space-4);
  -webkit-text-stroke: 1px rgba(196,154,82,0.2);
  color: transparent;
}

.step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .steps { flex-direction: column; }
  .step__connector { transform: rotate(90deg); padding: var(--space-2) 0; }
}


/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.pricing__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.pricing__card--featured {
  border-color: rgba(196,154,82,0.35);
  background: linear-gradient(160deg, rgba(196,154,82,0.04) 0%, var(--color-bg) 60%);
  box-shadow: var(--shadow-sand);
  position: relative;
}

.pricing__card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(196,154,82,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.pricing__card-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sand);
}

.pricing__card-price {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.pricing__card-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing__card-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing__card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.pricing__card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.pricing__card-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pricing__card-features svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #6DAA45;
  stroke-width: 2.5;
}

.pricing__note {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pricing__note strong { color: var(--color-text); }

@media (max-width: 640px) {
  .pricing__grid { grid-template-columns: 1fr; }
}


/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.testimonial__inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  position: relative;
}

.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.5;
  color: var(--color-sand);
  opacity: 0.2;
  font-weight: 900;
  display: block;
  margin-bottom: var(--space-6);
  user-select: none;
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-8);
  font-style: normal;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.testimonial__author-info strong {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.testimonial__author-info span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonial__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}

.testimonial__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-sand);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}

.testimonial__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .testimonial__stats { grid-template-columns: 1fr; gap: var(--space-4); }
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.faq__list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq__item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  background: none;
  border: none;
}

.faq__question:hover { color: var(--color-sand); }

.faq__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--color-sand);
}

.faq__answer {
  padding: 0 var(--space-6) var(--space-5);
}

.faq__answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}


/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196,154,82,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='50'%3E%3Cellipse cx='40' cy='30' rx='35' ry='18' stroke='%23C49A52' stroke-opacity='0.04' stroke-width='1' fill='none'/%3E%3Cellipse cx='40' cy='28' rx='22' ry='11' stroke='%23C49A52' stroke-opacity='0.04' stroke-width='1' fill='none'/%3E%3Cellipse cx='40' cy='26' rx='10' ry='5' stroke='%23C49A52' stroke-opacity='0.055' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 80px 50px;
  opacity: 0.5;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  max-width: var(--content-wide);
  margin-inline: auto;
}

.contact__content .section-eyebrow { text-align: left; }
.contact__content .section-title { text-align: left; font-size: var(--text-2xl); }
.contact__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.contact__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact__trust-item svg { width: 14px; height: 14px; color: #6DAA45; stroke-width: 2.5; }

/* Form */
.contact__form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder { color: var(--color-text-faint); }

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-sand);
  box-shadow: 0 0 0 3px rgba(196,154,82,0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4440' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

.contact__form .btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  text-align: center;
  padding: var(--space-8);
  display: none;
}

.form-success.visible { display: block; }
.form-success svg { margin-inline: auto; margin-bottom: var(--space-4); color: #6DAA45; }
.form-success h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.form-success p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 40ch; margin-inline: auto; }

@media (max-width: 860px) {
  .contact__inner { grid-template-columns: 1fr; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding-block: var(--space-12) var(--space-8);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: var(--space-8);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}

.footer__links {
  display: flex;
  gap: var(--space-12);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.footer__col a {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer__col a:hover { color: var(--color-text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { flex-direction: column; gap: var(--space-6); }
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 320ms; }
