:root {
  color-scheme: dark;
  --deep: #100a12;
  --background: #171019;
  --surface: #1d141f;
  --surface-high: #2d1e30;
  --surface-pressed: #38243b;
  --bone: #fffaf4;
  --bone-soft: #e8dcd6;
  --muted: #cdbfc0;
  --quiet: #aa9ba2;
  --coral: #ff8476;
  --coral-high: #ffa194;
  --orchid: #d9b9e7;
  --sage: #afcdb8;
  --amber: #f0c58e;
  --danger: #f47c88;
  --line: rgba(248, 239, 231, 0.11);
  --line-strong: rgba(248, 239, 231, 0.21);
  --page: 75rem;
  --reading: 72ch;
  --radius-sm: 0.875rem;
  --radius-md: 1.25rem;
  --radius-lg: clamp(1.75rem, 3vw, 2.5rem);
  --shadow: 0 2rem 6rem rgba(3, 1, 4, 0.34);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  background: var(--deep);
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 5%, rgba(255, 132, 118, 0.14), transparent 26rem),
    radial-gradient(circle at 8% 38%, rgba(217, 185, 231, 0.08), transparent 30rem),
    linear-gradient(180deg, var(--background), var(--deep) 34rem, var(--deep));
  color: var(--bone);
  font-size: 1rem;
  line-height: 1.6;
}

body::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: min(100%, 92rem);
  height: 70rem;
  background:
    radial-gradient(ellipse at 18% 4%, rgba(255, 250, 244, 0.13), transparent 19rem),
    radial-gradient(ellipse at 86% 22%, rgba(255, 132, 118, 0.2), transparent 22rem),
    radial-gradient(ellipse at 54% 48%, rgba(217, 185, 231, 0.08), transparent 31rem),
    linear-gradient(180deg, rgba(16, 10, 18, 0.1), rgba(16, 10, 18, 0.86) 72%, var(--deep));
  content: "";
  opacity: 0.48;
  pointer-events: none;
  transform: translateX(-50%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--coral-high);
}

:focus-visible {
  outline: 0.1875rem solid var(--coral-high);
  outline-offset: 0.25rem;
}

::selection {
  background: var(--coral);
  color: var(--deep);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--bone);
  color: var(--deep);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform 140ms ease;
}

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

.shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--page));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  padding-top: 1rem;
}

.header-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(23, 16, 25, 0.78);
  box-shadow: 0 1rem 3rem rgba(3, 1, 4, 0.2);
  backdrop-filter: blur(1.2rem) saturate(120%);
}

.brand {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  color: var(--bone);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--bone);
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  filter: drop-shadow(0 0.5rem 1.2rem rgba(255, 132, 118, 0.16));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link,
.language-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border-radius: 0.8rem;
  color: var(--bone-soft);
  font-size: 0.86rem;
  font-weight: 690;
  text-decoration: none;
}

.nav-link:hover,
.language-link:hover,
.nav-link[aria-current="page"],
.language-link[aria-current="page"] {
  background: rgba(248, 239, 231, 0.07);
  color: var(--bone);
}

.language-link {
  min-width: 3rem;
  border: 1px solid var(--line);
  text-transform: uppercase;
}

.menu-button {
  display: none;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  color: var(--bone);
  cursor: pointer;
}

.menu-button[hidden] {
  display: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: auto;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform 150ms ease, opacity 150ms ease;
}

.menu-lines::before {
  transform: translateY(-0.34rem);
}

.menu-lines::after {
  transform: translateY(0.22rem);
}

.menu-button[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-lines::before {
  transform: translateY(0) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines::after {
  transform: translateY(-2px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

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

.button-disabled,
.button-disabled:hover {
  cursor: default;
  filter: saturate(0.72);
  opacity: 0.82;
  transform: none;
}

.button-primary {
  background: linear-gradient(105deg, var(--coral), var(--coral-high));
  box-shadow: 0 0.9rem 2.4rem rgba(243, 108, 102, 0.2);
  color: var(--deep);
}

.button-primary:hover {
  color: var(--deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(45, 30, 48, 0.72);
  color: var(--bone);
}

.header-cta {
  min-height: 3rem;
  margin-left: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  font-size: 0.84rem;
}

.play-mark {
  width: 1rem;
  height: 1rem;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  min-height: min(53rem, calc(100svh - 5.5rem));
  grid-template-columns: minmax(0, 1.04fr) minmax(25rem, 0.96fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  color: var(--coral-high);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.78;
}

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

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.35rem, 7.2vw, 6.6rem);
  font-weight: 320;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero-lede {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--bone-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1.45rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  list-style: none;
}

.trust-line li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-line li::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0.7rem rgba(175, 205, 184, 0.36);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 39rem;
  isolation: isolate;
}

.hero-halo {
  position: absolute;
  z-index: -2;
  inset: 5% -12% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 161, 148, 0.18), transparent 32%),
    radial-gradient(circle at 62% 62%, rgba(217, 185, 231, 0.12), transparent 37%);
  filter: blur(0.25rem);
}

.hero-orbit,
.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 161, 148, 0.2);
  border-radius: 50%;
}

.hero-orbit {
  z-index: -1;
  inset: 8% 6% 9% 2%;
  transform: rotate(-10deg);
}

.hero-orbit::before {
  inset: 9% -6% -8% 12%;
  content: "";
}

.hero-orbit::after {
  inset: 25% 6% 2% -8%;
  border-color: rgba(217, 185, 231, 0.14);
  content: "";
}

.progress-art {
  position: absolute;
  z-index: 1;
  top: -2%;
  right: 0;
  width: min(90%, 32rem);
  height: 96%;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 2.4rem 3.5rem rgba(3, 1, 4, 0.52));
}

.workout-peek {
  position: absolute;
  z-index: 3;
  bottom: 5%;
  left: 0;
  width: min(20rem, 74%);
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.5rem;
  background: rgba(29, 20, 31, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(1rem);
}

.peek-top,
.peek-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.peek-label {
  color: var(--orchid);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.peek-time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.peek-title {
  margin: 0.35rem 0 1.15rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.peek-row {
  justify-content: flex-start;
  color: var(--bone-soft);
  font-size: 0.83rem;
}

.peek-glyph {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.8rem;
  background: rgba(255, 132, 118, 0.13);
  color: var(--coral-high);
  font-size: 1.15rem;
}

.peek-progress {
  height: 0.22rem;
  margin-top: 1.15rem;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.peek-progress::before {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--coral-high));
  content: "";
}

.section {
  padding-block: clamp(4.75rem, 9vw, 8rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading h2,
.statement h2,
.privacy-panel h2,
.final-cta h2,
.legal-hero h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 350;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.section-heading p,
.privacy-panel p,
.final-cta p {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mode-card,
.step-card,
.principle-card,
.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(45, 30, 48, 0.94), rgba(29, 20, 31, 0.94));
  box-shadow: 0 1.3rem 3.5rem rgba(3, 1, 4, 0.15);
}

.mode-card {
  min-height: 16rem;
  padding: 1.65rem;
  border-radius: var(--radius-lg);
}

.mode-card::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
  filter: blur(2rem);
  opacity: 0.08;
}

.mode-hyped {
  color: var(--coral-high);
}

.mode-normal {
  color: var(--orchid);
}

.mode-tired {
  color: var(--sage);
}

.mode-symbol {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 2.7rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 1rem;
  background: color-mix(in srgb, currentColor 10%, transparent);
  font-size: 1.45rem;
}

.mode-card h3 {
  margin-bottom: 0.45rem;
  color: var(--bone);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.mode-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.mode-note {
  display: flex;
  max-width: 53rem;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.mode-note::before {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid rgba(255, 132, 118, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 132, 118, 0.17), transparent 22rem),
    linear-gradient(135deg, rgba(45, 30, 48, 0.96), rgba(23, 16, 25, 0.98));
  box-shadow: var(--shadow);
}

.statement::after {
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255, 161, 148, 0.2);
  border-radius: 50%;
  content: "";
}

.statement h2 {
  position: relative;
  z-index: 1;
  max-width: 17ch;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: steps;
}

.step-card {
  min-height: 18rem;
  padding: 1.55rem;
  border-radius: var(--radius-md);
  counter-increment: steps;
}

.step-card::before {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 3.2rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--coral-high);
  content: counter(steps, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 800;
}

.step-card h3,
.principle-card h3,
.legal-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.step-card p,
.principle-card p,
.legal-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.principle-card {
  min-height: 14rem;
  padding: 1.45rem;
  border-radius: var(--radius-md);
}

.principle-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 2rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(217, 185, 231, 0.1);
  color: var(--orchid);
  font-size: 1.15rem;
}

.art-stack {
  position: relative;
  min-height: 42rem;
}

.art-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin: 0;
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card-primary {
  inset: 0 13% 13% 0;
}

.art-card-secondary {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 43%;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid rgba(175, 205, 184, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 6% 8%, rgba(175, 205, 184, 0.13), transparent 23rem),
    linear-gradient(145deg, rgba(37, 25, 39, 0.98), rgba(23, 16, 25, 0.98));
}

.privacy-panel h2 {
  margin-bottom: 0.75rem;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: var(--bone-soft);
  font-size: 0.88rem;
  font-weight: 680;
  list-style: none;
}

.privacy-points li::before {
  margin-right: 0.55rem;
  color: var(--sage);
  content: "✓";
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 31rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.65fr);
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 132, 118, 0.14), transparent 22rem),
    var(--background);
  box-shadow: var(--shadow);
}

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

.final-cta h2 {
  max-width: 13ch;
}

.final-art {
  position: absolute;
  right: -3%;
  bottom: -20%;
  width: min(47%, 31rem);
  max-height: 120%;
  object-fit: contain;
  filter: drop-shadow(0 2rem 3rem rgba(3, 1, 4, 0.44));
  opacity: 0.9;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem 2.25rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto;
  align-items: start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-copy {
  max-width: 28rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  gap: 0.7rem 2rem;
}

.footer-links a {
  min-height: 2.75rem;
  color: var(--bone-soft);
  font-size: 0.88rem;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  color: var(--quiet);
  font-size: 0.78rem;
}

/* Legal and policy pages */
.legal-main {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.legal-hero {
  max-width: 53rem;
  padding-bottom: clamp(2.75rem, 6vw, 5rem);
}

.legal-hero h1 {
  max-width: 13ch;
}

.legal-hero p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.meta-pill {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(29, 20, 31, 0.72);
  color: var(--bone-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, var(--reading));
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
}

.legal-toc {
  position: sticky;
  top: 2rem;
}

.legal-toc-title {
  margin-bottom: 0.8rem;
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
}

.legal-toc a:hover {
  background: rgba(248, 239, 231, 0.06);
  color: var(--bone);
}

.legal-document {
  min-width: 0;
}

.legal-document section,
.legal-box {
  margin-bottom: 1rem;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(37, 25, 39, 0.9), rgba(23, 16, 25, 0.88));
}

.legal-document h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.legal-document h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.15rem;
  font-weight: 680;
}

.legal-document p,
.legal-document li {
  color: var(--bone-soft);
}

.legal-document p:last-child,
.legal-document ul:last-child,
.legal-document pre:last-child {
  margin-bottom: 0;
}

.legal-document li + li {
  margin-top: 0.5rem;
}

.legal-document a {
  color: var(--coral-high);
}

.legal-document pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--deep);
  color: var(--bone-soft);
  font: 0.76rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.legal-document code {
  padding: 0.08rem 0.3rem;
  border-radius: 0.3rem;
  background: rgba(248, 239, 231, 0.08);
  color: var(--bone);
  font: 0.86em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-block: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.legal-document table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.legal-document th,
.legal-document td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--bone-soft);
  text-align: left;
  vertical-align: top;
}

.legal-document th {
  background: rgba(248, 239, 231, 0.05);
  color: var(--bone);
  font-weight: 760;
}

.website-note {
  margin-bottom: 1rem;
  padding: 1.4rem;
  border: 1px solid rgba(175, 205, 184, 0.25);
  border-radius: var(--radius-md);
  background: rgba(175, 205, 184, 0.07);
}

.website-note h2 {
  margin-bottom: 0.6rem;
  color: var(--sage);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: 0;
}

.website-note p {
  margin: 0;
  color: var(--bone-soft);
  font-size: 0.9rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  padding: 1.55rem;
  border-radius: var(--radius-md);
}

.legal-card-symbol {
  margin-bottom: 3rem;
  color: var(--coral-high);
  font-size: 1.4rem;
}

.legal-card a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  margin-top: auto;
  color: var(--bone);
  font-size: 0.88rem;
  font-weight: 740;
}

.not-found {
  display: grid;
  min-height: calc(100svh - 8rem);
  place-items: center;
  padding-block: 4rem;
  text-align: center;
}

.not-found-inner {
  max-width: 43rem;
}

.not-found-code {
  margin-bottom: 0.5rem;
  color: var(--coral-high);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 250;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.not-found h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.not-found p {
  color: var(--muted);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 64rem) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    position: static;
    display: grid;
    flex: 1 0 100%;
    margin-left: 0;
    padding: 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 1rem;
    background: rgba(23, 16, 25, 0.98);
    box-shadow: var(--shadow);
  }

  .js-enabled .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 1rem;
    left: 1rem;
  }

  .site-nav[hidden] {
    display: none;
  }

  .nav-link,
  .language-link {
    justify-content: flex-start;
  }

  .language-link {
    margin-top: 0.3rem;
  }

  .menu-button {
    display: block;
  }

  .header-cta {
    margin-left: 0;
  }

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

  .principles-layout {
    grid-template-columns: 1fr;
  }

  .art-stack {
    order: 2;
    min-height: 36rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(29, 20, 31, 0.7);
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64.001rem) {
  .site-nav {
    display: flex !important;
  }
}

@media (max-width: 52rem) {
  body::before {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 4rem;
  }

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

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

  .hero-visual {
    min-height: 32rem;
  }

  .progress-art {
    right: 3%;
    width: 79%;
  }

  .mode-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 13.5rem;
  }

  .mode-symbol {
    margin-bottom: 2rem;
  }

  .privacy-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .privacy-panel .button {
    justify-self: start;
  }

  .final-cta {
    min-height: 37rem;
    align-items: start;
  }

  .final-art {
    right: -3rem;
    bottom: -8rem;
    width: 23rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 38rem) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--page));
  }

  .header-inner {
    padding-left: 0.65rem;
  }

  .header-cta {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 28rem;
  }

  .workout-peek {
    width: 83%;
  }

  .steps,
  .principle-grid,
  .privacy-points,
  .footer-links,
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .art-stack {
    min-height: 29rem;
  }

  .art-card-primary {
    inset: 0 7% 11% 0;
  }

  .art-card-secondary {
    width: 51%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .site-header,
  .site-footer,
  .legal-toc,
  .button {
    display: none !important;
  }

  .shell {
    width: 100%;
  }

  .legal-main {
    padding: 0;
  }

  .legal-hero {
    padding-bottom: 1.5rem;
  }

  .legal-hero h1,
  .legal-hero p,
  .legal-document h2,
  .legal-document h3,
  .legal-document p,
  .legal-document li,
  .legal-document pre {
    color: #111;
  }

  .legal-document section,
  .legal-box,
  .website-note {
    break-inside: avoid;
    border-color: #ccc;
    background: transparent;
  }
}
