:root {
  color-scheme: dark;
  --ink: #fff7e8;
  --text: rgba(255, 247, 232, 0.92);
  --soft: rgba(255, 247, 232, 0.72);
  --muted: rgba(202, 217, 207, 0.72);
  --line: rgba(255, 247, 232, 0.14);
  --line-strong: rgba(255, 247, 232, 0.28);
  --ground: #070807;
  --ground-warm: #141008;
  --panel: rgba(18, 23, 20, 0.78);
  --panel-strong: rgba(29, 35, 31, 0.92);
  --gold: #f2bf64;
  --green: #37f19a;
  --cyan: #7fdcff;
  --coral: #ff705d;
  --violet: #b68cff;
  --shadow: rgba(0, 0, 0, 0.48);
  font-family:
    "Aptos Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(55, 241, 154, 0.12), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(242, 191, 100, 0.13), transparent 30%),
    radial-gradient(circle at 74% 82%, rgba(127, 220, 255, 0.08), transparent 30%),
    linear-gradient(rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.03) 1px, transparent 1px),
    linear-gradient(145deg, #060707 0%, #0d100d 48%, #150d08 100%);
  background-size:
    cover,
    cover,
    cover,
    42px 42px,
    42px 42px,
    cover;
  color: var(--ink);
}

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 247, 232, 0.11);
  background: rgba(6, 8, 7, 0.76);
  backdrop-filter: blur(22px) saturate(135%);
}

.brand-lockup,
.site-nav nav,
.nav-action,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  justify-self: start;
  font-weight: 950;
}

.brand-lockup span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 191, 100, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(242, 191, 100, 0.26), rgba(55, 241, 154, 0.1)),
    rgba(255, 255, 255, 0.05);
  color: var(--gold);
  font-size: 12px;
}

.site-nav nav {
  gap: 4px;
  justify-self: center;
  border: 1px solid rgba(255, 247, 232, 0.11);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.site-nav nav a,
.nav-action,
.hero-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 15px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

.site-nav nav a:hover,
.site-nav nav a[aria-current] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.nav-action {
  justify-self: end;
  border: 1px solid rgba(55, 241, 154, 0.38);
  color: var(--ink);
  box-shadow: 0 0 28px rgba(55, 241, 154, 0.08);
}

.hero-section {
  min-height: 94vh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(18px, 5vw, 72px) 72px;
  border-bottom: 1px solid var(--line);
}

.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.temple-ring {
  position: absolute;
  border: 1px solid rgba(255, 247, 232, 0.1);
  transform: rotate(-10deg);
}

.ring-one {
  inset: 118px 7vw 46px;
  border-radius: 36px;
}

.ring-two {
  width: 46vw;
  height: 46vw;
  right: -14vw;
  top: 9vh;
  border-radius: 38% 62% 45% 55%;
}

.ring-three {
  width: 24vw;
  height: 24vw;
  left: -8vw;
  bottom: 8vh;
  border-radius: 50%;
}

.signal-line {
  position: absolute;
  width: 160vw;
  height: 1px;
  left: -28vw;
  background: linear-gradient(90deg, transparent, rgba(242, 191, 100, 0.48), transparent);
  transform: rotate(-18deg);
}

.signal-a {
  top: 24%;
}

.signal-b {
  top: 58%;
  background: linear-gradient(90deg, transparent, rgba(55, 241, 154, 0.36), transparent);
}

.signal-c {
  top: 82%;
  background: linear-gradient(90deg, transparent, rgba(127, 220, 255, 0.28), transparent);
}

.hero-copy,
.product-stage {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 94px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--text);
  font-size: clamp(19px, 2.15vw, 27px);
  font-weight: 650;
  line-height: 1.38;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-actions a:first-child {
  background: var(--green);
  color: #06100a;
  box-shadow: 0 18px 48px rgba(55, 241, 154, 0.22);
}

.hero-actions a:last-child {
  border: 1px solid var(--line-strong);
}

.product-stage {
  min-width: 0;
}

.temple-os {
  min-height: 560px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(10, 13, 11, 0.9);
  box-shadow:
    0 40px 130px var(--shadow),
    inset 0 1px rgba(255, 255, 255, 0.13);
}

.temple-os aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border-right: 1px solid rgba(255, 247, 232, 0.13);
  background: rgba(3, 5, 4, 0.64);
}

.temple-os aside b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(242, 191, 100, 0.4);
  border-radius: 12px;
  color: var(--gold);
}

.temple-os aside span {
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 880;
}

.temple-os aside span.active {
  border-color: rgba(55, 241, 154, 0.34);
  background: rgba(55, 241, 154, 0.12);
  color: var(--ink);
}

.temple-os section {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 18px;
}

.os-topbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 247, 232, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.045);
}

.os-topbar small,
.os-canvas small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.os-topbar strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
}

.live-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(55, 241, 154, 0.34);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.os-canvas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.os-canvas article,
.orbital-strip article,
.builder-grid article,
.device-stack article,
.temple-controls span {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.os-canvas article {
  min-height: 126px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
}

.os-canvas .canvas-main {
  grid-column: 1 / -1;
  min-height: 248px;
  align-content: space-between;
  background:
    linear-gradient(120deg, rgba(55, 241, 154, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(242, 191, 100, 0.16), rgba(127, 220, 255, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.os-canvas strong {
  font-size: clamp(19px, 2.2vw, 31px);
  line-height: 1.02;
}

.os-canvas p {
  max-width: 44ch;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}

.builder-layers {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 10px;
}

.builder-layers span {
  min-height: 56px;
  border: 1px solid rgba(255, 247, 232, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.device-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.device-row span {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.device-row .device-online {
  background: rgba(55, 241, 154, 0.14);
  color: var(--green);
}

.orbital-strip,
.builder-section,
.device-section,
.temple-section,
footer {
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}

.orbital-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  padding-bottom: 78px;
}

.orbital-strip article {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 20px;
}

.orbital-strip span,
.builder-grid span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.orbital-strip strong {
  font-size: 28px;
  line-height: 1.02;
}

.orbital-strip p,
.builder-grid p,
.device-stack span,
.temple-copy p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.65;
}

.builder-section {
  padding-top: 28px;
  padding-bottom: 86px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 780px);
  margin-bottom: 28px;
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.builder-grid article {
  min-height: 292px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
}

.builder-grid .wide-card {
  grid-column: span 2;
  background:
    linear-gradient(125deg, rgba(242, 191, 100, 0.18), transparent 46%),
    linear-gradient(145deg, rgba(55, 241, 154, 0.12), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.builder-grid h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.7vw, 38px);
  line-height: 1.02;
}

.device-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.74fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(55, 241, 154, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.018);
}

.device-stack {
  display: grid;
  gap: 14px;
}

.device-stack article {
  display: grid;
  gap: 9px;
  padding: 20px;
}

.device-stack .device-online {
  border-color: rgba(55, 241, 154, 0.38);
}

.device-stack small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.device-stack strong {
  font-size: 28px;
}

.temple-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  padding-top: 82px;
  padding-bottom: 78px;
}

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

.temple-controls span {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

footer strong {
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .signal-line {
    animation: drift 12s ease-in-out infinite alternate;
  }

  .ring-two {
    animation: breathe 9s ease-in-out infinite alternate;
  }
}

@keyframes drift {
  from {
    transform: translateX(-2vw) rotate(-18deg);
  }
  to {
    transform: translateX(3vw) rotate(-18deg);
  }
}

@keyframes breathe {
  from {
    transform: scale(0.97) rotate(-10deg);
  }
  to {
    transform: scale(1.03) rotate(-4deg);
  }
}

@media (max-width: 1120px) {
  .hero-section,
  .device-section,
  .temple-section {
    grid-template-columns: 1fr;
  }

  .product-stage {
    width: min(100%, 860px);
  }

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

  .orbital-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: sticky;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .brand-lockup,
  .nav-action,
  .site-nav nav {
    justify-self: stretch;
  }

  .site-nav nav {
    overflow-x: auto;
  }

  .hero-section {
    min-height: auto;
    padding-top: 44px;
  }

  .temple-os {
    grid-template-columns: 1fr;
  }

  .temple-os aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 247, 232, 0.13);
  }

  .temple-os aside b {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .os-canvas,
  .builder-grid,
  .temple-controls {
    grid-template-columns: 1fr;
  }

  .builder-grid .wide-card,
  .os-canvas .canvas-main {
    grid-column: auto;
  }

  footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .site-nav nav a {
    padding: 0 12px;
  }

  h1 {
    font-size: clamp(56px, 18vw, 76px);
  }
}
