:root {
  --optical-white: #F8FAFC;
  --deep-obsidian: #0F172A;
  --hyper-teal: #2DD4BF;
  --liquid-slate: #F1F5F9;
  --text: #0F172A;
  --muted: #475569;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 0.35rem;
  --header-h: 4rem;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--liquid-slate);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--deep-obsidian);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--hyper-teal);
  font-weight: 600;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  min-height: var(--header-h);
}

.site-identity {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--deep-obsidian);
  flex-shrink: 0;
}

.site-identity:hover {
  color: var(--hyper-teal);
}

.nav-bar {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  justify-content: flex-end;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-burger {
  display: none;
  order: 99;
  margin-left: var(--space-sm);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius);
  background: var(--optical-white);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-burger:hover {
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35);
  border-color: var(--hyper-teal);
}

.nav-burger-lines,
.nav-burger-lines::before,
.nav-burger-lines::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--deep-obsidian);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger-lines::before,
.nav-burger-lines::after {
  content: "";
}

.nav-burger-lines::before {
  transform: translate(-50%, -0.45rem);
}

.nav-burger-lines::after {
  transform: translate(-50%, 0.35rem);
}

.nav-burger[aria-expanded="true"] .nav-burger-lines {
  background: transparent;
}

.nav-burger[aria-expanded="true"] .nav-burger-lines::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-burger[aria-expanded="true"] .nav-burger-lines::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 30;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.2s ease;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(22rem, 92vw);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--optical-white);
  border-left: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-list {
  list-style: none;
  margin: 0;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav-drawer-list a {
  display: block;
  padding: var(--space-sm);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.nav-drawer-list a:hover {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.2);
}

@media (max-width: 1023px) {
  .nav-bar {
    display: none;
  }

  .nav-burger {
    display: block;
  }
}

@media (min-width: 1024px) {
  .nav-drawer {
    display: none;
  }
}

body.nav-open {
  overflow: hidden;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--space-sm));
}

.section {
  position: relative;
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.section-pad {
  padding-block: var(--space-xl);
}

.section-muted {
  background: var(--optical-white);
}

.hero-scan {
  min-height: min(88vh, 52rem);
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
}

.hero-layer--media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-layer--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-layer--grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.72)),
    linear-gradient(90deg, rgba(45, 212, 191, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(45, 212, 191, 0.08) 1px, transparent 1px);
  background-size: auto, 2rem 2rem, 2rem 2rem;
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 40rem;
  color: var(--optical-white);
  padding: var(--space-xl) var(--space-md);
}

.hero-content a {
  color: var(--optical-white);
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 var(--space-sm);
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 var(--space-md);
  color: rgba(248, 250, 252, 0.9);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-content .mono-label {
  color: rgba(45, 212, 191, 0.95);
}

.btn-outline {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(248, 250, 252, 0.6);
  border-radius: var(--radius);
  text-decoration: none;
  position: relative;
  transition: box-shadow 0.25s ease, font-weight 0.2s ease;
}

.btn-outline:hover {
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.6);
  font-weight: 600;
}

.btn-outline--dark {
  color: var(--deep-obsidian);
  border-color: rgba(15, 23, 42, 0.35);
}

.btn-outline--dark:hover {
  color: var(--deep-obsidian);
}

.grid-two {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .grid-two {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .grid-split {
    grid-template-columns: 1fr 1fr;
  }

  .order-1 {
    order: 1;
  }

  .order-2 {
    order: 2;
  }
}

.media-card,
.module-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 8px rgba(15, 23, 42, 0.08);
}

.banner-under {
  position: relative;
  z-index: 0;
}

.banner-under img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.55;
}

.banner-over {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.92) 55%);
}

.banner-over--compact {
  justify-content: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.2) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-md);
}

.product-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--optical-white);
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    inset 0 2px 6px rgba(15, 23, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-card h3 {
  margin-top: 0;
}

.price {
  margin: var(--space-sm) 0 0;
  font-weight: 600;
  color: var(--deep-obsidian);
}

.grid-specs {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .grid-specs {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-card {
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--liquid-slate);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.05);
}

.spec-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xs) var(--space-md);
  margin: 0;
}

.spec-dl dt {
  font-weight: 600;
}

.spec-dl dd {
  margin: 0;
}

.grid-mesh {
  background-color: var(--optical-white);
  background-image:
    linear-gradient(90deg, rgba(45, 212, 191, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(45, 212, 191, 0.12) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
}

.grid-mesh--accent {
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.data-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.data-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.12);
}

.stack-resources {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.stack-resources #insight,
.stack-resources #resources {
  scroll-margin-top: calc(var(--header-h) + var(--space-sm));
}

.resource-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.resource-list a {
  text-decoration: none;
}

.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-address {
  font-style: normal;
  margin: var(--space-sm) 0;
}

.domain-line {
  display: inline-block;
  margin-top: var(--space-xs);
}

.map-link {
  margin-top: var(--space-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--optical-white);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 2px 10px rgba(15, 23, 42, 0.04);
}

.contact-form label {
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius);
  font: inherit;
}

.consent {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: 0.85rem;
}

.btn-submit {
  align-self: flex-start;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--deep-obsidian);
  background: var(--deep-obsidian);
  color: var(--optical-white);
  cursor: pointer;
  font: inherit;
  transition: box-shadow 0.25s ease, font-weight 0.2s ease;
}

.btn-submit:hover {
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.55);
  font-weight: 600;
}

.site-footer {
  background: var(--deep-obsidian);
  color: var(--optical-white);
  padding: var(--space-lg) var(--space-md);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-footer a {
  color: var(--optical-white);
}

.nav-list--footer {
  justify-content: flex-start;
}

.site-footer .date {
  margin: 0 0 var(--space-sm);
  color: rgba(248, 250, 252, 0.85);
}

.footer-meta {
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.75);
  margin: 0;
}

.scan-block {
  opacity: 0;
  transform: translateY(0.75rem);
  animation: scan-rise 0.85s ease forwards;
  animation-delay: 0.05s;
}

.scan-block:nth-child(2) {
  animation-delay: 0.12s;
}

.scan-block:nth-child(3) {
  animation-delay: 0.18s;
}

@keyframes scan-rise {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }

  60% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

.cookie-banner {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 50;
  background: var(--optical-white);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
  max-width: 36rem;
  margin: 0 auto;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn-accept,
.btn-decline {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--deep-obsidian);
  background: var(--optical-white);
  transition: box-shadow 0.2s ease;
}

.btn-accept {
  background: var(--deep-obsidian);
  color: var(--optical-white);
}

.btn-accept:hover,
.btn-decline:hover {
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.45);
}

.legal-page .section-inner {
  max-width: 48rem;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-block {
  margin-bottom: var(--space-lg);
}

.thank-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: var(--space-xl) var(--space-md);
}

.thank-card {
  max-width: 32rem;
  text-align: center;
  padding: var(--space-lg);
  background: var(--optical-white);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 2px 12px rgba(15, 23, 42, 0.06);
}

.thank-card h1 {
  margin-top: 0;
}

.date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 360px) {
  .header-inner {
    padding-inline: var(--space-sm);
  }

  .nav-list--footer {
    flex-direction: column;
  }
}
