:root {
  --ink: #06182c;
  --ink-2: #0a2440;
  --panel: #0d2d4b;
  --paper: #f4f8fc;
  --paper-2: #eaf2f9;
  --line: #bed0df;
  --text: #071525;
  --muted: #5c7188;
  --blue: #2f9fff;
  --cyan: #68e8ff;
  --gold: #d8ac45;
  --gold-on-light: #7b5510;
  --focus: #68e8ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

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

.skip-link {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #031225;
  background: var(--cyan);
  border: 2px solid var(--white);
  border-radius: 6px;
  font-weight: 800;
  transition: transform 120ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 42px;
  color: var(--white);
  background: rgba(5, 20, 38, 0.82);
  border-bottom: 1px solid rgba(104, 232, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand:focus-visible,
.nav-links a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-word {
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: #d5e8f8;
}

.nav-links a {
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 132px 72px 118px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 40%, rgba(42, 139, 224, 0.20), transparent 32%),
    linear-gradient(145deg, #04101e 0%, #092846 58%, #06182c 100%);
}

.hero-canvas,
.hero-shade,
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 2;
  pointer-events: none;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 16, 30, 0.97) 0%, rgba(4, 16, 30, 0.82) 34%, rgba(4, 16, 30, 0.04) 68%, rgba(4, 16, 30, 0.28) 100%),
    linear-gradient(180deg, rgba(4, 16, 30, 0.12), rgba(4, 16, 30, 0.56));
}

.hero-visual {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 88px 5vw 56px 42vw;
  pointer-events: none;
}

.hero-visual svg {
  width: min(760px, 56vw);
  min-width: 520px;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.scan-frame {
  fill: rgba(3, 18, 35, 0.50);
  stroke: rgba(104, 232, 255, 0.42);
  stroke-width: 1.2;
}

.print {
  fill: none;
  stroke: rgba(165, 231, 255, 0.84);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.print-strip {
  animation: printDrift 6s ease-in-out infinite;
}

.lens circle {
  fill: rgba(55, 149, 232, 0.38);
  stroke: rgba(158, 227, 255, 0.96);
  stroke-width: 7;
}

.lens line {
  stroke: rgba(151, 226, 255, 0.98);
  stroke-width: 13;
  stroke-linecap: square;
}

.packet {
  fill: rgba(104, 232, 255, 0.92);
  animation: packetPulse 6s ease-in-out infinite;
  transform-origin: 380px 260px;
}

.p2 { animation-delay: 80ms; }
.p3 { animation-delay: 160ms; }
.p4 { animation-delay: 240ms; }
.p5 { animation-delay: 320ms; }
.p6 { animation-delay: 400ms; }

.hero-content {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 78px;
  line-height: 0.95;
  font-weight: 850;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: #d6e4f2;
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #031225;
  background: var(--cyan);
  border-color: var(--cyan);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-status {
  position: absolute;
  z-index: 3;
  left: 72px;
  right: 72px;
  bottom: 30px;
  display: flex;
  gap: 12px;
  color: #bdd3e7;
  font-size: 13px;
}

.hero-status span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(104, 232, 255, 0.22);
  border-radius: 5px;
}

.section {
  padding: 82px 72px;
}

.section.light {
  background: var(--paper);
}

.section.dark {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  color: var(--white);
  background: var(--ink);
}

.section.light .eyebrow,
.section.contact .eyebrow {
  color: var(--gold-on-light);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(8, 29, 52, 0.07);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.feature-card p,
.workflow-copy p,
.workflow-list span {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.workflow-copy p {
  margin-top: 20px;
  color: #c9d9ea;
}

.workflow-copy,
.workflow-list {
  min-width: 0;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(104, 232, 255, 0.20);
  border-radius: 8px;
}

.workflow-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.workflow-list span {
  color: #c8d8e9;
}

.section.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 860px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 72px;
  color: #d6e3f0;
  background: #04101e;
  font-size: 14px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: #051426;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 118px 24px 104px;
  }

  .hero-visual {
    justify-content: center;
    opacity: 0.34;
    padding: 116px 0 0;
  }

  .hero-visual svg {
    min-width: 440px;
    width: 150vw;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-status {
    left: 24px;
    right: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section,
  .section.dark {
    padding: 56px 24px;
  }

  .section.dark,
  .feature-grid,
  .section.contact {
    display: block;
  }

  .feature-card,
  .workflow-list {
    margin-top: 16px;
  }

  h2 {
    font-size: 30px;
  }

  .section.contact .button {
    margin-top: 22px;
  }

  .footer {
    display: block;
    padding: 22px 24px;
  }

  .footer span {
    display: block;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand {
    gap: 10px;
    font-size: 19px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding: 104px 18px 112px;
  }

  .hero-status {
    left: 18px;
    right: 18px;
    bottom: 22px;
  }

  .hero-status span {
    flex: 0 0 auto;
  }

  .section,
  .section.dark {
    padding: 48px 18px;
  }
}

@keyframes printDrift {
  0%,
  10% {
    transform: translateX(155px);
  }
  32% {
    transform: translateX(-70px);
  }
  58% {
    transform: translateX(70px);
  }
  74%,
  100% {
    transform: translateX(0);
  }
}

@keyframes packetPulse {
  0%,
  66% {
    opacity: 0.45;
    transform: scale(1);
  }
  82% {
    opacity: 1;
    transform: scale(1.55);
  }
  100% {
    opacity: 0.78;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .skip-link {
    transition: none;
  }

  .print-strip,
  .packet {
    animation: none;
  }
}

@media (forced-colors: active) {
  .button,
  .feature-card,
  .workflow-list div,
  .hero-status span {
    border: 1px solid CanvasText;
  }

  .hero-shade,
  .hero-canvas,
  .hero-visual {
    display: none;
  }
}
