:root {
  --bg: #03070c;
  --bg-deep: #050a13;
  --panel: rgba(9, 20, 31, 0.64);
  --panel-strong: rgba(14, 35, 51, 0.78);
  --text: #f2fbff;
  --muted: #a9bdc8;
  --dim: #6e8795;
  --line: rgba(151, 220, 242, 0.24);
  --ice: #c9f7ff;
  --cyan: #66e6ff;
  --blue: #57a4ff;
  --green: #78ffd6;
  --violet: #aeb5ff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
  --section: clamp(84px, 12vw, 154px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 12%, rgba(68, 180, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 82% 42%, rgba(89, 255, 212, 0.08), transparent 26rem),
    linear-gradient(180deg, #02050a 0%, #06101a 39%, #03070c 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(155, 224, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 224, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 75%);
}

.ambient {
  position: fixed;
  inset: auto -15vw -35vh -15vw;
  z-index: -1;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(74, 219, 255, 0.16), transparent 66%);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(22px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(3, 7, 12, 0.86), rgba(3, 7, 12, 0));
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(102, 230, 255, 0.34);
}

.site-header nav {
  gap: clamp(12px, 3vw, 32px);
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.section {
  width: min(1160px, calc(100% - 44px));
  max-width: 100%;
  margin: 0 auto;
  padding: var(--section) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  min-height: 100vh;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-top: 120px;
}

.hero-copy {
  max-width: 570px;
  min-width: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
}

h1 {
  font-size: clamp(3.3rem, 8.4vw, 7.8rem);
  font-weight: 700;
  line-height: 0.88;
  text-shadow: 0 0 36px rgba(145, 236, 255, 0.24);
}

h2 {
  font-size: clamp(2.35rem, 5.5vw, 5.5rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.72;
}

.hero-line {
  margin: 28px 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.6vw, 2.7rem);
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1.12;
}

.hero-statements {
  display: grid;
  gap: 8px;
  margin: 34px 0 24px;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 600;
}

.coming {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snowflake-field {
  position: relative;
  display: grid;
  min-height: min(72vh, 660px);
  place-items: center;
  border-radius: 50%;
  isolation: isolate;
  perspective: 900px;
}

.snowflake-field::before,
.snowflake-field::after {
  position: absolute;
  inset: 9%;
  z-index: -1;
  content: "";
  border: 1px solid rgba(145, 236, 255, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(89, 188, 255, 0.08), 0 0 120px rgba(102, 230, 255, 0.12);
}

.snowflake-field::after {
  inset: 23%;
  border-color: rgba(120, 255, 214, 0.12);
  transform: rotate(20deg);
}

.snowflake {
  position: relative;
  width: clamp(270px, 42vw, 560px);
  aspect-ratio: 1;
  animation: pulse 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 38px rgba(98, 229, 255, 0.72));
  transform-style: preserve-3d;
}

.flake-core {
  position: absolute;
  inset: 41%;
  border: 1px solid rgba(217, 253, 255, 0.8);
  background: radial-gradient(circle, white 0 9%, rgba(122, 238, 255, 0.8) 10% 27%, rgba(18, 49, 73, 0.45) 28% 100%);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  box-shadow: 0 0 36px rgba(140, 243, 255, 0.8), inset 0 0 30px rgba(87, 164, 255, 0.54);
}

.branch {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 2px;
  transform-origin: 0 50%;
  background:
    linear-gradient(90deg, rgba(237, 255, 255, 0.95), rgba(103, 230, 255, 0.68) 52%, transparent),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(120, 255, 214, 0.42) 16px 18px, transparent 18px 34px);
  box-shadow: 0 0 18px rgba(102, 230, 255, 0.78);
}

.branch::before,
.branch::after {
  position: absolute;
  right: 22%;
  width: 34%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(217, 253, 255, 0.92), rgba(102, 230, 255, 0));
  transform-origin: 100% 50%;
  box-shadow: 0 0 12px rgba(102, 230, 255, 0.62);
}

.branch::before {
  transform: rotate(35deg);
}

.branch::after {
  transform: rotate(-35deg);
}

.b1 { transform: rotate(0deg); }
.b2 { transform: rotate(60deg); }
.b3 { transform: rotate(120deg); }
.b4 { transform: rotate(180deg); }
.b5 { transform: rotate(240deg); }
.b6 { transform: rotate(300deg); }

.orbit-label {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  color: var(--ice);
  background: rgba(5, 14, 21, 0.72);
  border: 1px solid rgba(145, 236, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(102, 230, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  opacity: 0;
  text-transform: uppercase;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(0.96);
  transition: opacity 420ms ease, transform 420ms ease;
}

.snowflake-field:hover .orbit-label,
.snowflake-field.is-active .orbit-label {
  opacity: 1;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1);
}

.label-storage { top: 18%; left: 19%; }
.label-compute { top: 23%; right: 12%; }
.label-archive { bottom: 22%; left: 13%; }
.label-intelligence { bottom: 17%; right: 15%; }
.label-fabrication { top: 49%; left: 2%; }
.label-automation { top: 53%; right: 0; }

.what-if {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(32px, 6vw, 88px);
}

.section-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.question-stack,
.principle-list {
  display: grid;
  gap: 18px;
}

.question-stack p {
  margin: 0;
  padding: 0 0 18px 28px;
  border-left: 1px solid var(--line);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.question-stack .answer {
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
}

.iceberg-section {
  text-align: center;
}

.iceberg-section .section-intro {
  position: static;
}

.iceberg-wrap {
  position: relative;
  min-height: 680px;
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid rgba(145, 236, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 15%, rgba(197, 252, 255, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(11, 31, 45, 0.72), rgba(3, 23, 37, 0.42) 44%, rgba(2, 9, 18, 0.96) 45%);
  box-shadow: var(--shadow);
}

.waterline {
  position: absolute;
  top: 42%;
  left: -8%;
  right: -8%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(137, 244, 255, 0.72), transparent);
  box-shadow: 0 0 30px rgba(102, 230, 255, 0.42);
}

.iceberg-graphic {
  position: absolute;
  inset: 9% 12% 7%;
}

.iceberg-top,
.iceberg-base {
  position: absolute;
  left: 50%;
  display: grid;
  place-items: center;
  color: #eafdff;
  text-shadow: 0 1px 12px rgba(0, 20, 30, 0.76);
  transform: translateX(-50%);
}

.iceberg-top {
  top: 0;
  width: min(520px, 80%);
  height: 41%;
  padding-top: 7%;
  background: linear-gradient(145deg, rgba(239, 255, 255, 0.94), rgba(98, 222, 255, 0.66) 56%, rgba(77, 151, 255, 0.48));
  clip-path: polygon(50% 0, 84% 100%, 11% 100%);
  grid-template-columns: repeat(3, 1fr);
}

.iceberg-base {
  top: 42%;
  width: min(820px, 94%);
  height: 54%;
  padding: 7% 9% 4%;
  background: linear-gradient(160deg, rgba(120, 225, 255, 0.34), rgba(23, 91, 142, 0.72) 48%, rgba(8, 31, 60, 0.52));
  clip-path: polygon(8% 0, 91% 0, 75% 92%, 49% 100%, 18% 88%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 30px;
}

.iceberg-top span,
.iceberg-base span {
  font-size: clamp(0.85rem, 1.35vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.caption {
  max-width: 700px;
  margin: 34px auto 0;
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.28;
}

.caption span {
  display: block;
  color: var(--cyan);
}

.datacentres {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 7vw, 94px);
  align-items: center;
}

.line-list,
.cryo-words {
  display: grid;
  gap: 14px;
}

.line-list span,
.cryo-words span {
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 700;
}

.cryo-words span:nth-child(even),
.line-list span:nth-child(3n) {
  color: var(--cyan);
}

.cryobranch {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.cryo-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(145, 236, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 55% 22%, rgba(120, 255, 214, 0.15), transparent 18rem),
    linear-gradient(180deg, rgba(4, 13, 22, 0.82), rgba(2, 5, 9, 0.96));
  box-shadow: var(--shadow);
}

.stem,
.limb {
  position: absolute;
  background: linear-gradient(180deg, rgba(206, 255, 255, 0.9), rgba(102, 230, 255, 0.18));
  box-shadow: 0 0 22px rgba(102, 230, 255, 0.42);
  transform-origin: bottom center;
}

.stem {
  left: 49%;
  bottom: -4%;
  width: 6px;
  height: 86%;
}

.limb {
  width: 4px;
  height: 36%;
}

.l1 { left: 49%; bottom: 28%; transform: rotate(-44deg); }
.l2 { left: 50%; bottom: 37%; transform: rotate(42deg); }
.l3 { left: 49%; bottom: 53%; height: 28%; transform: rotate(-62deg); }
.l4 { left: 50%; bottom: 61%; height: 25%; transform: rotate(55deg); }

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 26px rgba(120, 255, 214, 0.8), 0 0 70px rgba(102, 230, 255, 0.32);
}

.n1 { left: 23%; top: 34%; }
.n2 { right: 21%; top: 28%; }
.n3 { left: 18%; top: 52%; }
.n4 { right: 17%; top: 55%; }

.cryo-copy h2 {
  margin-bottom: 22px;
}

.principles {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 82px);
}

.principle-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.principle-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.flake {
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(102, 230, 255, 0.74);
}

.principle-list h3 {
  margin-bottom: 8px;
}

.principle-list p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
  padding: 88px 0 54px;
  border-top: 1px solid var(--line);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.5rem);
}

.site-footer p {
  margin: 6px 0;
}

.waitlist {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #061017;
  background: linear-gradient(135deg, var(--ice), var(--green));
  border-radius: 4px;
  box-shadow: 0 0 34px rgba(120, 255, 214, 0.3);
  font-weight: 800;
  text-decoration: none;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.78;
    transform: rotateX(10deg) rotateZ(0deg) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: rotateX(10deg) rotateZ(4deg) scale(1.03);
  }
}

@media (max-width: 920px) {
  .site-header nav {
    display: none;
  }

  .hero,
  .what-if,
  .datacentres,
  .cryobranch,
  .principles {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 104px;
  }

  .snowflake-field {
    min-height: 440px;
    order: -1;
  }

  .section-intro {
    position: static;
  }

  .iceberg-wrap {
    min-height: 580px;
  }
}

@media (max-width: 620px) {
  .section {
    width: min(100% - 28px, 1160px);
    max-width: calc(100vw - 28px);
    padding: clamp(64px, 18vw, 92px) 0;
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    gap: 22px;
  }

  h1 {
    font-size: clamp(2.25rem, 11.4vw, 3.2rem);
    line-height: 0.94;
    white-space: nowrap;
  }

  h2 {
    font-size: clamp(2.05rem, 11vw, 3.6rem);
    line-height: 1.04;
  }

  p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-copy .hero-line {
    font-size: clamp(1.35rem, 7vw, 2rem);
    max-width: 12.5ch;
  }

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

  .hero-copy p {
    max-width: 31ch;
    overflow-wrap: break-word;
  }

  .snowflake {
    width: min(78vw, 340px);
  }

  .orbit-label {
    font-size: 0.62rem;
    padding: 6px 8px;
  }

  .label-fabrication,
  .label-automation {
    top: auto;
    bottom: 5%;
  }

  .iceberg-wrap {
    min-height: 540px;
  }

  .iceberg-graphic {
    inset: 9% 3% 6%;
  }

  .iceberg-top {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 17% 16% 7%;
  }

  .iceberg-base {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15% 16% 7%;
  }

  .iceberg-top span,
  .iceberg-base span {
    max-width: 100%;
    font-size: 0.66rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .cryo-visual {
    min-height: 420px;
  }

  .question-stack p {
    padding-left: 18px;
    font-size: clamp(1.05rem, 5.5vw, 1.45rem);
  }

  .principle-list article {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 19px 0;
  }

  .line-list span,
  .cryo-words span {
    font-size: clamp(1.04rem, 5vw, 1.38rem);
  }

  .site-footer {
    display: grid;
    align-items: start;
  }

  .waitlist {
    width: 100%;
  }
}

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