:root {
  --bg: #0b1422;
  --bg-alt: #0f1f33;
  --panel: #101b2c;
  --text: #e9f0fb;
  --muted: #9ab0c7;
  --accent: #4bb4ff;
  --accent-2: #7c5cff;
  --line: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.hidden {
  display: none !important;
}

.hero {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(75, 180, 255, 0.25), transparent 45%),
    radial-gradient(circle at 70% 10%, rgba(124, 92, 255, 0.2), transparent 50%),
    var(--bg);
  padding: 2rem clamp(1.25rem, 4vw, 5rem) 4rem;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: clamp(200px, 18vw, 360px);
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.5));
}

.tagline {
  margin: 0;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.nav__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.ghost-link {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero__content {
  margin-top: clamp(2rem, 5vw, 5rem);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
}

.hero-teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-teaser__stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.hero-teaser__image {
  width: 100%;
}

.hero-teaser__image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 35px 65px rgba(5, 8, 19, 0.6);
  object-fit: cover;
  min-height: 260px;
}

.hero-teaser__image--secondary img {
  min-height: 200px;
  box-shadow: 0 25px 55px rgba(5, 8, 19, 0.45);
}

.hero-teaser__video {
  flex: 1 1 320px;
}

.hero-teaser__video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 35px 65px rgba(5, 8, 19, 0.6);
}

.hero-teaser__video-frame iframe,
.hero-teaser__video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: #000;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta {
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  color: inherit;
}

.cta.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #050813;
  box-shadow: 0 15px 35px rgba(76, 180, 255, 0.35);
}

.cta.secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta.ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.6rem 1.5rem;
}

.cta:hover {
  transform: translateY(-2px);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--accent);
}

main {
  background: var(--bg);
}

.panel {
  padding: 4rem clamp(1.25rem, 4vw, 5rem);
  background: var(--panel);
}

.panel.dark {
  background: var(--bg-alt);
}

.panel.accent {
  background: #132844;
}

.panel.legal {
  background: #091120;
}

.panel__content {
  max-width: 1200px;
  margin: 0 auto;
}

.intro {
  color: var(--muted);
  max-width: 760px;
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(12px);
}
.product-card__media {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.product-card__media img {
  flex: 1 1 240px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.product-card__placeholder {
  flex: 1 1 240px;
  min-height: 200px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.product-card--split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card__body ul {
  margin-top: 0.5rem;
}

.product-card--gallery .product-card__media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


.product-card header h3 {
  margin-bottom: 0.25rem;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.price {
  font-weight: 600;
  margin: 0.5rem 0 0;
}

.price span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.product-card ul {
  padding-left: 1.2rem;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.stat-card {
  background: rgba(11, 26, 44, 0.9);
  border: 1px solid rgba(75, 180, 255, 0.3);
  border-radius: 22px;
  padding: 2rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list li {
  margin-bottom: 0.8rem;
}

.chip-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.contact {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact__details p {
  margin: 0.3rem 0;
}

.contact__form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

input, textarea {
  background: rgba(7, 14, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: 1px solid var(--accent);
}

fieldset {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem;
}

legend {
  padding: 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.checkbox-grid label {
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

textarea {
  min-height: 140px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

small, .muted {
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem clamp(1.25rem, 4vw, 5rem) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer__admin {
  font-size: 0.9rem;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo {
    width: clamp(160px, 50vw, 280px);
  }
}

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

@media (min-width: 1024px) {
  .hero-teaser {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    align-items: stretch;
  }
  /* Row 1 — primary image + video side by side */
  .hero-teaser__image--primary { grid-column: 1; grid-row: 1; }
  .hero-teaser__video         { grid-column: 2; grid-row: 1; }
  /* Row 2 — secondary image (hidden by default) + tertiary software screenshot */
  .hero-teaser__image--secondary { grid-column: 1; grid-row: 2; }
  .hero-teaser__image--tertiary  { grid-column: 2; grid-row: 2; }
  /* Let the images fill the grid cell so row heights equalise. */
  .hero-teaser__image--primary img,
  .hero-teaser__image--secondary img,
  .hero-teaser__image--tertiary img { height: 100%; }
  .hero-teaser__image--primary,
  .hero-teaser__image--secondary,
  .hero-teaser__image--tertiary { height: 100%; }
}

.support-note {
  margin-top: 1.5rem;
  color: var(--muted);
  text-align: center;
}
@media (min-width: 1280px) {
  /* Desktop: force 5 product cards next to each other. */
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 2026-04-23: tertiary hero image (LithoScan INLINE software UI) sits
   underneath the video in the right-hand stack, framed in a dark box so
   the mostly-dark UI screenshot has a subtle container of its own. */
.hero-teaser__image--tertiary {
  /* No frame, no padding, no light border. The image itself sits in
     its grid cell identically to the primary/secondary images. */
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(5, 8, 19, 0.45);
}
.hero-teaser__image--tertiary img {
  border-radius: 24px;
  box-shadow: none;
  background: #000;
  object-fit: cover;
  min-height: 0;
}
