:root {
  --deep-navy: #07111f;
  --midnight: #082b59;
  --steel-blue: #0a3b7a;
  --signal-cyan: #0a3b7a;
  --light-cyan: #b8c4d6;
  --fog-white: #f5f8fc;
  --mist: rgba(245, 248, 252, 0.74);
  --muted: rgba(184, 196, 214, 0.68);
  --surface: rgba(8, 24, 42, 0.88);
  --surface-strong: rgba(7, 17, 31, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.02);
  --line: rgba(184, 196, 214, 0.14);
  --line-strong: rgba(184, 196, 214, 0.24);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.26);
  --shadow-deep: 0 36px 90px rgba(0, 0, 0, 0.46);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-sans: "Sora", "Inter", "Avenir Next", "Segoe UI", sans-serif;
  --content-width: min(1180px, calc(100% - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fog-white);
  background:
    radial-gradient(circle at 12% 10%, rgba(10, 59, 122, 0.12), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(184, 196, 214, 0.07), transparent 16%),
    linear-gradient(180deg, #05101c 0%, #07111f 42%, #081727 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.01) 48%, transparent 100%),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 64px,
      rgba(255, 255, 255, 0.012) 65px
    );
  opacity: 0.24;
}

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

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

.ambient {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: ambientFloat 18s ease-in-out infinite alternate;
}

.ambient-left {
  left: -14rem;
  top: 3rem;
  background: rgba(31, 167, 183, 0.11);
}

.ambient-right {
  right: -14rem;
  top: 24rem;
  background: rgba(18, 50, 71, 0.26);
  animation-duration: 24s;
}

@keyframes ambientFloat {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(2rem) scale(1.05);
  }
}

.site-header,
.site-footer,
.hero,
.section {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(280px, auto) minmax(0, 1fr);
  align-items: start;
  gap: 18px 28px;
  padding: 22px 0 18px;
}

.brand-lockup {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.brand-tag {
  color: rgba(184, 196, 214, 0.94);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 0;
  padding-left: 4px;
}

.brand-copy {
  display: grid;
  gap: 6px;
}

.brand-logo {
  width: clamp(188px, 21vw, 282px);
  height: auto;
  flex: 0 0 auto;
}

.footer-logo {
  width: min(248px, 100%);
  height: auto;
}

.site-nav {
  display: flex;
  gap: 8px 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: center;
  max-width: 42rem;
  color: var(--mist);
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.site-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--light-cyan);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 46px;
  align-items: start;
  min-height: auto;
  padding: 28px 0 76px;
}

.hero-copy {
  max-width: 34rem;
  padding-top: 14px;
}

.eyebrow,
.section-label,
.aside-kicker,
.system-core-kicker,
.system-column-title,
.benefit-index {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--light-cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section h2,
.section h3 {
  margin: 0;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-subline,
.section-intro,
.problem-copy p,
.system-card p,
.system-core-card p,
.system-core-note,
.module-row p,
.compare-card li,
.hardware-copy p,
.pilot-aside p,
.benefit-card p,
.scenario-card p,
.faq-list p,
.pilot-copy p,
.aside-note,
.site-footer p {
  color: var(--mist);
  line-height: 1.66;
}

.hero-subline {
  max-width: 31rem;
  margin: 20px 0 0;
  font-size: 0.98rem;
  text-wrap: pretty;
}

.section-head h2,
.section-intro,
.problem-copy p,
.benefit-card p,
.scenario-card p,
.module-row p,
.hardware-copy p,
.faq-list p,
.pilot-copy p,
.screen-card figcaption {
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #1f94a4, #66cfd7);
  color: #041118;
  box-shadow: 0 16px 32px rgba(26, 147, 163, 0.22);
}

.button-secondary {
  border-color: rgba(242, 246, 247, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.button-full {
  width: 100%;
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero-summary article {
  padding: 14px 10px 0 0;
  border-top: 1px solid var(--line);
}

.hero-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.hero-summary p {
  margin: 0;
  color: var(--mist);
  line-height: 1.68;
}

.hero-visual-shell {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 43, 58, 0.92), rgba(5, 14, 22, 0.96)),
    rgba(9, 20, 30, 0.92);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.hero-visual-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(242, 246, 247, 0.025), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(2, 8, 13, 0.34) 100%);
  pointer-events: none;
}

.hero-visual-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(96, 200, 209, 0.14);
  border-radius: 999px;
  color: var(--light-cyan);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.015);
}

.hero-visual-shell img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(96, 200, 209, 0.12);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.36);
}

.hero-note {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(6, 16, 25, 0.82);
  border: 1px solid rgba(96, 200, 209, 0.1);
  backdrop-filter: blur(12px);
}

.hero-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--light-cyan);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 1rem;
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 76px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 59, 122, 0.55);
  border: 1px solid rgba(94, 211, 215, 0.25);
  border-radius: 50%;
  color: rgba(184, 196, 214, 0.85);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.back-to-top:hover {
  background: rgba(10, 59, 122, 0.85);
  border-color: rgba(94, 211, 215, 0.55);
  color: #fff;
}

@media (max-width: 480px) {
  .back-to-top {
    right: 16px;
    bottom: 68px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.wave-divider {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
  background: transparent;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .wave-divider { display: none; }
}

.sailing-boat {
  display: none;
  position: fixed;
  bottom: 3px;
  z-index: 15;
  pointer-events: none;
  animation: sail-across 32s linear infinite, sail-bob 2.8s ease-in-out infinite;
}

@keyframes sail-across {
  0%   { left: -64px; }
  100% { left: 110vw; }
}

@keyframes sail-bob {
  0%, 100% { transform: translateY(0px) rotate(-1.5deg); }
  50%       { transform: translateY(-4px) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sailing-boat { display: none; }
}

.section {
  padding: 58px 0 78px;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 211, 215, 0.16) 18%, rgba(94, 211, 215, 0.08) 82%, transparent);
  opacity: 0.8;
  pointer-events: none;
}

.section-head {
  max-width: 58rem;
  margin-bottom: 26px;
}

.section-head.narrow {
  max-width: 46rem;
}

.section-head h2 {
  font-size: clamp(1.72rem, 2.15vw, 2.08rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.section-intro {
  max-width: 46rem;
  margin-top: 12px;
}

.problem-grid,
.integration-layout,
.hardware-layout,
.host-grid,
.compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card,
.host-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(14, 31, 42, 0.82), rgba(5, 14, 22, 0.94)),
    rgba(8, 20, 31, 0.92);
  box-shadow: var(--shadow-soft);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  min-height: 100%;
}

.pricing-card-lean {
  background:
    linear-gradient(180deg, rgba(18, 45, 59, 0.82), rgba(6, 16, 25, 0.94)),
    rgba(8, 20, 31, 0.92);
}

.pricing-card-featured {
  border-color: rgba(94, 211, 215, 0.26);
  box-shadow: 0 18px 40px rgba(7, 22, 34, 0.36);
}

.pricing-card-premium {
  background:
    linear-gradient(180deg, rgba(11, 28, 40, 0.86), rgba(4, 11, 18, 0.96)),
    rgba(8, 20, 31, 0.92);
}

.pricing-badge,
.host-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0 10px;
  min-height: 27px;
  align-items: center;
  border-radius: 999px;
  background: rgba(94, 211, 215, 0.14);
  color: var(--light-cyan);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-card h3,
.host-card h3 {
  font-size: clamp(1.06rem, 1.35vw, 1.28rem);
  line-height: 1.12;
}

.price-value {
  font-size: clamp(1.42rem, 2.25vw, 1.82rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--snow);
}

.price-period {
  font-size: 0.75em;
  font-weight: 400;
  opacity: 0.7;
}

.price-alt {
  font-size: 0.85rem;
  opacity: 0.65;
  margin: 0.25rem 0 0;
}

.price-summary,
.price-note,
.host-card-head p,
.host-note {
  color: var(--mist);
  line-height: 1.56;
}

.pricing-card ul,
.host-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.pricing-card li,
.host-points li {
  position: relative;
  padding-left: 18px;
  color: var(--snow);
  line-height: 1.5;
}

.pricing-card li::before,
.host-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-cyan);
}

.host-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.host-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.host-card-head {
  display: grid;
  gap: 10px;
}

.host-image {
  width: 100%;
  height: clamp(184px, 18vw, 238px);
  display: block;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(244, 248, 252, 0.96), rgba(228, 235, 242, 0.98));
  border: 1px solid rgba(24, 40, 56, 0.12);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.14);
}

.host-card-cl {
  background:
    radial-gradient(circle at 20% 12%, rgba(94, 211, 215, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(10, 28, 40, 0.84), rgba(5, 12, 19, 0.94));
}

.host-card-hx {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 140, 31, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(11, 24, 35, 0.84), rgba(5, 12, 19, 0.94));
}

.host-card-hx .host-kicker {
  background: rgba(255, 148, 36, 0.14);
  color: #ffb266;
}

.problem-points,
.protocol-grid,
.capability-grid,
.moat-proof,
.benefit-grid,
.scenario-grid,
.module-stack,
.faq-list {
  display: grid;
  gap: 12px;
}

.problem-points article,
.protocol-grid article,
.capability-grid article,
.moat-proof article,
.benefit-card,
.scenario-card,
.module-row,
.faq-list details,
.pilot-aside,
.system-card,
.system-core-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(14, 31, 42, 0.82), rgba(5, 14, 22, 0.94)),
    rgba(8, 20, 31, 0.92);
  box-shadow: var(--shadow-soft);
}

.problem-points article,
.protocol-grid article,
.capability-grid article,
.moat-proof article,
.benefit-card,
.scenario-card {
  padding: 18px 18px 16px;
}

.section-problem .problem-copy {
  position: relative;
  padding-right: 20px;
}

.section-problem .problem-copy::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(94, 211, 215, 0.26) 18%, rgba(94, 211, 215, 0.08) 82%, transparent);
}

.problem-points strong,
.protocol-grid strong,
.moat-proof strong,
.benefit-card h3,
.scenario-card h3,
.module-name h3,
.capability-grid h3,
.integration-copy h3,
.system-card h3,
.system-core-card h3,
.compare-card h3,
.faq-list summary,
.pilot-aside h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.integration-layout {
  align-items: stretch;
}

.integration-copy {
  min-height: 100%;
  display: grid;
  align-content: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 18%, rgba(10, 59, 122, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(14, 35, 49, 0.7), rgba(7, 18, 28, 0.88)),
    rgba(8, 20, 31, 0.9);
  box-shadow: var(--shadow-soft);
}

.integration-copy h3 {
  margin: 0 0 12px;
}

.integration-copy p,
.capability-grid p,
.moat-panel p,
.protocol-grid span,
.moat-proof span {
  color: var(--mist);
  line-height: 1.66;
}

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

.protocol-grid article,
.capability-grid article,
.moat-proof article {
  background:
    linear-gradient(180deg, rgba(14, 35, 49, 0.54), rgba(7, 18, 28, 0.78)),
    rgba(8, 20, 31, 0.84);
}

.protocol-grid strong,
.protocol-grid span,
.moat-proof strong,
.moat-proof span {
  display: block;
}

.protocol-grid strong {
  white-space: nowrap;
}

.protocol-grid span,
.moat-proof span {
  margin-top: 7px;
  font-size: 0.92rem;
}

.system-map {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(220px, 0.56fr) minmax(0, 0.92fr);
  gap: 18px;
  align-items: center;
}

.system-column {
  display: grid;
  gap: 14px;
}

.system-column-title {
  margin-bottom: 2px;
}

.system-card {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(14, 35, 49, 0.8), rgba(6, 17, 27, 0.92)),
    rgba(8, 20, 31, 0.9);
}

.system-core {
  position: relative;
  min-height: 100%;
  display: grid;
  align-items: center;
}

.system-core-card {
  position: relative;
  z-index: 2;
  padding: 22px 20px;
  text-align: center;
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(26, 147, 163, 0.1), rgba(8, 20, 31, 0.9)),
    rgba(8, 20, 31, 0.94);
}

.compare-card ul,
.hardware-points,
.pilot-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.system-core-note {
  margin-top: 16px;
  text-align: left;
}

.compare-card li,
.hardware-points li,
.pilot-aside li {
  position: relative;
  padding-left: 18px;
}

.compare-card li::before,
.hardware-points li::before,
.pilot-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-cyan);
}

.system-core-line {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, rgba(94, 211, 215, 0.12), rgba(94, 211, 215, 0.34));
}

.system-core-line-left {
  left: -26px;
}

.system-core-line-right {
  right: -26px;
}

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

.benefit-card,
.scenario-card {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(14, 35, 49, 0.54), rgba(7, 18, 28, 0.78)),
    rgba(8, 20, 31, 0.84);
}

.benefit-card h3,
.scenario-card h3 {
  margin-bottom: 10px;
}

.benefit-index {
  margin-bottom: 12px;
}

.module-stack {
  gap: 10px;
}

.module-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  background:
    linear-gradient(90deg, rgba(16, 43, 58, 0.58), rgba(8, 20, 31, 0.18) 34%, rgba(8, 20, 31, 0.9) 100%),
    rgba(8, 20, 31, 0.92);
}

.module-name span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--light-cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.module-row p {
  margin: 0;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-grid article {
  min-height: 100%;
}

.capability-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--light-cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.capability-grid h3 {
  margin: 0 0 10px;
}

.moat-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(10, 59, 122, 0.18), rgba(8, 20, 31, 0.78)),
    rgba(8, 20, 31, 0.9);
  box-shadow: var(--shadow-soft);
}

.moat-panel > p {
  max-width: 58rem;
  margin: 0;
}

.moat-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.section-compare {
  padding-top: 76px;
}

.section-compare::after {
  content: "";
  position: absolute;
  inset: 84px 0 32px;
  border-top: 1px solid rgba(94, 211, 215, 0.08);
  border-bottom: 1px solid rgba(94, 211, 215, 0.05);
  pointer-events: none;
}

.compare-grid {
  position: relative;
  gap: 52px;
  padding: 30px 0 6px;
}

.compare-grid::before {
  content: "";
  position: absolute;
  left: calc(50% - 0.5px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(94, 211, 215, 0.22) 18%, rgba(94, 211, 215, 0.08) 82%, transparent);
}

.compare-card {
  position: relative;
  padding: 6px 22px 6px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.compare-card h3 {
  margin-bottom: 18px;
}

.compare-card-highlight {
  padding-left: 18px;
  padding-right: 0;
}

.compare-card ul {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.hardware-surface {
  min-height: 23rem;
  padding: 26px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 24% 18%, rgba(26, 147, 163, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(12, 39, 52, 0.72), rgba(7, 19, 29, 0.9));
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.hardware-stack {
  height: 100%;
  display: grid;
  align-content: center;
  gap: 14px;
}

.hardware-unit {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(5, 14, 22, 0.5);
  backdrop-filter: blur(8px);
}

.hardware-unit strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  font-weight: 600;
}

.hardware-line {
  height: 20px;
  width: 1px;
  margin-left: 20px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.screen-card {
  margin: 0;
}

.screen-card img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.screen-card figcaption {
  margin-top: 9px;
  color: var(--mist);
  line-height: 1.65;
}

.screen-card-large {
  grid-row: span 2;
}

.faq-list details {
  padding: 17px 19px;
  background:
    linear-gradient(180deg, rgba(14, 35, 49, 0.54), rgba(7, 18, 28, 0.78)),
    rgba(8, 20, 31, 0.84);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
}

.pilot-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.pilot-track {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.pilot-track div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pilot-track span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--light-cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.pilot-track strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.pilot-aside {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(18, 50, 71, 0.46), rgba(8, 20, 31, 0.88)),
    rgba(8, 20, 31, 0.9);
}

.pilot-request-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.pilot-deliverables {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.pilot-deliverables article {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(5, 14, 22, 0.42);
}

.pilot-deliverables strong,
.pilot-deliverables span {
  display: block;
}

.pilot-deliverables strong {
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.pilot-deliverables span {
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.58;
}

.pilot-request-form label {
  display: grid;
  gap: 8px;
  color: var(--mist);
  font-size: 0.94rem;
}

.pilot-request-form input,
.pilot-request-form textarea,
.chat-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(4, 11, 17, 0.86);
  color: var(--fog-white);
  font: inherit;
  padding: 14px 14px;
}

.pilot-request-form textarea {
  resize: vertical;
}

.chat-rail-toggle {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  padding: 12px 14px 12px 12px;
  background: rgba(5, 14, 22, 0.94);
  color: var(--fog-white);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.chat-rail-arrow {
  font-size: 1.3rem;
  line-height: 1;
}

.chat-rail-label {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-chat {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9;
  width: min(520px, calc(100vw - 36px));
  height: min(720px, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 37, 51, 0.8), rgba(8, 20, 31, 0.94)),
    rgba(8, 20, 31, 0.96);
  box-shadow: var(--shadow-deep);
  transform: translateX(calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 240ms ease,
    opacity 240ms ease;
}

.product-chat.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.chat-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--light-cyan);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.chat-header h3 {
  font-size: 1.02rem;
  font-weight: 600;
}

.chat-close {
  border: 0;
  background: transparent;
  color: var(--mist);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.chat-body {
  overflow: auto;
  padding: 18px 22px;
  display: grid;
  gap: 12px;
}

.chat-message {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.chat-message-system {
  border: 1px solid rgba(94, 211, 215, 0.12);
}

.chat-message-user {
  justify-self: end;
  max-width: 88%;
  background: rgba(31, 167, 183, 0.12);
}

.chat-message-assistant {
  max-width: 92%;
}

.chat-message p,
.chat-message ul {
  margin: 0;
}

.chat-message ul {
  padding-left: 18px;
  margin-top: 10px;
  color: var(--mist);
  line-height: 1.6;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid rgba(96, 200, 209, 0.12);
  padding: 44px 0 120px;
  color: var(--mist);
}

.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 24px 30px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.footer-column h3 {
  margin: 0;
  font-size: 0.78rem;
  color: var(--light-cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.footer-column a,
.footer-contact span {
  color: var(--mist);
  line-height: 1.55;
}

.footer-column a:hover {
  color: var(--fog-white);
}

.footer-brand {
  max-width: 24rem;
}

.footer-claim {
  margin: 2px 0 0;
  color: var(--fog-white);
  font-weight: 600;
  line-height: 1.5;
}

.footer-brand-name {
  font-size: 1.55rem;
}

.footer-text {
  margin: 0;
  max-width: 22rem;
}

.footer-legal-bar {
  width: var(--content-width);
  margin: 28px auto 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: rgba(184, 196, 214, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.footer-contact {
  margin: 6px 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1160px) {
  .hero,
  .problem-grid,
  .integration-layout,
  .hardware-layout,
  .pilot-band,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .section-problem .problem-copy {
    padding-right: 0;
  }

  .section-problem .problem-copy::after,
  .compare-grid::before {
    display: none;
  }

  .compare-grid {
    gap: 30px;
    padding-top: 14px;
  }

  .compare-card,
  .compare-card-highlight {
    padding: 0;
  }

  .system-map {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .system-core {
    min-height: auto;
  }

  .system-core-line {
    display: none;
  }

  .benefit-grid,
  .scenario-grid,
  .capability-grid,
  .hero-summary,
  .screens-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(160px, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .protocol-grid,
  .moat-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .protocol-grid strong {
    font-size: 0.96rem;
  }
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
    max-width: none;
    padding-top: 4px;
  }
}

@media (max-width: 820px) {
  :root {
    --content-width: min(1240px, calc(100% - 28px));
  }

  .brand-lockup {
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .brand-logo {
    width: min(240px, 82vw);
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding: 28px 0 82px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-summary,
  .benefit-grid,
  .scenario-grid,
  .capability-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

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

  .module-row {
    grid-template-columns: 1fr;
  }

  .screen-card-large {
    grid-row: auto;
  }

  .section {
    padding: 50px 0 78px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-column {
    gap: 10px;
  }

  .footer-brand {
    max-width: none;
  }

  .section::before {
    top: 8px;
  }

  .chat-rail-toggle {
    right: 0;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .product-chat {
    top: 14px;
    right: 14px;
    width: min(520px, calc(100vw - 28px));
    height: calc(100vh - 28px);
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Legal pages (Impressum, Datenschutz, AGB) ─────────────────────────── */

.legal-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 70px;
}

.legal-hero {
  padding: 52px 0 36px;
  max-width: 52rem;
}

.legal-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--light-cyan);
  line-height: 1.15;
}

.legal-hero p {
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0;
}

.legal-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 48px);
  max-width: 52rem;
}

.legal-content h2 {
  margin: 28px 0 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-cyan);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--mist);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0 0 10px;
}

.legal-content a {
  color: var(--light-cyan);
  text-underline-offset: 3px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
  margin: 0 0 10px;
}

.legal-note {
  background: rgba(100, 200, 220, 0.06);
  border-left: 3px solid var(--light-cyan);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin-bottom: 24px;
  color: rgba(184, 196, 214, 0.9);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .legal-content {
    padding: 20px;
    border-radius: 8px;
  }

  .legal-hero {
    padding-top: 32px;
  }
}
