:root {
  --cream: #f7f4eb;
  --sand: #d9d6c8;
  --sage: #a7b8a4;
  --olive: #4b6b56;
  --ochre: #d4a35b;
  --terra: #c06a4f;
  --deep: #3a4639;
  --white: #fffdf7;
  --muted: #667064;
  --line: rgba(58, 70, 57, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 18px 48px rgba(58, 70, 57, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--deep);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

h4, h5, h6 {
  line-height: 1.5;
}

p, blockquote {
  margin-top: 0;
}

button, a, input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

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

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--deep);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 40px;
  width: min(100% - 48px, 1240px);
  height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(58, 70, 57, 0.08);
}

.wordmark,
.modal-brand {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.wordmark span,
.modal-brand span {
  color: var(--terra);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

.nav-link {
  position: relative;
  padding: 9px 0;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--olive);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions,
.button-row,
.demo-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--deep);
  padding: 9px 4px;
  font-size: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  border-color: var(--deep);
  background: var(--deep);
  box-shadow: 0 8px 20px rgba(58, 70, 57, 0.12);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 9px 16px;
}

.button-outline {
  border-color: #8b9a85;
  background: transparent;
  color: var(--deep);
}

.button-light {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--deep);
}

.button-light:hover {
  background: #fff;
  color: var(--deep);
}

.button-dark-outline {
  border-color: #a5b5a4;
  background: transparent;
  color: var(--cream);
}

.button-dark-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--deep);
  font-size: 24px;
}

.section-shell {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.eyebrow,
.mini-label,
.space-number,
.demo-progress {
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
}

h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
}

h1 em,
h2 em {
  color: var(--olive);
  font-weight: 400;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 5%;
  min-height: 650px;
  padding-top: 56px;
  padding-bottom: 72px;
}

.particle-network {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-description {
  max-width: 540px;
  margin: 24px 0 28px;
  color: var(--muted);
}

.button-row {
  flex-wrap: wrap;
}

.hero-note,
.privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-note .icon,
.privacy-note .icon {
  color: var(--olive);
  font-size: 18px;
}

.hero-art {
  position: relative;
  height: 510px;
  overflow: hidden;
  border-radius: 46% 46% 12px 12px;
}

.landscape {
  width: 100%;
  height: 100%;
}

.perspectives-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 9%;
  padding-top: 104px;
  padding-bottom: 104px;
  border-top: 1px solid var(--line);
}

.section-intro > p:not(.eyebrow):not(.privacy-note),
.center-heading > p:last-child,
.trust-heading > p:last-child {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
}

.perspective-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.perspective {
  padding: 26px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.perspective-icon,
.space-icon,
.trust-icon {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  margin-bottom: 22px;
  padding: 12px;
  border-radius: 50%;
  background: #dbe3d7;
  color: var(--olive);
}

.warm {
  background: #f1d9cb;
  color: var(--terra);
}

.sage {
  background: #dbe3d7;
  color: var(--olive);
}

.ochre {
  background: #f1e0bd;
  color: #8a672b;
}

.mini-label {
  margin-bottom: 12px;
}

.perspective blockquote {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.5;
}

.interactive-section {
  overflow: hidden;
  padding: 96px 0;
  background: #e8ecdf;
}

.interactive-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 9%;
}

.demo-card {
  max-width: 620px;
  padding: 30px;
  border: 1px solid #dedfd3;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.demo-progress {
  display: flex;
  justify-content: space-between;
  color: #737c70;
}

.progress-track {
  height: 3px;
  margin: 14px 0 28px;
  overflow: hidden;
  border-radius: 3px;
  background: #e5e6db;
}

.progress-track span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--olive);
  transition: width 220ms ease;
}

.demo-subtitle {
  margin: 8px 0 20px;
  color: var(--muted);
}

.choice-list {
  display: grid;
  gap: 10px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 1px solid #e2e2d7;
  border-radius: 8px;
  background: transparent;
  color: var(--deep);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease;
}

.choice:hover,
.choice.selected {
  border-color: var(--olive);
  background: #f2f5ed;
}

.choice-icon {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 9px;
  border-radius: 50%;
  background: #dbe3d7;
  color: var(--olive);
}

.choice b,
.choice small {
  display: block;
}

.choice b {
  font-size: 16px;
}

.choice small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.radio-dot {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid #aeb9aa;
  border-radius: 50%;
}

.choice.selected .radio-dot {
  border: 4px solid var(--olive);
}

.demo-actions {
  margin-top: 22px;
}

.demo-actions .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.demo-result > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.reflection-prompt {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: #eff0e5;
}

.reflection-prompt span {
  color: var(--muted);
}

.relationship-story {
  position: relative;
  height: 300vh;
  background: #f1efe5;
}

.relationship-sticky {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  min-height: 620px;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 82px 24px 48px;
  text-align: center;
}

.relationship-story-heading {
  max-width: 620px;
}

.relationship-story-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.relationship-orbit {
  width: min(90vw, 760px);
  margin-top: 8px;
  overflow: visible;
}

#relationship-thread {
  fill: none;
  stroke: var(--ochre);
  stroke-linecap: round;
  stroke-width: 3;
  opacity: 0.7;
}

#relationship-circle-a,
#relationship-circle-b {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 14px 22px rgba(58, 70, 57, 0.12));
}

#relationship-circle-a {
  fill: var(--olive);
}

#relationship-circle-b {
  fill: var(--terra);
  opacity: 0.92;
}

.relationship-messages {
  position: relative;
  width: min(100%, 660px);
  min-height: 70px;
}

.relationship-messages p {
  position: absolute;
  inset: 0;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.relationship-messages p.active {
  opacity: 1;
  transform: translateY(0);
}

.product-preview-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.preview-intro {
  max-width: 720px;
}

.preview-intro > p:last-child,
.journey-heading > p:last-child,
.positioning-heading > p:last-child {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
}

.product-preview-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  gap: 8%;
  align-items: start;
  margin-top: 52px;
}

.preview-tabs {
  display: grid;
  border-top: 1px solid var(--line);
}

.preview-tab {
  min-height: 58px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: color 180ms ease, padding-left 180ms ease;
}

.preview-tab:hover,
.preview-tab.active {
  padding-left: 12px;
  color: var(--deep);
}

.preview-tab.active {
  box-shadow: inset 3px 0 var(--terra);
  font-weight: 700;
}

.preview-device {
  position: relative;
  min-height: 520px;
  padding: 42px;
  border: 1px solid rgba(58, 70, 57, 0.12);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(58, 70, 57, 0.12);
}

.preview-device::before {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 72px;
  height: 5px;
  border-radius: 5px;
  background: var(--sand);
  content: "";
  transform: translateX(-50%);
}

.preview-panel {
  animation: preview-in 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes preview-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

.preview-panel h3 {
  font-size: clamp(30px, 4vw, 46px);
}

.preview-description {
  max-width: 540px;
  margin: 10px 0 24px;
  color: var(--muted);
}

.mood-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.mood-options button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #aab7a7;
  border-radius: 999px;
  background: transparent;
  color: var(--deep);
}

.mood-options button:hover,
.mood-options button[aria-pressed="true"] {
  border-color: var(--terra);
  background: var(--terra);
  color: var(--white);
}

.preview-response {
  min-height: 70px;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--ochre);
  background: #f3efe3;
  color: var(--muted);
}

.clarity-forms {
  position: relative;
  height: 190px;
  margin: 8px 0;
}

.clarity-forms span {
  position: absolute;
  top: 24px;
  width: 150px;
  height: 150px;
  border-radius: 52% 48% 45% 55%;
  mix-blend-mode: multiply;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.clarity-forms span:first-child {
  left: calc(50% - 150px);
  background: var(--sage);
}

.clarity-forms span:last-child {
  right: calc(50% - 150px);
  background: #e4ad97;
}

.clarity-forms.shared span:first-child { transform: translateX(30px); }
.clarity-forms.shared span:last-child { transform: translateX(-30px); }

.preview-switch,
.preference-toggle {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f2f0e7;
  color: var(--deep);
  text-align: left;
}

.preview-switch i,
.preference-toggle i {
  position: relative;
  width: 44px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #c9cec3;
  transition: background 180ms ease;
}

.preview-switch i::after,
.preference-toggle i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  content: "";
  transition: transform 180ms ease;
}

.preview-switch[aria-checked="true"] i,
.preference-toggle[aria-checked="true"] i { background: var(--olive); }
.preview-switch[aria-checked="true"] i::after,
.preference-toggle[aria-checked="true"] i::after { transform: translateX(18px); }

.roulette-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.roulette-cards button {
  display: flex;
  min-height: 220px;
  align-items: flex-end;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  text-align: left;
  transition: transform 220ms ease, filter 220ms ease;
}

.roulette-cards button:nth-child(1) { background: linear-gradient(150deg, #a7b8a4, #4b6b56); }
.roulette-cards button:nth-child(2) { background: linear-gradient(150deg, #d4a35b, #b85f45); }
.roulette-cards button:nth-child(3) { background: linear-gradient(150deg, #8ba08a, #3a4639); }
.roulette-cards button:hover,
.roulette-cards button.open { transform: translateY(-5px); filter: saturate(1.08); }

.little-things {
  display: grid;
  gap: 10px;
}

.journey-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10%;
  padding-top: 112px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line);
}

.journey-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.journey-track {
  position: relative;
}

.journey-track::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 18px;
  width: 1px;
  background: var(--line);
  content: "";
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 22px;
  padding-bottom: 42px;
}

.journey-step:last-child { padding-bottom: 0; }

.journey-step > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--terra);
  border-radius: 50%;
  background: var(--cream);
  color: var(--terra);
  font-size: 13px;
  font-weight: 700;
}

.journey-step h3 { font-size: 25px; }
.journey-step p { margin: 7px 0 0; color: var(--muted); }

.positioning-section {
  padding: 112px 0;
  background: #e8ecdf;
}

.positioning-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 9%;
  align-items: start;
}

.positioning-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}

.positioning-list article {
  padding: 22px 0;
  border-top: 1px solid rgba(58, 70, 57, 0.18);
}

.positioning-list h3 { font-size: 23px; }
.positioning-list p { margin: 7px 0 0; color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 760ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.spaces-section,
.trust-section {
  padding-top: 108px;
  padding-bottom: 108px;
}

.center-heading,
.trust-heading {
  max-width: 650px;
  margin: 0 auto 52px;
  text-align: center;
}

.center-heading > p:last-child,
.trust-heading > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.space-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.space-card,
.trust-grid article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.space-icon,
.trust-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 24px;
}

.space-number {
  display: block;
  margin-bottom: 8px;
  color: #7a8377;
}

.space-card p,
.trust-grid p {
  min-height: 72px;
  margin: 10px 0 18px;
  color: var(--muted);
}

.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid #879984;
  background: transparent;
  color: var(--deep);
  font-size: 15px;
  font-weight: 600;
}

.underlined-link:hover {
  border-color: var(--terra);
  color: var(--terra);
}

.trust-section {
  border-top: 1px solid var(--line);
}

.trust-more {
  display: flex;
  width: max-content;
  margin: 40px auto 0;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  place-items: center;
  padding: 80px 24px;
  background: var(--deep);
  color: var(--cream);
  text-align: center;
}

.cta-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-moon {
  position: absolute;
  top: 40px;
  right: 6%;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #e3c995;
  opacity: 0.85;
}

.cta-hill {
  position: absolute;
  bottom: -190px;
  width: 80%;
  height: 350px;
  border-radius: 50%;
}

.cta-hill-one {
  left: -10%;
  background: #536d55;
  transform: rotate(-12deg);
}

.cta-hill-two {
  right: -12%;
  background: #788a68;
  transform: rotate(13deg);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-content .eyebrow {
  color: #d8cba7;
}

.cta-content h2 {
  font-size: clamp(40px, 5vw, 60px);
}

.cta-content h2 em {
  color: #c8d4bf;
}

.cta-content > p:not(.eyebrow) {
  margin: 20px 0 28px;
  color: #d3d8ca;
}

.button-row.center {
  justify-content: center;
}

.site-footer {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
  padding: 36px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-top p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--terra);
}

.footer-bottom {
  padding-top: 18px;
  color: #7c8579;
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 20px;
  background: rgba(29, 42, 32, 0.68);
  backdrop-filter: blur(5px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(100%, 480px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 0 30px 90px rgba(23, 33, 24, 0.3);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
}

.modal-brand {
  margin-bottom: 30px;
}

.modal .eyebrow {
  margin-bottom: 8px;
}

.modal h2 {
  margin-bottom: 16px;
  font-size: 34px;
}

.modal-copy,
.modal-list {
  color: var(--muted);
}

.modal-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.modal-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.modal-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d5d7c9;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep);
  font-size: 16px;
}

.modal-form .button {
  width: 100%;
  margin-top: 4px;
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #7b8477;
  font-size: 12px;
  text-transform: uppercase;
}

.modal-divider::before,
.modal-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.social-button {
  width: 100%;
  padding: 12px;
  border: 1px solid #d5d7c9;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep);
}

.modal-switch {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
}

.inline-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--olive);
  text-decoration: underline;
}

.modal-list {
  padding-left: 20px;
}

.modal-list li + li {
  margin-top: 8px;
}

.modal-callout,
.modal-message {
  margin: 18px 0;
  padding: 14px;
  border-left: 3px solid var(--ochre);
  background: #f0eadb;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 150;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--deep);
  box-shadow: var(--shadow);
  color: var(--cream);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 20px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 36px, 1200px);
  }

  .site-header {
    gap: 20px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 4%;
  }

  .hero-art {
    height: 440px;
  }

  .perspectives-section,
  .interactive-grid {
    gap: 6%;
  }

  .space-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }

  .space-card p,
  .trust-grid p {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    height: 70px;
  }

  .wordmark {
    font-size: 27px;
  }

  .menu-toggle {
    display: grid;
    order: 3;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .text-button {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 69px;
    right: -18px;
    left: -18px;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 20px 18px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 12px 24px rgba(58, 70, 57, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .hero {
    display: flex;
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .hero-art {
    width: 100%;
    height: 380px;
    margin-top: 44px;
  }

  .perspectives-section,
  .interactive-grid {
    display: block;
  }

  .perspectives-section,
  .spaces-section,
  .trust-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .perspective-pair,
  .demo-card {
    margin-top: 40px;
  }

  .interactive-section {
    padding: 76px 0;
  }

  .center-heading,
  .trust-heading {
    margin-bottom: 40px;
    text-align: left;
  }

  .center-heading > p:last-child,
  .trust-heading > p:last-child {
    margin-left: 0;
  }

  .trust-more {
    margin-left: 0;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1200px);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .header-actions .button {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 14px;
  }

  .main-nav {
    right: -14px;
    left: -14px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-art {
    height: 320px;
  }

  .perspective-pair,
  .space-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .demo-card {
    padding: 22px 16px;
  }

  .choice {
    padding: 12px 10px;
  }

  .choice-icon {
    width: 20px;
    height: 20px;
    padding: 8px;
  }

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

  .space-card p,
  .trust-grid p {
    margin-bottom: 14px;
  }

  .final-cta {
    min-height: 440px;
  }

  .cta-moon {
    right: -18px;
    width: 92px;
    height: 92px;
  }

  .modal {
    padding: 32px 20px;
  }
}

/* Floating liquid-glass navigation and page-owned demo scrolling */
html {
  scroll-padding-top: 104px;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 80;
  width: min(calc(100% - 32px), 1240px);
  height: 64px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: rgba(247, 244, 235, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(58, 70, 57, 0.06),
    0 14px 36px rgba(44, 55, 46, 0.11),
    0 2px 8px rgba(44, 55, 46, 0.05);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  transform: translateX(-50%);
}

.site-header::after {
  position: absolute;
  inset: 1px 18% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  content: "";
  pointer-events: none;
}

.hero.section-shell,
.hero-copy {
  min-height: 100svh;
}

.hero-copy {
  padding-top: 132px;
}

.preview-device,
.preview-panel {
  overscroll-behavior: auto;
  touch-action: pan-y;
}

.preview-panel {
  overflow: visible;
  scrollbar-width: auto;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(247, 244, 235, 0.94);
  }
}

@media (prefers-color-scheme: dark) {
  .site-header {
    border-color: rgba(247, 244, 235, 0.16);
    background: rgba(23, 30, 25, 0.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2),
      0 16px 42px rgba(0, 0, 0, 0.28),
      0 2px 8px rgba(0, 0, 0, 0.18);
  }

  .site-header::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header { background: rgba(23, 30, 25, 0.94); }
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .site-header {
    width: min(calc(100% - 24px), 980px);
    gap: 22px;
  }

  .main-nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero-copy h1 {
    max-width: 660px;
    font-size: clamp(54px, 7.4vw, 72px);
  }

  .hero-description {
    max-width: 580px;
  }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 88px; }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 60px;
    padding: 0 12px;
    border-radius: 20px;
  }

  .main-nav {
    top: 67px;
    right: 0;
    left: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    background: rgba(247, 244, 235, 0.82);
    box-shadow: 0 18px 38px rgba(44, 55, 46, 0.14);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
  }

  .hero-copy {
    padding-top: 112px;
  }
}

@media (max-width: 720px) and (prefers-color-scheme: dark) {
  .main-nav {
    border-color: rgba(247, 244, 235, 0.14);
    background: rgba(23, 30, 25, 0.86);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 16px);
  }

  .hero-description {
    max-width: 350px;
    font-size: 15px;
  }
}

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

  .relationship-story {
    height: auto;
    padding: 84px 20px;
  }

  .relationship-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .relationship-messages {
    display: grid;
    gap: 8px;
    min-height: 0;
  }

  .relationship-messages p {
    position: static;
    font-family: var(--sans);
    font-size: 16px;
    opacity: 1;
    transform: none;
  }

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

/* Refined hero, unified phone experience, and automatic color scheme */
.hero.section-shell {
  display: block;
  width: 100%;
  min-height: calc(100svh - 82px);
  max-width: none;
  overflow: hidden;
  padding: 0;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(247, 244, 235, 0.98) 0%, rgba(247, 244, 235, 0.8) 43%, rgba(247, 244, 235, 0.08) 72%),
    linear-gradient(0deg, rgba(247, 244, 235, 0.04) 45%, rgba(247, 244, 235, 0.75) 100%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  z-index: 3;
  display: flex;
  width: min(100% - 48px, 1200px);
  min-height: calc(100svh - 82px);
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  padding: 72px 0 190px;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.12;
}

.hero-art {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  width: 100%;
  height: 62%;
  margin: 0;
  border-radius: 0;
  opacity: 0.78;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
}

.landscape {
  display: block;
  width: 100%;
  height: 100%;
}

.particle-network {
  z-index: 2;
  opacity: 0.9;
}

.hero-pointer-hint {
  position: absolute;
  top: 30%;
  right: max(6vw, calc((100vw - 1200px) / 2));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-pointer-hint span {
  width: 9px;
  height: 9px;
  border: 2px solid var(--terra);
  border-radius: 50%;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--terra) 15%, transparent);
}

.product-preview-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.product-preview-layout {
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 0.8fr);
  gap: clamp(44px, 8vw, 110px);
  max-width: 980px;
  align-items: center;
  margin: 58px auto 0;
}

.preview-tabs {
  border-top: 1px solid var(--line);
}

.preview-tab {
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 84px;
  align-content: center;
  column-gap: 12px;
  padding: 12px 8px;
}

.preview-tab > span {
  grid-row: 1 / 3;
  color: var(--terra);
  font-family: var(--serif);
  font-size: 18px;
}

.preview-tab b,
.preview-tab small {
  display: block;
}

.preview-tab b {
  color: inherit;
  font-size: 16px;
}

.preview-tab small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.preview-device {
  width: min(100%, 390px);
  height: 720px;
  min-height: 0;
  justify-self: center;
  overflow: hidden;
  padding: 72px 20px 24px;
  border: 9px solid #20251f;
  border-radius: 48px;
  box-shadow: 0 34px 84px rgba(35, 44, 36, 0.22);
}

.preview-device::before {
  top: 13px;
  width: 94px;
  height: 25px;
  border-radius: 15px;
  background: #20251f;
}

.phone-status {
  position: absolute;
  top: 18px;
  right: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.phone-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
}

.preview-panel {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.preview-panel h3 {
  font-size: clamp(28px, 3vw, 35px);
  line-height: 1.2;
}

.preview-description {
  margin-bottom: 20px;
  font-size: 14px;
}

.reflection-phone-panel .demo-card {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.reflection-phone-panel .demo-progress {
  font-size: 10px;
}

.reflection-phone-panel .progress-track {
  margin: 10px 0 20px;
}

.reflection-phone-panel h3 {
  font-size: 28px;
}

.reflection-phone-panel .choice {
  gap: 10px;
  padding: 10px;
}

.reflection-phone-panel .choice-icon {
  width: 18px;
  height: 18px;
  padding: 7px;
}

.reflection-phone-panel .choice b {
  font-size: 14px;
}

.reflection-phone-panel .choice small {
  font-size: 11px;
}

.reflection-phone-panel .demo-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.reflection-phone-panel .demo-actions .button {
  width: 100%;
}

.reflection-phone-panel .reflection-prompt {
  padding: 13px;
  font-size: 13px;
}

.mood-options button {
  padding-right: 13px;
  padding-left: 13px;
}

.preview-response {
  margin-top: 18px;
  padding: 14px;
  font-size: 13px;
}

.clarity-forms {
  height: 176px;
}

.clarity-forms span {
  width: 130px;
  height: 130px;
}

.clarity-forms span:first-child { left: calc(50% - 130px); }
.clarity-forms span:last-child { right: calc(50% - 130px); }

.roulette-cards button {
  min-height: 190px;
  padding: 11px;
  font-size: 15px;
}

.principles-section {
  padding: 112px 0;
  background: #e8ecdf;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 9%;
  align-items: center;
}

.principles-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.principle-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.principle-tab {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--olive) 34%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.principle-tab:hover,
.principle-tab.active {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--cream);
}

.principle-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  min-height: 210px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.principle-card > span {
  color: var(--terra);
  font-family: var(--serif);
  font-size: 34px;
}

.principle-card h3 {
  font-size: clamp(27px, 3vw, 36px);
}

.principle-card p,
.principle-note {
  color: var(--muted);
}

.principle-card p {
  margin: 12px 0 0;
}

.principle-note {
  margin: 14px 4px 0;
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #171e19;
    --sand: #3d473e;
    --sage: #9fb29f;
    --olive: #a7b8a4;
    --ochre: #dfb365;
    --terra: #dc896f;
    --deep: #f4f1e8;
    --white: #222b24;
    --muted: #b8c1b6;
    --line: rgba(244, 241, 232, 0.15);
    --shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
    color-scheme: dark;
  }

  .site-header { border-color: var(--line); }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(23, 30, 25, 0.98) 0%, rgba(23, 30, 25, 0.78) 43%, rgba(23, 30, 25, 0.08) 74%),
      linear-gradient(0deg, rgba(23, 30, 25, 0.04) 45%, rgba(23, 30, 25, 0.8) 100%);
  }

  .hero-art {
    opacity: 0.46;
    filter: saturate(0.76) brightness(0.76);
  }

  .relationship-story { background: #1b231d; }
  .principles-section { background: #202a22; }

  .perspective-icon,
  .space-icon,
  .trust-icon,
  .choice-icon,
  .sage { background: #2b382e; }
  .warm { background: #402e29; }
  .ochre { background: #403723; color: var(--ochre); }

  .choice:hover,
  .choice.selected { background: #2a352c; }

  .progress-track { background: #364138; }
  .reflection-prompt,
  .preview-response,
  .modal-callout,
  .modal-message { background: #2b342d; }

  .preview-switch,
  .preference-toggle { background: #29332b; }

  .preview-device {
    border-color: #0c110d;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  }

  .preview-device::before { background: #0c110d; }
  .clarity-forms span { mix-blend-mode: screen; opacity: 0.68; }
  .main-nav { background: var(--cream); }
  .modal-form input,
  .social-button { border-color: var(--line); }

  .final-cta {
    background: #0d140f;
    color: #f7f4eb;
  }

  .final-cta .button-light {
    border-color: #f7f4eb;
    background: #f7f4eb;
    color: #29352c;
  }

  .final-cta .button-dark-outline {
    border-color: #a5b5a4;
    color: #f7f4eb;
  }
}

@media (max-width: 900px) {
  .hero-pointer-hint { display: none; }

  .product-preview-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .preview-tabs {
    display: grid;
    grid-auto-columns: minmax(190px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
  }

  .preview-tab {
    min-height: 76px;
    padding: 10px 12px;
    border-bottom: 0;
    text-align: left;
  }

  .preview-tab:hover,
  .preview-tab.active { padding-left: 12px; }

  .preview-tab.active { box-shadow: inset 0 -3px var(--terra); }

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

@media (max-width: 720px) {
  .hero.section-shell { min-height: calc(100svh - 70px); }

  .hero-copy {
    width: min(100% - 36px, 1200px);
    min-height: calc(100svh - 70px);
    padding: 54px 0 180px;
  }

  .hero-copy h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-description { max-width: 480px; }
  .hero-art { height: 53%; opacity: 0.62; }
  .particle-network { opacity: 0.82; }

  .product-preview-section,
  .principles-section { padding-top: 82px; padding-bottom: 82px; }

  .preview-device {
    height: 690px;
    padding: 70px 18px 22px;
  }
}

@media (max-width: 480px) {
  .hero-copy { width: min(100% - 28px, 1200px); }
  .hero-copy h1 { font-size: 43px; }
  .hero-copy .button-row { width: min(100%, 330px); }

  .preview-device {
    width: min(100%, 350px);
    height: 670px;
    padding-right: 14px;
    padding-left: 14px;
    border-width: 7px;
    border-radius: 40px;
  }

  .preview-tab { grid-template-columns: 28px 1fr; }
  .reflection-phone-panel h3 { font-size: 25px; }
  .roulette-cards button { min-height: 170px; }

  .principle-card {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 250px;
    padding: 24px;
  }
}

@media (hover: none) {
  .hero-pointer-hint { display: none; }
}

@media (max-width: 900px) {
  .product-preview-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .preview-tabs {
    grid-template-columns: repeat(4, minmax(max-content, 1fr));
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
  }

  .preview-tab {
    padding: 13px 12px;
    border-bottom: 0;
    text-align: center;
  }

  .preview-tab:hover,
  .preview-tab.active { padding-left: 12px; }

  .preview-tab.active {
    box-shadow: inset 0 -3px var(--terra);
  }

  .journey-section,
  .positioning-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .journey-heading { position: static; }
}

@media (max-width: 720px) {
  .relationship-story { height: 260vh; }
  .relationship-sticky { min-height: 560px; padding-top: 72px; }
  .relationship-orbit { width: 108vw; margin-top: 12px; }

  .product-preview-section,
  .journey-section,
  .positioning-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .preview-device {
    min-height: 500px;
    padding: 38px 22px 26px;
    border-radius: 22px;
  }

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

@media (max-width: 480px) {
  .preview-tabs { grid-template-columns: repeat(4, max-content); }
  .preview-device { min-height: 470px; padding-right: 16px; padding-left: 16px; }
  .roulette-cards { gap: 6px; }
  .roulette-cards button { min-height: 174px; padding: 10px; font-size: 15px; }
  .clarity-forms span { width: 124px; height: 124px; }
  .clarity-forms span:first-child { left: calc(50% - 124px); }
  .clarity-forms span:last-child { right: calc(50% - 124px); }
  .journey-step { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .relationship-story {
    height: auto;
    padding: 84px 20px;
  }

  .relationship-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0;
  }
}

/* Keep phone-demo responsiveness last so legacy breakpoints cannot override it. */
@media (max-width: 900px) {
  .product-preview-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .preview-tabs {
    display: grid;
    grid-auto-columns: minmax(190px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
  }

  .preview-tab {
    min-height: 76px;
    padding: 10px 12px;
    border-bottom: 0;
    text-align: left;
  }

  .preview-tab:hover,
  .preview-tab.active { padding-left: 12px; }
  .preview-tab.active { box-shadow: inset 0 -3px var(--terra); }

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

@media (max-width: 720px) {
  .preview-device {
    height: 690px;
    min-height: 0;
    padding: 70px 18px 22px;
    border-radius: 44px;
  }
}

@media (max-width: 480px) {
  .preview-tabs {
    grid-auto-columns: minmax(180px, 1fr);
    grid-template-columns: none;
  }

  .preview-device {
    width: min(100%, 350px);
    height: 670px;
    min-height: 0;
    padding: 70px 14px 22px;
    border-width: 7px;
    border-radius: 40px;
  }
}

/* Final behavior overrides: the page always owns vertical scrolling. */
.hero.section-shell,
.hero-copy {
  min-height: 100svh;
}

.hero-copy {
  padding-top: 132px;
}

.preview-device,
.preview-panel {
  overscroll-behavior: auto;
  touch-action: pan-y;
}

.preview-panel {
  overflow: visible;
  scrollbar-width: auto;
}

@media (max-width: 720px) {
  .hero.section-shell,
  .hero-copy {
    min-height: 100svh;
  }

  .hero-copy {
    padding-top: 112px;
  }
}

/* Editorial hero and product-story preview */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  width: min(calc(100% - 32px), 1280px);
  height: 66px;
  padding: 0 15px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 23px;
  background: rgba(247, 244, 235, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(58, 70, 57, 0.06),
    0 18px 50px rgba(58, 70, 57, 0.1);
}

.wordmark { justify-self: start; }

.main-nav {
  position: static;
  display: flex;
  justify-self: center;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nav-blog {
  border: 0;
  background: transparent;
  color: var(--deep);
  font-weight: 600;
}

.header-actions {
  justify-self: end;
}

.profile-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--deep) 16%, transparent);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  color: var(--deep);
  font-size: 19px;
  transition: background 180ms ease, transform 180ms ease;
}

.profile-button:hover {
  background: rgba(255, 255, 255, 0.62);
  transform: translateY(-1px);
}

.hero.section-shell,
.hero-copy {
  min-height: 100svh;
}

.hero::after {
  background:
    radial-gradient(circle at 50% 42%, rgba(247, 244, 235, 0.45) 0 20%, transparent 58%),
    linear-gradient(180deg, rgba(58, 70, 57, 0.2) 0%, rgba(247, 244, 235, 0.05) 24%, rgba(58, 70, 57, 0.3) 100%);
}

.hero-copy {
  align-items: center;
  justify-content: center;
  width: min(100% - 48px, 1240px);
  padding: 150px 0 104px;
  text-align: center;
}

.hero-copy::before {
  position: absolute;
  z-index: -1;
  width: min(86vw, 980px);
  height: min(58vw, 580px);
  border-radius: 50%;
  background: rgba(247, 244, 235, 0.16);
  filter: blur(60px);
  content: "";
}

.hero-copy h1 {
  max-width: 1120px;
  font-family: var(--sans);
  font-size: clamp(52px, 6.65vw, 98px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-copy h1 em {
  color: inherit;
  font-family: var(--serif);
  font-weight: 500;
}

.hero-description {
  max-width: 710px;
  margin: 28px auto 30px;
  color: var(--deep);
  font-size: clamp(17px, 1.7vw, 22px);
  text-wrap: balance;
}

.hero-copy .button-row,
.hero-note {
  justify-content: center;
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(247, 244, 235, 0.28);
  color: var(--deep);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.button-glass:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(247, 244, 235, 0.56);
  color: var(--deep);
}

.hero-note {
  margin-top: 24px;
  color: color-mix(in srgb, var(--deep) 82%, transparent);
}

.hero-art {
  inset: 0;
  height: 100%;
  opacity: 0.82;
  filter: saturate(0.85) contrast(0.92);
  mask-image: none;
}

.landscape { transform: scale(1.035); }

.particle-network {
  z-index: 2;
  opacity: 0.96;
}

.inside-section {
  padding-top: 128px;
  padding-bottom: 136px;
}

.inside-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  margin-bottom: 62px;
}

.inside-heading h2 { font-size: clamp(42px, 5.2vw, 70px); }

.inside-heading > div:last-child {
  padding-bottom: 8px;
}

.inside-heading > div:last-child p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 18px;
}

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

.inside-card {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  padding: 34px 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 34px;
  background: color-mix(in srgb, var(--sage) 34%, var(--cream));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.inside-card::after {
  position: absolute;
  inset: auto -20% -18% 20%;
  height: 58%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  filter: blur(44px);
  content: "";
}

.inside-card-us { background: color-mix(in srgb, var(--ochre) 27%, var(--cream)); }
.inside-card-grow { background: color-mix(in srgb, var(--terra) 19%, var(--cream)); }

.inside-card-copy {
  position: relative;
  z-index: 2;
  min-height: 245px;
}

.inside-kicker,
.scene-label {
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inside-card h3 {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.inside-card-copy p {
  margin-top: 16px;
  color: var(--muted);
}

.app-scene {
  position: relative;
  z-index: 2;
  width: calc(100% + 10px);
  min-height: 430px;
  margin: 4px -5px 0;
  padding: 25px 22px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 24px 55px rgba(58, 70, 57, 0.16);
  transform: rotate(-1.5deg) translateY(14px);
}

.inside-card-us .app-scene { transform: rotate(1.2deg) translateY(8px); }
.inside-card-grow .app-scene { transform: rotate(-0.7deg) translateY(17px); }

.scene-toolbar,
.privacy-pill,
.scene-insight,
.perspective-mini,
.roulette-mini > div {
  display: flex;
  align-items: center;
}

.scene-toolbar {
  justify-content: space-between;
  margin-bottom: 36px;
  font-weight: 700;
}

.privacy-pill {
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sage) 28%, white);
  color: var(--olive);
  font-size: 10px;
  font-weight: 700;
}

.privacy-pill.shared { background: color-mix(in srgb, var(--ochre) 25%, white); }
.privacy-pill .icon { font-size: 13px; }

.app-scene h4 {
  margin: 10px 0 20px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.28;
}

.scene-choices {
  display: grid;
  gap: 8px;
}

.scene-choices span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
}

.scene-choices .chosen {
  border-color: var(--olive);
  background: color-mix(in srgb, var(--sage) 18%, white);
  color: var(--deep);
  font-weight: 700;
}

.scene-insight {
  gap: 11px;
  margin-top: 18px;
  padding: 13px;
  border-radius: 15px;
  background: var(--deep);
  color: var(--cream);
}

.scene-insight > .icon { color: var(--ochre); }
.scene-insight b,
.scene-insight small { display: block; }
.scene-insight small { margin-top: 2px; opacity: 0.74; }

.perspective-mini {
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
  padding: 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--sage) 14%, white);
}

.perspective-mini.them { background: color-mix(in srgb, var(--ochre) 15%, white); }
.perspective-mini span { min-width: 38px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.perspective-mini b { font-family: var(--serif); font-size: 16px; font-weight: 500; }

.scene-prompt {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.scene-prompt span,
.scene-prompt b { display: block; }
.scene-prompt span { color: var(--olive); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.scene-prompt b { margin-top: 5px; font-size: 14px; }

.practice-days {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.practice-days span {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
}

.practice-days .done { border-color: var(--sage); background: var(--sage); color: var(--deep); }
.practice-days .current { border-color: var(--olive); color: var(--olive); }

.roulette-mini {
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--terra) 9%, white);
}

.roulette-mini > span,
.roulette-mini > b { display: block; font-size: 11px; }
.roulette-mini > span { color: var(--muted); }
.roulette-mini > b { margin-top: 10px; }
.roulette-mini > div { gap: 7px; margin-top: 12px; }
.roulette-mini i {
  display: grid;
  width: 48px;
  height: 61px;
  place-items: center;
  border-radius: 10px;
  background: var(--deep);
}
.roulette-mini i::after { width: 5px; height: 5px; border-radius: 50%; background: var(--cream); content: ""; }
.roulette-mini i.revealed { background: var(--terra); color: white; }
.roulette-mini i.revealed::after { display: none; }

@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(23, 30, 25, 0.48); }
  .profile-button { background: rgba(247, 244, 235, 0.08); }
  .hero::after {
    background:
      radial-gradient(circle at 50% 42%, rgba(23, 30, 25, 0.22) 0 25%, transparent 62%),
      linear-gradient(180deg, rgba(23, 30, 25, 0.32), rgba(23, 30, 25, 0.08) 36%, rgba(23, 30, 25, 0.56));
  }
  .hero-copy::before { background: rgba(23, 30, 25, 0.19); }
  .hero-art { opacity: 0.58; filter: saturate(0.78) brightness(0.72); }
  .hero-description,
  .hero-note { color: #f1eee4; }
  .button-glass { background: rgba(23, 30, 25, 0.24); color: #f7f4eb; }
  .inside-card { border-color: rgba(247, 244, 235, 0.12); }
  .app-scene { border-color: rgba(247, 244, 235, 0.1); background: rgba(26, 34, 28, 0.94); }
  .privacy-pill,
  .perspective-mini,
  .scene-choices .chosen { background: rgba(167, 184, 164, 0.14); }
  .privacy-pill.shared,
  .perspective-mini.them { background: rgba(212, 163, 91, 0.12); }
  .roulette-mini { background: rgba(192, 106, 79, 0.11); }
}

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

  .inside-card-grow {
    grid-column: 1 / -1;
    min-height: 620px;
  }

  .inside-card-grow .inside-card-copy { max-width: 55%; }
  .inside-card-grow .app-scene {
    position: absolute;
    right: 30px;
    bottom: 0;
    width: 42%;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    width: calc(100% - 20px);
    height: 60px;
    padding: 0 8px 0 16px;
    border-radius: 20px;
  }

  .main-nav {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-blog { padding: 8px 4px; font-size: 14px; }
  .header-actions { gap: 6px; }
  .header-actions .button-small { min-height: 40px; padding: 9px 12px; }
  .header-actions .button-small .icon { display: none; }
  .profile-button { width: 40px; height: 40px; }

  .hero-copy {
    width: min(100% - 32px, 650px);
    min-height: 100svh;
    padding: 120px 0 70px;
  }

  .hero-copy h1 { font-size: clamp(44px, 12.8vw, 68px); }
  .hero-description { font-size: 17px; }
  .hero-art { opacity: 0.7; }

  .inside-section { padding-top: 92px; padding-bottom: 96px; }
  .inside-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .inside-heading h2 { font-size: clamp(38px, 11vw, 55px); }
  .inside-heading > div:last-child p { font-size: 16px; }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-card,
  .inside-card-grow { grid-column: auto; min-height: 660px; }
  .inside-card-grow .inside-card-copy { max-width: none; }
  .inside-card-grow .app-scene {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + 10px);
  }
}

@media (max-width: 480px) {
  .wordmark { font-size: 24px; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .hero-copy h1 { font-size: clamp(42px, 12.3vw, 56px); }
  .hero-copy .button-row { width: 100%; }
  .hero-copy .button-row .button { width: auto; flex: 1 1 145px; padding-inline: 14px; }
  .hero-note { align-items: flex-start; font-size: 13px; }
  .inside-card { min-height: 630px; padding: 28px 20px 0; border-radius: 27px; }
  .inside-card-copy { min-height: 235px; }
  .app-scene { padding: 22px 17px; }
}

/* Rotating hero statement */
.hero-copy .hero-heading {
  max-width: calc(100vw - 56px);
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.08;
}

.hero-lead,
.hero-rotating {
  display: block;
}

.hero-lead {
  margin-bottom: 6px;
  font-size: 0.9em;
  font-weight: 400;
}

.hero-rotating {
  min-height: 1.08em;
  white-space: nowrap;
  transition: opacity 320ms ease, transform 320ms ease;
}

.hero-rotating.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

/* Anujog journal */
.journal-page {
  background:
    radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--ochre) 14%, transparent), transparent 28rem),
    var(--cream);
}

.journal-main {
  padding-top: 104px;
}

.journal-hero {
  padding-top: 100px;
  padding-bottom: 90px;
}

.journal-hero h1 {
  max-width: 1000px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1.04;
}

.journal-hero > p:last-child {
  max-width: 690px;
  margin: 30px 0 0 auto;
  color: var(--muted);
  font-size: 19px;
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: stretch;
  gap: clamp(34px, 6vw, 84px);
  padding-bottom: 112px;
}

.featured-story-image,
.journal-card-image,
.article-image {
  overflow: hidden;
  background: var(--sand);
}

.featured-story-image {
  min-height: 560px;
  border-radius: 34px;
}

.featured-story-image img,
.journal-card-image img,
.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-story-image:hover img,
.journal-card-image:hover img {
  transform: scale(1.025);
}

.featured-story-copy {
  align-self: center;
}

.journal-category {
  margin: 0 0 16px;
  color: var(--terra);
  font-size: 13px;
  font-weight: 700;
}

.featured-story-copy h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
}

.featured-story-copy > p:not(.journal-category) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.story-meta a {
  color: var(--deep);
  font-weight: 700;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 90px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line);
}

.journal-card {
  min-width: 0;
}

.journal-card-image {
  display: block;
  aspect-ratio: 1.55;
  margin-bottom: 26px;
  border-radius: 26px;
}

.journal-card h2 {
  max-width: 560px;
  font-size: clamp(31px, 3.4vw, 48px);
  line-height: 1.12;
}

.journal-card > p:not(.journal-category) {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
}

.journal-note {
  margin-bottom: 120px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journal-note p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.journal-footer {
  margin-top: 0;
}

/* Journal article */
.journal-article {
  padding-top: 150px;
}

.article-header {
  width: min(100% - 48px, 960px);
  margin: 0 auto;
  text-align: center;
}

.article-back {
  display: inline-block;
  margin-bottom: 42px;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-size: 14px;
}

.article-header .journal-category {
  margin-bottom: 20px;
}

.article-header h1 {
  max-width: none;
  font-size: clamp(52px, 7vw, 94px);
  line-height: 1.02;
}

.article-deck {
  max-width: 710px;
  margin: 28px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
}

.article-header .story-meta {
  max-width: 520px;
  margin: 36px auto 0;
}

.article-image {
  width: min(100% - 48px, 1280px);
  aspect-ratio: 1.75;
  margin: 76px auto 0;
  border-radius: 36px;
}

.article-body {
  width: min(100% - 48px, 720px);
  margin: 78px auto 0;
  color: color-mix(in srgb, var(--deep) 90%, var(--muted));
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.78;
}

.article-body p {
  margin: 0 0 30px;
}

.article-body .article-opening {
  color: var(--deep);
  font-size: 26px;
  line-height: 1.55;
}

.article-body h2 {
  margin: 68px 0 22px;
  font-size: 40px;
  line-height: 1.18;
}

.article-body blockquote {
  margin: 52px -70px;
  padding: 30px 42px;
  border-left: 3px solid var(--terra);
  color: var(--deep);
  font-size: 30px;
  line-height: 1.45;
}

.article-prompt {
  margin: 58px -44px;
  padding: 38px 42px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--sage) 28%, var(--cream));
  color: var(--deep);
}

.article-prompt span {
  color: var(--olive);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.article-prompt h3 {
  margin-top: 12px;
  font-size: 30px;
}

.article-prompt p {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

.article-next {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  margin-top: 110px;
  padding-top: 36px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}

.article-next span {
  color: var(--muted);
  font-size: 13px;
}

.article-next a {
  max-width: 700px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.15;
  text-align: right;
}

@media (prefers-color-scheme: dark) {
  .journal-page {
    background:
      radial-gradient(circle at 84% 8%, rgba(212, 163, 91, 0.08), transparent 28rem),
      var(--cream);
  }
  .story-meta a { color: var(--deep); }
  .article-prompt { background: rgba(167, 184, 164, 0.12); }
  .featured-story-image img,
  .journal-card-image img,
  .article-image img { filter: brightness(0.82) saturate(0.84); }
}

@media (max-width: 900px) {
  .hero-copy .hero-heading { font-size: clamp(32px, 4.3vw, 44px); }
  .featured-story { grid-template-columns: 1fr; }
  .featured-story-image { min-height: 0; aspect-ratio: 1.55; }
  .featured-story-copy { max-width: 680px; }
}

@media (max-width: 720px) {
  .hero-copy .hero-heading {
    max-width: 620px;
    font-size: clamp(38px, 10.6vw, 58px);
  }
  .hero-rotating { min-height: 2.16em; white-space: normal; }
  .journal-main { padding-top: 74px; }
  .journal-hero { padding-top: 78px; padding-bottom: 64px; }
  .journal-hero h1 { font-size: clamp(43px, 12vw, 65px); }
  .journal-hero > p:last-child { margin-left: 0; font-size: 17px; }
  .featured-story { padding-bottom: 82px; }
  .journal-grid { grid-template-columns: 1fr; gap: 72px; padding-top: 72px; padding-bottom: 90px; }
  .journal-card-image { margin-bottom: 22px; }
  .journal-note { margin-bottom: 90px; }
  .journal-article { padding-top: 112px; }
  .article-header { width: min(100% - 34px, 960px); }
  .article-header h1 { font-size: clamp(43px, 12vw, 66px); }
  .article-image { width: calc(100% - 24px); margin-top: 54px; border-radius: 24px; }
  .article-body { width: min(100% - 36px, 720px); margin-top: 56px; font-size: 18px; }
  .article-body .article-opening { font-size: 22px; }
  .article-body h2 { margin-top: 52px; font-size: 34px; }
  .article-body blockquote { margin: 42px 0; padding: 24px 28px; font-size: 25px; }
  .article-prompt { margin: 46px 0; padding: 30px 26px; }
  .article-next { align-items: flex-start; flex-direction: column; margin-top: 80px; }
  .article-next a { text-align: left; }
}

@media (max-width: 480px) {
  .journal-page .site-header { grid-template-columns: 1fr auto auto; }
  .journal-page .header-actions .profile-button { display: none; }
  .journal-page .header-actions .button-small { padding-inline: 11px; }
  .journal-hero { padding-top: 58px; }
  .featured-story-image { border-radius: 24px; }
  .article-image { aspect-ratio: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotating,
  .featured-story-image img,
  .journal-card-image img { transition: none; }
}

/* Brand assets and final responsive alignment pass */
.wordmark,
.modal-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: 46px;
  object-fit: contain;
}

.footer-wordmark .brand-wordmark {
  height: 58px;
}

.modal-brand .brand-wordmark {
  height: 54px;
}

.phone-brand-mark {
  display: block;
  width: 27px;
  height: 18px;
  object-fit: contain;
}

.cta-brand-mark {
  width: 86px;
  height: auto;
  margin: 0 auto 14px;
}

@media (prefers-color-scheme: dark) {
  .brand-wordmark {
    content: url("assets/brand/anujog-wordmark-light.png");
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .relationship-sticky {
    display: flex;
    height: 100svh;
    min-height: 620px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 96px 32px 56px;
  }

  .relationship-story-heading,
  .relationship-messages {
    width: min(100%, 640px);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .relationship-orbit {
    width: min(88vw, 680px);
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .section-shell,
  .site-footer {
    width: min(calc(100% - 32px), 1200px);
  }

  .site-header,
  .journal-page .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    width: calc(100% - 20px);
    height: 60px;
    padding: 0 10px 0 14px;
    border-radius: 20px;
  }

  .site-header .wordmark {
    min-width: 0;
    justify-self: start;
  }

  .site-header .brand-wordmark {
    height: 38px;
  }

  .site-header .main-nav {
    position: static;
    display: flex;
    width: auto;
    justify-self: end;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header .nav-home {
    display: none;
  }

  .site-header .nav-blog {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 3px;
    font-size: 14px;
  }

  .site-header .header-actions {
    justify-self: end;
    margin: 0;
  }

  .site-header .header-actions .button-small {
    display: none;
  }

  .site-header .profile-button,
  .journal-page .header-actions .profile-button {
    display: grid;
    width: 42px;
    height: 42px;
  }

  .hero-copy {
    width: min(calc(100% - 32px), 620px);
    padding: 104px 0 64px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 12px;
  }

  .hero-copy .hero-heading {
    max-width: 100%;
    font-size: clamp(38px, 10.5vw, 56px);
    line-height: 1.08;
  }

  .hero-rotating {
    min-height: 2.16em;
    white-space: normal;
    text-wrap: balance;
  }

  .hero-description {
    max-width: 540px;
    margin: 20px auto 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-copy .button-row {
    display: grid;
    width: min(100%, 350px);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-copy .button-row .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-note {
    max-width: 330px;
    justify-content: center;
    margin-top: 18px;
    text-align: left;
  }

  .hero-art {
    height: 100%;
    opacity: 0.66;
  }

  .inside-section {
    padding-top: 80px;
    padding-bottom: 84px;
  }

  .inside-heading {
    gap: 20px;
    margin-bottom: 34px;
  }

  .inside-heading h2 {
    font-size: clamp(36px, 10vw, 50px);
    line-height: 1.12;
  }

  .inside-card,
  .inside-card-grow {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 26px 20px 20px;
    border-radius: 26px;
  }

  .inside-card-copy,
  .inside-card-grow .inside-card-copy {
    max-width: none;
    min-height: 0;
    margin-bottom: 24px;
  }

  .inside-card h3 {
    font-size: 27px;
  }

  .inside-card .app-scene,
  .inside-card-grow .app-scene {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 22px;
    transform: none;
  }

  .scene-toolbar {
    margin-bottom: 26px;
  }

  .relationship-story {
    height: 240vh;
  }

  .relationship-sticky {
    display: flex;
    width: 100%;
    height: 100svh;
    min-height: 540px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 92px 18px 42px;
    text-align: center;
  }

  .relationship-story-heading {
    width: min(100%, 430px);
    margin: 0 auto;
    text-align: center;
  }

  .relationship-story-heading .eyebrow {
    margin-bottom: 8px;
  }

  .relationship-story-heading h2 {
    font-size: clamp(34px, 10vw, 43px);
    line-height: 1.15;
    text-wrap: balance;
  }

  .relationship-orbit {
    width: min(100%, 520px);
    margin: 10px auto 8px;
  }

  .relationship-messages {
    width: min(100%, 430px);
    min-height: 92px;
    margin: 0 auto;
    text-align: center;
  }

  .relationship-messages p {
    display: grid;
    place-items: start center;
    font-size: clamp(26px, 8vw, 34px);
    text-wrap: balance;
  }

  .perspectives-section {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .perspectives-section .section-intro {
    text-align: center;
  }

  .perspectives-section .section-intro > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .perspective-pair {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 0;
  }

  .product-preview-section,
  .journey-section,
  .spaces-section,
  .trust-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .preview-intro {
    margin: 0 auto;
    text-align: center;
  }

  .preview-intro > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .product-preview-layout {
    gap: 30px;
    margin-top: 38px;
  }

  .preview-tabs {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    border: 0;
  }

  .preview-tab {
    display: block;
    min-height: 76px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: left;
  }

  .preview-tab:hover,
  .preview-tab.active {
    padding-left: 12px;
  }

  .preview-tab.active {
    border-color: var(--olive);
    background: color-mix(in srgb, var(--sage) 16%, transparent);
    box-shadow: none;
  }

  .preview-tab > span {
    display: none;
  }

  .preview-tab small {
    margin-top: 4px;
  }

  .preview-tab:last-child {
    grid-column: 1 / -1;
  }

  .preview-device {
    width: min(100%, 370px);
    height: auto;
    min-height: 650px;
    padding: 68px 16px 24px;
    border-width: 7px;
    border-radius: 40px;
  }

  .preview-panel {
    height: auto;
    min-height: 548px;
    overflow: visible;
  }

  .phone-status {
    right: 17px;
    left: 17px;
  }

  .space-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .center-heading,
  .trust-heading {
    text-align: left;
  }

  .journey-section {
    gap: 36px;
  }

  .journey-step {
    gap: 14px;
  }

  .journey-step > span {
    width: 38px;
    height: 38px;
  }

  .principles-section {
    padding: 76px 0;
  }

  .principles-layout {
    gap: 30px;
  }

  .principle-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .principle-tab {
    width: 100%;
    text-align: left;
  }

  .principle-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .final-cta {
    min-height: 620px;
    padding: 82px 18px;
  }

  .cta-brand-mark {
    width: 72px;
  }

  .final-cta .button-row {
    display: grid;
    width: min(100%, 340px);
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 1fr;
  }

  .final-cta .button-row .button {
    width: 100%;
  }

  .footer-top {
    gap: 22px;
  }

  .footer-wordmark .brand-wordmark {
    height: 52px;
  }

  .footer-links {
    row-gap: 12px;
  }

  .modal {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    padding: 30px 20px 24px;
    overflow-y: auto;
  }

  .modal-brand .brand-wordmark {
    height: 48px;
  }

  .journal-main {
    padding-top: 70px;
  }

  .journal-hero {
    padding-top: 60px;
  }

  .featured-story,
  .journal-grid {
    gap: 48px;
  }

  .featured-story-image,
  .journal-card-image {
    border-radius: 22px;
  }

  .article-image {
    width: calc(100% - 20px);
  }
}

@media (max-width: 380px) {
  .site-header,
  .journal-page .site-header {
    gap: 9px;
    width: calc(100% - 14px);
    padding-right: 8px;
    padding-left: 11px;
  }

  .site-header .brand-wordmark {
    height: 34px;
  }

  .site-header .profile-button,
  .journal-page .header-actions .profile-button {
    width: 40px;
    height: 40px;
  }

  .hero-copy .hero-heading {
    font-size: clamp(34px, 10vw, 42px);
  }

  .preview-tabs {
    grid-template-columns: 1fr;
  }

  .preview-tab:last-child {
    grid-column: auto;
  }

  .preview-device {
    min-height: 630px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .choice {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}
