@font-face {
  font-family: "Forum";
  src: url("/assets/fonts/Forum-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --color-bg: #f3eee6;
  --color-surface: #fbf8f3;
  --color-paper: #fffdf9;
  --color-text: #2b2520;
  --color-muted: #6d6259;
  --color-faint: #756a61;
  --color-border: #ded4c7;
  --color-accent: #bc6c4c;
  --color-accent-deep: #9d4f34;
  --color-accent-soft: #e4af94;
  --color-dark: #1f1b18;
  --color-dark-muted: #cfc4b9;
  --shadow-phone:
    0 2.25rem 5rem rgba(73, 45, 32, 0.18), 0 0.5rem 1.5rem rgba(73, 45, 32, 0.1);
  --font-display: "Forum", Georgia, serif;
  --font-body: "Outfit", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --shell: 74rem;
  --header-height: 5.5rem;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 8vw, 7.5rem);
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 6vw, 5.75rem);
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  text-wrap: pretty;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

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

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

.section-pad {
  padding-block: clamp(6rem, 11vw, 10rem);
}

.eyebrow {
  margin-bottom: 1.5rem;
  color: var(--color-accent-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--color-accent-soft);
}

.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
}

.header-inner {
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(43, 37, 32, 0.08);
  border-radius: 0.75rem;
  background: var(--color-surface);
}

.brand-mark img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.primary-nav a {
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover {
  color: var(--color-text);
}

.nav-status {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 1.125rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.5);
  font-size: 0.8125rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.3rem auto;
  background: var(--color-text);
  transition: transform 160ms ease;
}

.hero {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-intro {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-0.125rem);
}

.button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--color-text);
  color: var(--color-bg);
}

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

.button-secondary {
  background: var(--color-bg);
  color: var(--color-text);
}

.button-secondary:hover {
  background: var(--color-paper);
}

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.launch-note > span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0.3rem rgba(188, 108, 76, 0.14);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding: 2rem 0 0;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
  list-style: none;
}

.hero-facts li {
  position: relative;
}

.hero-facts li:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: -1rem;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--color-border);
  content: "";
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 42rem;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(188, 108, 76, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: 32rem;
  height: 32rem;
}

.orbit-two {
  width: min(24rem, 80vw);
  height: min(24rem, 80vw);
}

.phone {
  position: relative;
  width: min(18.75rem, 80vw);
  height: 38.75rem;
  overflow: hidden;
  border: 0.5rem solid var(--color-dark);
  border-radius: 3.25rem;
  background: var(--color-bg);
  box-shadow: var(--shadow-phone);
}

.phone::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2.75rem;
  content: "";
  pointer-events: none;
}

.phone-island {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  z-index: 4;
  width: 5.25rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--color-dark);
  transform: translateX(-50%);
}

.session-topline {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  align-items: center;
  gap: 0.5rem;
  padding: 3.2rem 1rem 0;
}

.session-topline p {
  margin: 0;
  overflow: hidden;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.round-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(43, 37, 32, 0.06);
  border-radius: 50%;
  background: var(--color-surface);
}

.round-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--color-text);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.phase-copy {
  position: relative;
  z-index: 3;
  padding: 5.2rem 1.5rem 0;
  text-align: center;
}

.phase-copy strong,
.phase-copy span {
  display: block;
}

.phase-copy strong {
  margin-bottom: 0.125rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.phase-copy span {
  color: var(--color-faint);
  font-size: 1rem;
}

.phase-copy p {
  max-width: 13rem;
  margin: 1.25rem auto 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.breath-shape {
  position: absolute;
  right: -8rem;
  bottom: -9.5rem;
  left: -8rem;
  height: 23.5rem;
  overflow: hidden;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(
    180deg,
    var(--color-accent-soft),
    var(--color-accent-deep) 64%
  );
  animation: breathe 10s ease-in-out infinite;
}

.breath-shape div {
  position: absolute;
  top: 4rem;
  left: 50%;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translateX(-50%);
}

.session-footer {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  left: 0;
  z-index: 3;
  color: #fffaf4;
  text-align: center;
}

.session-footer span,
.session-footer small {
  display: block;
}

.session-footer span {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.session-footer small {
  margin-top: 0.25rem;
  color: #fffaf4;
  font-size: 0.625rem;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 6rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  margin: 0;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 0.75rem 2rem rgba(73, 45, 32, 0.08);
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(0.75rem);
}

.visual-caption span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(1.75rem) scale(0.96);
  }
  40% {
    transform: translateY(-2.5rem) scale(1.02);
  }
}

.moments-section {
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.6fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.section-heading > * {
  min-width: 0;
}

.section-heading h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.moment-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.moment-list {
  min-width: 0;
  border-top: 1px solid var(--color-border);
}

.moment-tab {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 7.5rem;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}

.moment-number {
  color: var(--color-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.moment-tab-copy {
  min-width: 0;
}

.moment-tab-copy strong,
.moment-tab-copy small {
  display: block;
}

.moment-tab-copy strong {
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.moment-tab-copy small {
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.moment-tab svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--color-faint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition:
    stroke 160ms ease,
    transform 160ms ease;
}

.moment-tab:hover svg,
.moment-tab.is-active svg {
  stroke: var(--color-accent);
  transform: translateX(0.2rem);
}

.moment-tab.is-active .moment-number,
.moment-tab.is-active .moment-tab-copy strong {
  color: var(--color-accent-deep);
}

.moment-preview {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 27rem;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 2rem;
  background: var(--color-bg);
}

.moment-preview::before {
  position: absolute;
  right: -7rem;
  bottom: -12rem;
  width: 23rem;
  height: 23rem;
  border: 3rem solid rgba(188, 108, 76, 0.14);
  border-radius: 50%;
  content: "";
}

.preview-copy {
  position: relative;
  z-index: 1;
}

.preview-kicker {
  margin-bottom: 1.25rem;
  color: var(--color-accent-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.preview-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.preview-copy > p:not(.preview-kicker) {
  max-width: 27rem;
  color: var(--color-muted);
}

.duration-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.duration-pair > div {
  min-width: 7.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: rgba(255, 253, 249, 0.52);
}

.duration-pair span,
.duration-pair strong,
.duration-pair small {
  display: block;
}

.duration-pair span,
.duration-pair small {
  color: var(--color-muted);
  font-size: 0.6875rem;
  line-height: 1.3;
}

.duration-pair strong {
  margin-block: 0.125rem;
  font-size: 1.125rem;
}

.preview-rhythm {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(4rem, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.rhythm-line {
  position: relative;
  height: 1px;
  background: var(--color-border);
}

.rhythm-line i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(-50%);
  animation: rhythm 10s ease-in-out infinite;
}

@keyframes rhythm {
  0%,
  100% {
    left: 0;
  }
  40% {
    left: calc(100% - 0.5rem);
  }
}

.experience-section {
  background: var(--color-dark);
  color: var(--color-bg);
}

.experience-heading > p {
  color: var(--color-dark-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  border-top: 1px solid rgba(243, 238, 230, 0.18);
  margin: 0;
  list-style: none;
}

.steps li {
  min-width: 0;
  min-height: 18rem;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem;
  border-right: 1px solid rgba(243, 238, 230, 0.18);
}

.steps li:first-child {
  padding-left: 0;
}

.steps li:last-child {
  border-right: 0;
}

.steps > li > span {
  display: block;
  color: var(--color-accent-soft);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.steps li div {
  margin-top: 6rem;
}

.steps h3 {
  margin-bottom: 0.75rem;
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.steps p {
  margin: 0;
  color: var(--color-dark-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.rhythm-section {
  background: var(--color-paper);
}

.rhythm-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(4rem, 10vw, 9rem);
}

.rhythm-visual {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
}

.rhythm-visual img {
  position: relative;
  z-index: 2;
  width: 35%;
  height: 35%;
  object-fit: contain;
}

.rhythm-disc {
  position: absolute;
  border-radius: 50%;
}

.rhythm-disc-one {
  inset: 4%;
  border: 1px solid var(--color-border);
}

.rhythm-disc-two {
  inset: 16%;
  background: var(--color-bg);
}

.rhythm-disc-three {
  inset: 28%;
  background: var(--color-surface);
  box-shadow: 0 1.5rem 4rem rgba(73, 45, 32, 0.08);
}

.rhythm-copy h2 {
  max-width: 9ch;
}

.rhythm-copy > p:not(.eyebrow, .medical-note) {
  max-width: 36rem;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.breath-count {
  display: flex;
  max-width: 33rem;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--color-border);
  margin-top: 2.5rem;
}

.breath-count span {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.breath-count strong {
  color: var(--color-accent-deep);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}

.breath-count i {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.medical-note {
  max-width: 33rem;
  margin: 1.25rem 0 0;
  color: var(--color-faint);
  font-size: 0.75rem;
  line-height: 1.55;
}

.privacy-section {
  border-top: 1px solid var(--color-border);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
  gap: clamp(3rem, 10vw, 9rem);
}

.privacy-layout h2 {
  max-width: 10ch;
  margin: 0;
}

.privacy-details > p {
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.privacy-details ul {
  display: grid;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
  list-style: none;
}

.privacy-details li {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.875rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.privacy-details li svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--color-accent-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent-deep);
  font-weight: 600;
  text-underline-offset: 0.25rem;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(0.2rem);
}

.closing-section {
  padding-top: 0;
}

.closing-card {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem);
  border-radius: 2.5rem;
  background: var(--color-accent-deep);
  color: #fffaf4;
  text-align: center;
}

.closing-card > img {
  position: absolute;
  top: -1rem;
  right: clamp(1rem, 7vw, 6rem);
  width: clamp(7rem, 15vw, 11rem);
  height: clamp(7rem, 15vw, 11rem);
  opacity: 0.16;
  filter: brightness(0) invert(1);
  transform: rotate(12deg);
}

.closing-card .eyebrow {
  color: #ffe1d1;
}

.closing-card h2 {
  max-width: 11ch;
  margin-inline: auto;
}

.closing-card > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 0 auto 2rem;
  color: #fffaf4;
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(12rem, 1fr) auto auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.footer-inner p,
.footer-inner small {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-inner nav a {
  color: var(--color-muted);
  font-size: 0.75rem;
  text-underline-offset: 0.2rem;
}

/* Legal pages */
.legal-page .site-header {
  border-bottom: 1px solid var(--color-border);
}

.legal-main {
  width: min(calc(100% - 3rem), 48rem);
  padding-block: clamp(4rem, 10vw, 7rem);
  margin-inline: auto;
}

.not-found-spacer {
  height: clamp(4rem, 10vw, 8rem);
}

.back-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-bottom: 3rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-underline-offset: 0.25rem;
}

.legal-main h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 9vw, 6rem);
}

.updated {
  margin-bottom: 4rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.legal-intro {
  max-width: 40rem;
  margin-bottom: 4rem;
  color: var(--color-muted);
  font-size: 1.125rem;
}

.legal-content section {
  padding-block: 2rem;
  border-top: 1px solid var(--color-border);
}

.legal-content h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--color-accent-deep);
  text-underline-offset: 0.2rem;
}

.legal-content ol {
  padding-left: 1.4rem;
}

.legal-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.75rem;
}

.legal-footer .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.legal-footer p {
  margin: 0;
}

.legal-footer nav {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.8fr);
    gap: 2rem;
  }

  .hero-visual {
    transform: scale(0.9);
  }

  .visual-caption {
    right: -1rem;
  }

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

  .steps li:nth-child(2) {
    border-right: 0;
  }

  .steps li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(243, 238, 230, 0.18);
  }

  .steps li:nth-child(3) {
    padding-left: 0;
  }

  .footer-inner {
    grid-template-columns: auto minmax(12rem, 1fr) auto;
  }

  .footer-inner small {
    grid-column: 2;
  }
}

@media (max-width: 48rem) {
  :root {
    --header-height: 4.75rem;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(0.2rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-0.2rem) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% - 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 1rem 3rem rgba(73, 45, 32, 0.14);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a,
  .nav-status {
    min-height: 3rem;
    padding: 0.75rem 1rem;
  }

  .nav-status {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

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

  .hero-visual {
    min-height: 39rem;
    margin-top: 1rem;
    transform: none;
  }

  .orbit-one {
    width: min(29rem, 90vw);
    height: min(29rem, 90vw);
  }

  .section-heading,
  .moment-explorer,
  .rhythm-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 2rem;
  }

  .moment-explorer {
    gap: 2.5rem;
  }

  .moment-preview {
    min-height: 25rem;
  }

  .rhythm-layout {
    gap: 4rem;
  }

  .rhythm-visual {
    width: min(100%, 30rem);
    margin-inline: auto;
  }

  .privacy-layout {
    gap: 3rem;
  }

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

  .footer-inner small {
    grid-column: auto;
  }
}

@media (max-width: 35rem) {
  .section-pad {
    padding-block: 5rem;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-facts {
    display: grid;
  }

  .hero-facts li:not(:first-child)::before {
    display: none;
  }

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

  .phone {
    width: 16.75rem;
    height: 34.75rem;
    border-radius: 3rem;
  }

  .phase-copy {
    padding-top: 4.5rem;
  }

  .visual-caption {
    right: -0.25rem;
    bottom: 3rem;
  }

  .moment-tab-copy small {
    white-space: normal;
  }

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

  .steps li,
  .steps li:first-child,
  .steps li:nth-child(3) {
    min-height: auto;
    padding: 1.5rem 0 2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 238, 230, 0.18);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .steps li div {
    margin-top: 2.5rem;
  }

  .breath-count {
    align-items: stretch;
    flex-direction: column;
  }

  .breath-count i {
    width: 100%;
  }

  .closing-card {
    width: calc(100% - 1rem);
    border-radius: 2rem;
  }

  .legal-main {
    width: min(calc(100% - 2rem), 48rem);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --color-muted: #4f4741;
    --color-faint: #665c54;
    --color-border: #9b8d81;
  }
}
