:root {
  --bg: #07111f;
  --bg-2: #0a1727;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.12);
  --text: #f4f7fb;
  --muted: #a6b4c6;
  --accent: #7de2c9;
  --accent-2: #83b8ff;
  --paper: #f5f7fa;
  --ink: #101927;
  --ink-muted: #59677b;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  text-wrap: balance;
}
.section-pad {
  width: 100%;
  padding: 104px max(24px, calc((100vw - var(--max)) / 2));
}
.eyebrow, .section-kicker {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.muted { color: var(--ink-muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(7,17,31,.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: #04131f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 9px 28px rgba(91,177,220,.24);
  font-weight: 900;
}
.brand-name { white-space: nowrap; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d7e0eb;
  font-size: 14px;
}
.nav a:hover { color: white; }
.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr);
  align-items: center;
  gap: 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 28%, rgba(69,132,255,.22), transparent 26%),
    radial-gradient(circle at 66% 66%, rgba(73,229,188,.10), transparent 29%),
    linear-gradient(180deg, #07111f 0%, #091523 100%);
}
.hero h1 {
  max-width: 930px;
  margin-bottom: 0;
  font-size: clamp(50px, 6.2vw, 94px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-lede {
  max-width: 770px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.button-secondary {
  color: white;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.button-secondary:hover { border-color: rgba(255,255,255,.28); }
.button-light { color: var(--ink); background: white; }

.system-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}
.system-visual::before,
.system-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(125,226,201,.15);
  border-radius: 50%;
}
.system-visual::before { width: 470px; height: 470px; }
.system-visual::after {
  width: 610px;
  height: 610px;
  border-color: rgba(131,184,255,.10);
}
.system-core {
  position: relative;
  z-index: 3;
  width: min(390px, 78%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: 0 42px 110px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.system-pulse {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(125,226,201,.08), 0 0 28px var(--accent);
}
.system-core small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.system-core strong {
  display: block;
  margin: 5px 0 12px;
  font-size: 44px;
  letter-spacing: -.045em;
}
.system-core p { margin-bottom: 0; color: #c4cfdd; }
.system-node {
  position: absolute;
  z-index: 4;
  min-width: 94px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10,23,39,.9);
  box-shadow: 0 10px 36px rgba(0,0,0,.22);
  color: #dce5f0;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}
.node-one { top: 18%; right: 6%; }
.node-two { bottom: 25%; right: 2%; }
.node-three { bottom: 16%; left: 7%; }
.node-four { top: 24%; left: 2%; }

.thesis {
  color: var(--ink);
  background: var(--paper);
}
.thesis-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 80px;
  align-items: start;
}
.thesis h2,
.section-heading h2,
.platform h2,
.company h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.thesis-grid > div {
  max-width: 680px;
  padding-top: 7px;
  font-size: 19px;
}
.thesis-grid > div p:first-child { color: #334155; }

.products { background: #0a1524; }
.section-heading {
  max-width: 960px;
  margin-bottom: 48px;
}
.section-heading > p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.product-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--panel);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  background: var(--panel-strong);
  border-color: rgba(255,255,255,.2);
}
.product-featured {
  background:
    linear-gradient(135deg, rgba(125,226,201,.11), rgba(131,184,255,.075)),
    var(--panel);
}
.platform-card { border-color: rgba(125,226,201,.25); }
.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.product-index { color: var(--accent); font-size: 12px; font-weight: 850; }
.product-category {
  color: #b8c5d5;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.product-card h3 {
  margin: 64px 0 12px;
  font-size: 34px;
  letter-spacing: -.035em;
}
.product-card > p {
  max-width: 580px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.product-tags span,
.principles span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c7d2df;
  font-size: 11px;
}

.platform {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  color: var(--ink);
  background: var(--paper);
}
.platform-copy > p:last-child {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ink-muted);
  font-size: 18px;
}
.platform-list { border-top: 1px solid #d3dbe5; }
.platform-list > div {
  display: grid;
  grid-template-columns: 48px .72fr 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid #d3dbe5;
}
.platform-list span { color: #66768b; font-size: 12px; }
.platform-list strong { font-size: 17px; }
.platform-list p { margin-bottom: 0; color: var(--ink-muted); }

.company {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  background: #0b1829;
}
.company-copy {
  max-width: 760px;
  align-self: end;
  color: var(--muted);
  font-size: 18px;
}
.company-copy > p:first-child { color: #d6dfeb; }
.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  background:
    radial-gradient(circle at 90% 20%, rgba(131,184,255,.22), transparent 27%),
    linear-gradient(135deg, #173153, #0f655d);
}
.contact > div { max-width: 850px; }
.contact > div > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: #dce8ee;
  font-size: 17px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 34px;
  align-items: end;
  padding: 38px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer-identity > p { margin: 10px 0 0; }
.footer-brand { color: white; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.footer-links a:hover { color: white; }
.copyright { margin: 0; text-align: right; }

.legal {
  min-height: 70vh;
  color: var(--ink);
  background: var(--paper);
}
.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 92px 24px 120px;
}
.legal-back {
  display: inline-flex;
  margin-bottom: 44px;
  color: #35536f;
  font-weight: 750;
}
.legal h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.045em;
}
.legal .updated { margin-bottom: 46px; color: #68778a; }
.legal h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  letter-spacing: -.02em;
}
.legal p, .legal li { color: #445266; }
.legal ul { padding-left: 20px; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 84px;
  }
  .system-visual { min-height: 470px; }
  .system-visual::before { width: 390px; height: 390px; }
  .system-visual::after { width: 500px; height: 500px; }
  .thesis-grid, .platform, .company { grid-template-columns: 1fr; gap: 48px; }
  .platform-list > div { grid-template-columns: 42px .7fr 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .copyright { text-align: left; }
}

@media (max-width: 700px) {
  .site-header { min-height: 64px; padding: 12px 18px; }
  .brand-name { font-size: 14px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav { gap: 10px; }
  .section-pad { padding: 76px 22px; }
  .hero { min-height: auto; padding-top: 76px; }
  .hero h1 { font-size: clamp(44px, 13.5vw, 64px); }
  .hero-lede { font-size: 17px; }
  .system-visual { min-height: 390px; }
  .system-visual::before { width: 310px; height: 310px; }
  .system-visual::after { display: none; }
  .system-core { width: min(320px, 82%); padding: 24px; }
  .system-core strong { font-size: 36px; }
  .system-node { min-width: 78px; padding: 7px 10px; font-size: 10px; }
  .node-one { right: 0; }
  .node-two { right: 0; bottom: 18%; }
  .node-three { left: 0; bottom: 12%; }
  .node-four { left: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 310px; padding: 24px; }
  .product-card h3 { margin-top: 48px; }
  .platform-list > div { grid-template-columns: 36px 1fr; }
  .platform-list p { grid-column: 2; }
  .contact { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; padding: 34px 22px; }
  .footer-links { margin: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .product-card { transition: none; }
}
