/* CloudParcel marketing site.
   Components mirror design-system/components/*.jsx as plain CSS classes;
   every colour, radius, shadow and font comes from tokens.css. */

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg-canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
code, kbd, samp { font-family: var(--font-mono); }
a { color: var(--color-text-link); text-decoration: none; }
a:hover { color: var(--color-text-link-hover); }
::selection { background: var(--color-primary-subtle); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

.icon {
  width: 16px; height: 16px; flex: 0 0 auto; display: block;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.mono { font-family: var(--font-mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 8px 14px; border-radius: var(--radius-md);
  background: var(--color-navy-strong); color: var(--color-text-inverse); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--color-text-inverse); }

@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; }
.container--narrow { max-width: 1120px; }

.section { padding: clamp(56px, 7vw, 100px) 24px; }
.section--surface {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.section--flush-top { padding-top: 0; }

.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 12px;
}
.eyebrow--green { color: var(--color-secondary); }
.eyebrow--muted { color: var(--color-text-tertiary); }
.h2 {
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--color-navy-strong); margin: 0 0 12px; text-wrap: balance;
}
.lede {
  color: var(--color-text-secondary); font-size: 16px; line-height: 1.6;
  max-width: 580px; margin: 0 auto; text-wrap: pretty;
}

.grid-auto { display: grid; gap: 16px; }

/* ---------- Button (DS Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--control-height-md); padding: 0 14px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--sm { height: var(--control-height-sm); padding: 0 10px; font-size: 13px; }
.btn--lg { height: 44px; padding: 0 18px; }
.btn--block { width: 100%; height: var(--control-height-lg); }

.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); color: #fff; }
.btn--primary:active { background: var(--color-primary-active); }

.btn--secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border-strong); }
.btn--secondary:hover { background: var(--gray-50); color: var(--color-text); }
.btn--secondary:active { background: var(--gray-100); }

/* ---------- Badge / StatusBadge (DS Badge) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px;
  border-radius: var(--radius-pill); font-size: var(--text-label); font-weight: 600; line-height: 1.4;
  white-space: nowrap; border: 1px solid;
}
.badge .icon { width: 11px; height: 11px; }
.badge--success { background: var(--color-success-subtle); color: var(--color-success); border-color: var(--color-success-border); }
.badge--warning { background: var(--color-warning-subtle); color: var(--color-warning); border-color: var(--color-warning-border); }
.badge--info    { background: var(--color-info-subtle);    color: var(--color-info);    border-color: var(--color-info-border); }
.badge--neutral { background: var(--gray-100); color: var(--gray-700); border-color: var(--gray-200); }

/* ---------- Card (DS Card) ---------- */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); overflow: hidden;
}
.card__head {
  padding: 14px var(--space-6); border-bottom: 1px solid var(--color-border);
  font-size: var(--text-card-title); font-weight: 600; color: var(--color-text);
}
.card__body { padding: var(--space-6); }

/* ---------- Alert (DS Alert) ---------- */
.alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  border-radius: var(--radius-lg); border: 1px solid;
}
.alert--warning { background: var(--color-warning-subtle); border-color: var(--color-warning-border); }
.alert--warning > .icon { color: var(--color-warning); width: 17px; height: 17px; margin-top: 1px; }
.alert__title { font-size: var(--text-card-title); font-weight: 600; color: var(--color-text); margin-bottom: 2px; }
.alert__text { font-size: var(--text-secondary); color: var(--color-text-secondary); line-height: 1.5; }

/* ---------- UsageMeter (DS UsageMeter) ---------- */
.meter__row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.meter__label { font-size: var(--text-secondary); color: var(--color-text-secondary); }
.meter__value { font-family: var(--font-mono); font-size: var(--text-mono); font-weight: 500; color: var(--color-text); }
.meter__track { height: 6px; border-radius: var(--radius-pill); background: var(--gray-100); overflow: hidden; }
.meter__fill { height: 100%; border-radius: var(--radius-pill); background: var(--color-primary); }
.meter__fill--warning { background: var(--color-warning); }
.meter__fill--error { background: var(--color-error); }

/* ---------- Tabs (DS Tabs) ---------- */
.tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--color-border); }
.tabs__btn {
  background: none; border: none; cursor: pointer; padding: 10px 4px; margin-bottom: -1px;
  font-family: var(--font-sans); font-size: var(--text-body); font-weight: 600;
  color: var(--color-text-secondary); border-bottom: 2px solid transparent;
}
.tabs__btn[aria-selected="true"] { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ---------- MetricCard (DS MetricCard) ---------- */
.metric {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-5); display: flex; flex-direction: column; gap: 10px;
}
.metric__label {
  font-size: var(--text-label); font-weight: 600; color: var(--color-text-secondary);
  text-transform: uppercase; letter-spacing: var(--letter-wide);
}
.metric__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.metric__value { font-size: 28px; font-weight: 700; color: var(--color-text); letter-spacing: var(--letter-tight); }
.metric__unit { font-size: var(--text-secondary); color: var(--color-text-tertiary); margin-left: 5px; }
.metric__trend { display: flex; align-items: center; gap: 5px; font-size: var(--text-meta); }
.metric__trend .icon { width: 12px; height: 12px; }
.metric__trend strong { font-weight: 600; }
.metric__trend span { color: var(--color-text-tertiary); }
.trend--positive { color: var(--color-trend-positive); }
.trend--neutral { color: var(--color-trend-neutral); }

/* ---------- ChartCard + LineChart ---------- */
.chart-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs); padding: var(--space-6);
}
.chart-card__title { font-size: var(--text-card-title); font-weight: 600; color: var(--color-text); }
.chart-card__sub { font-size: var(--text-meta); color: var(--color-text-tertiary); margin: 2px 0 14px; }
.chart-card__legend { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: var(--text-meta); color: var(--color-text-secondary); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.line-chart { width: 100%; height: 220px; display: block; }
.line-chart text { font-family: var(--font-sans); font-size: 10px; fill: var(--color-text-tertiary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard);
}
/* Set by site.js while the header sits over the hero video. An open mobile
   menu always gets the solid bar so its links stay readable. */
.site-header.is-over-hero:not(.is-open) {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; flex: 1; justify-content: center; }
.nav a { color: var(--color-text-secondary); }
.nav a:hover { color: var(--color-navy-strong); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.login-link { font-size: 14px; font-weight: 600; color: var(--color-text-secondary); padding: 8px 4px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--color-surface); border: 1px solid var(--color-border-strong); color: var(--color-text); cursor: pointer;
}
.nav-toggle .icon { width: 18px; height: 18px; }
.nav-toggle .icon--close { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md);
  }
  .nav a { padding: 12px 8px; border-radius: var(--radius-md); font-size: 15px; }
  .nav a:hover { background: var(--gray-50); }
  .site-header.is-open .nav { display: flex; }
  .site-header.is-open .nav-toggle .icon--open { display: none; }
  .site-header.is-open .nav-toggle .icon--close { display: block; }
  .site-header__inner { padding: 0 16px; gap: 12px; }
}
@media (max-width: 520px) {
  .login-link { display: none; }
  .brand img { height: 26px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(clamp(560px, 82vh, 780px) + 69px); display: flex; align-items: center;
  /* Pull the hero up under the sticky header (68px bar + 1px border) so the video shows through it */
  margin-top: -69px;
  padding: calc(clamp(48px, 7vw, 88px) + 69px) 24px clamp(56px, 8vw, 96px);
  /* Shown until the video paints, and if it never loads */
  background: var(--color-bg-canvas) url('/assets/video/cloudparcel-workers-poster.jpg') right center / cover no-repeat;
}
/* The illustration sits in the right two-thirds of the frame; the empty sky on
   the left carries the copy, so anchor the crop to the right edge. */
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
}
/* Keeps the headline readable wherever the crop puts the busy part of the scene. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--color-bg-canvas) 0%, rgba(238, 244, 249, .88) 32%, rgba(238, 244, 249, 0) 62%);
}
.hero__grid { width: 100%; }
.hero__motion {
  position: absolute; left: 24px; bottom: 20px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--color-border-strong);
  color: var(--color-text-secondary); cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard);
}
.hero__motion:hover { background: var(--color-surface); color: var(--color-text); }
.hero__motion .icon { width: 14px; height: 14px; }
.hero__motion .icon--play,
.hero__motion.is-paused .icon--pause { display: none; }
.hero__motion.is-paused .icon--play { display: block; }

@media (max-width: 900px) {
  /* Too narrow for side-by-side: the copy sits over the scene, so wash it out more. */
  .hero { min-height: 0; padding-bottom: 80px; }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(238, 244, 249, .94) 0%, rgba(238, 244, 249, .86) 60%, rgba(238, 244, 249, .7) 100%);
  }
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 540px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--color-surface); border: 1px solid var(--color-border);
  font-size: 12px; font-weight: 600; color: var(--color-text-secondary);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); flex: 0 0 auto; }
.live-dot--pulse { animation: pulseDot 2s ease-in-out infinite; }
.hero h1 {
  font-size: clamp(38px, 5vw, 58px); line-height: 1.06; font-weight: 800; letter-spacing: -0.025em;
  color: var(--color-navy-strong); margin: 0; text-wrap: balance;
}
.hero__tagline { font-size: 18px; font-weight: 600; color: var(--color-primary); margin: 0; }
.hero__text { font-size: 17px; line-height: 1.6; color: var(--color-text-secondary); margin: 0; text-wrap: pretty; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.hero__stats {
  width: 100%; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--color-border);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.stat__value { font-size: 22px; font-weight: 700; color: var(--color-navy-strong); }
.stat__label { font-size: 13px; color: var(--color-text-tertiary); margin-top: 2px; }

/* ---------- Old way vs new ---------- */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.compare__panel { padding: 24px; border-radius: 12px; border: 1px solid var(--color-border); }
.compare__panel--old { background: var(--gray-50); }
.compare__panel--new { background: var(--color-surface); border-color: var(--color-success-border); box-shadow: var(--shadow-sm); }
.compare__label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-text-tertiary); margin-bottom: 16px;
}
.compare__panel--new .compare__label { color: var(--color-success); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  padding: 7px 12px; border-radius: 8px; background: var(--color-surface); border: 1px solid var(--color-border);
  font-size: 13px; color: var(--color-text-secondary);
}
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.step { padding: 12px; border-radius: 10px; background: var(--color-bg-canvas); border: 1px solid var(--color-border); }
.step__n { font-family: var(--font-mono); font-size: 11px; color: var(--color-primary); font-weight: 600; }
.step__title { font-size: 15px; font-weight: 700; color: var(--color-navy-strong); margin-top: 2px; }
.step__desc { font-size: 12px; color: var(--color-text-secondary); margin-top: 4px; line-height: 1.45; }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.cap {
  padding: 24px; border-radius: var(--radius-lg); background: var(--color-surface);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s var(--ease-standard);
}
.cap:hover { box-shadow: var(--shadow-sm); }
.cap__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--color-primary-subtle);
  display: flex; align-items: center; justify-content: center; color: var(--color-primary);
}
.cap__icon .icon { width: 19px; height: 19px; }
.cap h3 { font-size: 17px; font-weight: 700; color: var(--color-navy-strong); margin: 0; }
.cap p { font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); flex: 1; margin: 0; }
.cap__meta {
  padding-top: 12px; border-top: 1px solid var(--color-border);
  font-family: var(--font-mono); font-size: 12px; color: var(--color-text-tertiary);
}

/* ---------- Dashboard preview ---------- */
.split-head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
  gap: 24px; margin-bottom: 32px;
}
.split-head > div { max-width: 620px; }
.split-head .lede { margin: 0; }

.console {
  border-radius: 16px; background: var(--color-bg-canvas); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.console__bar {
  padding: 14px 20px; background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.console__id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.console__name { font-size: 14px; font-weight: 700; color: var(--color-navy-strong); }
.console__meta { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-tertiary); }
.console__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.console__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.console__panel[hidden] { display: none; }
.console__panel { display: flex; flex-direction: column; gap: 16px; }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }

.big-number { font-size: 36px; font-weight: 800; color: var(--color-navy-strong); }
.big-number small { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--color-text-tertiary); margin-left: 6px; }
.rows { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.rows > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.meters { display: flex; flex-direction: column; gap: 16px; }
.cost-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; }
.cost-rows > div { display: flex; justify-content: space-between; color: var(--color-text-secondary); }
.cost-rows > div span:last-child { color: var(--color-text); }

.deploy {
  padding: 16px 20px; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.deploy__main { display: flex; flex-direction: column; gap: 8px; }
.deploy__title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--color-navy-strong); }
.deploy__meta { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-tertiary); }
.pipeline { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pipeline li {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px;
  background: var(--color-success-subtle); color: var(--color-success); font-size: 12px; font-weight: 600;
}
.pipeline .icon { width: 12px; height: 12px; }

.tools { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tools .chips { justify-content: center; }
.tools .chip { padding: 8px 14px; background: var(--color-bg-canvas); font-family: var(--font-mono); font-size: 12px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--color-surface);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; gap: 18px;
}
.plan--popular { border: 2px solid var(--color-primary); box-shadow: var(--shadow-md); }
.plan__flag {
  position: absolute; top: -11px; left: 24px; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.plan h3 { font-size: 18px; font-weight: 700; color: var(--color-navy-strong); margin: 0; }
.plan__desc { font-size: 13px; color: var(--color-text-secondary); margin: 4px 0 0; min-height: 36px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; }
.plan__amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--color-navy-strong); }
.plan__cycle { font-size: 13px; color: var(--color-text-tertiary); }
.plan__features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin: 0; padding: 0; list-style: none; }
.plan__features li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text); }
.plan__features .icon { width: 15px; height: 15px; color: var(--color-success); }
.pricing-note { text-align: center; font-size: 13px; color: var(--color-text-tertiary); margin: 24px 0 0; }

/* ---------- Marketplace ---------- */
.market {
  padding: clamp(24px, 4vw, 40px); border-radius: 16px; background: var(--color-surface);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.market__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.market__head .eyebrow { margin-bottom: 8px; }
.market__head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--color-navy-strong); margin: 0 0 6px; }
.market__head p { font-size: 14px; color: var(--color-text-secondary); margin: 0; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.app {
  padding: 18px 14px; border-radius: 10px; background: var(--color-bg-canvas); border: 1px solid var(--color-border);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  color: var(--color-text-tertiary); opacity: .85;
}
.app--live { background: var(--color-surface); border-color: var(--color-success-border); color: var(--color-primary); opacity: 1; }
.app .icon { width: 22px; height: 22px; }
.app__name { font-size: 14px; font-weight: 700; color: var(--color-navy-strong); }

/* ---------- CTA ---------- */
.cta {
  border-radius: 20px; background: var(--color-navy-strong); padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: center;
}
.cta__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0; text-wrap: balance; }
.cta__copy p { font-size: 17px; color: var(--navy-100); margin: 0; }
.cta .btn-row { padding-top: 8px; }

.terminal {
  border-radius: 12px; background: var(--navy-900); border: 1px solid var(--navy-700);
  padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; min-width: 0;
}
.terminal__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--navy-700);
}
.terminal__bar > span { font-size: 12px; color: var(--navy-300); }
.copy-btn {
  display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--green-400);
}
.copy-btn .icon { width: 13px; height: 13px; }
.terminal__lines { display: flex; flex-direction: column; gap: 8px; }
.t-comment { color: var(--navy-300); }
.t-cmd { color: #fff; overflow-wrap: anywhere; }
.t-cmd .prompt { color: var(--green-400); margin-right: 8px; user-select: none; }
.t-out { color: var(--navy-100); }
.t-ok { color: var(--green-400); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 56px 24px 32px; }
.footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 32px; padding-bottom: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; grid-column: span 2; min-width: 0; }
.footer__brand img { height: 28px; width: auto; align-self: flex-start; }
.footer__brand p { font-size: 14px; color: var(--color-text-secondary); margin: 0; max-width: 320px; }
.footer__brand .pill { align-self: flex-start; font-weight: 400; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { font-size: 13px; font-weight: 700; color: var(--color-navy-strong); margin: 0; }
.footer__col a { font-size: 14px; color: var(--color-text-secondary); }
.footer__col a:hover { color: var(--color-navy-strong); }
.footer__legal {
  padding-top: 20px; border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--color-text-tertiary);
}
.footer__legal nav { display: flex; gap: 20px; }
.footer__legal a { color: var(--color-text-tertiary); }

@media (max-width: 420px) {
  .footer__brand { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero__stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 16px; padding: 48px 24px;
}
.notfound .code { font-family: var(--font-mono); font-size: 13px; color: var(--color-primary); font-weight: 600; }
