:root {
  color-scheme: dark;
  --ink: oklch(0.17 0.006 80);
  --ink-2: oklch(0.22 0.008 80);
  --panel: oklch(0.27 0.01 80);
  --line: oklch(0.86 0.02 85 / 0.16);
  --line-strong: oklch(0.86 0.02 85 / 0.34);
  --text: oklch(0.95 0.01 85);
  --muted: oklch(0.75 0.012 85);
  --paper: oklch(0.95 0.006 85);
  --paper-2: oklch(0.9 0.01 80);
  --paper-text: oklch(0.24 0.01 80);
  --paper-muted: oklch(0.5 0.012 75);
  --accent: oklch(0.72 0.155 55);
  --accent-2: oklch(0.82 0.13 70);
  --accent-deep: oklch(0.5 0.15 48);
  --accent-ink: oklch(0.22 0.04 55);
  --radius: 14px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  font-family:
    "Geist",
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: 0;
}

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

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

picture {
  display: contents;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.section-light :focus-visible {
  outline-color: var(--accent-deep);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), var(--max));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 15, 13, 0.62);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 15, 13, 0.86);
  border-color: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(237, 135, 53, 0.44);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(237, 135, 53, 0.38), rgba(29, 26, 22, 0.85) 62%);
  color: var(--text);
  font-weight: 750;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  transition:
    transform 160ms var(--ease),
    background 200ms ease;
}

.header-cta:hover {
  background: var(--accent);
}

.header-cta:active {
  transform: scale(0.96);
  transition-duration: 90ms;
}

.section-dark,
.section-light {
  position: relative;
  z-index: 1;
  scroll-margin-top: 96px;
}

.section-dark {
  background:
    radial-gradient(circle at 78% 8%, rgba(237, 135, 53, 0.18), transparent 30%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  color: var(--text);
}

.section-light {
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  color: var(--paper-text);
}

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: 128px max(22px, calc((100vw - var(--max)) / 2)) 48px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 9vw;
  top: 18vh;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(237, 135, 53, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 135, 53, 0.1), transparent 66%);
  filter: blur(2px);
  opacity: 0.72;
  animation: hero-orbit 12s var(--ease) infinite alternate;
}

.hero > *,
.split-intro > *,
.app-section > *,
.cloud-layout > *,
.cta-section > * {
  min-width: 0;
}

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

.hero-copy > * {
  animation: hero-rise 720ms var(--ease-out-expo) backwards;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 80ms;
}
.hero-copy > *:nth-child(2) {
  animation-delay: 170ms;
}
.hero-copy > *:nth-child(3) {
  animation-delay: 260ms;
}
.hero-copy > *:nth-child(4) {
  animation-delay: 350ms;
}
.hero-copy > *:nth-child(5) {
  animation-delay: 430ms;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-light .section-kicker {
  color: var(--accent-deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 5.6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 720;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  font-weight: 680;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.05;
}

.hero-lede,
.split-intro p,
.app-copy p,
.cta-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.6;
}

.section-light .split-intro p,
.section-light .cta-copy p {
  color: var(--paper-muted);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 760;
  transition:
    transform 180ms var(--ease),
    border-color 180ms ease,
    background 180ms ease;
}

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

.button:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 90ms;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 640px;
}

.signal-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 560px;
  display: grid;
  align-items: center;
  --mx: 0px;
  --my: 0px;
  animation: ring-in 900ms var(--ease-out-expo) 260ms backwards;
}

@keyframes ring-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }
}

.hero-visual img {
  width: 100%;
  max-width: 600px;
  justify-self: center;
  border-radius: var(--radius);
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.48));
  transform: translate3d(var(--mx), var(--my), 0);
  animation: ring-float 7s ease-in-out infinite;
  transition: transform 180ms ease-out;
}

.orbital-note {
  position: absolute;
  right: clamp(14px, 5vw, 64px);
  bottom: 13%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 15, 13, 0.66);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.78rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(250, 180, 95, 0.48);
  animation: pulse 2.4s infinite;
}

.product-section,
.idc-section,
.spec-section,
.cta-section {
  padding: clamp(74px, 10vw, 130px) max(22px, calc((100vw - var(--max)) / 2));
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 7vw, 92px);
  align-items: end;
  margin-bottom: 54px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(34, 31, 26, 0.2);
  border-bottom: 1px solid rgba(34, 31, 26, 0.2);
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 28px 24px;
  border-right: 1px solid rgba(34, 31, 26, 0.16);
  transition:
    background 240ms ease,
    transform 240ms var(--ease);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(237, 135, 53, 0.16), transparent);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-4px);
}

.metric-card:hover::before {
  transform: translateX(120%);
}

.metric-card:last-child {
  border-right: 0;
}

.metric-index {
  display: inline-block;
  margin-bottom: 44px;
  font-family: var(--mono);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.metric-card p {
  margin: 0;
  color: var(--paper-muted);
  line-height: 1.55;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(74px, 10vw, 132px) max(22px, calc((100vw - var(--max)) / 2));
}

.media-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}

.sensor-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(237, 135, 53, 0.2) 50%, transparent 56%),
    radial-gradient(circle at 70% 76%, rgba(250, 180, 95, 0.18), transparent 20%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-28%);
}

.sensor-frame.is-visible::after {
  animation: sensor-sweep 5.5s ease-in-out infinite;
}

.media-panel img,
.cloud-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.app-copy h2 {
  margin-bottom: 24px;
}

.insight-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.insight-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.insight-list strong {
  color: var(--text);
}

.insight-list span {
  color: var(--muted);
  line-height: 1.55;
}

.cloud-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.68fr);
  gap: 24px;
  align-items: stretch;
}

.cloud-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
}

.data-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 22%, rgba(250, 180, 95, 0.24), transparent 54%),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(237, 135, 53, 0.08) 29px 30px);
  opacity: 0.55;
  transform: translateX(-65%);
}

.data-field.is-visible::after {
  animation: cloud-flow 6.8s linear infinite;
}

.cloud-stack {
  display: grid;
  border-top: 1px solid rgba(34, 31, 26, 0.2);
}

.stack-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(34, 31, 26, 0.18);
  transition:
    transform 220ms var(--ease),
    background 220ms ease;
}

.stack-row:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.3);
}

.stack-row span {
  font-family: var(--mono);
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-row p {
  margin: 0;
  color: var(--paper-muted);
  line-height: 1.55;
}

.spec-section {
  background:
    linear-gradient(120deg, rgba(237, 135, 53, 0.12), transparent 42%),
    var(--ink);
}

.spec-heading {
  max-width: 820px;
  margin-bottom: 50px;
}

.spec-table {
  border-top: 1px solid var(--line-strong);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition:
    border-color 220ms ease,
    transform 220ms var(--ease);
}

.spec-table div:hover {
  border-color: rgba(237, 135, 53, 0.42);
  transform: translateX(8px);
}

.spec-table span {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-table strong {
  font-size: clamp(1.2rem, 2.1vw, 2.1rem);
  line-height: 1.25;
  font-weight: 620;
}

.medical-note {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.cta-copy {
  max-width: 850px;
}

.cta-copy h2 {
  margin-bottom: 24px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--muted);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 13px rgba(250, 180, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(250, 180, 95, 0);
  }
}

@keyframes hero-orbit {
  from {
    transform: translate3d(-12px, 18px, 0) scale(0.96);
    opacity: 0.48;
  }
  to {
    transform: translate3d(20px, -8px, 0) scale(1.04);
    opacity: 0.8;
  }
}

@keyframes ring-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes sensor-sweep {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: translateX(-32%);
  }
  18%,
  38% {
    opacity: 0.75;
  }
  48% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes cloud-flow {
  to {
    transform: translateX(65%);
  }
}

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

  .nav-links {
    display: none;
  }

  .hero,
  .app-section,
  .split-intro,
  .cloud-layout,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    width: 100%;
    margin-left: 0;
  }

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

  .metric-card:nth-child(2) {
    border-right: 0;
  }

  .cloud-layout {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 9px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 11px 13px;
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 106px;
  }

  h1 {
    font-size: clamp(2.2rem, 9.4vw, 3.2rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.85rem, 7.8vw, 2.55rem);
  }

  .signal-strip span {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .orbital-note {
    position: static;
    margin-top: 12px;
    width: fit-content;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(34, 31, 26, 0.16);
  }

  .metric-card:last-child {
    border-bottom: 0;
  }

  .metric-index {
    margin-bottom: 40px;
  }

  .insight-list div,
  .stack-row,
  .spec-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: -1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
