body.product-page {
  --product-accent: #2563eb;
  --product-accent-2: #38bdf8;
  --product-glow: rgba(56, 189, 248, .22);
  --product-wash: rgba(219, 239, 255, .78);
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 18% 18%, var(--product-wash) 0%, transparent 38%),
    radial-gradient(circle at 82% 28%, var(--product-glow) 0%, transparent 42%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
}

body.engine-product-page {
  --product-accent: #15803d;
  --product-accent-2: #4ade80;
  --product-glow: rgba(74, 222, 128, .22);
  --product-wash: rgba(220, 252, 231, .78);
  background:
    radial-gradient(circle at 18% 18%, rgba(236, 253, 245, .90) 0%, transparent 38%),
    radial-gradient(circle at 82% 28%, rgba(74, 222, 128, .18) 0%, transparent 42%),
    linear-gradient(180deg, #fbfefb 0%, #f5faf6 100%);
}

.product-page .main.product-main { min-height: 100vh; padding-bottom: 0; }
.product-page .rail { z-index: 80; }
.product-page .nav > a[href="#products"] { color: var(--product-accent); }

.product-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: 34px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 116px 28px 72px;
}

.product-copy { position: relative; z-index: 4; max-width: 620px; }
.product-copy h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(56px, 6.3vw, 92px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 800;
}
.product-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: #334155;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.52;
  letter-spacing: -.018em;
}
.product-support {
  max-width: 570px;
  margin: 14px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.68;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
/* Direct path back to the independent Kerbot Drone landing page. */
.product-microsite-link { margin: 18px 0 0; font-size: 13px; line-height: 1.5; }
.product-microsite-link a {
  display: inline-block;
  color: #195f99;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.product-microsite-link a:hover { color: #0d476f; }
.product-microsite-link a:focus-visible { outline: 2px solid #2f8bc4; outline-offset: 4px; }
@media (prefers-color-scheme: dark) {
  .product-microsite-link a { color: #8bcdf0; }
  .product-microsite-link a:hover { color: #c8ebfb; }
}

.product-page .product-primary {
  background: var(--product-accent);
  border-color: var(--product-accent);
  color: #fff;
  box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--product-accent) 68%, transparent);
}
.product-page .product-primary:hover { background: var(--product-accent); border-color: var(--product-accent); transform: none; }

.product-page .product-actions .btn:disabled,
.product-page .product-actions button.btn[aria-disabled="true"] {
  color: #94a3b8 !important;
  background: #e5e7eb !important;
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
  opacity: .78 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
}

.product-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  height: min(70vh, 730px);
  margin: 0 -12vw 0 -7vw;
  pointer-events: none;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 8% 7% 5% 14%;
  z-index: -1;
  border-radius: 50%;
  background: var(--product-glow);
  filter: blur(70px);
}
.product-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center right;
  filter: saturate(1.03) contrast(1.01);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.30) 9%, #000 24%, #000 94%, rgba(0,0,0,.84) 100%), linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.30) 9%, #000 24%, #000 94%, rgba(0,0,0,.84) 100%), linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.engine-product-page .product-visual img {
  border-radius: 28px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.07) contrast(1.015);
}

.product-explain,
.product-family {
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 28px;
}
.product-explain { border-top: 1px solid rgba(148,163,184,.16); }
.product-section-intro { max-width: 780px; }
.product-section-intro h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.product-section-intro p {
  margin: 18px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.product-detail-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 26px;
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.detail-index {
  display: block;
  color: var(--product-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.product-detail-card h3 {
  margin: 46px 0 12px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.product-detail-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.72;
}

.engine-flight-showcase {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 28px 92px;
  border-top: 1px solid rgba(148,163,184,.16);
}
.engine-flight-intro { max-width: 860px; }
.engine-flight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 20px;
  margin-top: 38px;
}
.engine-flight-shot {
  margin: 0;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.engine-flight-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 16px;
  background: #020617;
  box-shadow: 0 16px 38px -30px rgba(15,23,42,.42);
}
.engine-flight-shot figcaption {
  display: grid;
  gap: 4px;
  padding: 12px 2px 0;
}
.engine-flight-shot strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -.012em;
  font-weight: 700;
}
.engine-flight-shot span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
  html body.engine-product-page .engine-flight-showcase {
    border-top-color: #26313d;
  }
  html body.engine-product-page .engine-flight-shot {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html body.engine-product-page .engine-flight-shot img {
    border-color: #2b3845;
    background: #070b10;
    box-shadow: 0 16px 40px -28px rgba(0,0,0,.86);
  }
  html body.engine-product-page .engine-flight-shot strong {
    color: #edf3f8 !important;
  }
  html body.engine-product-page .engine-flight-shot span {
    color: #95a5b5 !important;
  }
}

.product-family { padding-top: 38px; padding-bottom: 100px; }
.family-intro { max-width: 860px; }
.product-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.product-family-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 30px;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.product-family-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: .72;
  pointer-events: none;
}
.product-family-card.drone-card {
  background: linear-gradient(145deg, rgba(239,248,255,.96), rgba(255,255,255,.78));
}
.product-family-card.drone-card::after { background: rgba(56,189,248,.20); }
.product-family-card.engine-card {
  background: linear-gradient(145deg, rgba(240,253,244,.96), rgba(255,255,255,.78));
}
.product-family-card.engine-card::after { background: rgba(74,222,128,.20); }
.product-family-card.is-current { border-color: color-mix(in srgb, var(--product-accent) 42%, rgba(148,163,184,.2)); }
.product-family-card:hover { border-color: rgba(100,116,139,.35); box-shadow: 0 22px 55px -38px rgba(15,23,42,.35); }
.family-name {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-family-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 480px;
  margin-top: 34px;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.product-family-card p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 18px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}
.family-link {
  position: absolute;
  left: 30px;
  bottom: 28px;
  z-index: 1;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}
.drone-card .family-link { color: #2563eb; }
.engine-card .family-link { color: #15803d; }

.product-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 28px 30px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #64748b;
  font-size: 10px;
}
.product-footer-links { display: flex; align-items: center; gap: 14px; }
.product-footer a { color: inherit; text-decoration: none; }
.product-footer a:hover { color: #0f172a; }
.product-language-wrap select {
  min-height: 32px;
  padding: 0 30px 0 10px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #334155;
  font: inherit;
  cursor: pointer;
}
.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; }

@media (max-width: 1100px) {
  .product-hero { grid-template-columns: 1fr; align-content: center; min-height: auto; padding-top: 120px; }
  .product-copy { max-width: 760px; }
  .product-visual { height: min(52vh, 560px); margin: -20px -9vw 0 -3vw; }
  .product-visual img { object-position: center; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-card { min-height: 0; }
  .product-detail-card h3 { margin-top: 26px; }
}

@media (max-width: 760px) {
  .product-hero { padding: 104px 18px 42px; }
  .product-copy h1 { font-size: clamp(48px, 15vw, 72px); }
  .product-lead { margin-top: 20px; font-size: 18px; }
  .product-support { font-size: 13px; }
  .product-visual { height: 330px; margin: 12px -22px 0; }
  .product-explain, .product-family, .engine-flight-showcase { padding-left: 18px; padding-right: 18px; }
  .engine-flight-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .engine-flight-showcase { padding-top: 28px; padding-bottom: 64px; }
  .engine-flight-shot { border-radius: 20px; }
  .product-explain { padding-top: 64px; padding-bottom: 64px; }
  .product-family { padding-top: 20px; padding-bottom: 70px; }
  .product-detail-card { padding: 22px; border-radius: 22px; }
  .product-family-grid { grid-template-columns: 1fr; }
  .product-family-card { min-height: 280px; padding: 24px; border-radius: 24px; }
  .family-link { left: 24px; bottom: 24px; }
  .product-footer { padding: 20px 18px 26px; flex-direction: column; align-items: flex-start; }
  .product-footer-links { width: 100%; flex-wrap: wrap; }
}


/* FULL PRODUCT DARK MODE — 2026-09-21 */
@media (prefers-color-scheme: dark) {
  body.product-page {
    --product-wash: rgba(33,70,108,.18);
    --product-glow: rgba(43,120,181,.16);
    background:
      radial-gradient(circle at 18% 18%, rgba(35,73,111,.16) 0%, transparent 38%),
      radial-gradient(circle at 82% 28%, rgba(29,91,132,.12) 0%, transparent 42%),
      linear-gradient(180deg,#0b1016 0%,#090d12 100%) !important;
  }
  body.engine-product-page {
    --product-glow: rgba(57,142,86,.13);
    --product-wash: rgba(38,95,57,.14);
    background:
      radial-gradient(circle at 18% 18%, rgba(33,84,49,.14) 0%, transparent 38%),
      radial-gradient(circle at 82% 28%, rgba(44,112,68,.11) 0%, transparent 42%),
      linear-gradient(180deg,#0b100d 0%,#090d0b 100%) !important;
  }

  .product-copy h1,
  .product-section-intro h2,
  .product-detail-card h3,
  .product-family-card strong,
  .engine-flight-shot strong {
    color: #edf3f8 !important;
  }
  .product-lead {
    color: #b9c6d2 !important;
  }
  .product-support,
  .product-section-intro p,
  .product-detail-card p,
  .family-name,
  .product-family-card p,
  .engine-flight-shot span,
  .product-footer {
    color: #97a7b7 !important;
  }

  .product-explain,
  .product-family,
  .engine-flight-showcase,
  .product-footer {
    border-color: #26313d !important;
  }

  .product-detail-card {
    background: rgba(17,24,32,.72) !important;
    border-color: #2b3845 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
  }

  .product-family-card.drone-card {
    background: linear-gradient(145deg,rgba(15,29,42,.96),rgba(17,24,32,.82)) !important;
    border-color: #2c3a47 !important;
  }
  .product-family-card.engine-card {
    background: linear-gradient(145deg,rgba(14,31,22,.96),rgba(17,24,32,.82)) !important;
    border-color: #2c3a47 !important;
  }
  .product-family-card.drone-card::after {
    background: rgba(56,189,248,.09) !important;
  }
  .product-family-card.engine-card::after {
    background: rgba(74,222,128,.08) !important;
  }
  .product-family-card:hover {
    border-color: #46586a !important;
    box-shadow: 0 22px 55px -38px rgba(0,0,0,.82) !important;
  }

  .product-footer a:hover,
  .family-link {
    color: #dce8f2 !important;
  }
  .drone-card .family-link {
    color: #82b5ff !important;
  }
  .engine-card .family-link {
    color: #78d69a !important;
  }
  .product-language-wrap select {
    background: #111820 !important;
    border-color: #344250 !important;
    color: #dce5ed !important;
  }

  .product-visual::before {
    opacity: .72;
  }
}

