/*
 * Design Brief: Vexiona ← inspired by https://www.getorbix.ai/
 *
 * Structure: hero-split → trust-bar → problem-four-grid → stat-metrics-row →
 *   solution-split → tabbed-platform → integration-showcase → cta-band → footer
 *
 * Hero: split 50/50, light warm bg, typography-led headline, dashboard mock visual
 * Orbix patterns: problem/solution narrative, stat blocks, tabs, module cards, warm B2B polish
 * Vexiona positioning: enterprise AI & intelligent data platform (not HR-specific)
 *
 * Tokens derived from Orbix light/warm enterprise aesthetic — NOT generic dark SaaS
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --color-bg: #faf9f6;
  --color-bg-alt: #f2f0eb;
  --color-bg-dark: #1c1c28;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-text-muted: #5c5c6f;
  --color-text-on-dark: #f5f4f0;
  --color-text-muted-on-dark: #a8a8b8;
  --color-accent: #2d6a6a;
  --color-accent-hover: #1f5050;
  --color-accent-warm: #d4654a;
  --color-accent-warm-hover: #b8543d;
  --color-accent-soft: rgba(45, 106, 106, 0.1);
  --color-border: #e5e3dc;
  --color-border-dark: rgba(255, 255, 255, 0.12);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --space-section: clamp(4rem, 8vw, 7rem);
  --space-grid: clamp(2rem, 4vw, 4rem);
  --container-max: 1200px;
  --container-wide: 1320px;

  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);

  --transition-base: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-reveal: 0.7s cubic-bezier(0.22, 1, 0.36, 1);

  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2.5rem, var(--container-wide));
  margin-inline: auto;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--transition-base), color var(--transition-base),
    border-color var(--transition-base), transform var(--transition-base),
    box-shadow var(--transition-base);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--warm {
  background: var(--color-accent-warm);
  color: #fff;
}

.btn--warm:hover {
  background: var(--color-accent-warm-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-on-dark);
  border: 1.5px solid var(--color-border-dark);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2.5rem, var(--container-wide));
  margin-inline: auto;
}

.site-header__logo img {
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__links a {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.site-nav__links a:hover {
  color: var(--color-text);
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Hero — hero-split */
.hero {
  padding-top: calc(var(--header-height) + 2rem);
  background: linear-gradient(165deg, var(--color-bg) 0%, #f0ede6 100%);
  overflow: hidden;
}

.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-grid);
  align-items: center;
  min-height: min(88vh, 860px);
  padding-block: var(--space-section);
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero__pain-list {
  margin-bottom: 1.5rem;
}

.hero__pain-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.hero__pain-list li::before {
  content: '×';
  color: var(--color-accent-warm);
  font-weight: 700;
  font-size: 1.125rem;
}

.hero__insight {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
}

.hero__dashboard {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.hero__dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.hero__dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.hero__dashboard-dot:nth-child(1) { background: #e07a5f; }
.hero__dashboard-dot:nth-child(2) { background: #e9c46a; }
.hero__dashboard-dot:nth-child(3) { background: #2d6a6a; }

.hero__dashboard-body {
  padding: 1.5rem;
}

.hero__chat-msg {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1rem 1.125rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.hero__chat-msg--ai {
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-accent);
}

.hero__chat-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.375rem;
}

.hero__suggestion {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem;
  background: var(--color-surface);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
}

.hero__suggestion-icon {
  font-size: 1rem;
}

/* Trust bar */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.trust-bar__label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3.5rem;
}

.trust-bar__logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.55;
  letter-spacing: 0.02em;
}

/* Problem — problem-four-grid */
.problem {
  padding-block: var(--space-section);
  background: var(--color-bg-alt);
}

.problem__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.problem__card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.problem__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.problem__card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.problem__card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.problem__cta {
  text-align: center;
  margin-top: 3rem;
}

/* Stats — stat-metrics-row */
.stats {
  padding-block: var(--space-section);
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent-warm);
  margin-bottom: 0.75rem;
}

.stat-card__label {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted-on-dark);
  max-width: 280px;
  margin-inline: auto;
}

/* Platform — solution-split */
.platform {
  padding-block: var(--space-section);
}

.platform__header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.platform__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-grid);
  align-items: start;
}

.platform__workflows h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.workflow-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workflow-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.workflow-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.workflow-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
}

.workflow-item__icon svg {
  width: 22px;
  height: 22px;
}

.workflow-item h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.workflow-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.platform__visual {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.platform__visual-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.platform__visual-tab {
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  transition: background var(--transition-base), color var(--transition-base);
}

.platform__visual-tab.is-active {
  background: var(--color-accent);
  color: #fff;
}

.platform__mock-panel {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
}

.platform__mock-msg {
  padding: 0.875rem 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.platform__mock-msg strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

/* Capabilities — tabbed-platform */
.capabilities {
  padding-block: var(--space-section);
  background: var(--color-bg-alt);
}

.capabilities__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.cap-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.cap-tab {
  padding: 0.625rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.cap-tab:hover,
.cap-tab.is-active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.cap-tab.is-active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.cap-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-grid);
  align-items: center;
}

.cap-panel.is-active {
  display: grid;
}

.cap-panel__content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cap-panel__content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.cap-panel__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cap-panel__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.cap-panel__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.cap-panel__visual {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.cap-metric {
  text-align: center;
  padding: 2rem;
}

.cap-metric__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
}

.cap-metric__label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.cap-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  height: 120px;
  margin-top: 1.5rem;
}

.cap-chart__bar {
  width: 28px;
  background: var(--color-accent-soft);
  border-radius: 4px 4px 0 0;
  transition: height var(--transition-base);
}

.cap-chart__bar.is-highlight {
  background: var(--color-accent);
}

/* Solutions — module-feature-cards */
.solutions {
  padding-block: var(--space-section);
}

.solutions__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.solution-card__preview {
  height: 160px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.solution-card__preview-inner {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  width: 100%;
  max-width: 220px;
}

.solution-card__body {
  padding: 1.5rem;
}

.solution-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.solution-card__body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.solution-card__link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition-base);
}

.solution-card__link:hover {
  color: var(--color-accent-hover);
}

.solutions__footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* Technology — integration-showcase */
.technology {
  padding-block: var(--space-section);
  background: var(--color-bg-alt);
}

.technology__header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.tech-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-grid);
}

.tech-showcase__panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.tech-showcase__panel h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.tech-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-integration-pill {
  padding: 0.5rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.tech-diff-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tech-diff-item {
  display: flex;
  gap: 1rem;
}

.tech-diff-item__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
}

.tech-diff-item h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.tech-diff-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.tech-quote {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  color: var(--color-text-on-dark);
  text-align: center;
}

.tech-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 720px;
  margin-inline: auto;
  font-style: normal;
}

.tech-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted-on-dark);
  font-style: normal;
}

/* CTA band */
.cta-band {
  padding-block: var(--space-section);
  background: linear-gradient(135deg, var(--color-accent) 0%, #1f5050 100%);
  color: #fff;
  text-align: center;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-band__text {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--color-accent);
}

.cta-band .btn--primary:hover {
  background: var(--color-bg);
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 4rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.site-footer__brand img {
  height: 28px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.site-footer__brand p {
  font-size: 0.9375rem;
  color: var(--color-text-muted-on-dark);
  max-width: 280px;
}

.site-footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--color-text-muted-on-dark);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__col a {
  font-size: 0.9375rem;
  color: var(--color-text-on-dark);
  transition: color var(--transition-base);
}

.site-footer__col a:hover {
  color: var(--color-accent-warm);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-dark);
  font-size: 0.875rem;
  color: var(--color-text-muted-on-dark);
}

.site-footer__email a {
  color: var(--color-accent-warm);
  font-weight: 600;
}

.site-footer__email a:hover {
  text-decoration: underline;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base), color var(--transition-base);
}

.modal__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.modal__panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.modal__panel p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.modal__panel ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.modal__panel li {
  list-style: disc;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.modal__actions {
  margin-top: 1.5rem;
}

/* Policy pages */
.policy-page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: var(--space-section);
}

.policy-page h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.policy-page__updated {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

.policy-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-page p,
.policy-page li {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.policy-page ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.policy-page li {
  list-style: disc;
}
