/* ============================================================
   Agentic Launchpad — Homepage Prototype
   Design: Google Enterprise / Apple restraint
   ============================================================ */

/* --- @font-face --- */

@font-face {
  font-family: 'Google Sans';
  src: url('/fonts/GoogleSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('/fonts/GoogleSans-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('/fonts/GoogleSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('/fonts/GoogleSans-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('/fonts/GoogleSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('/fonts/GoogleSans-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* --- Design tokens --- */

:root {
  --font-primary: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --color-text-primary: #1a1a2e;
  --color-text-secondary: #5f6368;
  --color-text-tertiary: #80868b;
  --color-text-inverse: #ffffff;

  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8f9fa;
  --color-bg-tertiary: #f1f3f4;
  --color-bg-dark: #1a1a2e;

  --color-accent: #1a73e8;
  --color-accent-hover: #1557b0;
  --color-accent-light: rgba(26, 115, 232, 0.08);

  --color-border: #dadce0;
  --color-border-light: #e8eaed;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --container-max: 1200px;
  --container-large: 1200px;
  /* Card grids: full width within section padding on laptop; cap on ultra-wide */
  --container-cards-max: 1800px;
  --container-narrow: 800px;
  --container-text: 680px;

  --space-unit: 8px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 120px;

  --section-padding-y: clamp(56px, 6vw, 96px);
  --section-padding-x: clamp(20px, 5vw, 64px);

  --header-height: 72px;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --- Reset --- */

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

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

body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --- Typography --- */

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

h1, .h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

h2, .h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
}

h3, .h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.subhead {
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.body-lg {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.body-sm {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-tertiary);
}

/* --- Layout --- */

.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-wrapper {
  flex: 1;
}

section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.container-large {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.container-text {
  width: 100%;
  max-width: var(--container-text);
  margin: 0 auto;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn-ghost:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0);
}

.text-link {
  color: var(--color-accent);
  font-weight: 500;
  transition: opacity var(--transition-fast);
}

.text-link:hover {
  opacity: 0.8;
}

.text-link::after {
  content: ' \2192';
  transition: transform var(--transition-fast);
  display: inline-block;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* --- Cards --- */

.card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-flat {
  background: var(--color-bg-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card-flat:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

/* --- Section backgrounds --- */

.bg-white { background-color: var(--color-bg-primary); }
.bg-light { background-color: var(--color-bg-secondary); }
.bg-lighter { background-color: var(--color-bg-tertiary); }
.bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

/* --- Reveal animations ---
   Progressive: content is visible by default.
   JS adds .is-hidden to off-screen elements, then .is-visible on scroll. */

.reveal.is-hidden {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-hidden,
.reveal.is-animating {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-child.is-hidden {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-child.is-hidden,
.reveal-child.is-animating {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-child.is-animating {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section expand (grey bg grows from card to full-bleed) --- */

.section-expand {
  background-color: transparent !important;
  position: relative;
  overflow: hidden;
}

.section-expand > * {
  position: relative;
  z-index: 1;
}

.section-expand::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-tertiary);
  border-radius: 48px;
  margin: 24px 10vw;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: border-radius 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              margin 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-expand.is-expanded::before {
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  background-color: var(--color-bg-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .reveal.is-hidden,
  .reveal-child.is-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-expand::before {
    transition: none;
  }
}

/* ============================================================
   1. HEADER
   ============================================================ */

.section_header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--section-padding-x);
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.section_header.is-scrolled {
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.header_content {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header_lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.header_lockup .logo-alis {
  height: 28px;
  width: auto;
  color: var(--color-text-primary);
}

.header_lockup .logo-tdsynnex {
  height: 20px;
  width: auto;
}

.lockup-separator {
  width: 1px;
  height: 20px;
  background: var(--color-border);
  flex-shrink: 0;
}

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

.header_nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

.header_cta {
  justify-self: end;
}

.header_cta .btn {
  padding: 10px 24px;
  font-size: 14px;
}

/* ============================================================
   2. HERO
   ============================================================ */

.section_hero {
  padding-top: calc(var(--header-height) + clamp(40px, 5vw, 80px));
  padding-bottom: clamp(40px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero_content {
  max-width: 920px;
  margin: 0 auto;
}

.hero_content .eyebrow {
  margin-bottom: var(--space-lg);
}

.hero_content h1 {
  margin-bottom: var(--space-lg);
}

.hero_promise {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.hero_content .subhead {
  margin-bottom: var(--space-2xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero_content .subhead br.br-desktop {
  display: inline;
}

@media (max-width: 768px) {
  .hero_content .subhead br {
    display: none;
  }
}

/* Hero pillar block (1-2-3 deliverables) */

.hero_pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  text-align: left;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.hero_pillar {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero_pillar:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.hero_pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.hero_pillar h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.hero_pillar p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.hero_actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* Hero chart cards */

.hero_visual {
  margin-top: var(--space-3xl);
  position: relative;
}

.hero_charts {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 560px;
  margin: 0 auto;
}

.hero_chart-card {
  flex: 1;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hero_chart-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero_chart-card--effort .hero_chart-eyebrow {
  color: #d93025;
}

.hero_chart-card--output .hero_chart-eyebrow {
  color: #1e8e3e;
}

.hero_chart-canvas {
  width: 100%;
  height: 80px;
  display: block;
}

/* Hero gradient orbs */

.hero_orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.hero_orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.08) 0%, transparent 70%);
  top: -120px;
  right: -100px;
}

.hero_orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(36, 185, 213, 0.06) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}

/* ============================================================
   3. THE REAL PROBLEM
   ============================================================ */

.section_problem {
  background-color: var(--color-bg-primary);
}

.problem_layout {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: center;
}

.problem_content {
  max-width: none;
}

.problem_content .body-lg {
  margin-bottom: var(--space-xl);
}

.problem_content .body-lg:last-child {
  margin-bottom: 0;
}

.problem_image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.problem_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ============================================================
   4. WHY THIS KEEPS GETTING DELAYED
   ============================================================ */

.section_delay {
  background-color: var(--color-bg-secondary);
}

.delay_layout {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.delay_image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.delay_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.delay_content {
  max-width: none;
  text-align: left;
}

.delay_content .body-lg {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--color-text-secondary);
  position: relative;
}

.delay_content .body-lg::before {
  display: none;
}

/* ============================================================
   5. JOURNEY SCROLL-THROUGH
   ============================================================ */

.section_journey {
  padding: 0;
  background-color: var(--color-bg-primary);
}

.journey_scroll-space {
  height: 400vh;
  position: relative;
}

.journey_sticky {
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--section-padding-x);
  overflow: hidden;
}

.journey_inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.journey_inner h2 {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.journey_subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-bottom: var(--space-xl);
}

/* --- Value curve SVG --- */

.journey_curve-wrap {
  position: relative;
  margin-bottom: var(--space-md);
}

.journey_curve-svg {
  width: 100%;
  height: auto;
  max-height: 180px;
  display: block;
}

.journey_axis {
  fill: var(--color-text-tertiary);
  font-family: var(--font-primary);
}

.journey_path-bg {
  stroke: var(--color-border);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.journey_path-fill {
  fill: var(--color-bg-secondary);
  opacity: 0.5;
}

.journey_path-progress {
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease;
}

/* Dot groups */

.journey_dot-group circle {
  fill: var(--color-bg-tertiary);
  stroke: var(--color-border);
  stroke-width: 2;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.journey_dot-group text {
  fill: var(--color-text-tertiary);
  font-family: var(--font-primary);
  transition: fill 0.3s ease;
}

.journey_dot-group.is-reached circle {
  fill: rgba(26, 115, 232, 0.12);
  stroke: var(--color-accent);
}

.journey_dot-group.is-reached text {
  fill: var(--color-accent);
}

.journey_dot-group.is-active circle {
  fill: var(--color-accent);
  stroke: var(--color-accent);
}

.journey_dot-group.is-active text {
  fill: var(--color-text-inverse);
}

/* Stage name labels */

.journey_stage-names {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 4% 0 2%;
}

.journey_stage-name {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  color: var(--color-text-tertiary);
  line-height: 1.3;
  transition: color 0.3s ease;
  flex: 1;
}

.journey_stage-name.is-active {
  color: var(--color-accent);
  font-weight: 700;
}

.journey_stage-name.is-reached {
  color: var(--color-text-secondary);
}

/* Pilot bar */

.journey_pilot-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent-light);
  border-radius: var(--radius-pill);
  margin: var(--space-md) auto var(--space-lg);
  max-width: 320px;
}

.journey_pilot-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
}

.journey_pilot-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-bg-primary);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}

/* Content panels */

.journey_panels {
  position: relative;
  min-height: 200px;
}

.journey_panel {
  display: none;
  animation: journeyFadeIn 0.35s ease;
}

.journey_panel.is-active {
  display: block;
}

@keyframes journeyFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.journey_panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.journey_panel-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.journey_card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.journey_card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e8e3e;
  background: rgba(30, 142, 62, 0.08);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-bottom: var(--space-sm);
}

.journey_panel-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
}

.journey_panel-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

.journey_panel-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.journey_cta {
  display: block;
  text-align: center;
  margin-top: var(--space-lg);
}

/* Mobile fallback — replaces sticky scroll-through */

.journey_mobile-fallback {
  display: none;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.journey_mobile-stage {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.journey_mobile-stage:last-of-type {
  border-bottom: none;
  margin-bottom: var(--space-lg);
}

.journey_mobile-header {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.journey_mobile-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ============================================================
   6. WHO IT'S FOR
   ============================================================ */

.who_content {
  max-width: var(--container-large);
  margin: 0 auto;
}

.who_content h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.who_intro {
  text-align: center;
  max-width: var(--container-text);
  margin: 0 auto var(--space-3xl);
  color: var(--color-text-secondary);
}

.who_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.who_card {
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.who_card.is-fit {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-top: 3px solid var(--color-accent);
}

.who_card.is-not-fit {
  background: var(--color-bg-tertiary);
  border: 1px solid transparent;
  border-top: 3px solid var(--color-text-tertiary);
}

.who_card h3 {
  margin-bottom: var(--space-md);
}

.who_card p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.who_card ul {
  list-style: none;
  padding: 0;
}

.who_card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.who_card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.who_card.is-not-fit li::before {
  background: var(--color-text-tertiary);
}

/* ============================================================
   7. HOW THE 30 DAYS WORK
   ============================================================ */

.section_how-it-works {
  background-color: var(--color-bg-primary);
}

.how-it-works_content {
  width: 100%;
  max-width: min(100%, var(--container-cards-max));
  margin: 0 auto;
}

.how-it-works_content h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.how-it-works_intro {
  text-align: center;
  max-width: var(--container-text);
  margin: 0 auto var(--space-3xl);
  color: var(--color-text-secondary);
}

.stages_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  position: relative;
}

.stages_grid::before {
  display: none;
}

.stage_card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition-base);
}

.stage_card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.stage_number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.stage_card h3 {
  margin-bottom: var(--space-md);
}

.stage_card p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.how-it-works_cta {
  text-align: center;
}

/* ============================================================
   8. WHAT YOU WALK AWAY WITH
   ============================================================ */

.section_deliverables {
  background-color: var(--color-bg-secondary);
}

.deliverables_content {
  width: 100%;
  max-width: min(100%, var(--container-cards-max));
  margin: 0 auto;
}

.deliverables_content h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.deliverables_lead {
  text-align: center;
  max-width: var(--container-text);
  margin: 0 auto var(--space-3xl);
  color: var(--color-text-secondary);
}

.deliverables_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  width: 100%;
}

.deliverable_card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.deliverable_card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.deliverable_icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent-light), rgba(26, 115, 232, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 700;
}

.deliverable_card h3 {
  margin-bottom: var(--space-md);
}

.deliverable_card p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   9. WHAT PROOF LOOKS LIKE
   ============================================================ */

.section_proof {
  background-color: var(--color-bg-primary);
}

.proof_content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.proof_content h2 {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.proof_cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.proof_card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 3px solid var(--color-accent);
}

.proof_card .label {
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
  font-weight: 500;
}

.proof_card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   10. IT AND PROCUREMENT QUESTIONS
   ============================================================ */

.section_enterprise {
  background-color: var(--color-bg-secondary);
}

.enterprise_content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.enterprise_content h2 {
  margin-bottom: var(--space-md);
}

.enterprise_intro {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3xl);
}

.enterprise_questions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.enterprise_question {
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.enterprise_question:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.enterprise_question h3 {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.enterprise_question p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   11. THE PLATFORM UNDERNEATH
   ============================================================ */

.section_platform {
  background-color: var(--color-bg-primary);
}

.platform_content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.platform_content h2 {
  margin-bottom: var(--space-xl);
}

.platform_body {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.platform_features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.platform_feature {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.platform_note {
  margin-top: var(--space-xl);
  color: var(--color-text-tertiary);
  font-size: 15px;
}

/* ============================================================
   12a. WHO RUNS THIS (TRUST)
   ============================================================ */

.section_trust-register {
  background-color: var(--color-bg-secondary);
}

.trust-register_content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.trust-register_content h2 {
  margin-bottom: var(--space-xl);
}

.trust_logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
}

.trust_logo {
  height: 32px;
  width: auto;
}

.trust_logo--alis {
  color: var(--color-text-primary);
}

.trust_logo-link {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast);
}

.trust_logo-link:hover {
  opacity: 0.75;
}

.trust_logo-divider {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-tertiary);
}

.trust_body {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.trust_note {
  color: var(--color-text-secondary);
  font-size: 15px;
  font-style: italic;
}

/* ============================================================
   12b. REGISTER FORM
   ============================================================ */

.section_register {
  background-color: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

.section_register::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.04) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.register_content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.register_content h2 {
  margin-bottom: var(--space-md);
}

.register_subline {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3xl);
}

.register_form {
  text-align: left;
}

.form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form_row.is-full {
  grid-template-columns: 1fr;
}

.form_field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form_field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.form_field label .required {
  color: var(--color-accent);
}

.form_field input,
.form_field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form_field input::placeholder {
  color: var(--color-text-tertiary);
}

.form_field input:focus,
.form_field select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form_field input.is-invalid,
.form_field select.is-invalid,
.form_field textarea.is-invalid {
  border-color: #d93025;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.08);
}

.form_field input.is-valid,
.form_field select.is-valid,
.form_field textarea.is-valid {
  border-color: #1e8e3e;
}

.form_field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2380868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form_submit {
  margin-top: var(--space-lg);
  text-align: center;
}

.form_submit .btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
}

.form_microcopy {
  margin-top: var(--space-xl);
  text-align: center;
}

.form_microcopy p {
  font-size: 14px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.form_microcopy a {
  color: var(--color-accent);
  font-weight: 500;
}

.register_close {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-light);
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.register_close .partner-line {
  margin-top: var(--space-md);
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.form_success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.form_success.is-visible {
  display: block;
}

.form_success h3 {
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.form_success p {
  color: var(--color-text-secondary);
}

.register_form.is-hidden {
  display: none;
}

/* ============================================================
   13. FOOTER
   ============================================================ */

.section_footer {
  padding: var(--space-2xl) var(--section-padding-x);
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg-primary);
}

.footer_content {
  max-width: var(--container-large);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer_lockup {
  font-size: 13px;
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer_lockup-link {
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.footer_lockup-link:hover {
  color: var(--color-text-primary);
}

.footer_lockup-sep {
  color: var(--color-text-tertiary);
}

.footer_links {
  display: flex;
  gap: var(--space-xl);
}

.footer_links a {
  font-size: 14px;
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .stages_grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .stages_grid::before {
    display: none;
  }

  .deliverables_grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .platform_features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: clamp(40px, 6vw, 64px);
  }

  body {
    font-size: 16px;
  }

  .header_content {
    display: flex;
    justify-content: space-between;
  }

  .header_nav {
    display: none;
  }

  .problem_layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .problem_image {
    order: -1;
  }

  .delay_layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .delay_image {
    max-width: 200px;
    margin: 0 auto;
  }

  .delay_content {
    text-align: center;
  }

  .section_hero {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 48px;
  }

  .hero_actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero_actions .btn {
    width: 100%;
  }

  .hero_pillars {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero_pillar {
    padding: var(--space-lg);
  }

  /* Journey: swap scroll-through for stacked fallback */
  .journey_scroll-space {
    display: none;
  }

  .journey_mobile-fallback {
    display: block !important;
  }

  .journey_panel-grid {
    grid-template-columns: 1fr;
  }

  .who_grid {
    grid-template-columns: 1fr;
  }

  .form_row {
    grid-template-columns: 1fr;
  }

  .footer_content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .footer_links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
  }

  .register_content {
    padding: 0;
  }
}

/* --- Active nav state --- */

.header_nav a.is-active {
  color: var(--color-text-primary);
}

/* --- Selection color --- */

::selection {
  background: var(--color-accent-light);
  color: var(--color-text-primary);
}

/* --- Focus visible for accessibility --- */

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

@media (max-width: 480px) {
  .hero_charts {
    flex-direction: column;
    max-width: 280px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .header_cta .btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .stage_card,
  .deliverable_card,
  .who_card {
    padding: var(--space-lg);
  }
}

/* ============================================================
   SECONDARY PAGES — Shared patterns
   ============================================================ */

/* --- Secondary header nav (replaces anchor nav) --- */

.header_nav--secondary {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header_nav--secondary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.header_nav--secondary a:hover {
  color: var(--color-text-primary);
}

/* --- Page hero (secondary pages) --- */

.section_page-hero {
  padding-top: calc(var(--header-height) + clamp(40px, 5vw, 72px));
  padding-bottom: var(--space-3xl);
  text-align: center;
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border-light);
}

.page-hero_content {
  max-width: var(--container-text);
  margin: 0 auto;
}

.page-hero_content h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: var(--space-md);
}

.page-hero_date {
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-md);
}

.page-hero_summary {
  font-size: clamp(17px, 1.2vw, 19px);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* --- Legal page layout (TOC + content) --- */

.legal_layout {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.legal_toc {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  padding: var(--space-lg) 0;
}

.legal_toc-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-md);
}

.legal_toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal_toc-list a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-tertiary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.legal_toc-list a:hover {
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
}

.legal_toc-list a.is-active {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  font-weight: 500;
}

/* --- Legal content area --- */

.legal_content {
  max-width: var(--container-text);
  padding: var(--space-xl) 0 var(--space-4xl);
}

.legal_section {
  padding-bottom: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-light);
  scroll-margin-top: calc(var(--header-height) + var(--space-xl));
}

.legal_section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal_section h2 {
  font-size: clamp(20px, 1.8vw, 24px);
  margin-bottom: var(--space-lg);
}

.legal_section h3 {
  font-size: clamp(17px, 1.3vw, 19px);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal_section p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.legal_section p:last-child {
  margin-bottom: 0;
}

.legal_section ul,
.legal_section ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal_section ul {
  list-style: none;
  padding-left: 0;
}

.legal_section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.legal_section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.legal_section ol {
  list-style: decimal;
}

.legal_section ol li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.legal_section a {
  color: var(--color-accent);
  font-weight: 500;
  transition: opacity var(--transition-fast);
}

.legal_section a:hover {
  opacity: 0.8;
}

.legal_section strong {
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Placeholder markers */

.placeholder {
  background: rgba(26, 115, 232, 0.06);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
  white-space: nowrap;
}

/* --- DPO / contact card --- */

.legal_card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.legal_card h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.legal_card p {
  margin-bottom: var(--space-sm);
}

.legal_card a {
  color: var(--color-accent);
  font-weight: 500;
}

/* --- Rights summary grid --- */

.rights_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.rights_item {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.rights_item h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.rights_item p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Cookie table --- */

.legal_table-wrap {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

.legal_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal_table thead {
  background: var(--color-bg-secondary);
}

.legal_table th {
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-weight: 500;
  color: var(--color-text-primary);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--color-border-light);
}

.legal_table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
  line-height: 1.5;
}

.legal_table tr:last-child td {
  border-bottom: none;
}

.legal_table .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.badge--essential {
  background: rgba(30, 142, 62, 0.08);
  color: #1e8e3e;
}

.badge--inactive {
  background: var(--color-bg-tertiary);
  color: var(--color-text-tertiary);
}

/* --- Privacy request form --- */

.legal_form {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-top: var(--space-xl);
}

.legal_form h3 {
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.form_field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
  font-family: var(--font-primary);
}

.form_field textarea::placeholder {
  color: var(--color-text-tertiary);
}

.form_field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

/* --- Cookie consent banner --- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: var(--space-lg) var(--section-padding-x);
  transform: translateY(0);
  transition: transform var(--transition-slow);
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner_content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cookie-banner_text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner_actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.cookie-banner_actions .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.cookie-banner_actions .text-link {
  font-size: 13px;
}

.cookie-banner_actions .text-link::after {
  content: none;
}

/* --- Contact page --- */

.section_contact-hero {
  padding-top: calc(var(--header-height) + clamp(40px, 5vw, 72px));
  padding-bottom: var(--section-padding-y);
  background-color: var(--color-bg-secondary);
}

.contact_layout {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact_intro h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: var(--space-lg);
}

.contact_intro p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.contact_detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact_detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact_detail-text {
  font-size: 15px;
}

.contact_detail-text strong {
  display: block;
  color: var(--color-text-primary);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact_detail-text span {
  color: var(--color-text-secondary);
}

.contact_form-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.contact_form-card .form_submit {
  margin-top: var(--space-xl);
}

/* Contact success state */

.contact_success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.contact_success.is-visible {
  display: block;
}

.contact_success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(30, 142, 62, 0.08);
  color: #1e8e3e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.contact_success h3 {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.contact_success p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.contact_form.is-hidden,
#privacy-request-form.is-hidden {
  display: none;
}

/* Contact info cards */

.section_contact-info {
  background-color: var(--color-bg-primary);
}

.contact-info_content {
  max-width: var(--container-max);
  margin: 0 auto;
}

.contact-info_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.contact-info_card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.contact-info_card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-info_card h3 {
  margin-bottom: var(--space-sm);
}

.contact-info_card p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.contact-info_card a {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 14px;
}

/* ============================================================
   SECONDARY PAGES — Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .legal_layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal_toc {
    position: relative;
    top: 0;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--space-xl);
  }

  .legal_toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .legal_toc-list a {
    font-size: 12px;
    padding: 4px 10px;
  }

  .contact_layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-info_grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .section_page-hero {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: var(--space-2xl);
  }

  .rights_grid {
    grid-template-columns: 1fr;
  }

  .legal_form {
    padding: var(--space-lg);
  }

  .contact_form-card {
    padding: var(--space-lg);
  }

  .cookie-banner_content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .cookie-banner_actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .legal_toc-list {
    flex-direction: column;
  }

  .legal_table th,
  .legal_table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 13px;
  }
}
