:root {
  color-scheme: light;
  --canvas: #fffcf7;
  --ink: #1d2927;
  --ink-soft: #52615d;
  --oxide: #2d6c6a;
  --clay: #c05c3f;
  --line: #ded8cd;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body.theme-cobalt {
  color-scheme: light;
  --canvas: #ffffff;
  --ink: #171a21;
  --ink-soft: #4e5668;
  --oxide: #3157e8;
  --clay: #c94f2f;
  --line: #dfe4f0;
  --field: #eaf0ff;
}

body.theme-ultraviolet {
  color-scheme: dark;
  --canvas: #191529;
  --ink: #f8f9ff;
  --ink-soft: #c9c5da;
  --oxide: #c8f1f0;
  --clay: #ff5d55;
  --line: #3d3653;
  --field: #6547e8;
}

body.theme-ink {
  color-scheme: light;
  --canvas: #d9f2ff;
  --ink: #101b2d;
  --ink-soft: #345268;
  --oxide: #087e8b;
  --clay: #ff6b35;
  --line: #a8d7e5;
  --field: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
}

.page {
  width: min(1180px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(22px, 6vw, 76px) 28px;
  display: flex;
  flex-direction: column;
}

header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: block;
  width: clamp(150px, 17vw, 210px);
  height: auto;
}

.text-wordmark {
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 1;
}

.text-wordmark span {
  color: var(--clay);
}

.status,
footer {
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.status {
  margin: 0;
}

.status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--oxide);
  vertical-align: 0.08em;
}

main {
  flex: 1;
  padding: clamp(76px, 12vh, 140px) 0 clamp(88px, 13vh, 150px);
}

.palette-preview main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.teaser {
  width: min(980px, 100%);
  text-align: center;
}

.palette-preview footer {
  justify-content: flex-end;
}

.teaser h1 {
  max-width: 11ch;
  margin-inline: auto;
  font-size: clamp(4rem, 9vw, 8.4rem);
  line-height: 0.9;
}

.juggle {
  width: min(760px, 88%);
  margin: clamp(36px, 6vh, 72px) auto clamp(26px, 4vh, 46px);
}

.juggle svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.flight {
  fill: none;
  stroke: var(--line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 13;
}

.ball-one {
  fill: var(--oxide);
}

.ball-two {
  fill: var(--clay);
}

.ball-three {
  fill: var(--ink);
}

.ones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
  text-align: left;
}

.ones li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(22px, 3vw, 36px);
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.ones li + li {
  border-left: 1px solid var(--line);
}

.ones strong {
  color: var(--clay);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.problem {
  max-width: 940px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--oxide);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.25rem, 7.2vw, 6.7rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lead {
  max-width: 790px;
  margin: clamp(32px, 4vw, 50px) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.answer {
  max-width: 900px;
  margin-top: clamp(90px, 14vw, 180px);
  padding-top: clamp(34px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.answer h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.answer > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.answer .promise {
  color: var(--ink);
  font-weight: 650;
}

footer {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

@media (max-width: 620px) {
  .page {
    padding-inline: 20px;
  }

  header {
    align-items: flex-start;
  }

  main {
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .teaser h1 {
    font-size: clamp(3.5rem, 12vw, 6.5rem);
  }
}

@media (max-width: 620px) {
  .ones {
    grid-template-columns: 1fr;
  }

  .ones li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Ultraviolet convergence direction */
.convergence-preview {
  background:
    radial-gradient(circle at 50% 47%, rgb(101 71 232 / 18%), transparent 34%),
    radial-gradient(circle at 76% 45%, rgb(200 241 240 / 7%), transparent 23%),
    var(--canvas);
}

.convergence-preview .page {
  width: min(1380px, 100%);
}

.convergence-preview main {
  padding-block: clamp(44px, 7vh, 84px);
}

.convergence-hero {
  width: 100%;
  text-align: center;
}

.convergence-hero h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(4rem, 7.2vw, 7.5rem);
  line-height: 0.92;
  animation: title-arrive 900ms 250ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.convergence {
  width: min(1120px, 96%);
  margin: clamp(38px, 5vh, 64px) auto clamp(22px, 3vh, 36px);
}

.convergence svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.noise path {
  fill: none;
  stroke: #8f82c7;
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.64;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: signal-arrive 1100ms var(--signal-delay) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.noise path:nth-child(1) { --signal-delay: 950ms; }
.noise path:nth-child(2) { --signal-delay: 1050ms; }
.noise path:nth-child(3) { --signal-delay: 1150ms; }
.noise path:nth-child(4) { --signal-delay: 1250ms; }
.noise path:nth-child(5) { --signal-delay: 1350ms; }

.signal-wordmark {
  fill: var(--ink);
  font-family: var(--body);
  font-size: 68px;
  font-weight: 650;
  letter-spacing: -4px;
  animation: mark-arrive 700ms 1850ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.signal-wordmark tspan {
  fill: var(--clay);
}

.resolved {
  fill: none;
  stroke: #8f82c7;
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.64;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: resolved-arrive 1050ms 2350ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.convergence-preview footer {
  justify-content: space-between;
  padding-top: 0;
  border-top: 0;
  opacity: 0;
  animation: footer-arrive 500ms 2900ms ease-out forwards;
}

@keyframes title-arrive {
  from {
    opacity: 0;
    transform: translateY(-64px);
  }
}

@keyframes signal-arrive {
  from {
    opacity: 0;
    stroke-dashoffset: 1;
    transform: translateX(-54px);
  }
  to {
    opacity: 0.64;
    stroke-dashoffset: 0;
    transform: translateX(0);
  }
}

@keyframes mark-arrive {
  from {
    opacity: 0;
    transform: translateY(-32px);
  }
}

@keyframes resolved-arrive {
  from {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  to {
    opacity: 0.64;
    stroke-dashoffset: 0;
  }
}

@keyframes footer-arrive {
  to { opacity: 1; }
}

@media (max-width: 700px) {
  .convergence-preview main {
    padding-block: 70px;
  }

  .convergence-hero h1 {
    font-size: clamp(3.45rem, 15vw, 5.5rem);
  }

  .convergence {
    width: 115%;
    margin-left: -7.5%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .convergence-hero h1,
  .noise path,
  .signal-wordmark,
  .resolved,
  .convergence-preview footer {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}
