:root {
  color-scheme: dark;
  --bg: #08101f;
  --deep: #050a14;
  --panel: #111b30;
  --panel-raised: #16223b;
  --panel-soft: #1b2945;
  --ink: #f7f8fc;
  --muted: #a7b3ca;
  --dim: #7583a0;
  --line: rgba(143, 168, 216, 0.18);
  --line-strong: rgba(143, 168, 216, 0.3);
  --amber: #f6ad38;
  --blue: #5e87ff;
  --coral: #ff6678;
  --mint: #4dd4ad;
  --teal: #24c6c8;
  --purple: #9b7cff;
  --shell: 1180px;
  --radius: 28px;
  --small-radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 7%, rgba(94, 135, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 8% 42%, rgba(246, 173, 56, 0.08), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--amber);
  color: var(--deep);
  padding: 10px 16px;
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 31, 0.86);
  padding-inline: max(24px, calc((100vw - var(--shell)) / 2));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand strong {
  color: var(--amber);
}

.brand-waves,
.mini-waves {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-waves {
  width: 40px;
  height: 40px;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--panel-soft), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-waves i,
.mini-waves i {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: var(--amber);
  transform: rotate(12deg);
}

.brand-waves i:first-child,
.mini-waves i:first-child {
  height: 20px;
}

.brand-waves i:last-child,
.mini-waves i:last-child {
  height: 13px;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.site-header nav a {
  border-radius: 999px;
  color: var(--muted);
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 720;
  white-space: nowrap;
}

.site-header nav a:hover {
  background: var(--panel);
  color: var(--ink);
}

.site-header .network-link {
  border: 1px solid rgba(246, 173, 56, 0.4);
  color: var(--amber);
}

.hero {
  display: grid;
  min-height: 730px;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(46px, 7vw, 90px);
  padding-block: 84px 56px;
}

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

.status-pill,
.eyebrow,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 850;
}

.status-pill {
  display: inline-flex;
  margin: 0 0 23px;
  border: 1px solid rgba(77, 212, 173, 0.25);
  border-radius: 999px;
  background: rgba(77, 212, 173, 0.08);
  color: var(--mint);
  padding: 8px 13px;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 7.2vw, 6.4rem);
  font-weight: 900;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

h1 em {
  display: block;
  background: linear-gradient(100deg, var(--amber) 8%, #ffd27a 42%, var(--blue) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-intro {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.privacy-actions,
.release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 12px 18px;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--amber);
  background: var(--amber);
  color: #101827;
  box-shadow: 0 14px 34px rgba(246, 173, 56, 0.2);
}

.button.secondary {
  background: rgba(17, 27, 48, 0.82);
}

.trust-strip {
  display: grid;
  margin: 40px 0 0;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--small-radius);
  background: rgba(17, 27, 48, 0.66);
  padding: 0;
  list-style: none;
}

.trust-strip li {
  padding: 18px;
}

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

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 3px;
  font-size: 0.87rem;
}

.trust-strip span {
  color: var(--dim);
  font-size: 0.74rem;
}

.system-orbit {
  position: relative;
  width: min(100%, 525px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(94, 135, 255, 0.18);
  border-radius: 50%;
}

.orbit-ring.ring-one {
  inset: 7%;
  box-shadow: 0 0 80px rgba(94, 135, 255, 0.09);
}

.orbit-ring.ring-two {
  inset: 22%;
  border-color: rgba(246, 173, 56, 0.2);
  border-style: dashed;
}

.orbit-ring.ring-three {
  inset: 37%;
  border-color: rgba(77, 212, 173, 0.18);
}

.orbit-core,
.orbit-tile {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(27, 41, 69, 0.98), rgba(11, 20, 37, 0.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.orbit-core {
  inset: 34%;
  border-color: rgba(246, 173, 56, 0.36);
  border-radius: 32%;
}

.mini-waves i {
  width: 9px;
}

.mini-waves i:first-child {
  height: 38px;
}

.mini-waves i:last-child {
  height: 25px;
}

.orbit-tile {
  width: 26%;
  aspect-ratio: 1;
  border-radius: 28%;
  text-align: center;
}

.orbit-tile b {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.orbit-tile span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.tile-today {
  top: 0;
  left: 37%;
  color: var(--amber);
}

.tile-training {
  top: 34%;
  left: 0;
  color: var(--blue);
}

.tile-nutrition {
  top: 34%;
  right: 0;
  color: var(--mint);
}

.tile-climbing {
  bottom: 1%;
  left: 14%;
  color: var(--amber);
}

.tile-hangboard {
  right: 14%;
  bottom: 1%;
  color: var(--purple);
}

.principles {
  border-block: 1px solid var(--line);
  background: rgba(5, 10, 20, 0.42);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid article {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
}

.principle-grid article + article {
  border-left: 1px solid var(--line);
}

.principle-grid article > span {
  display: grid;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  background: rgba(94, 135, 255, 0.12);
  color: var(--blue);
}

.principle-grid article:nth-child(2) > span {
  background: rgba(246, 173, 56, 0.12);
  color: var(--amber);
}

.principle-grid article:nth-child(3) > span {
  background: rgba(77, 212, 173, 0.11);
  color: var(--mint);
}

.principle-grid strong,
.principle-grid small {
  display: block;
}

.principle-grid small {
  margin-top: 3px;
  color: var(--dim);
}

.section {
  padding-block: 88px;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 40px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px 50px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.eyebrow,
.card-label {
  margin-bottom: 10px;
  color: var(--amber);
}

.eyebrow.blue {
  color: var(--blue);
}

.eyebrow.mint {
  color: var(--mint);
}

.eyebrow.coral {
  color: var(--coral);
}

.eyebrow.amber {
  color: var(--amber);
}

.section-heading h2,
.feedback-layout h2,
.nutrition-layout h2,
.climbing-layout h2,
.hangboard-section h2,
.privacy-heading h2,
.release-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

.section-heading > p:last-child,
.feedback-layout > div:first-child > p:not(.eyebrow):not(.illustration-note),
.nutrition-layout > div:last-child > p,
.climbing-layout > div:first-child > p,
.hangboard-copy > p,
.privacy-heading > p:last-child,
.release-section > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.story-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(22, 34, 59, 0.96), rgba(12, 21, 39, 0.96));
  padding: 28px;
}

.story-card::after {
  position: absolute;
  right: -60px;
  bottom: -75px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(94, 135, 255, 0.1);
  content: "";
  filter: blur(7px);
}

.nutrition-card::after {
  background: rgba(77, 212, 173, 0.1);
}

.climbing-card::after {
  background: rgba(246, 173, 56, 0.11);
}

.story-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 16px;
  background: rgba(94, 135, 255, 0.13);
  color: var(--blue);
  font-size: 1.4rem;
}

.nutrition-card .story-icon {
  background: rgba(77, 212, 173, 0.11);
  color: var(--mint);
}

.climbing-card .story-icon {
  background: rgba(246, 173, 56, 0.12);
  color: var(--amber);
}

.story-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.story-card p:not(.card-label) {
  color: var(--muted);
  font-size: 0.93rem;
}

.story-card ul,
.tick-list {
  position: relative;
  z-index: 2;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.story-card li,
.tick-list li {
  position: relative;
  margin-top: 11px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.story-card li::before,
.tick-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.training-feedback,
.climbing-section,
.privacy-section {
  border-block: 1px solid var(--line);
  background: rgba(5, 10, 20, 0.48);
}

.feedback-layout,
.nutrition-layout,
.climbing-layout,
.hangboard-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 7vw, 90px);
}

.illustration-note,
.safety-note {
  border-left: 3px solid var(--blue);
  margin: 24px 0 0;
  color: var(--dim);
  padding-left: 15px;
  font-size: 0.84rem;
}

.effort-demo,
.nutrition-visual,
.route-demo,
.timer-demo {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(24, 38, 64, 0.98), rgba(10, 18, 34, 0.98));
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.effort-demo {
  background:
    radial-gradient(circle at 50% 42%, rgba(77, 212, 173, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(24, 38, 64, 0.98), rgba(10, 18, 34, 0.98));
}

.demo-head,
.nutrition-head,
.route-demo-head,
.timer-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-head b,
.route-demo-head b,
.nutrition-head small,
.timer-label small {
  border-radius: 999px;
  background: rgba(246, 173, 56, 0.12);
  color: var(--amber);
  padding: 6px 9px;
  font-size: 0.65rem;
}

.effort-demo h3 {
  margin: 27px 0 4px;
  font-size: 1.35rem;
}

.effort-demo > p {
  color: var(--muted);
}

.effort-options {
  display: grid;
  margin: 24px 0;
  gap: 9px;
}

.effort-options span {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(41, 55, 84, 0.82);
  padding: 11px 14px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 730;
}

.effort-options span:nth-child(2) {
  border-color: rgba(77, 212, 173, 0.48);
  background: linear-gradient(90deg, rgba(77, 212, 173, 0.28), rgba(77, 212, 173, 0.13));
}

.exercise-row {
  display: grid;
  align-items: center;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 15px;
}

.exercise-row i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(246, 173, 56, 0.11);
  color: var(--amber);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 850;
}

.exercise-row b,
.exercise-row small {
  display: block;
}

.exercise-row small,
.exercise-row em {
  color: var(--dim);
  font-size: 0.75rem;
}

.exercise-row em {
  font-style: normal;
}

.nutrition-layout {
  grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
}

.macro-orbits {
  display: grid;
  margin-block: 28px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.macro {
  --macro-colour: var(--coral);
  --macro-fill: 64%;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--macro-colour) var(--macro-fill), rgba(255, 255, 255, 0.08) 0);
}

.macro::before {
  grid-area: 1 / 1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--panel-raised);
  content: "";
}

.macro span {
  z-index: 1;
  grid-area: 1 / 1;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 820;
}

.macro.mint {
  --macro-colour: var(--mint);
  --macro-fill: 86%;
}

.macro.teal {
  --macro-colour: var(--teal);
  --macro-fill: 54%;
}

.macro.amber {
  --macro-colour: var(--amber);
  --macro-fill: 34%;
}

.meal-action {
  display: grid;
  align-items: center;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  border-radius: 17px;
  background: var(--amber);
  color: var(--deep);
  padding: 15px;
}

.meal-action > span {
  font-size: 1.35rem;
}

.meal-action b,
.meal-action small {
  display: block;
}

.meal-action small {
  opacity: 0.72;
}

.meal-action i {
  font-style: normal;
  font-size: 1.8rem;
}

.mini-list {
  display: grid;
  margin-top: 11px;
  gap: 9px;
}

.mini-list span {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(8, 16, 31, 0.55);
  color: var(--muted);
  padding: 11px 14px;
  font-size: 0.82rem;
}

.safety-note {
  border-color: var(--amber);
}

.climbing-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.climbing-details {
  display: grid;
  margin-top: 30px;
  gap: 13px;
}

.climbing-details article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
}

.climbing-details article > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(246, 173, 56, 0.11);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 850;
}

.climbing-details h3 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.climbing-details p {
  margin: 0;
  color: var(--dim);
  font-size: 0.86rem;
}

.route-step {
  margin-top: 11px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 15px;
  background: rgba(8, 16, 31, 0.55);
  padding: 13px 15px;
}

.route-step.blue-step {
  border-left-color: var(--blue);
}

.route-step.purple-step {
  border-left-color: var(--purple);
}

.route-step small,
.route-step strong {
  display: block;
}

.route-step small {
  color: var(--dim);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-step strong {
  overflow: hidden;
  margin-top: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-status {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.route-status > span {
  border-radius: 14px;
  background: rgba(8, 16, 31, 0.62);
  padding: 13px;
  text-align: center;
}

.route-status small,
.route-status b {
  display: block;
}

.route-status small {
  color: var(--dim);
  font-size: 0.68rem;
}

.route-status b {
  margin-top: 2px;
  color: var(--amber);
}

.effort-scale {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.effort-scale span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--panel-soft);
  color: var(--muted);
  padding: 5px;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 800;
}

.effort-scale span:nth-child(2) {
  background: var(--amber);
  color: var(--deep);
}

.hangboard-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
}

.timer-demo {
  position: relative;
  overflow: hidden;
}

.timer-demo::after {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(246, 173, 56, 0.09);
  content: "";
}

.timer-ring {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(62%, 250px);
  aspect-ratio: 1;
  margin: 24px auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--amber) 32%, rgba(255, 255, 255, 0.08) 0);
}

.timer-ring::before {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--panel-raised);
  content: "";
}

.timer-ring > span {
  position: relative;
  text-align: center;
}

.timer-ring b,
.timer-ring small {
  display: block;
}

.timer-ring b {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  letter-spacing: 0.05em;
}

.timer-ring small {
  color: var(--amber);
}

.interval-row {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.interval-row i {
  height: 2px;
  background: var(--line-strong);
}

.interval-row .work {
  color: var(--amber);
}

.timer-facts {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.timer-facts span {
  border-radius: 11px;
  background: rgba(8, 16, 31, 0.58);
  color: var(--dim);
  padding: 9px;
  text-align: center;
  font-size: 0.7rem;
}

.privacy-heading {
  display: grid;
  align-items: end;
  margin-bottom: 38px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10px 50px;
}

.privacy-heading .eyebrow {
  grid-column: 1 / -1;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.data-grid article {
  min-height: 205px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(22, 34, 59, 0.94), rgba(12, 21, 39, 0.94));
  padding: 24px;
}

.data-grid article > span {
  display: block;
  margin-bottom: 25px;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.data-grid article:nth-child(2n) > span {
  color: var(--mint);
}

.data-grid article:nth-child(3n) > span {
  color: var(--amber);
}

.data-grid h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.data-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.privacy-actions {
  margin-top: 28px;
}

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

.release-section h2 {
  max-width: 900px;
  margin-inline: auto;
}

.release-section > p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px auto 0;
}

.release-links {
  justify-content: center;
  margin-top: 28px;
}

.release-links a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  padding: 5px 2px;
  font-weight: 720;
}

.release-links a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

footer {
  display: grid;
  width: min(calc(100% - 48px), var(--shell));
  align-items: center;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  border-top: 1px solid var(--line);
  padding-block: 38px 50px;
}

.footer-brand {
  font-size: 0.96rem;
}

footer > div > p {
  margin: 8px 0 0;
  color: var(--dim);
  font-size: 0.84rem;
}

footer nav {
  display: flex;
  gap: 18px;
}

footer nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

footer nav a:hover {
  color: var(--amber);
}

footer > small {
  grid-column: 1 / -1;
  color: var(--dim);
  font-size: 0.75rem;
}

@media (max-width: 1000px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 14px;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .system-orbit {
    width: min(100%, 500px);
  }

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

  .story-card:last-child {
    grid-column: 1 / -1;
  }

  .feedback-layout,
  .nutrition-layout,
  .climbing-layout,
  .hangboard-section {
    grid-template-columns: 1fr;
  }

  .nutrition-visual {
    order: 2;
  }

  .nutrition-layout > div:last-child {
    order: 1;
  }

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

@media (max-width: 720px) {
  .shell,
  footer {
    width: min(calc(100% - 30px), var(--shell));
  }

  .site-header {
    position: relative;
    padding-inline: 15px;
  }

  .site-header nav a {
    padding-inline: 9px;
    font-size: 0.79rem;
  }

  .hero {
    padding-block: 54px 42px;
  }

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

  .hero-actions,
  .privacy-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .principle-grid,
  .story-grid,
  .section-heading,
  .privacy-heading,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip li + li,
  .principle-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .story-card:last-child {
    grid-column: auto;
  }

  .section {
    padding-block: 62px;
  }

  .section-heading,
  .privacy-heading {
    align-items: start;
    gap: 16px;
  }

  .section-heading .eyebrow,
  .privacy-heading .eyebrow {
    grid-column: auto;
  }

  .feedback-layout,
  .nutrition-layout,
  .climbing-layout,
  .hangboard-section {
    gap: 34px;
  }

  .macro-orbits {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  footer nav {
    flex-wrap: wrap;
  }

  footer > small {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .shell,
  footer {
    width: min(calc(100% - 24px), var(--shell));
  }

  .brand {
    font-size: 0.98rem;
  }

  .status-pill {
    font-size: 0.63rem;
  }

  .system-orbit {
    width: 320px;
  }

  .orbit-tile b {
    font-size: 1.25rem;
  }

  .orbit-tile span {
    font-size: 0.55rem;
  }

  .principle-grid article,
  .story-card,
  .effort-demo,
  .nutrition-visual,
  .route-demo,
  .timer-demo,
  .data-grid article {
    border-radius: 21px;
    padding: 21px;
  }

  .story-card {
    min-height: auto;
  }

  .exercise-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .exercise-row em {
    display: none;
  }

  .effort-scale span {
    font-size: 0.58rem;
  }

  .timer-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

@media print {
  body {
    background: #fff;
    color: #111827;
  }

  .site-header,
  .system-orbit,
  .button {
    display: none;
  }

  .story-card,
  .effort-demo,
  .nutrition-visual,
  .route-demo,
  .timer-demo,
  .data-grid article {
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: none;
  }
}
