/* =============================================
   TAM Ready — Design Tokens + Component Styles
   ============================================= */

/* --- Fonts --- */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800&f[]=satoshi@300,400,500,700&display=swap');

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

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.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: oklch(from var(--color-orange) l c h / 0.25);
  color: var(--color-text);
}

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

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

button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

a, button, [role='button'], [role='link'], input, textarea, select {
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background 180ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.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;
}

/* --- Design Tokens --- */
:root {
  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --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.5rem, 1rem + 4vw, 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-full: 9999px;

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

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* --- Light Mode (default) --- */
:root, [data-theme='light'] {
  --color-navy: #0f1f3d;
  --color-navy-dark: #0a1628;
  --color-orange: #f97316;
  --color-orange-hover: #ea6c0a;

  --color-bg: #ffffff;
  --color-surface: #f8f9fa;
  --color-surface-2: #f1f3f5;
  --color-text: #0f1f3d;
  --color-text-muted: #4a5568;
  --color-text-faint: #94a3b8;
  --color-text-inverse: #ffffff;
  --color-border: #e2e8f0;
  --color-divider: #e2e8f0;

  --shadow-sm: 0 1px 2px oklch(0.15 0.02 250 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.15 0.02 250 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.15 0.02 250 / 0.12);
}

/* --- Dark Mode --- */
[data-theme='dark'] {
  --color-bg: #0a1628;
  --color-surface: #0f1f3d;
  --color-surface-2: #162a4a;
  --color-text: #e8edf5;
  --color-text-muted: #8a9ab5;
  --color-text-faint: #5a6d8a;
  --color-text-inverse: #0a1628;
  --color-border: #1e3a5f;
  --color-divider: #1e3a5f;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a1628;
    --color-surface: #0f1f3d;
    --color-surface-2: #162a4a;
    --color-text: #e8edf5;
    --color-text-muted: #8a9ab5;
    --color-text-faint: #5a6d8a;
    --color-text-inverse: #0a1628;
    --color-border: #1e3a5f;
    --color-divider: #1e3a5f;

    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* =============================================
   COMPONENTS
   ============================================= */

/* --- Container --- */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

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

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease;
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .header__inner { padding-inline: var(--space-8); }
}

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

.header__logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.header__nav {
  display: none;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .header__nav { display: flex; }
}

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

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
  border-radius: var(--radius-md);
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}
.mobile-menu-btn:hover {
  background: var(--color-surface);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 99;
  padding: var(--space-8) var(--space-4);
}
.mobile-nav--open {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

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

.btn--primary {
  background: var(--color-orange);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px oklch(from var(--color-orange) l c h / 0.3);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1px solid oklch(from #fff l c h / 0.3);
}
.btn--secondary:hover {
  background: oklch(from #fff l c h / 0.1);
  border-color: oklch(from #fff l c h / 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
}
.btn--outline:hover {
  background: oklch(from var(--color-orange) l c h / 0.08);
}

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

.btn--bundle {
  background: var(--color-orange);
  color: #fff;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-lg);
  min-height: 56px;
}
.btn--bundle:hover {
  background: var(--color-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px oklch(from var(--color-orange) l c h / 0.35);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: var(--color-navy);
  color: #e8edf5;
  padding: calc(4rem + var(--space-16)) var(--space-4) var(--space-16);
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .hero {
    padding: calc(4rem + var(--space-24)) var(--space-8) var(--space-24);
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(oklch(from var(--color-orange) l c h / 0.2) 1px, transparent 1px),
    linear-gradient(90deg, oklch(from var(--color-orange) l c h / 0.2) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    oklch(from var(--color-orange) l c h / 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: var(--content-default);
  margin-inline: auto;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-6);
}

.hero__tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-orange);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--space-6);
  max-width: 18ch;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: #b0bdd0;
  max-width: 58ch;
  margin-bottom: var(--space-8);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* --- Section Shared --- */
.section {
  padding: var(--space-16) var(--space-4);
}
@media (min-width: 768px) {
  .section { padding: var(--space-20) var(--space-8); }
}
@media (min-width: 1024px) {
  .section { padding: var(--space-24) var(--space-12); }
}

.section--surface {
  background: var(--color-surface);
}

.section__header {
  margin-bottom: var(--space-12);
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

.section__tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-orange);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* --- Problem Cards --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
}

.problem-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  position: relative;
}

.problem-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: oklch(from var(--color-orange) l c h / 0.15);
  line-height: 1;
  margin-bottom: var(--space-4);
}

[data-theme='dark'] .problem-card__number {
  color: oklch(from var(--color-orange) l c h / 0.25);
}

.problem-card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  font-weight: 500;
}

/* --- Solution Section --- */
.solution__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 768px) {
  .solution__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.solution__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
}

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

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

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1.2;
}

.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Products Section --- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-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;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-card--featured {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 1px var(--color-orange);
}

.product-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  right: var(--space-6);
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.product-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-6);
  color: var(--color-orange);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.product-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.product-card__includes {
  list-style: none;
  margin-bottom: var(--space-8);
  flex-grow: 1;
}

.product-card__includes li {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-2) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.product-card__includes li:last-child {
  border-bottom: none;
}

.product-card__includes li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--color-orange);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
}

.product-card .btn {
  width: 100%;
}

/* Bundle */
.bundle {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .bundle {
    flex-direction: row;
    text-align: left;
    padding: var(--space-8) var(--space-12);
    justify-content: space-between;
  }
}

.bundle__bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(oklch(from var(--color-orange) l c h / 0.3) 1px, transparent 1px),
    linear-gradient(90deg, oklch(from var(--color-orange) l c h / 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bundle__content {
  position: relative;
}

.bundle__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-1);
}

.bundle__save {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-orange);
  font-weight: 600;
}

.bundle .btn--bundle {
  position: relative;
}

/* --- Credibility Section --- */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
}

.cred-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.cred-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-orange);
}

.cred-card__text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  font-weight: 500;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: var(--content-default);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  min-height: 56px;
}

.faq-trigger:hover {
  color: var(--color-orange);
}

.faq-trigger__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-muted);
}

.faq-item--open .faq-trigger__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.faq-item--open .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-answer__inner {
  padding-bottom: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 60ch;
}

/* --- Footer --- */
.footer {
  background: var(--color-navy);
  color: #b0bdd0;
  padding: var(--space-12) var(--space-4);
}
@media (min-width: 768px) {
  .footer { padding: var(--space-16) var(--space-8); }
}

.footer__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

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

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

.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: #8a9ab5;
  max-width: 36ch;
  line-height: 1.6;
}

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

.footer__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #8a9ab5;
  text-decoration: none;
}
.footer__links a:hover {
  color: #fff;
}

.footer__divider {
  border: none;
  border-top: 1px solid oklch(from #fff l c h / 0.1);
  margin: var(--space-6) 0 0;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-top: var(--space-6);
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-size: var(--text-xs);
  color: #5a6d8a;
}

.footer__email a {
  font-size: var(--text-xs);
  color: #5a6d8a;
  text-decoration: none;
}
.footer__email a:hover {
  color: var(--color-orange);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger for cards */
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-orange);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-2);
}
