/* ============================================
   The Vokko — Design System
   ============================================ */

:root {
  /* Palette */
  --bg: #FFFFFF;
  --bg-warm: #F5F4EE;
  --ink-dark: #0B0B0F;
  --text: #1A1A1A;
  --text-muted: #6E6E6E;
  --border: #E8E8E5;
  --border-dark: #2A2A2A;
  --accent: #2A4BD7;
  --accent-hover: #243EB8;
  --success: #5DCAA5;
  --danger: #993556;

  /* Type */
  --font: "Inter", "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1280px;
  --pad: 24px;
  --section-gap: 160px;

  /* Radii */
  --r-card: 12px;
  --r-small: 8px;
  --r-pill: 999px;

  /* Motion */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 768px) {
  :root {
    --pad: 16px;
    --section-gap: 80px;
  }
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============================================
   Typography
   ============================================ */

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.h1 {
  font-size: clamp(48px, 7.5vw, 92px);
  line-height: 1.0;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}

.hero-title {
  margin: 0 0 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero-title .line-1 {
  display: block;
  font-size: clamp(40px, 4.7vw, 60px);
  line-height: 1.04;
  color: var(--text);
  text-wrap: balance;
}

.hero-title .line-2 {
  display: block;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--text-muted);
  margin-top: 10px;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}

.h3 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
}

.body-lg {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-muted);
}

.body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.small {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Scroll progress
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  background: var(--accent);
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 100ms linear;
  width: 100%;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.0);
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out), backdrop-filter 200ms;
  border-bottom: 0.5px solid transparent;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  letter-spacing: 0.34em;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-dark);
  white-space: nowrap;
}

.nav-logo .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-dark);
  margin: 0 5px;
  vertical-align: middle;
  transform: translateY(-3px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  border-radius: var(--r-small);
  transition: color 150ms ease, background 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink-dark);
}

.nav-item.is-active > .nav-link {
  color: var(--ink-dark);
  font-weight: 500;
}

.nav-item.is-active > .nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-link .caret {
  width: 10px;
  height: 10px;
  opacity: 0.6;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  color: var(--text-muted);
  transition: color 150ms ease, background 150ms ease;
}

.nav-tg:hover {
  color: var(--ink-dark);
  background: var(--bg-warm);
}

/* dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 240px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--r-card);
  padding: 8px;
  box-shadow: 0 12px 32px -16px rgba(11, 11, 15, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms var(--ease-out), transform 200ms var(--ease-out), visibility 150ms;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
  color: var(--text);
  transition: background 120ms ease;
}

.nav-dd-item:hover {
  background: var(--bg-warm);
}

.nav-dd-item .nav-dd-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Mobile nav */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-small);
  color: var(--ink-dark);
}

@media (max-width: 880px) {
  .nav-menu { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  padding: 11px 22px;
  transition: background 180ms var(--ease-out), color 180ms, transform 180ms var(--ease-out), border-color 180ms;
  white-space: nowrap;
  cursor: pointer;
  border: 0.5px solid transparent;
  line-height: 1;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-warm);
  border-color: #d6d6d2;
}

.btn-lg {
  font-size: 17px;
  padding: 16px 28px;
}

.btn-on-dark.btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}

.btn-on-dark.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
}

.btn .icon {
  width: 16px;
  height: 16px;
}

/* Adaptive CTA text in nav (3 tiers) */
.nav-cta-desktop .cta-mid,
.nav-cta-desktop .cta-tiny { display: none; }

@media (max-width: 1099px) {
  .nav-cta-desktop .cta-full { display: none; }
  .nav-cta-desktop .cta-mid { display: inline; }
  .nav-cta-desktop { padding: 10px 16px; }
}

@media (max-width: 879px) {
  .nav-cta-desktop .cta-mid { display: none; }
  .nav-cta-desktop .cta-tiny { display: inline; }
  .nav-cta-desktop { padding: 9px 14px; font-size: 14px; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: 56px 0 120px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero { padding: 32px 0 64px; }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.3;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 90%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  gap: 56px;
  align-items: center;
  min-height: 600px;
}

.hero-copy { min-width: 0; }
.hero-demo { min-width: 0; }

@media (max-width: 1140px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-copy { max-width: 760px; }
  .hero-demo { max-width: 760px; margin: 0 auto; width: 100%; }
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 0.5px solid var(--border);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-eyebrow-a,
.hero-eyebrow-b { display: none; }

@media (max-width: 639px) {
  .hero-eyebrow-full { display: none; }
  .hero-eyebrow-a,
  .hero-eyebrow-b { display: inline-flex; }
}

.hero-eyebrow .indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-eyebrow .indicator {
  animation: breathe 2.4s ease-in-out infinite;
}

.hero-eyebrow .sep {
  color: var(--border);
  margin: 0 2px;
}

.hero-title .line-1 { display: block; }
.hero-title .line-2 { display: block; }

.hero-accent {
  position: relative;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-skip-ink: none;
}

.hero-sub {
  max-width: 540px;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-micro .dot-sep {
  color: #C9C9C5;
  font-size: 12px;
}

/* ============================================
   Hero Demo (storefront + admin)
   ============================================ */

.demo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
  overflow: visible;
}

@media (max-width: 1140px) {
  .demo-stage { aspect-ratio: 7 / 5; max-width: 760px; }
}

/* Admin mockup (background-right) */
.demo-admin {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(11, 11, 15, 0.12);
  font-size: 11px;
  z-index: 1;
}

.demo-admin-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 0.5px solid var(--border);
}

.demo-admin-bar .lights {
  display: flex;
  gap: 4px;
}

.demo-admin-bar .light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.demo-admin-bar .url {
  flex: 1;
  background: var(--bg-warm);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 6px;
  max-width: 180px;
}

.demo-admin-bar .bell {
  margin-left: auto;
  position: relative;
  color: var(--text-muted);
}

.demo-admin-bar .bell-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 12px;
  height: 12px;
  background: var(--danger);
  color: #fff;
  font-size: 8px;
  font-weight: 500;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid #fff;
  transform: scale(0);
  transition: transform 250ms var(--ease-spring);
}

.demo-admin-bar .bell-badge.show {
  transform: scale(1);
}

.demo-admin-body {
  display: grid;
  grid-template-columns: 92px 1fr;
}

.demo-sidebar {
  border-right: 0.5px solid var(--border);
  padding: 10px 8px;
  background: #fcfcfb;
}

.demo-sidebar-section {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 6px 6px 4px;
  font-weight: 500;
}

.demo-sidebar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  font-size: 10px;
  border-radius: 4px;
  color: var(--text);
  margin-bottom: 1px;
}

.demo-sidebar-item.active {
  background: var(--bg-warm);
  color: var(--ink-dark);
}

.demo-sidebar-item .si-icon {
  width: 10px;
  height: 10px;
  color: var(--text-muted);
}

.demo-sidebar-item .si-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  padding: 0 4px;
  height: 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.demo-admin-main {
  padding: 14px;
  min-width: 0;
}

.demo-page-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dark);
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}

.demo-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.demo-kpi {
  background: var(--bg-warm);
  border-radius: 6px;
  padding: 8px;
}

.demo-kpi-label {
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.demo-kpi-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dark);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.demo-kpi-value .delta {
  font-size: 8px;
  color: var(--success);
  font-weight: 500;
  opacity: 0;
  transition: opacity 200ms ease;
}

.demo-kpi-value.bumped .delta { opacity: 1; }

.demo-orders {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.demo-orders-head {
  font-size: 9px;
  color: var(--text-muted);
  padding: 8px 10px;
  background: #fafaf9;
  border-bottom: 0.5px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}

.demo-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  font-size: 11px;
  border-bottom: 0.5px solid var(--border);
  transition: background 250ms;
  min-height: 38px;
}

.demo-order-row:last-child { border-bottom: none; }

.demo-order-row.is-new {
  background: rgba(42, 75, 215, 0.06);
}

.demo-order-row .ord-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-order-row .ord-name {
  color: var(--ink-dark);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-order-row .ord-prod {
  color: var(--text-muted);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-order-row .ord-status {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: var(--bg-warm);
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.demo-order-row.is-new .ord-status {
  background: var(--accent);
  color: #fff;
}

.demo-order-row.enter {
  animation: row-in 450ms var(--ease-spring) both;
}

@keyframes row-in {
  0% { opacity: 0; transform: translateY(-8px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}

/* Storefront mockup (foreground-left) — kept narrow so the admin
   orders + KPIs to the right remain visible behind it */
.demo-store {
  position: absolute;
  bottom: 4%;
  left: 0;
  width: 44%;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(11, 11, 15, 0.22);
  z-index: 2;
}

.demo-store-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 0.5px solid var(--border);
}

.demo-store-bar .lights { display: flex; gap: 4px; }
.demo-store-bar .light { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.demo-store-bar .url {
  flex: 1;
  background: var(--bg-warm);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.demo-store-body {
  padding: 18px;
}

.demo-store-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.demo-store-brand .logo {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--ink-dark);
}

.demo-store-brand .cart {
  font-size: 9px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.demo-product {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-product-img {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 78%, rgba(11,11,15,0.10), transparent 60%),
    linear-gradient(135deg, #efece1 0%, #e6e2d4 100%);
  overflow: hidden;
}

/* SVG vase shape sits as a child for crispness */
.demo-product-img .vase {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  height: 80%;
  width: auto;
  color: #c8bfa9;
}

.demo-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.demo-product-meta > div { min-width: 0; flex: 1; }

.demo-product-meta .sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-product-price { white-space: nowrap; flex-shrink: 0; }

.demo-product-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-dark);
}

.demo-product-meta .sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

.demo-product-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dark);
  font-variant-numeric: tabular-nums;
}

.demo-buy {
  margin-top: 4px;
  width: 100%;
  background: var(--ink-dark);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 500;
  transition: background 200ms var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
}

.demo-buy:hover { background: #1b1b22; }

.demo-buy.placed {
  background: var(--success);
}

.demo-buy .check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Flying order card */
.demo-flying {
  position: absolute;
  width: 140px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  box-shadow: 0 16px 32px -16px rgba(11, 11, 15, 0.25);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: transform 700ms var(--ease-spring), opacity 250ms ease;
}

.demo-flying.is-flying {
  opacity: 1;
}

.demo-flying .row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-flying .num {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 9px;
}

.demo-flying .name {
  font-weight: 500;
  color: var(--ink-dark);
}

.demo-flying .prod {
  color: var(--text-muted);
  font-size: 9px;
  margin-top: 2px;
}

.demo-flying .status {
  margin-top: 6px;
  font-size: 8px;
  padding: 2px 5px;
  border-radius: var(--r-pill);
  background: rgba(42, 75, 215, 0.1);
  color: var(--accent);
  display: inline-flex;
  font-weight: 500;
}

/* Connection line between mockups */
.demo-connector {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 14%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 30%, var(--border) 70%, transparent);
  z-index: 0;
  opacity: 0;
  transition: opacity 200ms;
}

.demo-stage.is-active .demo-connector {
  opacity: 1;
}

/* ============================================
   Trust strip
   ============================================ */

.trust {
  padding: 56px 0 96px;
  border-top: 0.5px solid var(--border);
  overflow: hidden;
}

@media (max-width: 768px) {
  .trust { padding: 40px 0 56px; }
}

.trust-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.trust-eyebrow {
  color: var(--accent);
  font-weight: 500;
}

.trust-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-dark);
  max-width: 640px;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .trust-title { font-size: 18px; }
}

/* Marquee — right→left infinite ribbon */
.trust-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* edge fade so chips don't pop in/out hard */
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trust-marquee-track {
  display: inline-flex;
  gap: 18px;
  padding: 4px 0;
  align-items: stretch;
  width: max-content;
  animation: trust-scroll 48s linear infinite;
}

.trust-marquee:hover .trust-marquee-track {
  animation-play-state: paused;
}

@media (max-width: 640px) {
  .trust-marquee-track { animation-duration: 36s; gap: 12px; }
}

@keyframes trust-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0.5px solid var(--border);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--text);
  white-space: nowrap;
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.trust-chip:hover {
  color: var(--ink-dark);
  border-color: var(--ink-dark);
  transform: translateY(-1px);
}

.trust-chip svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.4;
  color: var(--text-muted);
  flex-shrink: 0;
}

.trust-chip .label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track { animation: none; }
}

/* ============================================
   Section spacing helpers
   ============================================ */

.section {
  padding: 80px 0;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header .h2 { margin-bottom: 16px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}


/* ============================================
   Anchor scroll offset — keep targets below sticky nav
   ============================================ */

section[id],
[id="faq"] {
  scroll-margin-top: 96px;
}

@media (max-width: 768px) {
  section[id],
  [id="faq"] {
    scroll-margin-top: 72px;
  }
}
