:root {
  --background: #ffffff;
  --foreground: #000000;
  --accent: #ff2d55;
  --widget-start: #00ff88;
  --widget-end: #3cd3fe;
  --section: #d6d6d6;
  --muted: rgba(0, 0, 0, 0.62);
  --line: rgba(0, 0, 0, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-x: hidden;
}

h1,
h2,
.brand-hero,
.brand-mark,
.eyebrow,
.btn,
.top-cta,
.metric-strip,
.wf-value,
.page h2 {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

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

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  background: var(--background);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  font-size: 1.45rem;
}

.top-nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
}

.top-nav a:hover,
.foot-nav a:hover {
  color: var(--accent);
}

.legal-nav,
.foot-nav {
  display: flex;
  gap: 1rem;
}

.top-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.95rem;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  grid-template-columns: 1fr;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-size: clamp(4.2rem, 14vw, 8rem);
  animation: rise 0.9s var(--ease) both;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 5vw, 3.2rem);
  animation: rise 0.9s var(--ease) 0.08s both;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.45;
  animation: rise 0.9s var(--ease) 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s var(--ease) 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.btn.primary {
  background: var(--widget-start);
  color: var(--foreground);
}

.btn.primary:hover {
  filter: brightness(0.96);
}

.btn.ghost {
  background: var(--foreground);
  color: var(--background);
}

.btn.ghost:hover {
  background: var(--accent);
}

.hero-visual {
  animation: rise 1s var(--ease) 0.2s both;
}

.watch-stage {
  position: relative;
  width: min(100%, 24rem);
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-orb {
  position: absolute;
  width: 78%;
  opacity: 0.12;
}

.watch-face {
  position: relative;
  width: min(78%, 16rem);
  aspect-ratio: 0.86;
  padding: 1.35rem 1.15rem 1.1rem;
  border-radius: 2.4rem;
  background: var(--background);
  color: var(--foreground);
  border: 2px solid var(--foreground);
  box-shadow: 0 0 0 10px var(--section);
  display: flex;
  flex-direction: column;
}

.wf-label {
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
}

.wf-value {
  font-size: 4.6rem;
  color: var(--foreground);
}

.wf-sub {
  margin-top: 0.15rem;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
}

.wf-bars {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 3.4rem;
}

.wf-bars i {
  flex: 1;
  display: block;
  border-radius: 999px;
  background: var(--widget-start);
  transform-origin: bottom;
  animation: bar 2.8s var(--ease) infinite alternate;
}

.wf-bars i:nth-child(6) {
  background: var(--accent);
}

.wf-bars i:nth-child(1) { height: 35%; animation-delay: 0s; }
.wf-bars i:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.wf-bars i:nth-child(3) { height: 42%; animation-delay: 0.2s; }
.wf-bars i:nth-child(4) { height: 78%; animation-delay: 0.05s; }
.wf-bars i:nth-child(5) { height: 60%; animation-delay: 0.15s; }
.wf-bars i:nth-child(6) { height: 90%; animation-delay: 0.25s; }
.wf-bars i:nth-child(7) { height: 48%; animation-delay: 0.08s; }
.wf-bars i:nth-child(8) { height: 66%; animation-delay: 0.18s; }

@keyframes bar {
  to {
    transform: scaleY(0.72);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.band,
.split,
.close {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
}

.band:nth-of-type(even) {
  background: var(--section);
  max-width: none;
}

.band:nth-of-type(even) > * {
  max-width: 72rem;
  margin-right: auto;
  margin-left: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: var(--accent);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 14ch;
}

.support {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.45;
}

.metric-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  padding: 0;
  margin: 2.25rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.metric-strip li:nth-child(5) {
  color: var(--accent);
}

.metric-strip li:not(:last-child)::after {
  content: "·";
  margin-left: 1.4rem;
  color: var(--widget-start);
  font-style: normal;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.route-panel {
  border-radius: 1.75rem;
  border: 1px dashed var(--line);
  background: var(--section);
  color: var(--foreground);
  min-height: 14rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.route-line {
  stroke: var(--widget-start);
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}

.reveal.in-view .route-line {
  animation: draw 1.6s var(--ease) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.graph {
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 7rem;
  max-width: 28rem;
}

.graph span {
  flex: 1;
  border-radius: 999px;
  background: var(--widget-start);
  transform-origin: bottom;
  transform: scaleY(0.2);
  opacity: 0.45;
}

.graph span:nth-child(11) {
  background: var(--accent);
}

.reveal.in-view .graph span {
  animation: grow 0.8s var(--ease) forwards;
}

.graph span:nth-child(1) { height: 40%; animation-delay: 0.05s; }
.graph span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.graph span:nth-child(3) { height: 35%; animation-delay: 0.15s; }
.graph span:nth-child(4) { height: 70%; animation-delay: 0.2s; }
.graph span:nth-child(5) { height: 48%; animation-delay: 0.25s; }
.graph span:nth-child(6) { height: 82%; animation-delay: 0.3s; }
.graph span:nth-child(7) { height: 60%; animation-delay: 0.35s; }
.graph span:nth-child(8) { height: 45%; animation-delay: 0.4s; }
.graph span:nth-child(9) { height: 75%; animation-delay: 0.45s; }
.graph span:nth-child(10) { height: 52%; animation-delay: 0.5s; }
.graph span:nth-child(11) { height: 88%; animation-delay: 0.55s; }
.graph span:nth-child(12) { height: 64%; animation-delay: 0.6s; }

@keyframes grow {
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.close {
  max-width: none;
  background: var(--widget-start);
  text-align: left;
}

.close h2,
.close .support {
  color: var(--foreground);
}

.close .support {
  color: rgba(0, 0, 0, 0.72);
}

.close .btn {
  margin-top: 1.75rem;
  background: var(--foreground);
  color: var(--background);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
}

.page {
  max-width: 42rem;
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.25rem, 4vw, 3rem) 5rem;
}

.page h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
}

.page .updated,
.page p,
.page li {
  color: var(--muted);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.5;
}

.page h2 {
  margin: 2rem 0 0.4rem;
  font-size: 1.55rem;
  color: var(--foreground);
}

.page p,
.page ul {
  margin: 0.4rem 0 0;
}

.page a:not(.btn) {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.page a:not(.btn):hover {
  color: var(--accent);
}

.page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 2rem 0 0;
}

.feature-list li {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 1.4rem;
  background: var(--background);
}

.feature-list h2 {
  margin: 0;
  max-width: none;
  font-size: 1.55rem;
}

.feature-list p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.45;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (min-width: 860px) {
  .top-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-bars i,
  .brand-hero,
  .hero h1,
  .lede,
  .cta-row,
  .hero-visual {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.in-view .route-line,
  .reveal.in-view .graph span {
    animation: none;
    stroke-dashoffset: 0;
    transform: none;
    opacity: 1;
  }

  html {
    scroll-behavior: auto;
  }
}
