:root {
  color-scheme: dark;
  --bg: #08090c;
  --panel: #101116;
  --panel-2: #15161c;
  --text: #f2f1f0;
  --muted: #9a9ba3;
  --line: rgba(255, 255, 255, .1);
  --red: #ff1717;
  --red-soft: #ff5b56;
  --mono: "DM Mono", monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h2 { font-size: clamp(38px, 5.2vw, 68px); font-weight: 600; }
em { color: var(--red-soft); font-style: normal; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 4px; }
.wrap { width: min(100% - 56px, var(--max)); margin-inline: auto; }
.section { padding-top: 132px; }

.header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 12, .78);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.brand img { width: 37px; height: 37px; border-radius: 8px; object-fit: cover; }
.brand b { color: var(--red-soft); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 32px; font: 400 12px var(--mono); color: #b7b7be; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav .nav-back { color: var(--red-soft); }
.parent-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.parent-link img { width: 20px; height: 20px; border-radius: 4px; background: #fff; object-fit: contain; }
.menu { display: none; border: 0; background: none; font-size: 25px; cursor: pointer; }

.hero {
  position: relative;
  min-height: min(850px, 100svh);
  min-height: max(720px, 100svh);
  padding-top: 76px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 45%, rgba(255, 23, 23, .12), transparent 38%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 70%);
  content: "";
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px; min-height: calc(100svh - 138px); }
.hero-copy { padding-top: 20px; }
.eyebrow, .hero-note { display: flex; align-items: center; gap: 11px; color: #c4c4ca; font: 400 11px var(--mono); letter-spacing: .025em; }
.eyebrow { margin-bottom: 27px; }
.eyebrow i, .pulse { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px rgba(255, 23, 23, .85); }
h1 { margin-bottom: 25px; font-size: clamp(59px, 6.7vw, 94px); font-weight: 600; letter-spacing: -.075em; line-height: .96; }
h1 span { color: var(--red); text-shadow: 0 0 42px rgba(255, 23, 23, .21); }
.hero-text { max-width: 485px; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 16px; padding: 0 19px; border: 1px solid var(--line); border-radius: 5px; font: 400 11px var(--mono); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); border-color: var(--red-soft); }
.button.primary { border-color: var(--red); background: var(--red); color: #fff; }
.button.primary:hover { background: #e50d0d; box-shadow: 0 6px 24px rgba(255, 23, 23, .2); }
.button.secondary { background: rgba(255,255,255,.025); }
.button span { font-size: 15px; }
.hero-note { margin-top: 46px; color: #777983; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.visual { position: relative; display: grid; width: min(100%, 530px); aspect-ratio: 1; place-items: center; justify-self: end; }
.visual::before { position: absolute; inset: 13%; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; content: ""; }
.visual::after { position: absolute; inset: 27%; border: 1px dashed rgba(255,23,23,.18); border-radius: 50%; content: ""; animation: rotate 60s linear infinite; }
.visual-logo { position: relative; z-index: 2; width: 47%; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; box-shadow: 0 0 95px rgba(255,23,23,.16), 0 22px 75px rgba(0,0,0,.4); transform: rotate(-5deg); }
.visual-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 78%; height: 32%; }
.orbit-two { width: 78%; height: 32%; transform: rotate(56deg); border-color: rgba(255,23,23,.2); }
.axis { position: absolute; z-index: 1; background: linear-gradient(90deg, transparent, rgba(255,23,23,.35), transparent); }
.axis-x { width: 95%; height: 1px; }
.axis-y { width: 1px; height: 95%; background: linear-gradient(transparent, rgba(255,23,23,.32), transparent); }
.visual-cross { position: absolute; z-index: 3; width: 7px; height: 7px; border: 1px solid var(--red-soft); transform: rotate(45deg); }
.cross-one { top: 17%; right: 24%; }
.cross-two { bottom: 23%; left: 17%; width: 5px; height: 5px; }
.visual-tag, .visual-index { position: absolute; z-index: 3; color: #b0b0b7; font: 400 9px var(--mono); letter-spacing: .13em; }
.tag-top { top: 14%; left: 11%; }
.tag-bottom { right: 5%; bottom: 18%; }
.visual-index { right: 13%; top: 28%; color: var(--red-soft); }
.hero-bottom { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid var(--line); color: #757780; font: 400 9px var(--mono); letter-spacing: .15em; }
.hero-bottom a { color: #b7b7be; }
.hero-bottom a span { padding-left: 9px; color: var(--red-soft); }
@keyframes rotate { to { transform: rotate(335deg); } }

.section-label { display: flex; align-items: center; gap: 13px; color: #8c8d95; font: 400 10px var(--mono); letter-spacing: .16em; }
.section-label span { color: var(--red-soft); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-top: 43px; }
.intro h2 { font-size: clamp(40px, 5.3vw, 69px); }
.intro-copy { max-width: 480px; color: var(--muted); font-size: 15px; }
.intro-copy p + p { margin-top: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--red-soft); font: 400 11px var(--mono); }
.text-link span { font-size: 16px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, 3px); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 74px; }
.principle { min-height: 213px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 75%); }
.principle-no, .cap-index, .cap-foot { color: #777983; font: 400 9px var(--mono); letter-spacing: .12em; }
.principle h3 { margin-top: 39px; font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.principle p { margin-top: 10px; color: var(--muted); font-size: 13px; }

.capabilities { position: relative; margin-top: 130px; padding-bottom: 126px; background: linear-gradient(180deg, #0d0e12, #0b0c10); }
.cap-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-top: 42px; }
.cap-head p { max-width: 365px; color: var(--muted); font-size: 14px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 50px; }
.cap-card { position: relative; min-height: 246px; padding: 23px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.018); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.cap-card:hover { transform: translateY(-4px); border-color: rgba(255,91,86,.45); background: rgba(255,23,23,.035); }
.cap-card .cap-index { position: absolute; top: 24px; right: 23px; }
.cap-icon { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(255,23,23,.35); border-radius: 7px; color: var(--red-soft); font-size: 18px; }
.cap-card h3 { margin-top: 29px; font-size: 19px; font-weight: 500; }
.cap-card p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.cap-foot { display: block; margin-top: 20px; color: #777983; font-size: 8px; }

.eco-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 60px; margin-top: 45px; }
.eco-copy h2 { font-size: clamp(37px, 4.7vw, 60px); }
.eco-copy p { max-width: 425px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.eco-copy .button { margin-top: 27px; }
.architecture { position: relative; display: grid; gap: 12px; padding: 36px 26px; border: 1px solid var(--line); border-radius: 9px; background: radial-gradient(ellipse at 50% 40%, rgba(255,23,23,.08), transparent 55%), #0d0e12; overflow: hidden; }
.architecture > *:not(.architecture-line) { position: relative; z-index: 1; }
.architecture-app, .architecture-base { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px dashed rgba(255,255,255,.16); color: #bcbcc2; font: 400 9px var(--mono); letter-spacing: .1em; }
.architecture-app span { color: var(--red-soft); }
.architecture-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.architecture-tools div { display: flex; min-height: 67px; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; border: 1px solid rgba(255,23,23,.22); border-radius: 5px; background: rgba(255,23,23,.025); }
.architecture-tools b { color: var(--red-soft); font: 500 13px var(--mono); }
.architecture-tools span { color: #888992; font: 400 7px var(--mono); }
.architecture-core { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid rgba(255,23,23,.53); border-radius: 5px; background: rgba(255,23,23,.07); }
.architecture-core img { width: 36px; height: 36px; border-radius: 5px; object-fit: cover; }
.architecture-core div { display: grid; gap: 4px; }
.architecture-core b { font: 500 10px var(--mono); }
.architecture-core div span { color: #888992; font: 400 8px var(--mono); }
.core-mark { margin-left: auto; color: rgba(255,91,86,.65); font: 500 24px var(--mono); }
.architecture-base { justify-content: center; color: #92939c; font-size: 8px; text-align: center; }
.architecture-line { position: absolute; z-index: 0; top: 33%; left: 50%; height: 9%; border-left: 1px solid rgba(255,23,23,.35); }
.line-two { top: 56%; height: 7%; }
.line-three { top: 78%; height: 5%; }

.closing { padding-bottom: 110px; }
.closing-box { position: relative; min-height: 400px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 7vw, 80px); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 88% 55%, rgba(255,23,23,.14), transparent 34%), #101116; }
.closing-mark { position: absolute; top: 50%; right: 10%; width: clamp(100px, 17vw, 195px); aspect-ratio: 1; opacity: .14; transform: translateY(-50%) rotate(9deg); }
.closing-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.closing .section-label { margin-bottom: 23px; }
.closing h2 { position: relative; font-size: clamp(39px, 5.6vw, 70px); }
.closing-box > p:not(.section-label) { margin-top: 15px; color: var(--muted); font-size: 14px; }
.closing .actions { position: relative; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 97px; border-top: 1px solid var(--line); color: #777983; font: 400 10px var(--mono); }
.footer .brand { color: var(--text); font: 700 10px var(--sans); }
.footer .brand img { width: 29px; height: 29px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease var(--delay, 0ms), transform .65s ease var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { gap: 19px; }
  .hero { min-height: 760px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 15px; }
  h1 { font-size: clamp(56px, 8vw, 82px); }
  .visual { width: min(100%, 420px); }
  .intro-grid, .eco-grid { gap: 40px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: min(100% - 40px, var(--max)); }
  .header { height: 68px; padding-inline: 20px; }
  .brand { font-size: 11px; }
  .brand img { width: 32px; height: 32px; }
  .menu { display: block; }
  .nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); background: rgba(8,9,12,.98); }
  .nav.open { display: flex; flex-direction: column; }
  .nav a { padding: 12px 0; }
  .nav .nav-back { border-top: 1px solid var(--line); }
  .hero { min-height: auto; padding: 68px 0 58px; }
  .hero::after { background: linear-gradient(180deg, transparent 40%, var(--bg) 100%); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 2px; padding-top: 34px; }
  .hero-copy { position: relative; z-index: 2; }
  .visual { grid-row: 1; width: min(86%, 390px); justify-self: center; margin: -4px 0 -21px; }
  .hero-copy { padding: 0 1px; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: clamp(56px, 13vw, 84px); }
  .hero-text { max-width: 440px; font-size: 15px; }
  .hero-note { margin-top: 30px; }
  .hero-bottom { position: relative; margin-top: 38px; font-size: 8px; }
  .section { padding-top: 94px; }
  .intro-grid, .eco-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .intro h2, .eco-copy h2 { font-size: clamp(39px, 10vw, 58px); }
  .principles { grid-template-columns: 1fr; gap: 10px; margin-top: 43px; }
  .principle { min-height: auto; padding: 21px; }
  .principle h3 { margin-top: 23px; }
  .capabilities { margin-top: 95px; padding-bottom: 90px; }
  .cap-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 32px; }
  .cap-head h2 { font-size: clamp(39px, 10vw, 58px); }
  .cap-grid { gap: 10px; margin-top: 32px; }
  .cap-card { min-height: 236px; padding: 18px; }
  .cap-card .cap-index { top: 19px; right: 17px; }
  .architecture { padding: 23px 16px; }
  .closing { padding-bottom: 75px; }
  .closing-box { min-height: 370px; }
  .closing-mark { right: 8%; top: 27%; width: 100px; }
  .footer { flex-wrap: wrap; justify-content: space-between; padding-block: 23px; }
  .footer > p:nth-of-type(1) { display: none; }
}
@media (max-width: 420px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .actions { gap: 9px; }
  .button { min-height: 45px; padding-inline: 13px; font-size: 10px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card { min-height: 205px; }
  .architecture-tools { grid-template-columns: repeat(2, 1fr); }
  .architecture-line.line-two { top: 64%; }
  .architecture-line.line-three { top: 82%; }
  .footer .brand { font-size: 9px; }
  .footer > p:last-child { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
