:root {
  color-scheme: light;
  --bg: #f6f4ee;
  --ink: #161616;
  --muted: #62615c;
  --line: #ddd8ce;
  --panel: #ffffff;
  --accent: #2457ff;
  --accent-2: #0f9f6e;
  --gold: #f4c95d;
  --cyan: #71d6ff;
  --shadow: 0 24px 80px rgba(29, 30, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
}

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

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #081018;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(36, 87, 255, 0.16);
  font-size: 17px;
  font-weight: 850;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero,
.products,
.thesis {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-height: calc(86svh - 76px);
  padding: clamp(38px, 6vw, 78px) 0;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 6.4vw, 90px);
}

h2 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 72px);
}

h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.32;
}

.system-map {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
}

.node,
.beam {
  position: absolute;
}

.node {
  display: grid;
  place-items: center;
  width: clamp(150px, 18vw, 210px);
  aspect-ratio: 1;
  padding: 22px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.node span {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.04;
}

.node small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  text-transform: lowercase;
}

.node-core {
  z-index: 2;
  width: clamp(180px, 20vw, 240px);
  color: #fff;
  background: #181818;
  border-color: #181818;
}

.node-left {
  left: 0;
  bottom: 18px;
}

.node-right {
  right: 0;
  top: 16px;
}

.beam {
  width: min(44%, 260px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform-origin: center;
}

.beam-left {
  left: 24%;
  bottom: 34%;
  transform: rotate(-25deg);
}

.beam-right {
  right: 24%;
  top: 34%;
  transform: rotate(-25deg);
}

.products {
  padding: clamp(56px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

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

.product {
  min-width: 0;
  padding: clamp(26px, 4vw, 46px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-kicker {
  margin: 0 0 44px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product p:last-child,
.thesis p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px);
}

.thesis {
  display: grid;
  gap: 10px;
  padding: clamp(56px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}

.site-footer {
  min-height: 96px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 760;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .system-map {
    min-height: 420px;
  }

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

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .products,
  .thesis {
    width: min(calc(100% - 28px), 1180px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-header {
    gap: 14px;
    padding: 18px 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    max-width: 340px;
    font-size: 42px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .lead {
    width: min(100%, 320px);
    max-width: 320px;
  }

  .lead {
    font-size: 20px;
    line-height: 1.34;
  }

  .system-map {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    margin-top: 6px;
  }

  .node,
  .node-core,
  .node-left,
  .node-right {
    position: static;
    width: min(100%, 260px);
    aspect-ratio: auto;
    min-height: 88px;
  }

  .node-core {
    order: -1;
  }

  .beam {
    display: none;
  }
}
