/* ПОТОК-6 — industrial static CSS (no Next.js / Tailwind runtime) */

:root {
  --font-industrial: "Geologica", system-ui, sans-serif;
  --font-industrial-mono: "Geologica", ui-monospace, monospace;
  --radius: 0.375rem;
  --background: #0b0d0e;
  --surface-alt: #050607;
  --foreground: #f5f5f2;
  --card: #101314;
  --card-strong: #101214;
  --warm-card: #14100d;
  --muted: #16191b;
  --muted-foreground: #9ba1a6;
  --border: rgba(245, 245, 242, 0.09);
  --input: rgba(245, 245, 242, 0.14);
  --grid-line: rgba(245, 245, 242, 0.035);
  --grid-line-fine: rgba(245, 245, 242, 0.025);
  --glass: rgba(5, 6, 7, 0.9);
  --field-bg: #050607;
  --scroll-track: #050607;
  --scroll-thumb: #2a2f32;
  --ring: rgba(255, 74, 26, 0.55);
  --destructive: #e5484d;
  --signal: #ff4a1a;
  --signal-dim: #c73611;
  --wood: #b87943;
  --steel: #73787c;
  --near-black: #050607;
  --paper: #f5f5f2;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --background: #f1eee7;
  --surface-alt: #e6e1d7;
  --foreground: #151819;
  --card: #fbf8f1;
  --card-strong: #e9e4da;
  --warm-card: #f2dfd2;
  --muted: #ddd8ce;
  --muted-foreground: #4f595c;
  --border: rgba(21, 24, 25, 0.14);
  --input: rgba(21, 24, 25, 0.18);
  --grid-line: rgba(21, 24, 25, 0.055);
  --grid-line-fine: rgba(21, 24, 25, 0.035);
  --glass: rgba(246, 243, 236, 0.93);
  --field-bg: #fbf8f1;
  --steel: #566064;
  --scroll-track: #e6e1d7;
  --scroll-thumb: #8b908f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-industrial);
  font-feature-settings: "ss01", "cv11", "tnum";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--signal);
  color: var(--near-black);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.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;
}
.sr-only:focus,
.focus\:not-sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Layout shell */
.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--background);
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .site-shell {
    padding-bottom: 0;
  }
}

.container-industrial {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container-industrial {
    padding-inline: 2.5rem;
  }
}
@media (min-width: 1280px) {
  .container-industrial {
    padding-inline: 4rem;
  }
}

.tech-label {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 500;
}

.section-index {
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--signal);
  font-weight: 600;
}

.display-xl {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.blueprint-grid {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}
.blueprint-grid-fine {
  background-image:
    linear-gradient(var(--grid-line-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-fine) 1px, transparent 1px);
  background-size: 12px 12px;
}

.hazard-stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    #ff4a1a 0px,
    #ff4a1a 10px,
    transparent 10px,
    transparent 20px
  );
}

.signal-glow {
  text-shadow: 0 0 12px rgba(255, 74, 26, 0.22);
}

.btn-industrial {
  position: relative;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-industrial-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  user-select: none;
  min-height: 48px;
}
.btn-industrial:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--signal);
  color: var(--near-black);
}
.btn-primary:hover {
  background: #ff5f35;
  box-shadow: 0 0 32px rgba(255, 74, 26, 0.35);
}
.btn-ghost {
  border: 1px solid rgba(245, 245, 242, 0.18);
  color: var(--foreground);
  background: rgba(5, 6, 7, 0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.hero .btn-ghost,
.final-cta .btn-ghost {
  color: #f5f5f2;
  border-color: rgba(245, 245, 242, 0.28);
}
.hero .btn-ghost:hover,
.final-cta .btn-ghost:hover {
  color: var(--signal);
}
.btn-dark {
  background: var(--card-strong);
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-dark:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.panel-notch {
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.hazard-tape {
  height: 8px;
  background-image: repeating-linear-gradient(
    -45deg,
    #ff4a1a 0px,
    #ff4a1a 10px,
    transparent 10px,
    transparent 20px
  );
  border: 0;
}

.panel-hover {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.panel-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 74, 26, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 74, 26, 0.25);
}

.scan-lines {
  position: relative;
}
.scan-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    var(--grid-line-fine) 0px,
    var(--grid-line-fine) 1px,
    transparent 1px,
    transparent 4px
  );
}

.grain-overlay {
  position: fixed;
  inset: -50%;
  z-index: 30;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ticker-mask {
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.ticker-mask .text-muted {
  color: #c5c9cc;
}
.theme-ticker {
  background: #050607 !important;
}
html[data-theme="light"] .theme-ticker {
  background: var(--surface-alt) !important;
  border-color: var(--border) !important;
}
html[data-theme="light"] .theme-ticker .text-muted {
  color: #3f4849;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 36s linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-on {
  opacity: 1;
  transform: none;
}

/* Utilities used across sections */
.text-signal { color: var(--signal); }
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-wood { color: var(--wood); }
.text-steel { color: var(--steel); }
.text-destructive { color: var(--destructive); }
.bg-signal { background: var(--signal); }
.bg-card { background: var(--card); }
.bg-near { background: var(--near-black); }
.border-border { border-color: var(--border); }
.border-signal { border-color: var(--signal); }

.font-mono {
  font-family: var(--font-industrial-mono);
}

.section-pad {
  padding-block: 5rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .section-pad {
    padding-block: 7rem;
  }
}

.scroll-mt {
  scroll-margin-top: 4rem;
}
@media (min-width: 768px) {
  .scroll-mt {
    scroll-margin-top: 5rem;
  }
}

.section-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-header-row .tick {
  height: 1px;
  width: 2.5rem;
  background: rgba(255, 74, 26, 0.6);
}

.section-title {
  margin-top: 1.5rem;
  font-size: clamp(1.7rem, 8vw, 2.25rem);
  overflow-wrap: break-word;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}
@media (min-width: 1280px) {
  .section-title {
    font-size: 3.75rem;
  }
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.3s;
}
.site-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 0;
  box-shadow: none;
}
.header-progress {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
}
.header-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--signal);
  transition: width 75ms linear;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  transition: height 0.3s;
}
@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}
.site-header.is-scrolled .header-inner {
  height: 3.5rem;
}
.logo-mark {
  display: block;
  height: 2.25rem;
  width: 2.25rem;
  flex: none;
  object-fit: cover;
}
.logo-mark-md {
  height: 2.5rem;
  width: 2.5rem;
}
.logo-mark-lg {
  height: 2.75rem;
  width: 2.75rem;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  color: var(--muted-foreground);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.crumbs a:hover {
  color: var(--signal);
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1200px) {
  .nav-desktop {
    display: flex;
  }
}
.nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--foreground);
}
.logo-kicker {
  margin-top: 0.25rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: inherit;
}
.site-header:not(.is-scrolled) .nav-link,
.site-header:not(.is-scrolled) .sm-logo,
.site-header:not(.is-scrolled) .menu-toggle,
.site-header:not(.is-scrolled) .theme-toggle {
  color: var(--paper);
}
.site-header:not(.is-scrolled) .sm-logo {
  text-shadow: 0 1px 2px rgba(5, 6, 7, 0.95), 0 0 12px rgba(5, 6, 7, 0.8);
}
.site-header.is-scrolled .sm-logo {
  color: var(--foreground);
  text-shadow: none;
}
.site-header:not(.is-scrolled) .nav-link {
  opacity: 0.78;
}
.site-header:not(.is-scrolled) .nav-link:hover,
.site-header:not(.is-scrolled) .nav-link.is-active {
  opacity: 1;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  height: 1px;
  width: 0;
  background: var(--signal);
  transition: width 0.2s;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}
.menu-toggle {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.theme-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  padding: 0.45rem 0.65rem;
  color: var(--muted-foreground);
  font-family: var(--font-industrial-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.theme-toggle:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.theme-toggle-icon {
  display: none;
  width: 16px;
  height: 16px;
}
.theme-toggle-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-theme="dark"] .theme-toggle-sun,
html[data-theme="light"] .theme-toggle-moon {
  display: block;
}
@media (max-width: 479px) {
  .theme-toggle-label {
    display: none;
  }
  .theme-toggle {
    width: 40px;
    justify-content: center;
    padding-inline: 0;
  }
}
@media (min-width: 1200px) {
  .menu-toggle {
    display: none;
  }
}
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  border-bottom: 0;
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: max-height 0.3s;
}
.mobile-menu.is-open {
  max-height: 420px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1200px) {
  .mobile-menu {
    display: none;
  }
}

/* Section rail */
.section-rail {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  z-index: 40;
  display: none;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}
.section-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1280px) {
  .section-rail {
    display: block;
  }
}
.section-rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
}
.rail-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
}
.rail-label {
  background: var(--glass);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-industrial-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted-foreground);
  opacity: 0;
  transition: opacity 0.3s;
}
.rail-item:hover .rail-label,
.rail-item.is-active .rail-label {
  opacity: 1;
}
.rail-item.is-active .rail-label {
  color: var(--signal);
}
.rail-dot {
  display: block;
  height: 3px;
  width: 1rem;
  background: var(--input);
  transition: width 0.3s, background 0.3s;
}
.rail-item:hover .rail-dot {
  width: 1.5rem;
  background: var(--muted-foreground);
}
.rail-item.is-active .rail-dot {
  width: 1.75rem;
  background: var(--signal);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
}
.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5, 6, 7, 0.24) 0%,
      rgba(5, 6, 7, 0.04) 16%,
      transparent 54%,
      rgba(5, 6, 7, 0.08) 82%,
      rgba(5, 6, 7, 0.2) 100%);
}
.hero .btn-primary,
.hero .btn-ghost {
  text-shadow: none;
}
.hero-fade-b {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 7rem;
  background: linear-gradient(to top, #050607 0%, rgba(5, 6, 7, 0.9) 32%, transparent 100%);
}
.hero-fade-t {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2.75rem;
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.4), transparent);
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 5.5rem;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-content {
    padding-top: 7rem;
    padding-bottom: 1.25rem;
  }
}
@media (max-width: 767px) {
  .section-pad {
    padding-block: 3.5rem;
  }
  .hero-h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }
  .price-grid > div,
  .delivery-grid .panel-hover {
    padding: 1.25rem !important;
  }
}
.hero-content .pointer {
  pointer-events: auto;
}
.hero-top-actions {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.hero .text-muted,
.hero .tech-label {
  color: #c5c9cc;
  opacity: 1;
  text-shadow: none;
}
.hero .text-foreground,
.hero-stat-value {
  color: var(--paper);
}
.hero-h1 {
  font-size: clamp(2rem, 4.6vw, 3.95rem);
}
.hero-lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #f3f1ec;
  text-shadow: 0 1px 2px rgba(5, 6, 7, 0.42);
}
.hero .text-signal.font-mono,
.hero #hero-aside {
  font-size: clamp(0.72rem, 0.95vw, 0.9rem) !important;
  letter-spacing: 0.2em !important;
  opacity: 1;
  text-shadow: none;
}
.hero-stats-wrap {
  max-width: 100%;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0;
  background: transparent;
}
@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hero-stats > div {
  background: transparent;
  padding: 0.65rem 0;
  backdrop-filter: none;
  border-top: 1px solid rgba(245, 245, 242, 0.14);
}
@media (min-width: 768px) {
  .hero-stats > div {
    padding: 0.75rem 1.25rem 0.75rem 0;
    border-top: 0;
    border-left: 1px solid rgba(245, 245, 242, 0.14);
  }
  .hero-stats > div:first-child {
    border-left: 0;
    padding-left: 0;
  }
}
.hero-stat {
  margin: 0;
}
.hero-stat-value {
  display: block;
  font-family: var(--font-industrial-mono);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.hero-stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #c5c9cc;
  text-transform: uppercase;
}
.hero-stats-note {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-family: var(--font-industrial-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.55;
  color: #c5c9cc;
}
html[data-theme="light"] .hero-vignette {
  background:
    linear-gradient(to bottom,
      rgba(245, 242, 234, 0.28) 0%,
      rgba(245, 242, 234, 0.06) 16%,
      transparent 54%,
      rgba(245, 242, 234, 0.08) 82%,
      rgba(245, 242, 234, 0.2) 100%);
}
html[data-theme="light"] .hero-fade-b {
  height: 7rem;
  background: linear-gradient(to top, #e6e1d7 0%, rgba(230, 225, 215, 0.82) 32%, transparent 100%);
}
html[data-theme="light"] .hero-fade-t {
  height: 2.75rem;
  background: linear-gradient(to bottom, rgba(245, 242, 234, 0.42), transparent);
}
html[data-theme="light"] .hero {
  color: #f5f5f2;
}
html[data-theme="light"] .hero .text-muted,
html[data-theme="light"] .hero .tech-label,
html[data-theme="light"] .hero .hero-stat-label,
html[data-theme="light"] .hero .hero-stats-note {
  color: #f5f5f2;
  text-shadow: none;
}
html[data-theme="light"] .hero .text-foreground,
html[data-theme="light"] .hero .hero-stat-value,
html[data-theme="light"] .hero .hero-h1 {
  color: #f5f5f2;
  text-shadow: none;
}
html[data-theme="light"] .hero .hero-h1 .text-signal {
  color: var(--signal);
  text-shadow: none;
}
html[data-theme="light"] .hero-lead {
  color: #f5f5f2;
  text-shadow: none;
}
html[data-theme="light"] .site-header:not(.is-scrolled) .nav-link,
html[data-theme="light"] .site-header:not(.is-scrolled) .sm-logo,
html[data-theme="light"] .site-header:not(.is-scrolled) .menu-toggle,
html[data-theme="light"] .site-header:not(.is-scrolled) .theme-toggle {
  color: #151819;
  text-shadow: none;
}
html[data-theme="light"] .site-header:not(.is-scrolled) .nav-link {
  opacity: 0.9;
}
html[data-theme="light"] .hero .btn-ghost {
  color: #151819;
  border-color: rgba(21, 24, 25, 0.28);
  background: rgba(245, 242, 234, 0.48);
}
html[data-theme="light"] .hero .btn-ghost:hover {
  color: var(--signal);
}
html[data-theme="light"] .hero-stats > div {
  border-color: rgba(21, 24, 25, 0.2);
}
html[data-theme="light"] .text-muted,
html[data-theme="light"] .tech-label {
  color: #465154;
}

/* Theme readability contract: media overlays stay light, paper surfaces stay dark. */
html[data-theme="light"] .btn-ghost {
  color: var(--foreground);
  border-color: rgba(21, 24, 25, 0.22);
  background: rgba(255, 255, 255, 0.52);
}
html[data-theme="light"] .btn-ghost:hover {
  color: var(--signal);
}
html[data-theme="light"] .site-header:not(.is-scrolled) .nav-link,
html[data-theme="light"] .site-header:not(.is-scrolled) .sm-logo,
html[data-theme="light"] .site-header:not(.is-scrolled) .menu-toggle,
html[data-theme="light"] .site-header:not(.is-scrolled) .theme-toggle {
  color: #f5f5f2;
  text-shadow: 0 1px 2px rgba(5, 6, 7, 0.95), 0 0 12px rgba(5, 6, 7, 0.8);
}
html[data-theme="light"] .site-header.is-scrolled .sm-logo {
  color: var(--foreground);
  text-shadow: none;
}
html[data-theme="light"] .site-header:not(.is-scrolled) .theme-toggle {
  border-color: rgba(245, 245, 242, 0.34);
  background: rgba(5, 6, 7, 0.28);
}
html[data-theme="light"] .lead-steps [data-lead-step-label] {
  color: #586264;
}
html[data-theme="light"] .lead-steps [data-lead-step-label].is-done {
  color: var(--foreground);
}
html[data-theme="light"] .footer-bottom {
  color: #596163;
  opacity: 1 !important;
}

.calc-title {
  margin-top: 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
}
.calc-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1rem;
  border-bottom: 1px solid var(--border);
  padding-block: 0.875rem;
}
.calc-line dt {
  flex: 0 0 auto;
  max-width: 100%;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.calc-line dd {
  margin: 0 0 0 auto;
  max-width: 100%;
  text-align: right;
}
.lead-consent {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted-foreground);
}
.lead-consent a,
.lead-consent a:hover,
.lead-consent a:focus,
.lead-consent a:visited {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
/* Videos */
.videos-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  max-width: 1100px;
}
.film {
  border: 1px solid var(--border);
  background: var(--card);
  min-width: 0;
}
.film-copy {
  padding: 0.9rem 1rem 1.05rem;
}
.film-copy h3 {
  margin: 0;
  font-size: 1.15rem;
}
.film-copy p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
.player {
  position: relative;
  background: #07090a;
  outline: none;
}
.player:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 574;
  object-fit: cover;
  background: #07090a;
}
.player-cover {
  position: absolute;
  inset: 0 0 3rem 0;
  display: grid;
  place-items: center;
  background: transparent;
}
.player:not(.is-paused) .player-cover {
  opacity: 0;
}
.player.is-paused .player-cover {
  background: rgba(5, 6, 7, 0.18);
}
.player-play,
.player-glyph,
.player-vol,
.player-full {
  display: block;
}
.player-play {
  width: 64px;
  height: 64px;
  border: 1px solid var(--signal);
  background: rgba(5, 6, 7, 0.72);
  position: relative;
}
.player-play::before,
.player-glyph::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--signal);
}
.player:not(.is-paused) .player-glyph::before {
  left: 50%;
  width: 11px;
  height: 12px;
  border: 0;
  background: linear-gradient(var(--signal), var(--signal)) left / 3px 100% no-repeat,
    linear-gradient(var(--signal), var(--signal)) right / 3px 100% no-repeat;
  transform: translate(-50%, -50%);
}
.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem 0.5rem;
  background: linear-gradient(to top, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.2) 70%, transparent);
}
.player-btn {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--paper);
}
.player-glyph,
.player-vol,
.player-full {
  position: absolute;
  inset: 0;
}
.player-vol::before,
.player-vol::after,
.player-full::before,
.player-full::after {
  content: "";
  position: absolute;
}
.player-vol::before {
  left: 10px;
  top: 13px;
  width: 5px;
  height: 10px;
  background: var(--paper);
}
.player-vol::after {
  left: 16px;
  top: 11px;
  width: 8px;
  height: 14px;
  border: 2px solid var(--paper);
  border-left: 0;
  border-radius: 0 10px 10px 0;
}
.player.is-muted .player-vol::after {
  border-color: var(--muted-foreground);
}
.player-full::before {
  inset: 11px;
  border: 1.5px solid var(--paper);
}
.player-time {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.player-seek {
  flex: 1 1 auto;
  min-width: 0;
  height: 18px;
  margin: 0;
  accent-color: var(--signal);
  cursor: pointer;
}
.player:fullscreen,
.player:-webkit-full-screen {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #000;
}
.player:fullscreen::backdrop,
.player:-webkit-full-screen::backdrop {
  background: #000;
}
.player:fullscreen video,
.player:-webkit-full-screen video {
  width: min(100%, calc(100vh * 1280 / 574));
  height: auto;
  max-height: 100%;
  aspect-ratio: 1280 / 574;
  margin: 0;
  justify-self: center;
  align-self: center;
  object-fit: contain;
  object-position: center center;
}

/* Calculator */
.calc-grid {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1.35fr 1fr;
  }
}
.choice-cell {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-industrial-mono);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.choice-cell.is-active {
  border-color: var(--signal);
  background: rgba(255, 74, 26, 0.08);
  color: var(--foreground);
}
.choice-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.choice-grid-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .choice-grid-formats {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fixed-spec {
  display: flex;
  min-height: 52px;
  align-items: center;
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card-strong);
  padding: 0 1rem;
  color: var(--foreground);
  font-family: var(--font-industrial-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Price */
.price-grid {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 1024px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.price-value {
  font-size: clamp(2rem, 11vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-fact {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Delivery */
.delivery-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 1100px) {
  .delivery-grid {
    grid-template-columns: 1fr 460px;
    gap: 3.5rem;
  }
  .delivery-grid-single {
    grid-template-columns: 1fr;
  }
}
.delivery-cta {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.delivery-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 640px) {
  .delivery-list {
    grid-template-columns: 1fr 1fr;
  }
}
.delivery-item {
  position: relative;
  background: var(--card);
  padding: 1.5rem;
  outline: none;
  cursor: pointer;
}
.delivery-item:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.delivery-item.is-active {
  background: var(--warm-card);
}
.delivery-item .n {
  display: block;
  font-size: 1.875rem;
  color: var(--muted-foreground);
}
.delivery-item.is-active .n {
  color: var(--signal);
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
    gap: 2.5rem;
  }
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-trigger {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--foreground);
  min-height: 48px;
}
.faq-trigger:hover {
  color: var(--signal);
}
.faq-panel {
  display: none;
  padding: 0 0 1.5rem 2rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.faq-item.is-open .faq-panel {
  display: block;
}
/* Final CTA */
.final-cta {
  position: relative;
  display: flex;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
  color: var(--paper);
}
.final-cta .text-muted,
.final-cta .tech-label {
  color: #c5c9cc;
}
.final-cta .text-muted {
  font-size: clamp(0.84rem, 1vw, 1rem) !important;
}
.final-cta .tech-label {
  font-size: 0.82rem;
}
.final-cta .text-foreground {
  color: var(--paper);
}
.final-contact-link {
  color: #d7d9da;
  font-size: 0.78rem !important;
  transition: color 0.2s;
}
.final-contact-link:hover {
  color: var(--signal);
}
@media (max-width: 639px) {
  .final-contact-link {
    align-self: center;
  }
}
.final-bg {
  position: absolute;
  inset: 0;
}
.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-dim {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 7, 0.72);
}
.final-radial {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5, 6, 7, 0.32) 0%,
    transparent 14%,
    transparent 82%,
    rgba(5, 6, 7, 0.9) 100%);
}
html[data-theme="light"] .final-dim {
  background: transparent;
}
html[data-theme="light"] .final-radial {
  background: linear-gradient(to bottom,
    rgba(245, 242, 234, 0.18) 0%,
    transparent 11%,
    transparent 84%,
    rgba(245, 242, 234, 0.82) 100%);
}
html[data-theme="light"] .final-cta {
  color: #f5f5f2;
}
html[data-theme="light"] .final-cta h2,
html[data-theme="light"] .final-cta .font-mono {
  text-shadow: none;
}
html[data-theme="light"] .final-cta h2 .text-signal {
  text-shadow: none;
}
html[data-theme="light"] .final-cta .text-muted,
html[data-theme="light"] .final-cta .tech-label {
  color: #f5f5f2;
  text-shadow: none;
}
html[data-theme="light"] .final-cta .font-mono {
  color: #f5f5f2;
}
html[data-theme="light"] .final-cta .text-foreground {
  color: #f5f5f2;
  text-shadow: none;
}
html[data-theme="light"] .final-contact-link {
  color: #f5f5f2;
  text-shadow: none;
}
html[data-theme="light"] .final-cta .btn-ghost {
  color: #151819;
  border-color: rgba(21, 24, 25, 0.28);
  background: rgba(245, 242, 234, 0.48);
}
html[data-theme="light"] .final-cta .btn-ghost:hover {
  color: var(--signal);
}

/* Sticky CTA */
.sticky-cta {
  display: block;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid var(--border);
  background: var(--glass);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* Lead modal */
.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(4px);
}
.lead-overlay.is-open {
  display: flex;
}
.lead-dialog {
  position: relative;
  width: 100%;
  max-width: none;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow-y: auto;
  border: 0;
  background: var(--background);
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}
.lead-close {
  position: absolute;
  top: max(0.25rem, env(safe-area-inset-top));
  right: 0.25rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.lead-close:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.lead-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  padding-right: 48px;
}
.lead-steps [data-lead-step-label] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.25rem;
  border-right: 1px solid var(--border);
  padding: 0.4rem 0.1rem;
  font-family: var(--font-industrial-mono);
  font-size: clamp(8px, 2.15vw, 10px);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  color: rgba(155, 161, 166, 0.6);
}
.lead-steps [data-lead-step-label]:last-child {
  border-right: 0;
}
.lead-step-num {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.lead-step-name {
  white-space: nowrap;
  font-size: clamp(6px, 1.9vw, 10px);
  letter-spacing: 0;
}
.lead-steps [data-lead-step-label].is-current {
  background: var(--signal);
  color: var(--near-black);
}
.lead-steps [data-lead-step-label].is-current .lead-step-num {
  opacity: 1;
}
.lead-steps [data-lead-step-label].is-done {
  color: var(--foreground);
}
@media (min-width: 640px) {
  .lead-overlay {
    align-items: center;
    padding: 1rem;
  }
  .lead-dialog {
    max-width: 560px;
    max-height: min(92vh, 100dvh);
    min-height: 0;
    border: 1px solid var(--border);
  }
}
.lead-body {
  flex: 1;
  padding: 1.25rem 1.25rem 1.5rem;
}
@media (min-width: 768px) {
  .lead-body {
    padding: 2rem;
  }
}
.lead-field {
  margin-top: 0.5rem;
  width: 100%;
  height: 3rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0 0.75rem;
  color: var(--foreground);
  font: inherit;
  font-size: 16px;
}
.lead-field:focus {
  border-color: var(--signal);
  outline: none;
}
.lead-field:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.lead-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
}
.interest-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  min-height: 48px;
}
.interest-btn.is-active {
  border-color: var(--signal);
  background: rgba(255, 74, 26, 0.08);
  color: var(--foreground);
}

.contact-link {
  color: var(--foreground);
  font-family: var(--font-industrial-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.contact-link:hover {
  color: var(--signal);
}

.lead-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Callback popup */
.callback-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.callback-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.callback-dialog {
  position: relative;
  width: 100%;
  max-height: 100dvh;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--background);
  border-top: 1px solid var(--border);
  box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.38);
  transform: translateY(105%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.callback-overlay.is-open .callback-dialog {
  transform: translateY(0);
}
.callback-dialog:focus {
  outline: none;
}
.callback-body {
  padding: 1.15rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom));
}
.callback-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--background);
}
.callback-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}
.callback-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.callback-brand img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}
.callback-kicker {
  margin: 0;
  color: var(--signal);
}
.callback-dialog .lead-close {
  position: static;
  flex: 0 0 auto;
}
.callback-title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.65rem, 6.4vw, 2.2rem);
  line-height: 0.96;
}
.callback-rule {
  width: 2.5rem;
  height: 1px;
  margin-top: 1rem;
  background: rgba(255, 74, 26, 0.7);
}
.callback-lead {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.callback-fields {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.35rem;
}
.callback-dialog .lead-field::placeholder {
  color: var(--muted-foreground);
  opacity: 0.72;
}
.callback-error {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
}
.callback-submit {
  width: 100%;
  margin-top: 1.15rem;
  letter-spacing: 0.14em;
  font-size: 11px;
  padding-inline: 1rem;
}
.callback-consent {
  margin-top: 0.9rem;
}
.callback-consent a,
.callback-consent a:hover,
.callback-consent a:focus,
.callback-consent a:visited {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.callback-done {
  text-align: center;
  padding-top: 0.35rem;
}
.callback-done .callback-title,
.callback-done .callback-lead {
  margin-inline: auto;
}
.callback-check {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  margin: 0.35rem auto 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--signal);
  background: rgba(255, 74, 26, 0.08);
  font-size: 1.35rem;
}
@media (min-width: 640px) {
  .callback-overlay {
    align-items: center;
    padding: 1.25rem;
  }
  .callback-dialog {
    width: min(30rem, 100%);
    max-height: min(40rem, calc(100dvh - 2.5rem));
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(1rem);
  }
  .callback-overlay.is-open .callback-dialog {
    transform: none;
  }
  .callback-body {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .callback-dialog {
    width: min(32rem, 100%);
  }
  .callback-body {
    padding: 1.5rem 1.75rem 1.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .callback-overlay,
  .callback-dialog {
    transition: none;
  }
}
@media print {
  .callback-overlay {
    display: none !important;
  }
}

/* Responsive safeguards: keep every composition inside the viewport. */
.header-inner,
.header-inner > *,
.calc-grid > *,
.price-grid > *,
.delivery-grid > *,
.faq-layout > *,
.testdrive-grid > *,
.footer-grid > * {
  min-width: 0;
}

.display-xl,
.hero-lead,
.section-title,
.film-copy,
.faq-trigger,
.faq-panel,
.delivery-item,
.text-muted {
  overflow-wrap: break-word;
}

@media (max-width: 1199px) {
  .header-inner {
    gap: 0.75rem;
  }

  .header-inner > a {
    flex: 1 1 auto;
  }

  .header-inner > div {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .container-industrial {
    padding-inline: 1rem;
  }

  .header-inner {
    height: 4.25rem;
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .hero-content > div:first-child {
    gap: 0.75rem;
  }

  .hero-content > div:nth-child(2) {
    max-width: 100% !important;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .cta-row > .btn-industrial,
  .cta-row > a.btn-industrial,
  .cta-row > button.btn-industrial {
    width: 100%;
    max-width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats > div {
    min-width: 0;
    padding: 0.55rem 0.75rem 0.55rem 0;
  }

  .hero-stat-value {
    font-size: 1rem;
  }

  .hero-stat-label {
    font-size: 10px;
    line-height: 1.3;
  }

  .section-pad {
    padding-block: 3.75rem;
  }

  .section-title {
    font-size: clamp(1.7rem, 9vw, 2.5rem);
  }

  .choice-grid-formats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-cell {
    min-width: 0;
    padding-inline: 0.5rem;
    overflow-wrap: break-word;
  }

  .final-cta {
    min-height: auto;
  }

  .final-cta > .container-industrial {
    padding-block: 4rem !important;
  }

  .final-cta h2 {
    font-size: clamp(1.9rem, 10vw, 3.4rem) !important;
    overflow-wrap: break-word;
  }

  .final-meta {
    width: 100%;
  }

  .final-meta > p {
    text-align: center;
  }

  .footer-grid {
    gap: 2rem !important;
  }

  .footer-bottom {
    letter-spacing: 0.12em !important;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-height: 640px) {
  .hero-content {
    padding-top: 5.25rem;
    padding-bottom: 1rem;
  }

  .hero-h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
  }

  .hero-lead {
    margin-top: 0.75rem;
    font-size: 0.95rem;
  }

  .hero .cta-row {
    margin-top: 1rem !important;
  }

  .hero-stats > div {
    padding-block: 0.4rem;
  }
}

/* Forms & misc */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 2px solid var(--scroll-track);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff4a1a;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .grain-overlay {
    display: none;
  }
  .animate-marquee {
    animation: none !important;
  }
  .animate-marquee {
    transform: none !important;
  }
  .panel-hover,
  .panel-hover:hover {
    transform: none;
    transition: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
