/* Radii-x · tokens from design-model.yaml */
:root {
  --brand-400: #35FFB6;
  --brand-500: #0BDC90;
  --brand-600: #08B577;
  --neutral-50: #FAFBFC;
  --neutral-100: #F3F5F6;
  --neutral-200: #E8EBEE;
  --neutral-300: #D4D8DE;
  --neutral-400: #BABECA;
  --neutral-500: #5E6877;
  --neutral-700: #373F4B;
  --neutral-800: #282C37;
  --neutral-900: #1C1F25;
  --neutral-950: #16181C;
  --bg: #FFFFFF;
  --surface-1: var(--neutral-100);
  --border: var(--neutral-200);
  --border-vis: var(--neutral-300);
  --text-1: var(--neutral-700);
  --text-2: var(--neutral-500);
  --text-3: var(--neutral-400);
  --accent: var(--brand-500);
  --bright: var(--brand-400);
  --on-dark-1: #EFF1F3;
  --on-dark-2: #E8EBEE;
  --on-dark-3: var(--neutral-400);
  --sp-xs: 8px; --sp-sm: 12px; --sp-md: 16px; --sp-lg: 24px; --sp-xl: 32px; --sp-2xl: 40px; --sp-3xl: 56px; --sp-4xl: 80px; --sp-5xl: 120px;
  --r-el: 4px; --r-ctrl: 8px; --r-comp: 12px; --r-cont: 16px; --r-pill: 999px;
  --shadow-card: 0 8px 32px rgba(22, 24, 28, 0.08);
  --shadow-float: 0 20px 60px rgba(22, 24, 28, 0.25);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 250ms;
  --font-sans: 'Inter', 'Inter Placeholder', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-mega: clamp(40px, 8vw, 104px);
  --fs-display: clamp(36px, 6vw, 72px);
  --fs-h1: clamp(28px, 4vw, 48px);
  --fs-h2: clamp(24px, 3vw, 36px);
  --fs-h3: 22px;
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-sm: 16px;     /* was 14 — bumped so no body copy ever goes below 16 */
  --fs-cap: 12px;    /* reserved for uppercase eyebrows / stat labels only, never reading copy */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text-1);
  background: var(--neutral-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* A11y: skip-to-content link, visible on keyboard focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--neutral-950);
  color: var(--on-dark-1);
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--fs-sm);
}
.skip-link:focus { left: 16px; top: 16px; outline: 2px solid var(--accent); outline-offset: 2px; }

/* A11y: visible focus ring for keyboard users. Mouse users get :focus-visible. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--sp-md); }
@media (min-width: 640px) { .wrap { padding: 0 var(--sp-lg); } }
@media (min-width: 768px) { .wrap { padding: 0 var(--sp-2xl); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-xs);
  font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
/* Light mode default inherits .eyebrow; dark sections override below */
.accent-eyebrow { color: var(--text-2); }

/* NAV */
.nav {
  position: fixed;
  top: 12px; left: 12px; right: 12px;
  z-index: 50;
  max-width: 1376px; margin: 0 auto;
  background: rgba(40, 44, 55, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--on-dark-2);
  border-radius: var(--r-comp);
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md);
  box-shadow: var(--shadow-float);
}
.nav-logo { display: flex; align-items: center; gap: var(--sp-sm); color: var(--on-dark-1); flex-shrink: 0; }
.nav-logo img { width: auto; height: 28px; max-width: 140px; }
.nav-links { display: none; gap: var(--sp-lg); list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--on-dark-2); transition: color var(--dur) var(--ease); }
.nav-links a:hover { color: var(--bright); }
.nav-caret {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  margin-left: 4px;
  opacity: 0.7;
  transition: transform var(--dur) var(--ease);
}
.nav-has-sub:hover > a .nav-caret,
.nav-has-sub:focus-within > a .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-comp);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  z-index: 50;
}
.nav-has-sub:hover > .nav-sub,
.nav-has-sub:focus-within > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear 0s;
}
.nav-sub li { margin: 0; }
.nav-sub a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  white-space: nowrap;
}
.nav-sub a:hover { background: var(--surface-1); color: var(--text-1); }
.nav .nav-cta {
  display: inline-flex;
  padding: 6px 12px;
  font-size: 13px;
  margin-left: auto;
}
.nav-toggle { padding: 6px; color: var(--on-dark-1); display: inline-flex; background: none; border: 0; cursor: pointer; margin-left: 4px; }

/* Mobile menu open state */
@media (max-width: 899px) {
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: rgba(40, 44, 55, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-comp);
    padding: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }
  .nav.nav-open .nav-links > li { position: static; }
  .nav.nav-open .nav-links > li > a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--on-dark-1);
    font-size: 16px;
  }
  .nav.nav-open .nav-links > li > a:hover,
  .nav.nav-open .nav-links > li > a:active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--on-dark-1);
  }
  .nav.nav-open .nav-caret { display: none; }
  .nav.nav-open .nav-sub {
    position: static;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 4px 14px;
    margin: 0 0 4px;
    min-width: 0;
    transition: none;
  }
  .nav.nav-open .nav-sub a {
    color: var(--on-dark-2);
    padding: 8px 14px;
    font-size: 15px;
  }
  .nav.nav-open .nav-sub a:hover { background: rgba(255, 255, 255, 0.05); color: var(--on-dark-1); }
}
@media (min-width: 900px) {
  .nav { top: 16px; left: 16px; right: 16px; padding: 10px 20px; }
  .nav-links { display: flex; }
  .nav .nav-cta {
    display: inline-flex;
    padding: 9px 16px;
    font-size: 14px;
    margin-left: 0;
  }
  .nav-toggle { display: none; }
  .nav-logo img { height: 30px; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-xs);
  padding: 11px 20px;
  border-radius: var(--r-el);
  font-weight: 700; font-size: var(--fs-body); line-height: 1.25;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
  width: auto;
}
.btn-primary { background: var(--accent); color: var(--neutral-800); }
.btn-primary:hover { background: var(--bright); }
.btn-ghost-dark { color: var(--on-dark-1); border: 1px solid var(--on-dark-1); padding: 10px 19px; }
.btn-ghost-dark:hover { background: rgba(239, 241, 243, 0.08); }
.btn-ghost-light { color: var(--text-1); border: 1px solid currentColor; padding: 10px 19px; }
.nav-cta { padding: 8px 16px; font-size: 14px; }
@media (min-width: 768px) {
  .btn { padding: 12px 24px; }
  .btn-ghost-dark, .btn-ghost-light { padding: 11px 23px; }
}

/* HERO */
.hero {
  background: var(--neutral-950);
  color: var(--on-dark-1);
  padding: 96px var(--sp-lg) var(--sp-3xl);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; right: -30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(11, 220, 144, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
  max-width: 1280px; margin: 0 auto;
  position: relative;
}
/* Mobile: video above headline. Desktop overrides at 1024px below. */
.hero-left { display: flex; flex-direction: column; gap: var(--sp-lg); order: 2; }
.hero-right { order: 1; }
.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  color: var(--on-dark-1);
}
.hero-lede {
  font-size: var(--fs-body-lg);
  line-height: 1.5;
  color: var(--on-dark-2);
  max-width: 52ch;
  margin: 0;
}
.hero-ctas { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.hero-right {
  position: relative;
  border-radius: var(--r-cont);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--neutral-900);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22, 24, 28, 0.6) 100%);
}
.hero-right .badge {
  position: absolute; left: var(--sp-md); bottom: var(--sp-md);
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(22, 24, 28, 0.75);
  backdrop-filter: blur(12px);
  font-size: var(--fs-cap); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bright);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-right .badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

@media (min-width: 768px) {
  .hero { padding: 120px var(--sp-2xl) var(--sp-4xl); }
}
@media (min-width: 1024px) {
  .hero { padding: 140px var(--sp-2xl) var(--sp-5xl); }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-4xl); }
  .hero-left { order: 1; }
  .hero-right { order: 2; aspect-ratio: 3/4; }
}

/* ABOUT */
.about-sec {
  background: #FFFFFF;
  color: var(--text-1);
  padding: var(--sp-4xl) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
}
.about-text h2.about-heading {
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-1);
  margin: var(--sp-md) 0 var(--sp-lg);
}
.about-text p {
  font-size: var(--fs-body-lg);
  color: var(--text-1);
  max-width: 55ch;
  margin: 0 0 var(--sp-md);
}
.about-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
}
.bento-tile {
  background: var(--surface-1);
  border-radius: var(--r-comp);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  transition: background var(--dur) var(--ease);
}
.bento-tile:hover { background: var(--neutral-200); }
.bento-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-ctrl);
}
.bento-tile h3 {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.3;
}
.bento-tile p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.55;
}
@media (min-width: 640px) { .about-bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .about-sec { padding: var(--sp-5xl) 0; }
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: var(--sp-4xl); align-items: start; }
  .bento-tile { padding: var(--sp-xl); }
  .bento-icon { width: 72px; height: 72px; }
}

/* PRODUCT CHAPTERS */
.chapters { background: var(--bg); }
.chapter {
  padding: var(--sp-4xl) var(--sp-lg);
  border-bottom: 1px solid var(--border);
}
.chapter:last-of-type { border-bottom: none; }
.chapter.c-mint { background: var(--bright); color: var(--neutral-950); border-bottom: none; }
.chapter.c-dark { background: var(--neutral-950); color: var(--on-dark-1); border-bottom: none; }

.chapter-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}
/* Mobile: image above headline. Desktop restores side-by-side at 1024px. */
.chapter-copy { display: flex; flex-direction: column; gap: var(--sp-md); order: 2; }
.chapter-visual { order: 1; }
.ch-num {
  font-size: var(--fs-cap); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2);
}
.chapter.c-dark .ch-num { color: var(--on-dark-3); }
.chapter.c-mint .ch-num { color: rgba(22, 24, 28, 0.7); }
.chapter-copy h2 {
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
}
.chapter.c-dark .chapter-copy h2 { color: var(--on-dark-1); }
.chapter-copy .lede {
  font-size: var(--fs-body-lg); line-height: 1.5;
  max-width: 52ch;
  margin: 0;
  color: var(--text-1);
}
.chapter.c-dark .chapter-copy .lede { color: var(--on-dark-2); }
.chapter.c-mint .chapter-copy .lede { color: rgba(22, 24, 28, 0.8); }

.chapter-specs {
  display: flex; flex-direction: column; gap: 0;
  margin-top: var(--sp-sm);
  border-top: 1px solid var(--border);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xs);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.chapter.c-dark .chapter-specs,
.chapter.c-dark .spec-row { border-color: var(--neutral-800); }
.chapter.c-mint .chapter-specs,
.chapter.c-mint .spec-row { border-color: rgba(22, 24, 28, 0.15); }
.spec-row b {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-1);
}
.chapter.c-dark .spec-row b { color: var(--on-dark-1); }
.chapter.c-mint .spec-row b { color: var(--neutral-950); }
.spec-row span {
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.55;
}
.chapter.c-dark .spec-row span { color: var(--on-dark-3); }
.chapter.c-mint .spec-row span { color: rgba(22, 24, 28, 0.75); }

.chapter-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-cont);
  overflow: hidden;
  background: var(--surface-1);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-lg);
}
.chapter.c-mint .chapter-visual { background: rgba(22, 24, 28, 0.06); }
.chapter.c-dark .chapter-visual {
  background: var(--neutral-900);
  border: 1px solid var(--neutral-800);
}
.chapter-visual img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Fill-mode variant: image covers the container, clipped to top-right so UI chrome
   (toolbar buttons) stays visible. Used for software UI screenshots. */
.chapter-visual.fill-top-right { padding: 0; align-items: stretch; justify-content: stretch; }
.chapter-visual.fill-top-right img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: top right;
}

/* Bleed-top variant: isolated product photo scaled so the product overflows above
   the container — subtle "steps out of the frame" effect.
   Used for Panel + Source product shots. */
.chapter-visual.bleed-top {
  overflow: visible;
  padding: 0;
  position: relative;
}
.chapter-visual.bleed-top img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 120%;
  width: auto;
  max-width: none;
  max-height: none;
  z-index: 2;
}
/* Let the chapter section allow the bleed — no clipping above the visual */
.chapter { overflow: visible; }

@media (min-width: 768px) {
  .chapter { padding: var(--sp-5xl) var(--sp-2xl); }
}
@media (min-width: 1024px) {
  .chapter-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-4xl); }
  .chapter .chapter-copy { order: 1; }
  .chapter .chapter-visual { order: 2; aspect-ratio: 1/1; }
  .chapter.reverse .chapter-copy { order: 2; }
  .chapter.reverse .chapter-visual { order: 1; }
  .chapter-copy h2 { font-size: 48px; }
}

/* WORKFLOW — 4-step connected strip */
.flow { padding: var(--sp-4xl) 0; background: var(--bg); }
.flow-head { max-width: 720px; margin: 0 0 var(--sp-2xl); }
.flow-head h2 {
  font-size: var(--fs-display); line-height: 1.05;
  letter-spacing: -0.02em; font-weight: 700;
  margin: var(--sp-sm) 0 var(--sp-md); color: var(--text-1);
}
.flow-head p { color: var(--text-2); font-size: var(--fs-body-lg); max-width: 56ch; margin: 0; }

.flow-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.flow-card {
  position: relative;
  z-index: 2;
  background: var(--bg);
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: var(--sp-md);
}

.flow-marker {
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-1);
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.flow-marker span { line-height: 1; }

.flow-image {
  aspect-ratio: 4/3;
  border-radius: var(--r-comp);
  overflow: hidden;
  background: var(--surface-1);
}
.flow-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.flow-card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.25;
}
.flow-card p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: 1.5;
  max-width: 48ch;
}

/* Mobile layout: numbered markers left-aligned with vertical connector behind them.
   Cards stack one below the next. The card content sits right of the marker. */
@media (max-width: 767px) {
  .flow-strip { grid-template-columns: 56px 1fr; column-gap: var(--sp-md); row-gap: var(--sp-xl); }
  .flow-card { display: contents; }
  .flow-card .flow-marker { grid-column: 1; }
  .flow-card .flow-image,
  .flow-card h3,
  .flow-card p { grid-column: 2; }
  .flow-card .flow-image { margin-top: 0; }
  .flow-card h3 { margin-top: var(--sp-xs); }
  .flow-card p { margin-bottom: var(--sp-lg); }
  .flow-card:last-child p { margin-bottom: 0; }
}

/* Tablet+: two columns */
@media (min-width: 640px) and (max-width: 1023px) {
  .flow-strip { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
  .flow-card { grid-template-rows: auto auto auto auto; }
}

/* Desktop: horizontal 4-up strip */
@media (min-width: 1024px) {
  .flow { padding: var(--sp-5xl) var(--sp-2xl); }
  .flow-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-xl);
  }
  .flow-card { gap: var(--sp-lg); }
}

/* INDUSTRIES — tabbed section */
.industries-sec { padding: var(--sp-4xl) 0; background: var(--neutral-950); color: var(--on-dark-1); }
.ind-head { max-width: 820px; margin: 0 0 var(--sp-2xl); }
.ind-head .eyebrow { color: var(--on-dark-3); }
/* Eyebrows on dark backgrounds render in a muted light gray, not mint */
.hero .eyebrow,
.industries-sec .eyebrow,
.chapter.c-dark .eyebrow { color: var(--on-dark-3); }
.ind-head h2 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; margin: var(--sp-sm) 0 0; color: var(--on-dark-1); }

.ind-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ind-tab {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--neutral-800);
  color: var(--on-dark-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ind-tab:hover { border-color: var(--neutral-700); color: var(--on-dark-1); }
.ind-tab.active { background: #FFFFFF; border-color: #FFFFFF; color: var(--neutral-950); }

/* Stack all panels in the same grid cell so the container takes the tallest panel's height.
   The active panel is visible; the others are hidden but still occupy the cell for layout,
   which locks every tab to the exact same height. Images clip via object-fit:cover. */
.ind-panels {
  display: grid;
  grid-template-columns: 1fr;
}
.ind-panel {
  grid-area: 1 / 1;
  display: block;
  background: var(--neutral-900);
  border: 1px solid var(--neutral-800);
  border-radius: var(--r-cont);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.ind-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.ind-panel-copy {
  padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-md);
  min-height: 0;
}
.ind-panel-copy h3 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0;
  color: var(--on-dark-1);
}
.ind-panel-copy p {
  font-size: var(--fs-body);
  color: var(--on-dark-2);
  margin: 0;
  max-width: 58ch;
  line-height: 1.55;
}
.ind-panel-copy .btn { align-self: flex-start; margin-top: auto; }

@media (min-width: 900px) {
  .industries-sec { padding: var(--sp-5xl) var(--sp-2xl); }
  .ind-panel-copy { padding: var(--sp-2xl); }
}

/* COMPARE TABLE */
.compare { padding: var(--sp-4xl) 0; background: var(--surface-1); }
.compare-head { max-width: 820px; margin: 0 auto var(--sp-2xl); text-align: center; }
.compare-head .eyebrow { justify-content: center; }
.compare-head h2 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; margin: var(--sp-sm) 0 var(--sp-md); color: var(--text-1); }
.compare-head p { color: var(--text-2); font-size: var(--fs-body); margin: 0; }

.compare-wrap { max-width: 1200px; margin: 0 auto; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  font-size: var(--fs-sm);
  border-radius: var(--r-cont);
}
.compare-table th, .compare-table td {
  padding: var(--sp-md);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
}
.compare-table thead th {
  position: sticky;
  top: 88px;
  z-index: 5;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-2);
  background: var(--bg);
  border-bottom: 1px solid var(--border-vis);
}
.compare-table thead .th-winner {
  background: var(--bright);
  color: var(--neutral-950);
}
.compare-table thead .th-attr {
  position: static;
  background: transparent;
  border-bottom: none;
}
.compare-table tbody th {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-1);
  background: transparent;
}
.compare-table .td-winner {
  background: rgba(11, 220, 144, 0.08);
  font-weight: 500;
  color: var(--text-1);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.mk {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  margin-bottom: 10px;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.mk.ok { background: var(--accent); color: var(--neutral-950); }
.mk.bad { background: rgba(229, 72, 77, 0.12); color: #E5484D; }
.mk.warn { background: rgba(229, 167, 59, 0.15); color: #C57800; }

/* Mobile: transform table into card-per-attribute stack */
@media (max-width: 767px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  /* Kill the outer white card on mobile — content flows on the section bg */
  .compare-table {
    background: transparent;
    border-radius: 0;
  }
  .compare-table tbody tr {
    background: transparent;
    padding: var(--sp-md) 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--border);
  }
  .compare-table tbody tr:last-child { border-bottom: none; }
  .compare-table tbody th {
    background: transparent;
    padding: 0 0 var(--sp-sm);
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--text-1);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--sp-sm);
    text-transform: none;
    letter-spacing: 0;
  }
  .compare-table tbody td {
    padding: 8px 0;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--fs-sm);
    color: var(--text-2);
  }
  .compare-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: var(--fs-cap);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    width: 72px;
    flex-shrink: 0;
    padding-top: 2px;
  }
  .compare-table .td-winner {
    background: rgba(11, 220, 144, 0.06);
    margin: 0 -8px;
    padding: 10px 8px;
    border-radius: 6px;
  }
  .compare-table .td-winner::before { color: var(--text-1); }
}

/* FAQ */
.faq { padding: var(--sp-4xl) 0; background: var(--bg); }
.faq-head { max-width: 720px; margin: 0 0 var(--sp-2xl); }
.faq-head h2 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; margin: var(--sp-sm) 0 0; color: var(--text-1); }
.faq-cols { display: grid; grid-template-columns: 1fr; gap: var(--sp-2xl); }
.faq-col h4 { font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin: 0 0 var(--sp-md); padding-bottom: var(--sp-md); border-bottom: 1px solid var(--border-vis); }
.faq-q { border-bottom: 1px solid var(--border); }
.faq-q summary {
  list-style: none;
  padding: var(--sp-md) var(--sp-sm);
  margin: 0 calc(var(--sp-sm) * -1);
  border-radius: var(--r-comp);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-sm);
  cursor: pointer;
  font-size: var(--fs-body); font-weight: 600;
  color: var(--text-1);
  transition: background var(--dur) var(--ease);
}
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary:hover { background: var(--surface-1); }
.faq-q .chev { flex: 0 0 18px; transition: transform var(--dur) var(--ease); }
.faq-q[open] .chev { transform: rotate(45deg); }
.faq-q .answer { padding: 0 0 var(--sp-md); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
@media (min-width: 900px) { .faq { padding: var(--sp-5xl) var(--sp-2xl); } .faq-cols { grid-template-columns: 1fr 1fr; gap: var(--sp-4xl); } }

/* BLOG */
.blog { padding: var(--sp-4xl) 0; background: var(--surface-1); }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--sp-md); margin-bottom: var(--sp-xl); }
.blog-head h2 { font-size: var(--fs-h1); margin: 0; letter-spacing: -0.02em; font-weight: 700; color: var(--text-1); line-height: 1.1; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
.blog-card { background: var(--bg); border-radius: var(--r-comp); overflow: hidden; }
.blog-card .blog-img img { transition: transform 400ms var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.03); }
.blog-card h3 { text-decoration-color: transparent; text-decoration-line: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color var(--dur) var(--ease); }
.blog-card:hover h3 { text-decoration-color: var(--text-1); }
.blog-img { aspect-ratio: 16/9; background: var(--neutral-900); overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: var(--sp-md); }
.blog-body h3 { font-size: var(--fs-body); line-height: 1.3; font-weight: 600; margin: 0; color: var(--text-1); }
.blog-meta { font-size: var(--fs-cap); color: var(--text-3); margin-bottom: 6px; letter-spacing: 0.02em; }
@media (min-width: 640px)  { .blog-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); } }
@media (min-width: 1024px) { .blog { padding: var(--sp-5xl) var(--sp-2xl); } .blog-grid { grid-template-columns: repeat(4, 1fr); } .blog-body h3 { font-size: var(--fs-body-lg); } }

/* ============================================
   JOURNAL (blog index) — editorial layout
   ============================================ */

/* Hero: left-aligned, tight type, meta row, no forced line breaks */
.journal-hero {
  padding: calc(var(--sp-5xl) + 80px) var(--sp-lg) var(--sp-2xl);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.journal-hero .wrap { max-width: 1200px; }
.journal-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.journal-hero-count {
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.journal-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-1);
  max-width: 18ch;
  margin: 0 0 var(--sp-md);
}
.journal-hero-sub {
  font-size: var(--fs-body-lg);
  color: var(--text-2);
  max-width: 56ch;
  margin: 0;
  line-height: 1.45;
}

/* Featured post — big horizontal split card */
.journal-featured {
  padding: var(--sp-3xl) var(--sp-lg);
  background: var(--bg);
}
.journal-featured .wrap { max-width: 1200px; }
.post-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  padding: var(--sp-xl);
  border-radius: var(--r-cont);
  background: var(--surface-1);
  transition: background var(--dur) var(--ease);
}
.post-featured:hover { background: #EDEEEF; }
.post-featured-img {
  aspect-ratio: 16/10;
  border-radius: var(--r-comp);
  overflow: hidden;
  background: var(--neutral-900);
}
.post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.post-featured:hover .post-featured-img img { transform: scale(1.03); }
.post-featured-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  align-self: center;
}
.post-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.post-featured-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(11, 220, 144, 0.18);
}
.post-featured-body h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
}
.post-featured-body p {
  font-size: var(--fs-body);
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.post-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-1);
  margin-top: var(--sp-xs);
}
.post-featured-cta .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.post-featured:hover .post-featured-cta .arrow { transform: translateX(4px); }
@media (min-width: 900px) {
  .post-featured {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--sp-2xl);
    padding: var(--sp-xl);
  }
}

/* Grid section header with horizontal rule */
.journal-grid-sec { padding: var(--sp-3xl) var(--sp-lg) var(--sp-5xl); background: var(--bg); }
.journal-grid-sec .wrap { max-width: 1200px; }
.journal-grid-head {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}
.journal-grid-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Grid of post tiles — no card shell, image + minimal meta + title */
.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl) var(--sp-lg);
}
@media (min-width: 640px)  { .journal-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }

.post-tile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.post-tile-img {
  aspect-ratio: 4/3;
  border-radius: var(--r-comp);
  overflow: hidden;
  background: var(--neutral-900);
  margin-bottom: var(--sp-xs);
}
.post-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.post-tile:hover .post-tile-img img { transform: scale(1.04); }
.post-tile-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.post-tile-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-cap);
  color: var(--text-3);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.post-tile-num {
  font-weight: 700;
  color: var(--text-1);
  padding-right: var(--sp-sm);
  border-right: 1px solid var(--border-vis);
}
.post-tile-body h3 {
  font-size: var(--fs-body-lg);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}
.post-tile:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.post-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-2);
  margin-top: var(--sp-xs);
}
.post-tile-cta .arrow { transition: transform var(--dur) var(--ease); }
.post-tile:hover .post-tile-cta .arrow { transform: translateX(3px); }

/* POST PAGE */
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--sp-lg); }
.post { background: var(--bg); }
.post-head { padding: calc(var(--sp-4xl) + 80px) 0 var(--sp-xl); background: var(--bg); }
.post-hero { background: var(--bg); }
.post-body { background: var(--bg); }
.post-back {
  display: inline-block;
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--sp-lg);
  transition: color var(--dur) var(--ease);
}
.post-back:hover { color: var(--text-1); }
.post-meta {
  font-size: var(--fs-cap);
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-sm);
}
.post-head h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
}
.post-hero {
  max-width: 1100px;
  margin: 0 auto var(--sp-2xl);
  padding: 0 var(--sp-lg);
}
.post-hero img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-cont);
  display: block;
}
.post-body {
  padding-bottom: var(--sp-5xl);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-1);
}
.post-body p { margin: 0 0 var(--sp-md); }
.post-body h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: var(--sp-2xl) 0 var(--sp-md);
  color: var(--text-1);
}
.post-body h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin: var(--sp-xl) 0 var(--sp-sm);
  color: var(--text-1);
}
.post-body ul, .post-body ol { margin: 0 0 var(--sp-md) 1.25em; padding: 0; }
.post-body li { margin: 0 0 var(--sp-xs); }
.post-body a {
  color: var(--text-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--accent);
  transition: text-decoration-color var(--dur) var(--ease);
}
.post-body a:hover { text-decoration-color: var(--text-1); }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  margin: var(--sp-lg) 0;
  padding: var(--sp-sm) var(--sp-md);
  color: var(--text-2);
  background: var(--surface-1);
  border-radius: 0 8px 8px 0;
}
.post-body img { max-width: 100%; height: auto; border-radius: var(--r-comp); margin: var(--sp-md) 0; }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-xl) 0; }
.post-body code { background: var(--surface-1); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

.blog-related { padding: var(--sp-4xl) var(--sp-lg); background: var(--surface-1); }

/* LEGAL / long-form content pages (privacy, terms, etc.) */
.legal { background: var(--bg); }
.legal-head {
  background: var(--bg);
  padding: calc(var(--sp-4xl) + 80px) 0 var(--sp-xl);
}
.legal-head h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 var(--sp-md);
}
.legal-head .legal-sub {
  font-size: var(--fs-body-lg);
  color: var(--text-2);
  max-width: 56ch;
  margin: 0;
  line-height: 1.5;
}
.legal-body {
  padding-bottom: var(--sp-5xl);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-1);
}
.legal-body p { margin: 0 0 var(--sp-md); }
.legal-body h2 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: var(--sp-2xl) 0 var(--sp-md);
  color: var(--text-1);
}
.legal-body h3 {
  font-size: var(--fs-body-lg);
  font-weight: 600;
  margin: var(--sp-xl) 0 var(--sp-sm);
  color: var(--text-1);
}
.legal-body ul, .legal-body ol { margin: 0 0 var(--sp-md) 1.25em; padding: 0; }
.legal-body li { margin: 0 0 var(--sp-xs); }
.legal-body a {
  color: var(--text-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--accent);
}

/* 404 page */
.notfound {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: calc(var(--sp-4xl) + 80px) var(--sp-lg) var(--sp-5xl);
  background: var(--bg);
}
.notfound .wrap { max-width: 640px; text-align: left; }
.notfound h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-1);
  margin: var(--sp-sm) 0 var(--sp-md);
}
.notfound p {
  font-size: var(--fs-body-lg);
  color: var(--text-2);
  margin: 0 0 var(--sp-xl);
}
.notfound-ctas {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* BIG CTA */
.big-cta {
  background: var(--bright);
  color: var(--neutral-950);
  padding: var(--sp-4xl) var(--sp-lg);
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(22, 24, 28, 0.08), transparent 60%);
  pointer-events: none;
}
.big-cta-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: start;
  position: relative;
}
.big-cta h2 {
  font-size: var(--fs-mega);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: var(--sp-sm) 0 var(--sp-md);
  color: var(--neutral-950);
}
.big-cta .sub { font-size: var(--fs-body); color: rgba(22, 24, 28, 0.8); max-width: 56ch; margin: 0 0 var(--sp-lg); }
.big-cta-contact {
  display: flex; flex-direction: column; gap: var(--sp-sm);
  padding: var(--sp-lg);
  border-radius: var(--r-cont);
  background: rgba(22, 24, 28, 0.08);
  border: 1px solid rgba(22, 24, 28, 0.1);
}
.big-cta-contact .phone { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--neutral-950); font-variant-numeric: tabular-nums; text-decoration: none; display: inline-block; }
.big-cta-contact a.phone:hover { color: var(--neutral-800); }
.big-cta-contact .phone-label { font-size: var(--fs-cap); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(22, 24, 28, 0.55); }
.big-cta-contact .divider { border-top: 1px solid rgba(22, 24, 28, 0.15); margin: var(--sp-xs) 0; }

.form-wrap { width: 100%; }
.form-success {
  padding: var(--sp-xl) var(--sp-lg);
  border-radius: var(--r-cont);
  background: rgba(22, 24, 28, 0.04);
  text-align: left;
  color: var(--neutral-950);
}
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--neutral-950);
  margin-bottom: var(--sp-md);
}
.form-success h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 var(--sp-xs);
  color: var(--neutral-950);
}
.form-success p {
  margin: 0;
  font-size: var(--fs-body);
  color: rgba(22, 24, 28, 0.75);
  line-height: 1.5;
}

.form { display: flex; flex-direction: column; gap: var(--sp-sm); }
.form .field { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.form input, .form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: var(--r-ctrl);
  border: 1px solid rgba(22, 24, 28, 0.25);
  background: #fff;
  color: var(--neutral-950);
  font-family: inherit; font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(22, 24, 28, 0.45); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--neutral-950); box-shadow: 0 0 0 2px rgba(22, 24, 28, 0.08); }

/* Invalid state — applied by validator JS after first touch */
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: #C63D3D;
  box-shadow: 0 0 0 2px rgba(198, 61, 61, 0.12);
}
.form .field-error {
  font-size: var(--fs-cap);
  color: #A82727;
  line-height: 1.35;
  min-height: 0;
}
.form .field-error:empty { display: none; }
.form .form-submit-error {
  margin-top: var(--sp-sm);
  padding: 10px 14px;
  border-radius: var(--r-el);
  background: rgba(198, 61, 61, 0.08);
  border: 1px solid rgba(198, 61, 61, 0.3);
  color: #A82727;
  font-size: var(--fs-cap);
  line-height: 1.4;
}
.form button[aria-busy="true"] { opacity: 0.7; cursor: wait; }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn-dark {
  width: 100%;
  background: var(--neutral-950);
  color: var(--on-dark-1);
  padding: 14px 20px;
  border-radius: var(--r-el);
  font-weight: 700;
  font-size: var(--fs-body);
  margin-top: var(--sp-xs);
}
.form .btn-dark:hover { background: var(--neutral-800); }
.form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 768px) { .big-cta { padding: var(--sp-5xl) var(--sp-2xl); } .big-cta-contact .phone { font-size: 40px; } .form input, .form textarea { padding: 12px 16px; font-size: var(--fs-body); } }
@media (min-width: 1024px) { .big-cta-inner { grid-template-columns: 1.3fr 0.7fr; gap: var(--sp-4xl); } }

/* FOOTER */
.footer {
  background: var(--neutral-950);
  color: var(--on-dark-2);
  padding: var(--sp-xl) var(--sp-lg);
  border-top: 1px solid var(--neutral-900);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--sp-md);
  align-items: center; text-align: center;
}
.footer a { color: var(--on-dark-2); font-size: var(--fs-sm); }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-lg); justify-content: center; }
.footer-bottom { color: var(--on-dark-3); font-size: var(--fs-sm); }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* PLAY VIDEO BUTTON */
.btn-play-icon { display: inline-block; flex-shrink: 0; }

/* VIDEO MODAL */
body.no-scroll { overflow: hidden; }
.video-modal[hidden] { display: none; }
.video-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-md);
}
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 12, 14, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: videoFade 180ms ease-out;
}
.video-modal-inner {
  position: relative;
  width: min(100%, 1280px);
  max-height: calc(100vh - var(--sp-2xl));
  aspect-ratio: 16 / 9;
  animation: videoPop 220ms cubic-bezier(.2,.8,.2,1);
}
.video-modal-video {
  width: 100%; height: 100%;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  display: block;
  object-fit: contain;
}
.video-modal-close {
  position: absolute;
  top: -44px; right: 0;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.video-modal-close:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.35); }
.video-modal-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@keyframes videoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes videoPop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 767px) {
  .video-modal { padding: var(--sp-sm); }
  .video-modal-close { top: -40px; right: 4px; width: 36px; height: 36px; }
  .video-modal-inner { max-height: calc(100vh - 80px); }
}
