/* Ironpeak Fitness — website styles.
   One file, no build step. Sections follow the page top to bottom:
   tokens → base → nav/altimeter → hero → manifest → tour → demos →
   features → privacy → download → footer → motion fallbacks. */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------------- tokens */

:root {
  --night-0: #030806;
  --night-1: #06140f;
  --night-2: #0a1d16;
  --night-3: #0f271e;
  --line: rgba(214, 255, 236, 0.09);
  --line-strong: rgba(214, 255, 236, 0.17);
  --text: #eef5f1;
  --text-2: #b9cbc2;
  --text-3: #8aa197;

  --snow: #f2f6f3;
  --ink: #08130e;
  --ink-2: #3a4b43;
  --ink-3: #66766f;
  --ink-line: rgba(8, 19, 14, 0.09);

  /* brand: the logo badge's gradient (ironpeak_logo.dart) */
  --green-hi: #38d08f;
  --green: #1fa76a;
  --green-deep: #0b6644;
  --rock: #04382a;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-text: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------- base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--night-1);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--night-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg use,
.sprite + * svg {
  pointer-events: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

::selection {
  background: var(--green);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* Bilingual page: both languages are in the markup, the inactive one hides. */
html[lang="de"] [data-l="en"],
html[lang="en"] [data-l="de"] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* every icon referenced from the sprite */
svg:has(> use) {
  stroke-width: 2;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--snow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ typography */

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 8.25rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin: 0 0 1.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-hi);
}

.eyebrow__num {
  padding: 0.25em 0.6em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

.lede {
  max-width: 36em;
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  color: var(--text-2);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ pills */

.pill {
  --pill-bg: var(--green);
  --pill-fg: #fff;
  --pill-h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--pill-h);
  padding: 0 24px 0 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-fg);
  font-size: 0.8rem;
  font-weight: 700;
  font-stretch: 115%;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
}

.pill:hover {
  box-shadow: 0 10px 30px -10px rgba(56, 208, 143, 0.55);
}

.pill__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: calc(var(--pill-h) - 14px);
  height: calc(var(--pill-h) - 14px);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.5s var(--ease-out);
}

.pill__icon svg {
  width: 18px;
  height: 18px;
}

.pill:hover .pill__icon {
  transform: rotate(-10deg) scale(1.08);
}

.pill--ghost {
  --pill-bg: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}
.pill--ghost:hover {
  --pill-bg: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.pill--ghost .pill__icon {
  background: rgba(255, 255, 255, 0.08);
}

.pill--dark {
  --pill-bg: var(--ink);
  --pill-fg: var(--snow);
}
.pill--dark .pill__icon {
  background: var(--green);
}
.pill--dark:hover {
  box-shadow: 0 10px 30px -12px rgba(8, 19, 14, 0.6);
}

.pill--sm {
  --pill-h: 42px;
  gap: 10px;
  padding: 0 18px 0 5px;
  font-size: 0.72rem;
}

/* rolling label (letters split by main.js; the readable text stays in .sr-only) */
.roll {
  display: inline-flex;
  overflow: hidden;
  line-height: 1.25;
}
.roll .ch {
  position: relative;
  display: inline-block;
  white-space: pre;
  transition: transform 0.55s var(--ease-out);
  transition-delay: calc(var(--i) * 14ms);
}
.roll .ch::after {
  content: attr(data-c);
  position: absolute;
  left: 0;
  top: 100%;
}
.pill:hover .roll .ch,
.pill:focus-visible .roll .ch {
  transform: translateY(-100%);
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease-out);
}
.textlink:hover,
.textlink:focus-visible {
  background-size: 100% 1px;
}
.textlink svg {
  width: 16px;
  height: 16px;
}

/* -------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  color: var(--text);
  transition: color 0.35s, background-color 0.35s, border-color 0.35s, transform 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(6, 20, 15, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.nav.is-light {
  color: var(--ink);
}
.nav.is-light.is-scrolled {
  background: rgba(242, 246, 243, 0.8);
  border-bottom-color: var(--ink-line);
}

.nav.is-tucked {
  transform: translateY(-100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__logo {
  width: 34px;
  height: 34px;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, background-color 0.2s;
}
.nav__links a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.07);
}
.nav.is-light .nav__links a:hover {
  background: rgba(8, 19, 14, 0.06);
}

.nav__links .nav__links-download {
  display: none;
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.nav.is-light .lang,
.nav.is-light .icon-btn {
  border-color: rgba(8, 19, 14, 0.16);
}
.lang button {
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}
.lang button:hover {
  opacity: 1;
}
.lang button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
  opacity: 1;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: inherit;
  transition: background-color 0.2s;
}
.icon-btn:hover {
  background: rgba(127, 127, 127, 0.12);
}
.icon-btn svg {
  width: 19px;
  height: 19px;
}

.nav__menu {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav__menu span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.nav__menu span:first-child {
  top: 16px;
}
.nav__menu span:last-child {
  top: 23px;
}
.nav.is-open .nav__menu span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav.is-open .nav__menu span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav__menu {
    display: block;
  }
  .nav.is-light .nav__menu {
    border-color: rgba(8, 19, 14, 0.16);
  }
  .nav__cta {
    display: none;
  }
  .nav__tools {
    margin-left: auto;
  }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(6, 20, 15, 0.97);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.4s var(--ease-out), visibility 0.3s;
  }
  .nav.is-light .nav__links {
    background: rgba(242, 246, 243, 0.98);
    border-bottom-color: var(--ink-line);
  }
  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 1;
  }
  .nav.is-light .nav__links a {
    border-bottom-color: var(--ink-line);
  }
  .nav__links a:hover {
    background: none;
  }
  .nav__links .nav__links-download {
    display: block;
    color: var(--green-hi);
    border-bottom: 0;
  }
  .nav.is-light .nav__links .nav__links-download {
    color: var(--green-deep);
  }
  .nav.is-open {
    background: rgba(6, 20, 15, 0.97);
  }
  .nav.is-open.is-light {
    background: rgba(242, 246, 243, 0.98);
  }
}

@media (max-width: 420px) {
  .nav__inner {
    gap: 12px;
  }
  .nav__name {
    display: none;
  }
}

/* -------------------------------------------------- altimeter & progress */

.altimeter {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 0.64rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  transition: color 0.35s;
}
.altimeter.is-light {
  color: var(--ink-3);
}
.altimeter__label,
.altimeter__value,
.altimeter__camp {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.altimeter__value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.altimeter.is-light .altimeter__value {
  color: var(--ink);
}
.altimeter__value b {
  font-weight: 800;
}
.altimeter__track {
  position: relative;
  width: 1px;
  height: 22vh;
  background: currentColor;
  opacity: 0.6;
}
.altimeter__track i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 7px;
  margin: 0 0 -3.5px -3.5px;
  border-radius: 50%;
  background: var(--green-hi);
  box-shadow: 0 0 0 4px rgba(56, 208, 143, 0.18);
}
.altimeter__camp {
  color: var(--green-hi);
}
.altimeter.is-light .altimeter__camp {
  color: var(--green-deep);
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green-hi), var(--green));
  transform: scaleX(0);
  transform-origin: left;
}

@media (min-width: 1180px) {
  html.js .altimeter {
    display: flex;
  }
  html.js .progress {
    display: none;
  }
}

/* ------------------------------------------------------------------ intro */

.intro {
  display: none;
}

html.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--night-0);
  animation: intro-failsafe 0.5s 3.4s forwards;
}

.intro__logo {
  width: clamp(92px, 11vw, 136px);
  height: auto;
  aspect-ratio: 1;
}

.intro__bar {
  position: absolute;
  bottom: 14vh;
  left: 50%;
  width: min(200px, 46vw);
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
  transform: translateX(-50%);
}
.intro__bar i {
  display: block;
  height: 100%;
  background: var(--green-hi);
  transform: scaleX(0);
  transform-origin: left;
  animation: intro-bar 1.1s var(--ease-out) 0.1s forwards;
}

@keyframes intro-bar {
  to {
    transform: scaleX(1);
  }
}
@keyframes intro-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
}

/* scroll room for the climb choreography (main.js) */
html.js:not(.calm) .hero {
  height: 190vh;
}

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 100%, #0f2e23 0%, #08180f 42%, transparent 75%),
    linear-gradient(180deg, var(--night-0) 0%, #05100c 55%, #0a2018 100%);
}

.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__aurora {
  position: absolute;
  inset: 0 -10% 28% -10%;
  background:
    radial-gradient(38% 34% at 28% 74%, rgba(56, 208, 143, 0.2), transparent 70%),
    radial-gradient(34% 30% at 72% 66%, rgba(31, 167, 106, 0.2), transparent 70%),
    radial-gradient(26% 24% at 52% 82%, rgba(64, 200, 190, 0.12), transparent 70%);
  filter: blur(24px);
  animation: aurora 16s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% {
    transform: translate3d(-2%, 1%, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(2%, -2%, 0) scale(1.06);
    opacity: 1;
  }
  100% {
    transform: translate3d(-1%, 0, 0) scale(1.02);
    opacity: 0.85;
  }
}

.hero__ridge {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
}
.hero__ridge--far {
  bottom: 18%;
  height: 34%;
}
.hero__ridge--mid {
  bottom: 6%;
  height: 34%;
}

.hero__title {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--nav-h) + 5.5vh);
  padding: 0 var(--gutter);
  text-align: center;
  will-change: transform;
}

.hero__tag {
  margin: 0 auto 1.4vh;
  font-size: clamp(0.78rem, 1.45vw, 1.35rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.hero__word {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 23vw, 27rem);
  line-height: 0.78;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero__letters {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 35%, #a9e7cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* split by main.js for the rise-in: each letter carries its own gradient */
.hero__letters.is-split {
  background: none;
  perspective: 900px;
}
.hero__letters .lt {
  display: inline-block;
  padding: 0.1em 0 0.05em;
  margin: -0.1em 0 -0.05em;
  background: linear-gradient(180deg, #ffffff 35%, #a9e7cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -42vh;
  height: calc(60% + 42vh);
  pointer-events: none;
  transform-origin: 50% 100%;
}

.hero__peak {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 42vh);
  max-width: none;
}

.hero__base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(42vh + 2px);
  background: var(--night-1);
}

.hero__glint {
  position: absolute;
  left: 40%;
  top: 0;
  width: 30px;
  height: 30px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  animation: glint 6s 2.6s infinite;
}

@keyframes glint {
  0%,
  80%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
  }
  87% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(45deg);
  }
  95% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotate(90deg);
  }
}

.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px 48px;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter) max(26px, env(safe-area-inset-bottom));
}

.hero__foot::before {
  content: "";
  position: absolute;
  top: -14vh;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 20, 15, 0) 0%, rgba(6, 20, 15, 0.55) 45%, rgba(6, 20, 15, 0.8) 100%);
  pointer-events: none;
}

.hero__lead .hero__platforms {
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-hi);
}

.hero__lead p {
  max-width: 31em;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  color: var(--text-2);
}

.release-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 29, 22, 0.6);
  font-size: 0.8rem;
  text-decoration: none;
  transition: border-color 0.2s;
}
.release-chip:hover {
  border-color: var(--green-hi);
}
.release-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-hi);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 208, 143, 0.6);
  }
  80%,
  100% {
    box-shadow: 0 0 0 8px rgba(56, 208, 143, 0);
  }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  font-size: 0.7rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-3);
}

.hero__scroll-line {
  position: relative;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}
.hero__scroll-line i {
  position: absolute;
  inset: 0;
  background: var(--green-hi);
  animation: scrollcue 2.2s var(--ease-out) infinite;
}
@keyframes scrollcue {
  0% {
    transform: translateX(-100%);
  }
  60%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 760px) {
  .hero__title {
    top: calc(var(--nav-h) + 4vh);
  }
  .hero__word {
    font-size: 26vw;
  }
  /* one big peak, cropped from a wider drawing so it keeps the design's
     1600:900 proportions instead of being squeezed into a narrow screen */
  .hero__front {
    height: calc(60% + 42vh);
  }
  .hero__peak {
    left: -42vw;
    width: 230vw;
  }
  .hero__glint {
    left: 50%;
  }
  .hero__scroll {
    display: none;
  }
  .hero__ridge--far {
    bottom: 24%;
    height: 30%;
  }
  .hero__ridge--mid {
    bottom: 12%;
    height: 32%;
  }
  .hero__foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .hero__ctas .pill {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
}

@media (max-height: 640px) and (min-width: 761px) {
  .hero__word {
    font-size: min(23vw, 36vh);
  }
}

/* --------------------------------------------------------------- manifest */

.manifest {
  position: relative;
  z-index: 2;
  padding: 16vh 0 14vh;
  background: var(--night-1);
}

html.js:not(.calm) .manifest {
  margin-top: -55vh;
  padding-top: 22vh;
  background: linear-gradient(180deg, rgba(6, 20, 15, 0) 0, var(--night-1) 34vh);
}

.manifest__text {
  max-width: 21em;
  margin: 0 0 13vh;
  font-size: clamp(1.75rem, 3.9vw, 3.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}

.manifest__text .w {
  display: inline-block;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.stat {
  padding: 30px 24px 0 0;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7.4vw, 7rem);
  font-weight: 800;
  line-height: 0.88;
  font-variant-numeric: tabular-nums;
}

.stat dd {
  max-width: 14em;
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--text-3);
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }
  .stat,
  .stat + .stat {
    padding: 22px 16px 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stat:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------------- tour */

.tour {
  padding: 12vh 0 8vh;
  background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 22%, var(--night-2) 78%, var(--night-1) 100%);
}

.tour__head {
  margin-bottom: 4vh;
}

.tour__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 7vw, 128px);
  align-items: start;
}

.chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92vh;
  max-width: 35em;
  padding: 8vh 0;
}

.chapter__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.74rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-hi);
}
.chapter__tab svg {
  width: 18px;
  height: 18px;
}

.chapter__title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
}

.chapter__body {
  margin-bottom: 22px;
  font-size: 1.08rem;
  color: var(--text-2);
  text-wrap: pretty;
}

.chapter__callout {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(56, 208, 143, 0.24);
  border-radius: 18px;
  background: rgba(56, 208, 143, 0.07);
  font-size: 0.98rem;
}
.chapter__callout svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--green-hi);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-2);
}

.chapter__shot {
  display: none;
}

.tour__device {
  position: sticky;
  top: calc(var(--nav-h) + 4vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 6vh;
}

.tour__bignum {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(14rem, 30vw, 34rem);
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 255, 236, 0.1);
  transform: translate(-50%, -54%);
  pointer-events: none;
  user-select: none;
}

.phone {
  --w: min(330px, 25vw, 36vh);
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #33463e 0%, #0d1411 38%, #18241f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 50px 90px -30px rgba(0, 0, 0, 0.75),
    0 0 140px -20px rgba(56, 208, 143, 0.28);
}

.phone__screen {
  position: relative;
  aspect-ratio: 1206 / 2622;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.135);
  background: #f5f5f7;
}

.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s var(--ease-out), transform 1s var(--ease-out);
}
.phone__screen img.is-active {
  opacity: 1;
  transform: none;
}

.tour__dots {
  display: flex;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.66rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tour__dots li {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.3s;
}
.tour__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tour__dots li.is-active {
  color: var(--green-hi);
}

@media (max-width: 960px) {
  .tour__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .tour__device {
    display: none;
  }
  .chapter {
    min-height: 0;
    padding: 6vh 0;
  }
  .chapter__shot {
    display: block;
    margin-top: 34px;
  }
}

html.no-js .tour__device {
  display: none;
}
html.no-js .tour__body {
  grid-template-columns: minmax(0, 1fr);
}
html.no-js .chapter {
  min-height: 0;
}
html.no-js .chapter__shot {
  display: block;
  margin-top: 34px;
}

.chapter__shot img {
  width: min(300px, 68vw);
  height: auto;
  border: 7px solid #18241f;
  border-radius: 36px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 90px -20px rgba(56, 208, 143, 0.25);
}

/* ------------------------------------------------------------------ demos */

.demo {
  padding: 14vh 0 16vh;
  background: var(--night-1);
}

.demo__head {
  margin-bottom: 7vh;
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--night-3) 0%, var(--night-2) 100%);
}

.card--plates {
  grid-column: span 7;
}
.card--strength {
  grid-column: span 5;
}
.card--muscles {
  grid-column: 1 / -1;
}

/* wide screens: the muscle map's controls on the left, big figures right */
@media (min-width: 1101px) {
  .card--muscles {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto auto auto auto 1fr;
    gap: 22px 48px;
    align-items: start;
  }
  .card--muscles .card__head { grid-area: 1 / 1; }
  .card--muscles .card__lede { grid-area: 2 / 1; }
  .card--muscles .chips { grid-area: 3 / 1; }
  .card--muscles .muscle-list { grid-area: 4 / 1; }
  .card--muscles .heat-scale { grid-area: 5 / 1; }
  .card--muscles .card__note { grid-area: 6 / 1; align-self: end; }
  .card--muscles .bodies { grid-area: 1 / 2 / 7 / 3; }
}

@media (max-width: 1100px) {
  .card--plates,
  .card--strength {
    grid-column: 1 / -1;
  }
}

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(56, 208, 143, 0.12);
  color: var(--green-hi);
}
.card__icon svg {
  width: 21px;
  height: 21px;
}
.card__src {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  white-space: nowrap;
}
.card__lede {
  max-width: 34em;
  color: var(--text-2);
}
.card__note {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-3);
}

@media (max-width: 520px) {
  .card__src {
    display: none;
  }
}

/* form controls shared by the demos */

.field {
  min-width: 0;
}

.field__label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.7rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.field__row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.num:focus-within {
  border-color: var(--green-hi);
  box-shadow: 0 0 0 3px rgba(56, 208, 143, 0.22);
}
.num input {
  width: 5.4ch;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.12rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  -moz-appearance: textfield;
  appearance: textfield;
}
.num input::-webkit-outer-spin-button,
.num input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.num__unit {
  font-size: 0.85rem;
  color: var(--text-3);
}

.range {
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  --fill: 30%;
}
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green-hi) var(--fill), rgba(255, 255, 255, 0.12) var(--fill));
}
.range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green-hi) var(--fill), rgba(255, 255, 255, 0.12) var(--fill));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border: 4px solid var(--night-1);
  border-radius: 50%;
  background: var(--snow);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid var(--night-1);
  border-radius: 50%;
  background: var(--snow);
}
.range:focus-visible {
  outline: none;
}
.range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--green-hi);
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.seg legend {
  float: left;
  width: 100%;
}
.seg label {
  position: relative;
  display: inline-flex;
}
.seg input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg input + span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.seg input:hover + span {
  border-color: var(--text-3);
}
.seg input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.seg input:focus-visible + span {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

/* plate calculator */

.plates__viz {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(56, 208, 143, 0.1), transparent 70%),
    #08160f;
}

.plates__svg {
  width: 100%;
  height: auto;
}
.plates__sleeve {
  fill: #b7c1bd;
}
.plates__bar {
  fill: #7f8c87;
}
.plates__collar {
  fill: #dfe6e2;
}
.plate {
  stroke: rgba(0, 0, 0, 0.35);
  stroke-width: 1;
}

.plates__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: end;
}

@media (max-width: 640px) {
  .plates__controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

.plates__out {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.plates__label {
  font-size: 0.7rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.plates__list {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.plates__total {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.plates__hint {
  flex-basis: 100%;
  font-size: 0.86rem;
  color: #ffd29a;
}

/* muscle map */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips button {
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chips button:hover {
  border-color: var(--text-3);
}
.chips button[aria-checked="true"] {
  border-color: var(--snow);
  background: var(--snow);
  color: var(--ink);
}

.bodies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 18px 12px 10px;
  border-radius: 22px;
  background: #f4f4f7;
}

.body {
  margin: 0;
  text-align: center;
}
.body svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 724 / 1448;
}
.body figcaption {
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6f76;
}

.body .base {
  fill: #c9cdd3;
  stroke: #5b5f66;
  stroke-width: 3.6;
  stroke-linejoin: round;
}
.body .m {
  fill: #edeff2;
  stroke: rgba(91, 95, 102, 0.45);
  stroke-width: 2.5;
  stroke-linejoin: round;
  transition: fill 0.7s var(--ease-out);
}

.muscle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.muscle-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}
.muscle-list i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.muscle-list b {
  font-variant-numeric: tabular-nums;
}

.heat-scale {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  color: var(--text-3);
}
.heat-scale i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #edeff2 0%, #ff8a80 50%, #9a1212 100%);
}

/* strength level */

.seg--wide {
  gap: 6px;
}

.strength__inputs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px 22px;
}

.level {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}
.level__name {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--green-hi);
}
.level__bar {
  height: 8px;
  margin: 16px 0 10px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.level__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-hi));
  transition: width 0.7s var(--ease-out);
}
.level__meta {
  font-size: 0.94rem;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.level__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.level__steps li {
  padding-top: 9px;
  border-top: 3px solid rgba(255, 255, 255, 0.1);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text-3);
  transition: border-color 0.4s, color 0.4s;
}
/* the level name is already shown big; the step labels only fit wide cards */
.level {
  container-type: inline-size;
}
@container (max-width: 620px) {
  .level__steps li {
    font-size: 0;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .strength__inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .strength__inputs .seg {
    grid-column: 1 / -1;
  }
}

.level__steps li.is-done {
  border-color: var(--green);
  color: var(--text-2);
}
.level__steps li.is-on {
  border-color: var(--green-hi);
  color: var(--green-hi);
}

/* --------------------------------------------------------------- features */

.gear {
  padding: 14vh 0 0;
  overflow: hidden;
  background: var(--night-1);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 7vh 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--line);
}

.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 28px 26px 30px;
  background: var(--night-1);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 208, 143, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.tile:hover::before {
  opacity: 1;
}
.tile svg {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
  color: var(--green-hi);
  stroke-width: 1.7;
}
.tile h3 {
  margin: 22px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.tile p {
  font-size: 0.92rem;
  color: var(--text-3);
}

@media (max-width: 1100px) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile {
    min-height: 0;
  }
  .tile svg {
    margin-bottom: 0;
  }
  .tile h3 {
    margin-top: 6px;
  }
}

.marquee {
  display: grid;
  gap: 14px;
  padding: 12vh 0 14vh;
}

.marquee__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 86%, transparent 97%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 86%, transparent 97%);
}

.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee__row--rev .marquee__track {
  animation-direction: reverse;
}
.marquee__row:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track > span {
  padding: 10px 26px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-2);
}
.marquee__row--rev .marquee__track > span {
  color: var(--text-3);
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

/* until main.js has doubled the tracks for a seamless loop, just wrap */
html:not(.marquee-ready) .marquee__track {
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  padding: 0 var(--gutter);
  animation: none;
}
html:not(.marquee-ready) .marquee__row {
  -webkit-mask-image: none;
  mask-image: none;
}

/* ---------------------------------------------------------------- privacy */

.privacy {
  position: relative;
  overflow: hidden;
  padding: 16vh 0 34vh;
  background: linear-gradient(180deg, var(--night-1) 0%, #0a1b24 24%, #1f2541 46%, #57385a 64%, #b5626a 78%, #f2a27f 90%, #f8d6b4 100%);
}

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

.privacy__sun {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  width: min(70vmin, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7e3 0%, #ffd9a0 22%, rgba(255, 170, 110, 0.55) 42%, rgba(255, 140, 100, 0) 70%);
  transform: translate(-50%, 30%);
}

.privacy__ridge {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 24vh;
  max-width: none;
  fill: var(--snow);
}

.privacy__inner {
  position: relative;
}

.privacy .display {
  max-width: 13em;
}

.zeros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 9vh 0 8vh;
  padding: 0;
  list-style: none;
}
.zeros li {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.zeros b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9.5vw, 9.5rem);
  font-weight: 800;
  line-height: 0.84;
  white-space: nowrap;
}
.zeros span {
  font-size: 0.95rem;
  color: var(--text-2);
}

.privacy__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 48px;
  max-width: 1100px;
  font-size: 1.06rem;
  color: #e7ecf3;
}

@media (max-width: 760px) {
  .zeros {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .privacy__cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------- download */

.summit {
  position: relative;
  padding: 6vh 0 14vh;
  background: var(--snow);
  color: var(--ink);
}

.summit .eyebrow,
.foot .eyebrow {
  color: var(--green-deep);
}
.summit .eyebrow__num {
  border-color: rgba(8, 19, 14, 0.16);
  color: var(--ink-3);
}

.summit__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 14.5vw, 15.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.summit .lede {
  color: var(--ink-2);
}

.summit__version {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.summit__version b {
  color: var(--ink);
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 7vh 0 0;
  padding: 0;
  list-style: none;
}

.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 24px;
  border: 1px solid var(--ink-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(8, 19, 14, 0.03), 0 24px 50px -34px rgba(8, 19, 14, 0.35);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
}
.platform:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(8, 19, 14, 0.03), 0 34px 60px -30px rgba(8, 19, 14, 0.4);
}
.platform.is-yours {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 30px 60px -30px rgba(11, 102, 68, 0.45);
}

.platform__icon {
  width: 34px;
  height: 34px;
  color: var(--green-deep);
  stroke-width: 1.6;
}
.platform h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.platform p {
  flex: 1;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.platform__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 6px;
}
.platform__size {
  font-size: 0.78rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.platform__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green);
  font-size: 0.64rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.platform.is-yours .platform__badge {
  display: block;
}

@media (max-width: 1180px) {
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .platforms {
    grid-template-columns: minmax(0, 1fr);
  }
}

.summit__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 5vh;
}

/* ----------------------------------------------------------------- footer */

.foot {
  overflow: hidden;
  padding: 2vh 0 4vh;
  border-top: 1px solid var(--ink-line);
  background: var(--snow);
  color: var(--ink);
}

.foot__word {
  margin: calc(4vh - 0.12em) 0 calc(7vh - 0.06em);
  padding: 0.12em 0 0.06em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 24.5vw, 26rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.01em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(8, 19, 14, 0.16);
  /* main.js scrubs the position so the outline fills with green */
  background: linear-gradient(90deg, var(--green) 0 50%, transparent 50% 100%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  white-space: nowrap;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.foot__logo {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}
.foot__brand p {
  max-width: 26em;
  color: var(--ink-2);
}
.foot__top {
  margin-top: 20px;
}

.foot__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__col h4 {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot__col > a {
  align-self: flex-start;
  text-decoration: none;
}
.foot__col > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.foot__credits p {
  font-size: 0.86rem;
  color: var(--ink-2);
}
.foot__credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 7vh;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.8rem;
  color: var(--ink-3);
}

@media (max-width: 960px) {
  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ----------------------------------------------------- motion & fallbacks */

/* Hero pieces wait for main.js to animate them in. If it never runs, the
   failsafe animation shows them after 3s anyway. */
html.js:not(.calm):not(.ready) [data-hero-in],
html.js:not(.calm):not(.ready) [data-hero-letters] {
  opacity: 0;
  animation: failsafe-show 0.01s 3s forwards;
}
@keyframes failsafe-show {
  to {
    opacity: 1;
  }
}

html.calm .hero__aurora,
html.calm .hero__glint,
html.calm .release-chip i,
html.calm .hero__scroll-line i {
  animation: none;
}

html.calm *,
html.calm *::before,
html.calm *::after {
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

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

@media (prefers-reduced-motion: no-preference) {
  html.no-js {
    scroll-behavior: smooth;
  }
}
