/* ═══════════════════════════════════════════════════════
   LogistLite — B2B Logistics Landing
   Design: "Control Layer" — graphite dark, petroleum teal
   Fonts: Cabinet Grotesk (display) + Satoshi (body)
═══════════════════════════════════════════════════════ */

/* ─── TOKENS ────────────────────────────────────────── */
:root {
  /* 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 */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem;    --sp-10: 2.5rem;
  --sp-12: 3rem;   --sp-16: 4rem;  --sp-20: 5rem;   --sp-24: 6rem;

  /* Radius */
  --r-sm: 0.375rem; --r-md: 0.5rem; --r-lg: 0.75rem;
  --r-xl: 1rem;     --r-full: 9999px;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:      180ms var(--ease-out);

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;

  /* Layout */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
}

/* ─── DARK MODE (default) ───────────────────────────── */
:root, [data-theme="dark"] {
  --color-bg:           #131312;
  --color-surface:      #1a1918;
  --color-surface-2:    #1f1e1c;
  --color-surface-off:  #242320;
  --color-border:       #2e2d2b;
  --color-divider:      #252422;

  --color-text:         #d8d6d2;
  --color-text-muted:   #7a7874;
  --color-text-faint:   #4a4946;
  --color-text-inv:     #131312;

  --accent:             #2B9CA8;
  --accent-hover:       #1e8290;
  --accent-active:      #146874;
  --accent-subtle:      rgba(43, 156, 168, 0.12);
  --accent-glow:        rgba(43, 156, 168, 0.08);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.5);
}

/* ─── LIGHT MODE ────────────────────────────────────── */
[data-theme="light"] {
  --color-bg:           #f5f4f0;
  --color-surface:      #f9f8f5;
  --color-surface-2:    #ffffff;
  --color-surface-off:  #eeece8;
  --color-border:       #dbd9d4;
  --color-divider:      #e5e3de;

  --color-text:         #1e1d1b;
  --color-text-muted:   #6b6966;
  --color-text-faint:   #aaa9a6;
  --color-text-inv:     #f9f8f5;

  --accent:             #1a7a84;
  --accent-hover:       #145f68;
  --accent-active:      #0e474f;
  --accent-subtle:      rgba(26, 122, 132, 0.1);
  --accent-glow:        rgba(26, 122, 132, 0.06);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:           #f5f4f0;
    --color-surface:      #f9f8f5;
    --color-surface-2:    #ffffff;
    --color-surface-off:  #eeece8;
    --color-border:       #dbd9d4;
    --color-divider:      #e5e3de;
    --color-text:         #1e1d1b;
    --color-text-muted:   #6b6966;
    --color-text-faint:   #aaa9a6;
    --color-text-inv:     #f9f8f5;
    --accent:             #1a7a84;
    --accent-hover:       #145f68;
    --accent-active:      #0e474f;
    --accent-subtle:      rgba(26, 122, 132, 0.1);
    --accent-glow:        rgba(26, 122, 132, 0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.09);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  }
}

/* ─── BASE RESET ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  hanging-punctuation: first last;
}
body {
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  transition: background 0.3s var(--ease-in-out), color 0.3s var(--ease-in-out);
}
img, svg { display: block; max-width: 100%; height: auto; }
p, li { text-wrap: pretty; max-width: 68ch; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-subtle); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── LAYOUT ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 5vw, var(--sp-12));
}

/* ─── TYPOGRAPHY ────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.1;
}
.section-lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-top: var(--sp-3);
}
.label-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--sp-4);
}
.label-tag--accent {
  color: var(--accent);
}
.section-header {
  max-width: 640px;
  margin-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    box-shadow var(--t-fast),
    transform var(--t-fast),
    border-color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: var(--sp-3) var(--sp-6);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { background: var(--accent-active); transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: var(--text-xs); }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: var(--text-base); }

/* ─── HEADER ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-in-out);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
  transition: color var(--t-fast);
}
.logo:hover .logo-text { color: var(--accent); }

.nav-links {
  display: flex;
  gap: var(--sp-8);
  align-items: center;
  flex: 1;
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color var(--t-fast);
  padding-block: var(--sp-2);
}
.nav-links a:hover { color: var(--color-text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-left: auto;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--color-text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-off); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) clamp(var(--sp-5), 5vw, var(--sp-12));
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-out), padding 0.25s;
}
.mobile-nav.open { max-height: 400px; padding-block: var(--sp-5); }
.mobile-nav-link {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-weight: 500;
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav-link:hover { color: var(--color-text); }
.mobile-cta { margin-top: var(--sp-4); align-self: flex-start; }

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  padding-block: clamp(var(--sp-16), 12vw, 140px);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.hero-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--sp-6);
}
.hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-divider);
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-val {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.proof-label { font-size: var(--text-xs); color: var(--color-text-faint); }
.proof-divider { width: 1px; height: 32px; background: var(--color-divider); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.route-svg {
  width: 100%;
  max-width: 580px;
  color: var(--color-text);
  opacity: 0.85;
}
.route-path-1 {
  stroke-dashoffset: 800;
  animation: draw-path 3s var(--ease-out) forwards 0.5s;
}
.route-path-2 {
  stroke-dashoffset: 900;
  animation: draw-path 3.5s var(--ease-out) forwards 0.8s;
}
@keyframes draw-path {
  to { stroke-dashoffset: 0; }
}
.route-node {
  animation: node-appear 0.4s var(--ease-out) forwards;
  animation-delay: var(--delay);
  opacity: 0;
}
@keyframes node-appear {
  to { opacity: 1; }
}

/* ─── PROBLEM SECTION ───────────────────────────────── */
.section-problem {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1);
}
.problem-card {
  padding: var(--sp-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.problem-card:hover {
  border-color: color-mix(in oklch, var(--accent) 40%, var(--color-border));
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.problem-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: var(--r-md);
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
}
.problem-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── RESULT SECTION ────────────────────────────────── */
.section-result {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
}
.result-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(var(--sp-12), 8vw, var(--sp-24));
  align-items: start;
}
.result-left {
  position: sticky;
  top: 96px;
}
.result-left .section-title { margin-bottom: var(--sp-5); }
.result-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}
.result-right { display: flex; flex-direction: column; gap: 1px; }
.result-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-7) 0;
  border-bottom: 1px solid var(--color-divider);
  align-items: start;
}
.result-item:first-child { border-top: 1px solid var(--color-divider); }
.result-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding-top: 3px;
}
.result-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}
.result-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── SCENARIOS ─────────────────────────────────────── */
.section-scenarios {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.scenario-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.scenario-card:hover {
  border-color: color-mix(in oklch, var(--accent) 50%, var(--color-border));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.scenario-route {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.route-node-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 3px var(--sp-2);
  border-radius: var(--r-sm);
  letter-spacing: 0.03em;
}
.route-arrow { color: var(--color-text-faint); font-size: var(--text-xs); }
.scenario-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.scenario-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}
.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin-top: var(--sp-2);
}
.scenario-tags li {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  border: 1px solid var(--color-border);
  border-radius: var(--r-sm);
  padding: 2px var(--sp-2);
  max-width: none;
}
.scenario-card--cta {
  background: var(--accent-subtle);
  border-color: color-mix(in oklch, var(--accent) 30%, var(--color-border));
  justify-content: center;
  align-items: flex-start;
  gap: var(--sp-6);
}
.scenario-cta-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 28ch;
}

/* ─── PROCESS ───────────────────────────────────────── */
.section-process {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}
.process-step {
  display: grid;
  grid-template-columns: 56px 2px 1fr;
  gap: 0 var(--sp-6);
  position: relative;
  padding-bottom: var(--sp-12);
  align-items: start;
}
.process-step:last-child { padding-bottom: 0; }
.step-number {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 2px;
  text-align: right;
}
.step-connector {
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, var(--color-border) 100%);
  margin-top: 6px;
  border-radius: 2px;
}
.step-connector--last { background: none; }
.step-content {
  padding-top: 0;
  padding-bottom: var(--sp-4);
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}
.step-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}
.step-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 3px var(--sp-3);
  border-radius: var(--r-sm);
  letter-spacing: 0.03em;
}

/* ─── PROOF SECTION ─────────────────────────────────── */
.section-proof {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.proof-block {
  background: var(--color-bg);
  padding: var(--sp-8);
  transition: background var(--t-fast);
}
.proof-block:hover { background: var(--color-surface-2); }
.proof-block-icon {
  color: var(--accent);
  margin-bottom: var(--sp-5);
  opacity: 0.8;
}
.proof-block h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.proof-block p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── FAQ ───────────────────────────────────────────── */
.section-faq {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(var(--sp-12), 8vw, var(--sp-24));
  align-items: start;
}
.faq-left {
  position: sticky;
  top: 96px;
}
.faq-left .section-title { margin-bottom: var(--sp-4); }
.faq-left p { font-size: var(--text-sm); color: var(--color-text-muted); }
.faq-right { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-item:first-child { border-top: 1px solid var(--color-divider); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--accent); }
.faq-question[aria-expanded="true"] { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  color: var(--color-text-faint);
  transition: transform 0.3s var(--ease-out), color var(--t-fast);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(-180deg); color: var(--accent); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-out);
}
.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-bottom: var(--sp-5);
  line-height: 1.7;
}

/* ─── FINAL CTA SECTION ─────────────────────────────── */
.section-cta-final {
  padding-block: clamp(var(--sp-16), 12vw, 130px);
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}
.cta-final-inner {
  max-width: 720px;
  margin-inline: auto;
}
.cta-final-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.cta-final-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--sp-5);
}
.cta-final-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-10);
  line-height: 1.7;
  max-width: 58ch;
}

/* Form */
.cta-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-text-faint); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field select { appearance: none; cursor: pointer; }
.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}
.btn-submit { align-self: flex-start; }
.btn-arrow { flex-shrink: 0; transition: transform var(--t-fast); }
.btn-submit:hover .btn-arrow { transform: translateX(3px); }
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 44ch;
}

/* Form success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-8);
  background: var(--accent-subtle);
  border: 1px solid color-mix(in oklch, var(--accent) 30%, var(--color-border));
  border-radius: var(--r-lg);
}
.form-success.visible { display: flex; }
.cta-form.hidden { display: none; }
.success-icon { color: var(--accent); }
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}
.form-success p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ─── FOOTER ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--sp-12);
  background: var(--color-bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-tagline { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-links {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--color-text); }
.footer-copy { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ─── ANIMATIONS ────────────────────────────────────── */
.fade-in { opacity: 0; }
.fade-in-up { opacity: 0; }
.fade-in.visible { animation: fade-in 0.7s var(--ease-out) forwards; }
.fade-in-up.visible { animation: fade-up 0.6s var(--ease-out) both; animation-delay: var(--delay, 0s); }

@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-headline { font-size: var(--text-2xl); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .result-inner { grid-template-columns: 1fr; }
  .result-left { position: static; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-left { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .mobile-nav { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero-visual { order: -1; max-width: 100%; }
  .hero-headline { font-size: clamp(1.8rem, 8vw, 2.8rem); }

  .problem-grid { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .process-step { grid-template-columns: 40px 2px 1fr; gap: 0 var(--sp-4); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-6); }
  .footer-links { gap: var(--sp-4); }
}

@media (max-width: 480px) {
  .hero-proof { gap: var(--sp-4); }
  .proof-divider { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-faint); }
