:root {
  --navy: #050717;
  --ink: #121522;
  --ink-soft: rgba(18, 21, 34, 0.68);
  --ink-faint: rgba(18, 21, 34, 0.42);
  --gold: #d4af37;
  --gold-deep: #9c7a1e;
  --paper: #f8f5ee;
  --cream: #ede6d7;
  --lilac: #f2efed;
  --sage: #9daa8d;
  --moss: #455a42;
  --rose: #9a6b69;
  --line: rgba(18, 21, 34, 0.12);
  --line-strong: rgba(18, 21, 34, 0.22);
  --shadow: 0 18px 60px rgba(5, 7, 23, 0.12);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Libre Franklin", system-ui, sans-serif;
  --radius: 6px;
  --type-meta: calc(10px * var(--text-scale, 1));
  --type-small: calc(11px * var(--text-scale, 1));
  --type-body: calc(13px * var(--text-scale, 1));
  --type-lead: calc(14px * var(--text-scale, 1));
  --type-h3: calc(16px * var(--text-scale, 1));
  --type-h2: calc(20px * var(--text-scale, 1));
  --type-hero: clamp(28px, 7.5vw, 42px);
  --stage-headline: var(--type-hero);
  --stage-subhead: var(--type-h3);
  --stage-copy: var(--type-body);
  --stage-meta: var(--type-meta);
  --app-hero: var(--type-hero);
  --app-title: var(--type-h2);
  --app-subtitle: var(--type-lead);
  --app-copy: var(--type-body);
  --app-meta: var(--type-meta);
  --app-frame-width: 620px;
  --app-page-x: clamp(18px, 5vw, 32px);
  --app-page-top: 22px;
  --app-page-bottom: 132px;
  --rhythm-banner-height: 205px;
  --rhythm-banner-padding: 24px;
  --rhythm-banner-mark: 54px;
}

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

html {
  min-height: 100%;
  scrollbar-gutter: stable;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  overscroll-behavior-y: none;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#app > .from-splash {
  position: relative;
}

#app > .from-splash::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  pointer-events: none;
  animation: splash-overlay-release 1.65s cubic-bezier(0.2, 0.72, 0.18, 1) forwards;
}

@keyframes splash-overlay-release {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 23, 0.035), transparent 28%, transparent 72%, rgba(69, 90, 66, 0.05)),
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.07), transparent 48%),
    radial-gradient(ellipse at 95% 85%, rgba(157, 170, 141, 0.18), transparent 40%);
}

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

button {
  cursor: pointer;
}

strong,
b {
  font-weight: 400;
}

a {
  color: inherit;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overscroll-behavior-y: none;
}

.splash {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--navy);
  color: var(--paper);
}

.splash-inner {
  position: relative;
  width: min(520px, 100%);
  min-height: 340px;
  text-align: center;
  animation: splash-scene-fade-out 0.78s ease 3.55s forwards;
}

@keyframes splash-scene-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.splash-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(244, 207, 92, 0.52) 0 12%, rgba(212, 175, 55, 0.28) 30%, rgba(212, 175, 55, 0.12) 50%, rgba(212, 175, 55, 0) 72%);
  filter: blur(18px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  animation:
    butterfly-halo-fade 1.1s ease forwards,
    butterfly-cloud-pulse 2.4s ease-in-out 1.1s infinite;
  pointer-events: none;
}

.wordmark {
  display: inline-block;
  color: currentColor;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  white-space: nowrap;
}

.wordmark span {
  display: inline;
  color: var(--gold);
}

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

.wordmark sup {
  display: inline;
  position: relative;
  top: -0.35em;
  margin-left: 0.04em;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.14em;
  line-height: 0;
}

.mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.9;
}

.splash .mark {
  width: 158px;
  height: 158px;
  margin: 0;
}

.splash h1,
.splash-butterfly {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
}

.splash-butterfly {
  z-index: 2;
  filter: drop-shadow(0 0 38px rgba(244, 207, 92, 0.72)) drop-shadow(0 0 82px rgba(212, 175, 55, 0.36));
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  animation:
    butterfly-fade-in 1.1s ease forwards,
    butterfly-glow-pulse 2.4s ease-in-out 1.1s infinite;
}

.splash h1,
.page-title,
.encounter-title,
.section-title,
.complete-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.splash h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 92px);
  line-height: 1.05;
  opacity: 0;
  transform: translate(-50%, 118px) scale(0.64);
  animation: wordmark-fade-in 1.2s ease 0.1s forwards;
}

@keyframes wordmark-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.7;
  }
}

@keyframes butterfly-halo-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.78;
  }
}

@keyframes butterfly-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wordmark-yield {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.985);
  }
  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  22% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  38% {
    opacity: 0.9;
    transform: translate(-50%, 78px) scale(0.78);
  }
  58% {
    opacity: 0.76;
    transform: translate(-50%, 124px) scale(0.61);
  }
  100% {
    opacity: 0.7;
    transform: translate(-50%, 118px) scale(0.64);
  }
}

@keyframes butterfly-cloud-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  48% {
    opacity: 0.98;
  }
}

@keyframes butterfly-glow-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 30px rgba(244, 207, 92, 0.58)) drop-shadow(0 0 68px rgba(212, 175, 55, 0.28));
  }
  48% {
    filter: drop-shadow(0 0 52px rgba(244, 207, 92, 0.92)) drop-shadow(0 0 112px rgba(212, 175, 55, 0.5));
  }
}

@keyframes butterfly-halo {
  0%,
  18% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.22);
  }
  34% {
    opacity: 0.46;
    transform: translate(-50.6%, -50.2%) scale(0.62);
  }
  56% {
    opacity: 0.96;
    transform: translate(-49.7%, -50.4%) scale(1.04);
  }
  74% {
    opacity: 0.82;
    transform: translate(-50%, -49.8%) scale(0.98);
  }
  100% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes butterfly-arrive {
  0%,
  18% {
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
    transform: translate(-50%, -50%) scale(0.24) rotate(-4deg);
  }
  34% {
    opacity: 0.84;
    filter: drop-shadow(0 0 24px rgba(244, 207, 92, 0.54)) drop-shadow(0 0 54px rgba(212, 175, 55, 0.24));
    transform: translate(-50.7%, -50.4%) scale(0.7) rotate(1.8deg);
  }
  56% {
    opacity: 1;
    filter: drop-shadow(0 0 48px rgba(244, 207, 92, 0.95)) drop-shadow(0 0 110px rgba(212, 175, 55, 0.52));
    transform: translate(-49.6%, -50.1%) scale(1.02) rotate(-0.8deg);
  }
  74% {
    opacity: 1;
    filter: drop-shadow(0 0 36px rgba(244, 207, 92, 0.74)) drop-shadow(0 0 84px rgba(212, 175, 55, 0.34));
    transform: translate(-50.1%, -49.9%) scale(0.99) rotate(0.3deg);
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 38px rgba(244, 207, 92, 0.72)) drop-shadow(0 0 82px rgba(212, 175, 55, 0.36));
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash h1,
  .splash-inner::before,
  .splash-butterfly {
    animation: none;
  }

  .splash h1 {
    opacity: 0.72;
    transform: translate(-50%, 118px) scale(0.64);
  }

  .splash-butterfly {
    opacity: 1;
    filter: drop-shadow(0 0 38px rgba(244, 207, 92, 0.72)) drop-shadow(0 0 82px rgba(212, 175, 55, 0.36));
    transform: translate(-50%, -50%) scale(1);
  }

  .splash-inner::before {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(248, 245, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand .mark {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
}

.brand-name .wordmark,
.home-entry-brand .wordmark,
.plan-top h1 .wordmark,
.home-mobile .wordmark {
  display: inline-block;
  font-size: inherit;
  white-space: nowrap;
}

.brand-name .wordmark span,
.home-entry-brand .wordmark span,
.plan-top h1 .wordmark span,
.home-mobile .wordmark span,
.splash .wordmark span,
.brand-name .wordmark sup,
.home-entry-brand .wordmark sup,
.plan-top h1 .wordmark sup,
.home-mobile .wordmark sup,
.splash .wordmark sup {
  display: inline;
}

.brand-subtitle {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a,
.icon-btn {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
}

.nav a:hover,
.nav a.active,
.icon-btn:hover {
  border-color: var(--line);
  background: rgba(237, 230, 215, 0.58);
  color: var(--ink);
}

.icon-btn {
  display: none;
  width: 38px;
  padding: 0;
}

.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 7vw, 78px) clamp(20px, 5vw, 52px) 72px;
}

.page-narrow {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: none;
}

.page-title {
  margin: 0;
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.05;
}

.lead {
  margin: 28px 0 0;
  max-width: 36ch;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--app-subtitle);
  line-height: 1.5;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 7vw, 74px);
  align-items: start;
}

.quiet-panel {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(18, 21, 34, 0.3);
  border-radius: 0.375rem;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: none;
}

.btn.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.btn.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.btn:disabled {
  cursor: default;
  opacity: 0.5;
}

.btn:hover:not(:disabled) {
  border-color: var(--gold-deep);
}

.encounter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 6vw, 58px);
  align-items: start;
}

.encounter-main,
.side-panel,
.archive-item,
.journey-week,
.settings-panel {
  background: rgba(248, 245, 238, 0.72);
}

.encounter-main {
  padding: 0;
}

.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: none;
}

.pill.gold {
  border-color: rgba(212, 175, 55, 0.54);
  color: var(--gold-deep);
}

.info-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(212, 175, 55, 0.58);
  border-radius: 999px;
  background: rgba(237, 230, 215, 0.44);
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.info-pill::after {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-left: 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.info-pill:hover,
.info-pill.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.info-pill.standalone {
  margin: 30px 0 10px;
}

.encounter-title {
  margin: 0 0 20px;
  max-width: 12ch;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.05;
}

.daily-copy {
  max-width: 620px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  line-height: 1.7;
}

.daily-copy p {
  margin: 0 0 18px;
}

.daily-copy .prompt {
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.34;
}

.daily-copy .hint {
  color: var(--ink-soft);
  font-size: 17px;
  font-style: italic;
}

.rule {
  width: 46px;
  height: 1px;
  margin: 34px 0;
  background: var(--gold);
}

.reflection {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.field-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: none;
}

textarea {
  width: 100%;
  min-height: 138px;
  resize: vertical;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}

textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.segmented {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.28fr;
  gap: 8px;
  margin: 14px 0 24px;
}

.segmented button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  padding: 0 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: none;
}

.segmented button.selected {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--ink);
}

.complete-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.status-note {
  color: var(--ink-faint);
  font-size: 13px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  list-style: none;
  text-transform: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--gold-deep);
  font-size: 18px;
}

details[open] summary::after {
  content: "-";
}

.deepening-panel {
  margin: 30px 0 0;
  padding: 24px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deepening-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.deepening-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.12;
}

.deepening-body,
.companion-body,
.threshold-body {
  padding: 0 0 24px;
  color: var(--ink-soft);
}

.deepening-body h3,
.deepening-body h4,
.companion-body h3,
.threshold-body h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.22;
}

.deepening-body p,
.companion-body p,
.threshold-body p {
  margin: 0 0 14px;
}

.checkbox-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.checkbox-list input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-deep);
}

.side-panel {
  position: sticky;
  top: 92px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.side-panel h2,
.section-title {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.12;
}

.side-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.side-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.side-block p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.letter-lines {
  margin: 18px 0;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}

.journey-grid,
.archive-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.journey-week,
.archive-item,
.settings-panel {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.journey-week h2,
.archive-item h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.journey-week p,
.archive-item p {
  margin: 0;
  color: var(--ink-soft);
}

.day-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.day-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
}

.day-dot.done {
  border-color: var(--moss);
  background: rgba(157, 170, 141, 0.16);
  color: var(--moss);
}

.day-dot.current {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.day-dot.has-deepening {
  box-shadow: inset 0 -3px 0 rgba(212, 175, 55, 0.72);
}

.complete-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 68px);
}

.complete-card {
  width: min(640px, 100%);
  text-align: center;
}

.complete-card .mark {
  margin-bottom: 26px;
}

.complete-title {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
}

.complete-card p {
  margin: 0 auto 12px;
  max-width: 32ch;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
}

.settings-panel {
  margin-top: 34px;
}

.witness-panel {
  margin-top: 34px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.witness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
}

.witness-grid div {
  min-width: 0;
}

.witness-grid dt {
  margin-bottom: 5px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: none;
}

.witness-grid dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
}

.witness-reflection {
  margin: 24px 0 10px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
}

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

.mini-list a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.mini-list a:first-child {
  border-top: 0;
}

.mini-list span {
  color: var(--ink-soft);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.setting-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.empty {
  margin-top: 30px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
}

.reader-shell {
  min-height: 100vh;
  background: #101010;
  color: #f5f1ea;
  font-family: var(--sans);
  letter-spacing: 0.018em;
  overscroll-behavior-y: none;
}

.mobile-tab-nav {
  display: none;
}

.home-entry {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(16, 16, 16, 0.78) 44%, rgba(22, 28, 22, 0.82)),
    radial-gradient(ellipse at 48% 0%, rgba(212, 175, 55, 0.11), transparent 46%),
    #101010;
}

.home-desktop {
  display: grid;
  min-height: 100vh;
  padding: 26px clamp(28px, 5vw, 72px) 72px;
}

.home-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
}

.home-entry-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #f5f1ea;
  text-decoration: none;
}

.home-entry-brand .mark {
  width: 32px;
  height: 32px;
}

.home-entry-brand span {
  display: grid;
  gap: 2px;
}

.home-entry-brand strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.home-entry-brand em {
  color: rgba(245, 241, 234, 0.52);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: none;
}

.home-entry-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-entry-nav a {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(245, 241, 234, 0.58);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: none;
}

.home-entry-nav a.active,
.home-entry-nav a:hover {
  border-color: rgba(245, 241, 234, 0.18);
  color: #f5f1ea;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 62px 0 82px;
}

.home-entry-main h1,
.home-mobile h1 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 0.96;
}

.home-entry-main h1 {
  max-width: 10ch;
  font-size: clamp(44px, 6.2vw, 72px);
  line-height: 1.02;
}

.home-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: none;
}

.home-entry-lead {
  max-width: 34ch;
  margin: 22px 0 0;
  color: rgba(245, 241, 234, 0.72);
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.home-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.dark-cta,
.bottom-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(245, 241, 234, 0.22);
  border-radius: var(--radius);
  background: rgba(48, 46, 47, 0.82);
  color: #f5f1ea;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: none;
}

.dark-cta {
  padding: 0 22px;
}

.dark-cta.primary,
.bottom-action.primary {
  border-color: rgba(245, 241, 234, 0.9);
  background: #f5f1ea;
  color: #101010;
}

.home-entry-aside {
  padding: 34px 0;
  border-top: 1px solid rgba(245, 241, 234, 0.22);
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
}

.home-entry-aside h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--app-title);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.home-entry-aside p {
  max-width: 44ch;
  margin: 0 0 22px;
  color: rgba(245, 241, 234, 0.72);
  font-size: var(--app-copy);
  line-height: 1.8;
}

.home-entry-aside .home-season-line,
.home-entry-aside .home-return-line {
  margin-bottom: 8px;
  color: rgba(245, 241, 234, 0.82);
  line-height: 1.45;
}

.home-entry-aside .home-season-line.first,
.home-entry-aside .home-return-line.first {
  margin-top: 42px;
}

.home-entry-aside p:last-child {
  margin-bottom: 0;
  color: rgba(245, 241, 234, 0.52);
  font-size: 13px;
}

.home-mobile {
  display: none;
}

.profile-screen {
  width: min(var(--app-frame-width), 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: var(--app-page-top) var(--app-page-x) 72px;
}

.profile-top {
  margin-bottom: 18px;
}

.profile-hub-top {
  justify-content: space-between;
}

.profile-hub-top > span {
  margin-right: auto;
}

.profile-icons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.profile-icons a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 241, 234, 0.1);
  border-radius: 999px;
  background: transparent;
  color: #f5f1ea;
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
}

.profile-icons a:hover {
  border-color: rgba(245, 241, 234, 0.3);
  background: rgba(245, 241, 234, 0.06);
}

.profile-hero {
  padding: 44px 0 34px;
}

.profile-hub .profile-hero {
  display: none;
}

.profile-hero p,
.profile-label {
  display: none;
}

.profile-hero h1 {
  margin: 0;
  max-width: 17ch;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--app-hero);
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1.05;
}

.profile-hero span {
  display: block;
  margin-top: 12px;
  color: rgba(245, 241, 234, 0.56);
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  font-style: italic;
  letter-spacing: 0.03em;
}


.compass-screen {
  position: relative;
  background:
    radial-gradient(circle at 50% 13%, rgba(212, 175, 55, 0.13), transparent 30%),
    radial-gradient(circle at 78% 70%, rgba(112, 32, 166, 0.1), transparent 28%),
    linear-gradient(180deg, #050717 0%, #080913 56%, #10100f 100%);
}

.compass-screen .profile-top,
.compass-screen .profile-hero,
.compass-screen .profile-panel,
.compass-screen .compass-options {
  position: relative;
  z-index: 1;
}

.compass-screen .profile-hero h1 {
  color: #ffffff;
}

.compass-screen .profile-hero span,
.compass-screen .compass-panel {
  color: rgba(245, 241, 234, 0.76);
}

.compass-screen .profile-panel {
  border-color: rgba(245, 241, 234, 0.12);
  background: rgba(245, 241, 234, 0.035);
}

.compass-entry-screen {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #050504;
}

.compass-entry-screen::before {
  content: none;
}

.compass-entry-screen::after {
  content: none;
}

.compass-entry-screen .profile-top,
.compass-entry-screen .compass-entry-scene,
.compass-entry-screen .profile-hero,
.compass-entry-screen .profile-panel {
  z-index: 2;
}

.compass-entry-screen .profile-top {
  position: absolute;
  top: var(--app-page-top);
  right: var(--app-page-x);
  left: var(--app-page-x);
}

.compass-entry-scene {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #050504;
  box-shadow: none;
}

.compass-entry-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 4, 0.18) 0%, rgba(4, 5, 4, 0.08) 42%, rgba(4, 5, 4, 0.62) 100%),
    radial-gradient(circle at 50% 22%, rgba(212, 175, 55, 0.08), transparent 30%);
  pointer-events: none;
}

.compass-entry-scene img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.82) brightness(0.82) contrast(1.02);
}

.compass-entry-screen .compass-entry-hero {
  position: absolute;
  top: clamp(128px, 28vw, 265px);
  left: 50%;
  z-index: 3;
  width: min(520px, calc(100% - 44px));
  transform: translateX(-50%);
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 0;
  text-align: center;
}

.compass-entry-hero p {
  display: block;
  margin: 0 0 12px;
  color: rgba(212, 175, 55, 0.86);
  font-family: var(--sans);
  font-size: var(--app-meta);
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: none;
}

.compass-entry-hero h1 {
  max-width: 13ch;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.compass-entry-hero span {
  max-width: 34ch;
  margin-top: 14px;
  color: rgba(245, 241, 234, 0.68);
  font-family: var(--sans);
  font-size: var(--app-copy);
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.compass-entry-screen .compass-entry-panel {
  position: absolute;
  top: clamp(330px, 46vw, 505px);
  left: 50%;
  z-index: 3;
  justify-items: center;
  gap: 12px;
  width: min(390px, calc(100% - 44px));
  margin: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  transform: translateX(-50%);
  border-color: rgba(245, 241, 234, 0.15);
  background: rgba(8, 8, 7, 0.56);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  text-align: center;
}

.compass-entry-panel p {
  max-width: 42ch;
  margin: 0 auto;
}

.compass-entry-facts {
  display: grid;
  gap: 3px;
  color: rgba(245, 241, 234, 0.82);
  font-size: var(--app-copy);
  line-height: 1.35;
}

.compass-entry-panel .reader-next.wide {
  width: min(100%, 320px);
  min-height: 46px;
}

@media (max-width: 760px) {
  .compass-entry-screen {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .compass-entry-screen .compass-entry-hero {
    top: clamp(102px, 35vw, 170px);
    width: min(360px, calc(100% - 34px));
  }

  .compass-entry-hero h1 {
    max-width: 12ch;
    font-size: clamp(30px, 9.5vw, 44px);
  }

  .compass-entry-screen .compass-entry-panel {
    top: clamp(300px, 74vw, 390px);
    width: min(360px, calc(100% - 34px));
  }
}
.profile-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 24px;
}

.profile-actions.compact {
  margin: 16px 0 12px;
  width: 100%;
}

.foundation-entry-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 16px 0 12px;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.09), rgba(245, 241, 234, 0.035));
  color: #f5f1ea;
  text-decoration: none;
}

.foundation-entry-card .profile-action-icon {
  width: 44px;
  height: 44px;
  color: rgba(245, 241, 234, 0.86);
}

.foundation-entry-card .profile-action-icon svg {
  width: 40px;
  height: 40px;
}

.foundation-entry-card strong,
.foundation-entry-card em {
  display: block;
}

.foundation-entry-card strong {
  font-size: var(--app-copy);
  font-weight: 400;
}

.foundation-entry-card em {
  margin-top: 3px;
  color: rgba(245, 241, 234, 0.54);
  font-size: var(--app-meta);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: none;
}

.profile-identity {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 12px 0 10px;
}

.profile-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  text-transform: none;
  overflow: hidden;
  cursor: pointer;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.34);
  opacity: 0;
  transition: opacity 160ms ease;
  z-index: 1;
}

.profile-avatar.has-image:hover::before,
.profile-avatar.has-image:focus-within::before,
.profile-avatar.has-image:has(input:hover)::before {
  opacity: 1;
}

.profile-avatar em {
  position: absolute;
  inset: auto 6px 5px;
  display: grid;
  place-items: center;
  min-height: 16px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.72);
  color: rgba(245, 241, 234, 0.86);
  font-family: var(--sans);
  font-size: 7px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: none;
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
  z-index: 2;
}

.profile-avatar.has-image em {
  opacity: 0;
  transform: translateY(3px);
}

.profile-avatar.has-image:hover em,
.profile-avatar.has-image:focus-within em,
.profile-avatar.has-image:has(input:hover) em {
  opacity: 1;
  transform: translateY(0);
}

.profile-avatar input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.profile-fields {
  display: grid;
  gap: 8px;
}

.profile-fields input,
.profile-fields textarea,
.compact-textarea {
  width: 100%;
  border: 1px solid rgba(245, 241, 234, 0.16);
  border-radius: 8px;
  background: #151515;
  color: #f5f1ea;
}

.profile-fields input {
  min-height: 38px;
  padding: 0 12px;
  font-size: var(--app-copy);
}

.profile-fields textarea {
  min-height: 54px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: var(--app-copy);
  line-height: 1.35;
  resize: vertical;
}

.profile-action-card {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-height: 76px;
  padding: 12px 10px 10px;
  border: 1px solid rgba(245, 241, 234, 0.08);
  border-radius: 8px;
  background: rgba(245, 241, 234, 0.055);
  color: #f5f1ea;
  text-align: center;
  text-decoration: none;
}

.profile-action-card span {
  color: rgba(245, 241, 234, 0.86);
  font-size: calc(var(--app-title) * 0.9);
  line-height: 1;
}

.profile-action-card > span:not(.profile-action-icon) {
  display: none;
}

.profile-action-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.profile-action-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-action-card strong {
  color: rgba(245, 241, 234, 0.76);
  font-size: var(--app-meta);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.profile-action-card:hover {
  border-color: rgba(212, 175, 55, 0.42);
}

.profile-action-card.muted {
  opacity: 0.68;
  padding-top: 19px;
}

.profile-action-card.muted:hover {
  border-color: rgba(245, 241, 234, 0.12);
}

.profile-action-card > em {
  position: absolute;
  top: 7px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.1);
  color: rgba(245, 241, 234, 0.72);
  font-size: 7px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
}

.confirmation-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.confirmation-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  color: var(--gold);
  font-size: 28px;
}

.confirmation-panel p {
  margin: 0;
  color: rgba(245, 241, 234, 0.72);
  font-size: var(--app-copy);
}

.profile-panel {
  margin-top: 16px;
  padding: 14px 0;
  border-top: 0;
}

.foundation-stack {
  display: grid;
  gap: 12px;
  padding-bottom: 88px;
}

.foundation-card {
  padding: 16px;
  border: 1px solid rgba(245, 241, 234, 0.09);
  border-radius: 8px;
  background: rgba(245, 241, 234, 0.035);
}

.foundation-card p {
  display: none;
}

.foundation-card h2 {
  margin: 0 0 12px;
  color: rgba(245, 241, 234, 0.78);
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  font-weight: 400;
  line-height: 1.25;
}

.foundation-card strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--app-title);
  font-weight: 400;
  line-height: 1.12;
}

.foundation-card span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 241, 234, 0.68);
  font-size: var(--app-copy);
  line-height: 1.5;
}

.foundation-card.quiet h2 {
  color: #fff;
}

.foundation-card.muted {
  opacity: 0.72;
}

.why-started-card span,
.why-started-artifact p {
  font-family: var(--serif);
  letter-spacing: 0.02em;
}

.why-started-card span:nth-of-type(n + 4),
.why-started-artifact div p {
  color: rgba(245, 241, 234, 0.86);
}

.why-started-artifact {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 190px);
  padding: 44px 0 120px;
}

.why-started-artifact h1 {
  margin: 0 0 32px;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--app-hero);
  font-weight: 400;
  line-height: 1.08;
}

.why-started-artifact p {
  margin: 0 0 14px;
  color: rgba(245, 241, 234, 0.78);
  font-size: var(--app-subtitle);
  line-height: 1.45;
}

.why-started-artifact div {
  margin-top: 42px;
}

.witness-card {
  padding-top: 18px;
}

.profile-screen .witness-grid {
  gap: 16px 20px;
}

.profile-screen .witness-grid dt {
  color: rgba(245, 241, 234, 0.48);
  letter-spacing: 0;
}

.profile-screen .witness-grid dd {
  color: #f5f1ea;
  font-family: var(--sans);
  font-size: var(--app-subtitle);
  font-weight: 500;
}

.profile-screen .witness-reflection {
  color: rgba(245, 241, 234, 0.76);
  font-family: var(--sans);
  font-size: var(--app-copy);
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.65;
}

.witness-hero {
  padding-bottom: 12px;
}

.profile-hero.witness-hero h1 {
  font-size: var(--app-title);
}

.witness-room {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

.witness-room h2 {
  margin: 0;
  color: rgba(245, 241, 234, 0.9);
  font-family: var(--sans);
  font-size: var(--app-copy);
  font-weight: 500;
  letter-spacing: 0;
}

.witness-room > strong {
  color: #f5f1ea;
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  font-weight: 400;
  line-height: 1.2;
}

.witness-room > p,
.witness-room > span {
  margin: 0;
  color: rgba(245, 241, 234, 0.68);
  font-size: var(--app-copy);
  line-height: 1.55;
}

.witness-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.witness-ledger div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(245, 241, 234, 0.08);
  border-radius: 8px;
  background: rgba(245, 241, 234, 0.035);
}

.witness-ledger dt {
  margin: 0 0 5px;
  color: rgba(245, 241, 234, 0.48);
  font-size: var(--app-meta);
  letter-spacing: 0;
}

.witness-ledger dd {
  margin: 0;
  color: #f5f1ea;
  font-size: var(--app-copy);
  font-weight: 500;
  line-height: 1.2;
}

.witness-empty-card {
  display: grid;
  gap: 14px;
  text-align: center;
}

.witness-empty-card .empty {
  margin-top: 0;
}

.witness-empty-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.profile-note {
  margin: 4px 0 0;
  color: rgba(245, 241, 234, 0.52);
  font-size: var(--app-copy);
  line-height: 1.45;
}

.auth-panel {
  display: grid;
  gap: 12px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(245, 241, 234, 0.08);
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
}

.auth-copy strong,
.auth-row strong {
  color: #f5f1ea;
  font-size: var(--app-copy);
  font-weight: 400;
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 10px;
}

.auth-form-row input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(245, 241, 234, 0.18);
  border-radius: 8px;
  background: rgba(245, 241, 234, 0.06);
  color: #f5f1ea;
  font: inherit;
  padding: 0 12px;
}

.auth-form-row input::placeholder {
  color: rgba(245, 241, 234, 0.38);
}

.auth-form-row .btn.compact,
.auth-row .btn.compact {
  min-height: 42px;
  min-width: 92px;
  padding: 0 14px;
  border-color: rgba(245, 241, 234, 0.22);
  background: #302e2f;
  color: #f5f1ea;
}

.auth-message {
  margin: 8px 0 0;
  color: rgba(212, 175, 55, 0.92);
  font-size: var(--app-copy);
  line-height: 1.4;
}

.mini-list.dark a {
  border-top-color: rgba(245, 241, 234, 0.12);
  color: #f5f1ea;
}

.mini-list.dark span {
  color: rgba(245, 241, 234, 0.56);
}

.profile-settings .setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(74px, max-content);
  align-items: center;
  gap: 18px;
  padding: 11px 0;
  border-top: 0;
}

.profile-settings .setting-row strong {
  color: #f5f1ea;
  font-size: var(--app-copy);
  font-weight: 400;
  line-height: 1.2;
}

.profile-settings select {
  justify-self: end;
  min-width: 118px;
  border-color: rgba(245, 241, 234, 0.22);
  background: #242222;
  color: #f5f1ea;
}

.profile-settings .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border-color: rgba(245, 241, 234, 0.22);
  background: #302e2f;
  color: #f5f1ea;
  text-decoration: none;
}

.profile-settings .btn.compact {
  min-height: 42px;
  min-width: 92px;
  padding: 0 16px;
}

.reminder-switch {
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 74px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(245, 241, 234, 0.2);
  border-radius: 999px;
  background: #302e2f;
  color: rgba(245, 241, 234, 0.58);
}

.reminder-switch::before {
  content: "";
  position: absolute;
  left: 5px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.76);
  transition: transform 0.2s ease, background 0.2s ease;
}

.reminder-switch span {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
}

.reminder-switch.selected {
  justify-content: flex-start;
  border-color: rgba(212, 175, 55, 0.72);
  background: rgba(212, 175, 55, 0.18);
  color: #fff;
}

.reminder-switch.selected::before {
  background: var(--gold);
  transform: translateX(31px);
}

.settings-screen .profile-panel {
  border-top: 0;
}

.settings-list {
  margin-top: 8px;
}

.more-screen {
  width: min(var(--app-frame-width), 100%);
}

.more-list {
  display: grid;
  margin-top: 42px;
}

.more-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.13);
  color: #f5f1ea;
  text-decoration: none;
}

.more-menu-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: rgba(245, 241, 234, 0.74);
}

.more-menu-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.more-list strong {
  font-size: var(--app-title);
  font-weight: 400;
}

.more-list em {
  justify-self: end;
  padding: 7px 14px;
  border-radius: 999px;
  background: #302e2f;
  color: rgba(245, 241, 234, 0.78);
  font-size: var(--app-meta);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.compass-list {
  gap: 0;
}

.compass-list span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
  color: rgba(245, 241, 234, 0.74);
  font-size: var(--app-copy);
}

.compass-list strong {
  color: var(--gold);
  font-weight: 500;
}

.compass-panel {
  display: grid;
  gap: 18px;
  color: rgba(245, 241, 234, 0.7);
  font-size: var(--app-copy);
  line-height: 1.6;
}

.readiness-note {
  color: rgba(245, 241, 234, 0.58);
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  font-style: italic;
}

.readiness-panel p {
  margin: 0;
}

.compass-question-hero p {
  display: block;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: var(--app-meta);
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: none;
}

.compass-question-hero h1 {
  max-width: 20ch;
}

.compass-result-hero h1 {
  max-width: 20ch;
}

.compass-result-save-invite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid rgba(245, 241, 234, 0.13);
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.055);
  color: rgba(245, 241, 234, 0.76);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
}

.compass-result-save-invite:disabled {
  color: rgba(245, 241, 234, 0.5);
  cursor: default;
}

.compass-options {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 8px;
}

.compass-options button {
  width: fit-content;
  max-width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(245, 241, 234, 0.14);
  border-radius: 8px;
  background: rgba(36, 34, 34, 0.72);
  color: rgba(245, 241, 234, 0.84);
  font-family: var(--sans);
  font-size: var(--app-copy);
  line-height: 1.45;
  text-align: left;
}

.compass-options button.selected,
.compass-options button:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
}

.compass-result-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(245, 241, 234, 0.12);
  border-radius: 8px;
  background: rgba(36, 34, 34, 0.58);
}

.compass-result-kicker,
.payment-card p {
  margin: 0;
  color: var(--gold);
  font-size: var(--app-meta);
  letter-spacing: 0.16em;
  text-transform: none;
}

.compass-result-card h2,
.payment-card h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--app-title);
  font-weight: 400;
  line-height: 1.2;
}

.compass-result-card strong {
  color: rgba(245, 241, 234, 0.86);
  font-size: var(--app-subtitle);
  font-weight: 400;
  line-height: 1.45;
}

.compass-result-card span,
.payment-card span {
  color: rgba(245, 241, 234, 0.62);
  font-size: var(--app-copy);
  line-height: 1.6;
}

.compass-result-letter {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 241, 234, 0.1);
}

.compass-result-letter p,
.compass-result-closing {
  margin: 0;
  color: rgba(245, 241, 234, 0.66);
  font-size: var(--app-copy);
  line-height: 1.65;
}

.compass-result-letter .compass-result-lift,
.compass-result-closing {
  color: rgba(245, 241, 234, 0.78);
  font-family: var(--sans);
  font-size: var(--app-copy);
  font-style: normal;
  line-height: 1.65;
}

.compass-result-closing {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 241, 234, 0.1);
}

.compass-screen .readiness-panel {
  justify-items: center;
  gap: 14px;
  padding-top: 4px;
}

.compass-screen .readiness-panel .gold-action {
  width: fit-content;
  max-width: 100%;
}

.compass-screen .readiness-panel .profile-pill {
  width: min(100%, 320px);
}

.readiness-audio-card {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(245, 241, 234, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(19, 18, 19, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.34);
}

.readiness-audio-top {
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  gap: 14px;
  align-items: center;
}

.readiness-audio-art {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 241, 234, 0.18);
  border-radius: 15px;
  background:
    radial-gradient(circle at 68% 26%, rgba(212, 175, 55, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(198, 183, 223, 0.26), rgba(24, 21, 28, 0.72));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.28);
}

.readiness-audio-art img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.readiness-audio-title {
  min-width: 0;
}

.readiness-audio-title h2 {
  margin: 0;
  color: rgba(248, 245, 238, 0.96);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.18;
}

.readiness-audio-title p,
.readiness-wave-wrap > span {
  margin: 4px 0 0;
  color: rgba(245, 241, 234, 0.52);
  font-size: var(--app-copy);
  line-height: 1.35;
}

.readiness-audio-title span {
  display: block;
  margin-top: 4px;
  color: rgba(245, 241, 234, 0.42);
  font-size: var(--app-copy);
}

.readiness-audio-play {
  display: inline-grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(245, 241, 234, 0.16);
  border-radius: 50%;
  background: rgba(245, 241, 234, 0.94);
  color: #101010;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.readiness-audio-play svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.readiness-audio-play .pause-icon {
  display: none;
}

.readiness-video.playing .readiness-audio-play .play-icon {
  display: none;
}

.readiness-video.playing .readiness-audio-play .pause-icon {
  display: block;
}

.readiness-wave-wrap {
  display: grid;
  gap: 8px;
}

.readiness-wave-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.readiness-wave-row time {
  color: rgba(245, 241, 234, 0.62);
  font-size: var(--app-copy);
  font-variant-numeric: tabular-nums;
}

.readiness-waveform {
  --progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(26, minmax(3px, 1fr));
  align-items: center;
  gap: 5px;
  min-height: 62px;
  cursor: pointer;
}

.readiness-waveform::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 62%;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.92);
  transform: translate(calc(var(--progress) - 1px), -50%);
  box-shadow: 0 0 18px rgba(245, 241, 234, 0.3);
  pointer-events: none;
}

.readiness-waveform i {
  display: block;
  width: 100%;
  height: var(--h);
  min-height: 8px;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.14);
  transition: background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.readiness-waveform i.active {
  background: linear-gradient(180deg, rgba(154, 231, 225, 0.94), rgba(113, 133, 255, 0.88));
  box-shadow: 0 0 16px rgba(154, 231, 225, 0.16);
}

.readiness-waveform input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.readiness-audio-note {
  justify-items: center;
  text-align: center;
}

.readiness-audio-note .reader-next {
  width: min(100%, 320px);
}

.video-placeholder {
  position: relative;
  display: grid;
  align-items: end;
  height: 430px;
  margin-top: 8px;
  padding: 22px;
  border: 1px solid rgba(245, 241, 234, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 54% 38%, rgba(212, 175, 55, 0.1), transparent 24%),
    radial-gradient(ellipse at center, rgba(16, 16, 16, 0.16), rgba(16, 16, 16, 0.62) 64%, rgba(8, 9, 8, 0.94)),
    linear-gradient(135deg, rgba(16, 16, 16, 0.32), rgba(16, 16, 16, 0.86)),
    url("./images/return-portal-hero-no-text.png") center / cover no-repeat;
  overflow: hidden;
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 246, 208, 0.08) 49%, transparent 62%);
  opacity: 0.5;
  transform: translateX(-34%);
  pointer-events: none;
}

.readiness-orbit {
  position: absolute;
  inset: 2px -28px 76px;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 1;
}

.orbit-witness-field {
  position: absolute;
  inset: 4%;
  opacity: 0.46;
  background:
    radial-gradient(circle at 18% 28%, rgba(245, 241, 234, 0.44) 0 1px, transparent 2px),
    radial-gradient(circle at 71% 24%, rgba(212, 175, 55, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 62%, rgba(245, 241, 234, 0.36) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.34) 0 1px, transparent 2px);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.18));
  animation: witness-drift 26s ease-in-out infinite;
}

.readiness-orbit .voice-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(118%, 760px);
  height: min(72%, 330px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
  background:
    radial-gradient(ellipse at center, rgba(46, 21, 91, 0.38) 0%, transparent 64%),
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.10) 0%, transparent 34%);
}

.readiness-orbit .voice-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.32;
  background:
    radial-gradient(circle at center,
      rgba(3, 4, 14, 0.72) 0%,
      rgba(3, 4, 14, 0.54) 36%,
      rgba(3, 4, 14, 0.28) 56%,
      rgba(3, 4, 14, 0) 82%);
  box-shadow: 0 0 24px rgba(3, 4, 14, 0.42);
  z-index: 5;
}

.readiness-orbit .voice-ring,
.readiness-orbit .inner-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.readiness-orbit .voice-ring {
  transform: translate(-50%, -50%) rotate(-12deg);
  z-index: 2;
  overflow: hidden;
  border: 0;
  background:
    conic-gradient(
      from 18deg,
      rgba(46, 21, 91, 0.24) 0deg,
      rgba(46, 21, 91, 0.82) 34deg,
      rgba(242, 239, 235, 1) 57deg,
      rgba(212, 175, 55, 1) 70deg,
      rgba(242, 239, 235, 0.72) 86deg,
      rgba(46, 21, 91, 0.2) 112deg,
      rgba(46, 21, 91, 0.62) 172deg,
      rgba(46, 21, 91, 0.16) 218deg,
      rgba(212, 175, 55, 0.88) 282deg,
      rgba(242, 239, 235, 0.54) 304deg,
      rgba(46, 21, 91, 0.2) 338deg
    );
  animation: ring-shimmer 7.5s ease-in-out infinite;
  -webkit-mask: radial-gradient(ellipse at center, transparent 58%, #000 59.5%, #000 61.5%, transparent 63%);
  mask: radial-gradient(ellipse at center, transparent 58%, #000 59.5%, #000 61.5%, transparent 63%);
}

.readiness-orbit .voice-ring::before,
.readiness-orbit .voice-ring::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  pointer-events: none;
}

.readiness-orbit .voice-ring::before {
  display: none;
}

.readiness-orbit .voice-ring::after {
  inset: -45%;
  background:
    linear-gradient(90deg, transparent 34%, rgba(255, 255, 255, 0.78), transparent 66%);
  filter: blur(14px);
  opacity: 0.62;
  mix-blend-mode: screen;
  animation: ring-sweep 9.5s linear infinite;
}

.readiness-orbit .r1 {
  width: 91%;
  height: 66%;
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.34),
    0 0 44px rgba(212, 175, 55, 0.55),
    0 0 96px rgba(46, 21, 91, 0.44);
  -webkit-mask: radial-gradient(ellipse at center, transparent 57.6%, #000 58.2%, #000 59.9%, transparent 60.6%);
  mask: radial-gradient(ellipse at center, transparent 57.6%, #000 58.2%, #000 59.9%, transparent 60.6%);
}

.readiness-orbit .r2 {
  width: 82%;
  height: 57%;
  background:
    conic-gradient(
      from 42deg,
      rgba(242, 239, 235, 0.12) 0deg,
      rgba(242, 239, 235, 0.84) 46deg,
      rgba(255, 255, 255, 1) 62deg,
      rgba(242, 239, 235, 0.14) 92deg,
      rgba(46, 21, 91, 0.46) 180deg,
      rgba(46, 21, 91, 0.12) 244deg,
      rgba(242, 239, 235, 0.62) 292deg,
      rgba(242, 239, 235, 0.1) 330deg
    );
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.18),
    0 0 24px rgba(242, 239, 235, 0.28),
    0 0 54px rgba(46, 21, 91, 0.26);
  animation-duration: 8.8s;
  animation-delay: -1.4s;
  -webkit-mask: radial-gradient(ellipse at center, transparent 58.4%, #000 59%, #000 60%, transparent 60.8%);
  mask: radial-gradient(ellipse at center, transparent 58.4%, #000 59%, #000 60%, transparent 60.8%);
}

.readiness-orbit .r3 {
  width: 72%;
  height: 46%;
  background:
    conic-gradient(
      from 8deg,
      rgba(46, 21, 91, 0.34),
      rgba(46, 21, 91, 0.86) 42deg,
      rgba(242, 239, 235, 0.42) 78deg,
      rgba(46, 21, 91, 0.92) 138deg,
      rgba(46, 21, 91, 0.2) 205deg,
      rgba(212, 175, 55, 0.56) 286deg,
      rgba(46, 21, 91, 0.76) 322deg
    );
  box-shadow:
    0 0 14px rgba(242, 239, 235, 0.18),
    0 0 44px rgba(46, 21, 91, 0.72),
    inset 0 0 22px rgba(212, 175, 55, 0.18);
  animation-duration: 10.2s;
  animation-delay: -2.2s;
  -webkit-mask: radial-gradient(ellipse at center, transparent 54%, #000 56%, #000 62%, transparent 64%);
  mask: radial-gradient(ellipse at center, transparent 54%, #000 56%, #000 62%, transparent 64%);
}

.readiness-orbit .r4 {
  width: 62%;
  height: 37%;
  background:
    conic-gradient(
      from -24deg,
      rgba(212, 175, 55, 0.16) 0deg,
      rgba(212, 175, 55, 1) 48deg,
      rgba(255, 255, 255, 0.96) 65deg,
      rgba(212, 175, 55, 0.86) 86deg,
      rgba(212, 175, 55, 0.14) 126deg,
      rgba(46, 21, 91, 0.56) 214deg,
      rgba(212, 175, 55, 0.52) 292deg,
      rgba(212, 175, 55, 0.14) 336deg
    );
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.28),
    0 0 28px rgba(212, 175, 55, 0.56),
    0 0 64px rgba(46, 21, 91, 0.34);
  animation-duration: 6.4s;
  animation-delay: -3.1s;
  -webkit-mask: radial-gradient(ellipse at center, transparent 54.5%, #000 56.2%, #000 60.4%, transparent 62.2%);
  mask: radial-gradient(ellipse at center, transparent 54.5%, #000 56.2%, #000 60.4%, transparent 62.2%);
}

.readiness-orbit .r5 {
  width: 52%;
  height: 29%;
  background:
    conic-gradient(
      from 72deg,
      rgba(242, 239, 235, 0.1),
      rgba(242, 239, 235, 0.66) 58deg,
      rgba(255, 255, 255, 0.82) 75deg,
      rgba(242, 239, 235, 0.1) 112deg,
      rgba(46, 21, 91, 0.38) 238deg,
      rgba(242, 239, 235, 0.08) 330deg
    );
  box-shadow:
    0 0 12px rgba(242, 239, 235, 0.18),
    0 0 32px rgba(46, 21, 91, 0.22);
  animation-duration: 11s;
  animation-delay: -4.2s;
  -webkit-mask: radial-gradient(ellipse at center, transparent 58.6%, #000 59.2%, #000 60.2%, transparent 60.8%);
  mask: radial-gradient(ellipse at center, transparent 58.6%, #000 59.2%, #000 60.2%, transparent 60.8%);
}

.readiness-orbit .inner-glow {
  width: 42%;
  height: 20%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse,
      rgba(212, 175, 55, 0.18),
      rgba(46, 21, 91, 0.12),
      transparent 72%);
  filter: blur(36px);
  opacity: 0.72;
  z-index: 1;
}

.readiness-orbit .voice-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 100;
  width: clamp(86px, 14vmin, 132px);
  height: clamp(86px, 14vmin, 132px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: voice-breath 7s ease-in-out infinite;
  opacity: 0.36;
  box-shadow:
    0 0 26px rgba(248, 245, 238, 0.018),
    0 0 52px rgba(112, 32, 166, 0.035);
  background: radial-gradient(circle at 50% 50%,
    rgba(154, 148, 137, 0.11) 0%,
    rgba(154, 148, 137, 0.085) 18%,
    rgba(154, 148, 137, 0.055) 36%,
    rgba(154, 148, 137, 0.03) 54%,
    rgba(154, 148, 137, 0.014) 72%,
    rgba(154, 148, 137, 0.006) 86%,
    rgba(154, 148, 137, 0) 100%);
}

.readiness-orbit .voice-center::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(212, 175, 55, 0.055);
  border-radius: 50%;
  opacity: 0.22;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  width: min(116%, 760px);
  aspect-ratio: 2.45 / 1;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 50%;
  transform: rotate(-7deg);
  box-shadow:
    inset 0 0 62px rgba(212, 175, 55, 0.06),
    0 0 54px rgba(212, 175, 55, 0.08);
}

.orbit-ring::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: -7px;
  border-radius: var(--radius);
  background: radial-gradient(circle, rgba(245, 241, 234, 0.92), rgba(212, 175, 55, 0.72) 42%, transparent 72%);
  transform: translateY(-50%);
  filter: blur(0.2px);
  opacity: 0.76;
}

.orbit-band {
  position: absolute;
  width: min(116%, 760px);
  aspect-ratio: 2.45 / 1;
  border: 1px solid transparent;
  border-top-color: rgba(212, 175, 55, 0.64);
  border-right-color: rgba(245, 241, 234, 0.2);
  border-radius: 50%;
  transform: rotate(-7deg);
  box-shadow:
    0 -8px 26px rgba(212, 175, 55, 0.1),
    inset 0 0 28px rgba(212, 175, 55, 0.04);
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.22));
  opacity: 0.58;
  animation: orbit-band-glide 34s linear infinite;
}

.orbit-band::before {
  content: "";
  position: absolute;
  top: 48%;
  left: -8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 250, 229, 0.96), rgba(212, 175, 55, 0.78) 42%, transparent 72%);
  transform: translateY(-50%);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.42);
}

.orbit-band-two {
  width: min(92%, 620px);
  border-top-color: rgba(245, 241, 234, 0.38);
  border-right-color: rgba(212, 175, 55, 0.28);
  opacity: 0.36;
  animation-duration: 48s;
  animation-direction: reverse;
}

.orbit-ring-one {
  animation: orbit-breathe 18s ease-in-out infinite, orbit-glide 34s linear infinite;
}

.orbit-ring-two {
  width: min(94%, 620px);
  border-color: rgba(245, 241, 234, 0.16);
  animation: orbit-breathe 22s ease-in-out infinite reverse, orbit-glide 46s linear infinite reverse;
}

.orbit-ring-three {
  width: min(68%, 430px);
  border-color: rgba(212, 175, 55, 0.22);
  animation: orbit-breathe 26s ease-in-out infinite, orbit-glide 58s linear infinite;
}

.orbit-center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(245, 241, 234, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 241, 234, 0.24), rgba(245, 241, 234, 0.08) 38%, rgba(16, 16, 16, 0.4) 74%),
    rgba(42, 42, 38, 0.46);
  color: rgba(245, 241, 234, 0.72);
  text-align: center;
  box-shadow:
    0 0 76px rgba(245, 241, 234, 0.08),
    0 0 118px rgba(212, 175, 55, 0.06);
  transition: box-shadow 420ms ease, color 420ms ease, border-color 420ms ease;
}

.orbit-center span {
  max-width: 9ch;
  color: inherit;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.25;
}

.orbit-beat {
  position: absolute;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(245, 241, 234, 0.14);
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.34);
  color: rgba(245, 241, 234, 0.72);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.orbit-beat-pause { top: 30%; left: 17%; }
.orbit-beat-notice { top: 18%; right: 20%; }
.orbit-beat-respond { right: 15%; bottom: 26%; }
.orbit-beat-return { left: 22%; bottom: 18%; }

.readiness-video.playing .orbit-ring-one {
  animation-duration: 12s, 22s;
}

.readiness-video.playing .orbit-ring-two {
  animation-duration: 16s, 30s;
}

.readiness-video.playing .orbit-ring-three {
  animation-duration: 20s, 38s;
}

.readiness-video.playing .orbit-band-one {
  animation-duration: 22s;
}

.readiness-video.playing .orbit-band-two {
  animation-duration: 30s;
}

.readiness-video[data-orbit-phase="drift"] .orbit-ring,
.readiness-video[data-orbit-phase="drift"] .orbit-band {
  opacity: 0.42;
}

.readiness-video[data-orbit-phase="the-still-small-voice"] .orbit-center,
.readiness-video[data-orbit-phase="begin"] .orbit-center {
  border-color: rgba(245, 241, 234, 0.34);
  color: rgba(245, 241, 234, 0.9);
  box-shadow:
    0 0 82px rgba(245, 241, 234, 0.14),
    0 0 138px rgba(212, 175, 55, 0.14);
}

.readiness-video[data-orbit-phase="return"] .orbit-band,
.readiness-video[data-orbit-phase="space"] .orbit-band {
  opacity: 0.78;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.32));
}

.readiness-video[data-orbit-phase="practice"] .orbit-beat,
.readiness-video[data-orbit-phase="voice"] .orbit-beat {
  opacity: 1;
  transform: translateY(0);
}

.readiness-video-copy,
.readiness-video-controls,
.readiness-video-progress {
  position: relative;
  z-index: 1;
}

.readiness-video-copy {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 56px), 460px);
  min-height: 0;
  max-height: 62px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  overflow: hidden;
  text-align: center;
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 140;
}

.readiness-video-copy:not(.active) {
  opacity: 0.72;
  transform: translateX(-50%) translateY(2px);
}

.video-placeholder p {
  margin: 0;
  color: var(--gold);
  font-size: var(--app-meta);
  letter-spacing: 0.16em;
  text-transform: none;
}

.video-placeholder h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--app-title);
  font-weight: 400;
  line-height: 1.15;
  overflow: hidden;
}

.video-placeholder span {
  display: block;
  color: rgba(245, 241, 234, 0.72);
  font-size: var(--app-copy);
  line-height: 1.6;
  overflow: hidden;
}

.video-placeholder .readiness-video-copy span {
  display: block;
  color: rgba(248, 245, 238, 0.94);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.32;
  overflow: hidden;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.82),
    0 0 14px rgba(0, 0, 0, 0.5);
}

.video-placeholder .orbit-center span {
  max-width: 9ch;
  color: inherit;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.25;
}

.video-placeholder .orbit-beat {
  display: block;
  color: rgba(245, 241, 234, 0.72);
  font-size: 9px;
  line-height: 1;
  overflow: visible;
}

.readiness-video-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 72px;
}

.readiness-video-controls button {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(245, 241, 234, 0.84);
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.92);
  color: #101010;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
}

.readiness-video-controls button:disabled {
  cursor: default;
  opacity: 0.72;
}

.readiness-video-controls > span {
  color: rgba(245, 241, 234, 0.56);
  font-size: var(--app-meta);
  letter-spacing: 0.14em;
}

.readiness-video-progress {
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.16);
  overflow: hidden;
}

.readiness-video-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 320ms ease;
}

@keyframes orbit-glide {
  from { transform: rotate(-7deg); }
  to { transform: rotate(353deg); }
}

@keyframes orbit-band-glide {
  from { transform: rotate(-7deg); }
  to { transform: rotate(353deg); }
}

@keyframes ring-shimmer {
  0%, 100% {
    filter: brightness(1.04) saturate(1.08) drop-shadow(0 0 10px rgba(212, 175, 55, 0.34));
    transform: translate(-50%, -50%) rotate(-12deg) scaleX(1);
  }
  50% {
    filter: brightness(1.58) saturate(1.2) drop-shadow(0 0 18px rgba(242, 239, 235, 0.32)) drop-shadow(0 0 28px rgba(212, 175, 55, 0.28));
    transform: translate(-50%, -50%) rotate(-12deg) scaleX(1.006);
  }
}

@keyframes ring-sweep {
  from { transform: translateX(-120%) rotate(0deg); }
  to { transform: translateX(120%) rotate(0deg); }
}

@keyframes voice-breath {
  0%, 100% { opacity: 0.26; transform: translate(-50%, -50%) scale(0.97); }
  50% { opacity: 0.42; transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes orbit-breathe {
  0%, 100% { opacity: 0.68; filter: brightness(0.92); }
  50% { opacity: 1; filter: brightness(1.08); }
}

@keyframes witness-drift {
  0%, 100% { opacity: 0.34; transform: scale(0.98) rotate(-1deg); }
  50% { opacity: 0.62; transform: scale(1.02) rotate(1deg); }
}

.payment-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(245, 241, 234, 0.035));
}

.profile-hero.compact {
  padding-bottom: 18px;
}

.compact-textarea {
  min-height: 122px;
  margin: 8px 0 18px;
  padding: 12px;
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  line-height: 1.55;
}

.give-screen {
  width: min(var(--app-frame-width), 100%);
}

.give-hero {
  min-height: 310px;
  margin: 0 calc(var(--app-page-x) * -1) 26px;
  padding: 130px clamp(22px, 6vw, 42px) 34px;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.08), #101010 91%),
    radial-gradient(circle at 82% 24%, rgba(212, 175, 55, 0.46), transparent 8%),
    radial-gradient(circle at 60% 13%, rgba(212, 175, 55, 0.34), transparent 7%),
    linear-gradient(135deg, #2d382d, #151515 56%, #101010);
}

.give-hero p {
  display: none;
}

.give-hero h1 {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-size: var(--app-title);
  line-height: 1.15;
}

.give-hero span {
  display: block;
  max-width: 32ch;
  margin-top: 28px;
  color: rgba(245, 241, 234, 0.62);
  font-size: var(--app-subtitle);
  line-height: 1.6;
}

.give-panel {
  display: grid;
  gap: 18px;
}

.give-amount {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(157, 170, 141, 0.8);
  border-radius: 8px;
  background: #242222;
  color: rgba(245, 241, 234, 0.76);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}

.profile-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  background: #f5f1ea;
  color: #101010;
  font-size: var(--app-subtitle);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.profile-pill.primary {
  background: #7020a6;
  color: #fff;
}

.gold-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(181, 139, 28, 0.92));
  color: #101010;
  font-size: var(--app-subtitle);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.12);
}

.gold-action.wide {
  width: 100%;
}

.profile-pill:disabled {
  opacity: 0.72;
}

.plan-page,
.reader-page,
.response-page,
.complete-overlay {
  width: min(var(--app-frame-width), 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: var(--app-page-top) var(--app-page-x) var(--app-page-bottom);
}

.plan-top,
.reader-top {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
}

.reader-top > span {
  display: none;
}

.back-link {
  position: fixed;
  top: calc(var(--app-page-top) + 12px);
  left: max(var(--app-page-x), calc((100vw - var(--app-frame-width)) / 2 + var(--app-page-x)));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: inherit;
  text-decoration: none;
  font-size: 32px;
  line-height: 1;
}

.plan-top h1 {
  margin: 0;
  font-size: var(--app-title);
  font-weight: 500;
}

.plan-top p,
.reader-top span {
  margin: 2px 0 0;
  color: rgba(245, 241, 234, 0.58);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: none;
}

.plan-banner {
  position: relative;
  display: flex;
  align-items: end;
  gap: 0;
  height: var(--rhythm-banner-height);
  margin: 18px 0 20px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 16, 16, 0.2), rgba(16, 16, 16, 0.78)),
    radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.42), transparent 26%),
    linear-gradient(135deg, #4a3525, #112018 58%, #0f0f0f);
  overflow: hidden;
}

.rhythm-plan {
  padding-top: calc(var(--app-page-top) + 4px);
}

.rhythm-plan-top {
  min-height: 42px;
  margin-bottom: 10px;
}

.rhythm-plan-top h1 {
  color: #f5f1ea;
  font-family: var(--sans);
  font-size: var(--app-subtitle);
  font-weight: 500;
  line-height: 1.2;
}

.rhythm-plan-top p {
  margin-bottom: 4px;
  color: rgba(245, 241, 234, 0.5);
  letter-spacing: 0;
}

.rhythm-orbit-card {
  height: clamp(142px, 28vh, 186px);
  margin: 8px 0 12px;
  padding: 0;
  border: 1px solid rgba(245, 241, 234, 0.08);
}

.plan-banner::before,
.orientation-hero::before {
  content: "";
  position: absolute;
  inset: -16px -24px -18px -40px;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.36), rgba(15, 15, 15, 0.02) 58%, rgba(15, 15, 15, 0.28)),
    url("./images/return-portal-hero-no-text.png") 58% 48% / 112% auto no-repeat;
  filter: saturate(0.88) brightness(1.06) contrast(1.02);
  opacity: 0.82;
  pointer-events: none;
}

.plan-banner::after,
.orientation-hero::after {
  content: "";
  position: absolute;
  inset: -40% -25%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 246, 208, 0.11) 49%, transparent 60%);
  opacity: 0.58;
  pointer-events: none;
  transform: translateX(-32%);
  animation: orbit-glisten 7s ease-in-out infinite;
}

.plan-banner > *,
.orientation-hero > * {
  position: relative;
  z-index: 1;
}

.plan-banner img {
  width: var(--rhythm-banner-mark);
  height: var(--rhythm-banner-mark);
  object-fit: contain;
}

.plan-banner p {
  margin: 0 0 4px;
  color: rgba(245, 241, 234, 0.62);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: none;
}

.plan-banner strong {
  display: block;
  max-width: 26ch;
  font-family: var(--serif);
  font-size: var(--app-title);
  font-weight: 400;
  line-height: 1.18;
}

.plan-banner span {
  display: block;
  max-width: 34ch;
  margin-top: 12px;
  color: rgba(245, 241, 234, 0.58);
  font-size: var(--app-copy);
  line-height: 1.45;
}

.orientation-artifact {
  padding: 0 0 120px;
}

.orientation-hero {
  position: relative;
  height: var(--rhythm-banner-height);
  display: grid;
  align-content: end;
  gap: 12px;
  margin: 18px 0 20px;
  padding: var(--rhythm-banner-padding);
  border: 1px solid rgba(245, 241, 234, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 16, 16, 0.2), rgba(16, 16, 16, 0.78)),
    radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.42), transparent 26%),
    linear-gradient(135deg, #4a3525, #112018 58%, #0f0f0f);
  overflow: hidden;
}

@keyframes orbit-glisten {
  0%,
  42% {
    transform: translateX(-36%);
    opacity: 0;
  }
  56% {
    opacity: 0.72;
  }
  76%,
  100% {
    transform: translateX(32%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-banner::after,
  .orientation-hero::after {
    animation: none;
    opacity: 0.18;
    transform: none;
  }
}

.orientation-hero p,
.orientation-section .reader-kicker {
  display: none;
}

.orientation-hero h1 {
  max-width: 26ch;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--app-title);
  font-weight: 400;
  line-height: 1.18;
}

.orientation-hero span {
  max-width: 34ch;
  color: rgba(245, 241, 234, 0.7);
  font-size: var(--app-copy);
  line-height: 1.45;
}

.movement-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0 28px;
}

.movement-card,
.orientation-section,
.orientation-note {
  border: 1px solid rgba(245, 241, 234, 0.08);
  border-radius: 8px;
  background: rgba(36, 34, 34, 0.74);
}

.movement-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 14px;
  padding: 18px;
}

.movement-card > span {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: var(--app-title);
}

.movement-card h2,
.orientation-section h2 {
  margin: 0;
  color: #f5f1ea;
  font-family: var(--serif);
  font-size: var(--app-subtitle);
  font-weight: 400;
  line-height: 1.2;
}

.movement-card em {
  color: rgba(212, 175, 55, 0.76);
  font-size: var(--app-copy);
  font-style: normal;
}

.movement-card p,
.orientation-section p,
.orientation-section blockquote {
  margin: 0;
  color: rgba(245, 241, 234, 0.72);
  font-size: var(--app-copy);
  line-height: 1.5;
}

.orientation-section {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 20px;
}

.drift-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drift-tags span,
.return-ladder span {
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(245, 241, 234, 0.86);
  font-size: var(--app-copy);
}

.orientation-section blockquote {
  border-left: 2px solid rgba(212, 175, 55, 0.58);
  padding-left: 14px;
  color: rgba(245, 241, 234, 0.82);
  font-family: var(--serif);
  font-style: italic;
}

.orientation-note {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 20px;
  background: rgba(212, 175, 55, 0.1);
}

.orientation-note strong {
  color: #f5f1ea;
  font-size: var(--app-copy);
  font-weight: 400;
}

.orientation-note span {
  color: rgba(245, 241, 234, 0.66);
  font-size: var(--app-copy);
  line-height: 1.45;
}

.drift-ladder,
.return-ladder {
  display: grid;
  gap: 8px;
}

.drift-ladder span {
  position: relative;
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(16, 16, 16, 0.38);
  color: rgba(245, 241, 234, 0.78);
  font-size: var(--app-copy);
}

.drift-ladder span:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 8px;
  margin: 8px auto -8px;
  background: rgba(245, 241, 234, 0.2);
}

.orientation-correction {
  color: rgba(245, 241, 234, 0.58) !important;
  font-style: italic;
}

.return-ladder {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.return-ladder span {
  display: grid;
  place-items: center;
  min-height: 42px;
  text-align: center;
}

.law-card,
.rule-card {
  background:
    linear-gradient(145deg, rgba(36, 34, 34, 0.88), rgba(20, 26, 20, 0.84));
}

.gardener-letter .letter-signature {
  margin: 34px 0 0;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.42);
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
}

.gardener-letter p {
  font-family: var(--sans);
  letter-spacing: 0;
  line-height: 1.66;
}

.gardener-letter h1,
.gardener-letter h2,
.gardener-letter .letter-signature strong {
  font-family: var(--serif);
}

.gardener-letter .letter-signature p {
  margin: 0 0 10px;
}

.gardener-letter .letter-signature p:last-child {
  margin-bottom: 0;
  color: rgba(245, 241, 234, 0.68);
}

.gardener-letter .letter-afterword {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 22px 0 4px;
}

.gardener-letter .letter-afterword p {
  margin: 0;
  color: rgba(245, 241, 234, 0.86);
}

.week-zero-form {
  display: grid;
  gap: 10px;
  margin: 8px 0 24px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(36, 34, 34, 0.58);
}

.week-zero-form label {
  color: rgba(245, 241, 234, 0.68);
  font-family: var(--serif);
  font-size: var(--stage-copy);
  line-height: 1.45;
}

.week-zero-form textarea,
.week-zero-form input {
  width: 100%;
  border: 1px solid rgba(245, 241, 234, 0.16);
  border-radius: 8px;
  background: #151515;
  color: #f5f1ea;
  font-family: var(--serif);
  font-size: var(--stage-copy);
  line-height: 1.5;
}

.week-zero-form textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.week-zero-form input {
  min-height: 46px;
  padding: 0 12px;
}

.plan-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 34px;
}

.rhythm-plan .plan-days {
  gap: 6px;
  margin-bottom: 22px;
}

.plan-days .day-card {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid rgba(245, 241, 234, 0.08);
  border-radius: 6px;
  background: #242424;
  color: rgba(245, 241, 234, 0.72);
  text-decoration: none;
}

.rhythm-plan .plan-days .day-card {
  min-height: 58px;
  border-radius: 5px;
}

.plan-days .day-card.selected {
  border: 3px solid #f5f1ea;
  color: #fff;
}

.rhythm-plan .plan-days .day-card.selected {
  border-width: 2px;
}

.plan-days .day-card.locked {
  cursor: default;
  opacity: 0.48;
}

.plan-days .day-card.done span::after {
  content: " \2713";
  font-size: 13px;
}

.plan-days span {
  font-size: 20px;
}

.plan-days small {
  color: rgba(245, 241, 234, 0.48);
  font-size: 12px;
}

.plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.rhythm-plan .plan-heading {
  margin-bottom: 16px;
}

.plan-heading h2 {
  margin: 0;
  color: #fff;
  font-size: var(--app-title);
}

.soft-status {
  padding: 5px 13px;
  border: 1px solid rgba(245, 241, 234, 0.18);
  border-radius: 999px;
  color: rgba(245, 241, 234, 0.76);
  font-size: var(--app-copy);
}

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

.rhythm-plan .plan-list {
  gap: 6px;
}

.plan-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  color: #f5f1ea;
  text-decoration: none;
}

.rhythm-plan .plan-item {
  min-height: 58px;
  gap: 12px;
}

.plan-item.compact {
  min-height: 58px;
}

.plan-ring {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(245, 241, 234, 0.28);
  border-radius: 999px;
  color: #fff;
}

.plan-item.done .plan-ring {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
}

.plan-item small {
  display: block;
  margin-bottom: 3px;
  color: rgba(245, 241, 234, 0.46);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: none;
}

.plan-item strong {
  display: block;
  color: #fff;
  font-size: var(--app-subtitle);
  font-weight: 400;
  line-height: 1.18;
}

.plan-item em {
  display: block;
  margin-top: 5px;
  color: rgba(245, 241, 234, 0.46);
  font-size: var(--app-meta);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: none;
}

.rhythm-plan .plan-item em {
  margin-top: 3px;
  letter-spacing: 0;
}

.plan-item b {
  color: #fff;
  font-size: 36px;
  font-weight: 300;
}

.plan-action {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.rhythm-plan .plan-action {
  justify-items: center;
  margin-top: 24px;
}

.rhythm-plan .plan-action .reader-next {
  width: min(330px, 100%);
}

.plan-complete-note {
  margin: 0;
  color: rgba(245, 241, 234, 0.62);
  font-size: var(--app-copy);
  line-height: 1.35;
  text-align: center;
}

.reader-text {
  max-width: 520px;
  margin: 52px auto 140px;
  font-family: var(--serif);
}

.reader-kicker {
  display: none;
}

.reader-text h1 {
  margin: 0 0 34px;
  color: #fff;
  font-size: var(--stage-headline);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
}

.reader-text h2 {
  margin: 38px 0 14px;
  color: #fff;
  font-size: var(--stage-subhead);
  font-weight: 400;
}

.reader-text .quiet-target-title {
  margin: 0 0 34px;
  color: rgba(245, 241, 234, 0.9);
  font-family: var(--serif);
  font-size: var(--stage-headline);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
}

.reader-text .excerpt-subtitle {
  margin-bottom: 28px;
  color: rgba(245, 241, 234, 0.58);
  font-family: var(--sans);
  font-size: var(--stage-copy);
  font-style: normal;
  letter-spacing: 0.035em;
  line-height: 1.55;
  text-align: center;
}

.reader-text .excerpt-subtitle strong {
  color: rgba(245, 241, 234, 0.82);
  font-weight: 400;
}

.reader-text p {
  margin: 0 0 22px;
  color: rgba(245, 241, 234, 0.92);
  font-size: var(--stage-copy);
  line-height: 1.7;
}

.reader-text .reader-prompt {
  color: #fff;
  font-size: var(--stage-subhead);
  line-height: 1.36;
}

.reader-text .reader-hint {
  color: rgba(245, 241, 234, 0.58);
  font-size: var(--stage-copy);
  font-style: italic;
  letter-spacing: 0.035em;
}

.reader-link-row {
  text-align: center;
}

.reader-link-row.bottom {
  margin-top: 44px;
}

.return-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(212, 175, 55, 0.52);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: var(--stage-meta);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: none;
}

button.return-pill {
  background: transparent;
  cursor: pointer;
}

.return-pill:hover {
  background: rgba(212, 175, 55, 0.12);
}

.reader-rule {
  width: 46px;
  height: 1px;
  margin: 38px 0;
  background: var(--gold);
}

.reader-deepening h3,
.reader-deepening h4 {
  color: #fff;
}

.reader-deepening p,
.reader-lines p {
  font-size: var(--stage-copy);
}

.reader-lines p {
  letter-spacing: 0.03em;
  line-height: 1.85;
}

.reader-nav {
  position: fixed;
  left: 50%;
  bottom: 22px;
  display: grid;
  grid-template-columns: 54px minmax(180px, 1fr) 54px;
  gap: 10px;
  width: min(520px, calc(100% - 36px));
  transform: translateX(-50%);
}

.round-btn,
.reader-next {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: #302e2f;
  color: #f5f1ea;
  text-decoration: none;
}

.round-btn {
  display: grid;
  place-items: center;
  font-size: 32px;
}

.reader-next {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: var(--app-subtitle);
  font-weight: 500;
}

.reader-next:disabled {
  cursor: default;
  opacity: 0.38;
}

.reader-next.wide {
  width: 100%;
  background: #f5f1ea;
  color: #101010;
}

.quiet-action {
  display: inline-flex;
  justify-content: center;
  justify-self: center;
  color: rgba(245, 241, 234, 0.62);
  text-align: center;
  text-decoration: none;
}

.response-prompt {
  margin: 34px auto 22px;
  max-width: 500px;
  text-align: center;
}

.response-prompt .reader-kicker {
  color: var(--gold);
  font-weight: 400;
}

.response-prompt h1 {
  margin: 12px 0 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--stage-subhead);
  font-weight: 400;
  line-height: 1.22;
}

.response-prompt p {
  color: rgba(245, 241, 234, 0.8);
  font-size: var(--stage-copy);
}

.response-box {
  max-width: 520px;
  margin: 0 auto 180px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 241, 234, 0.18);
}

.week-response {
  margin-top: -88px;
  border-top: 0;
}

.weekly-question-label {
  margin: 0 0 18px;
  color: rgba(245, 241, 234, 0.82);
  font-family: var(--serif);
  font-size: calc(var(--stage-copy) * 1.25);
  font-weight: 400;
}

.week-response textarea {
  min-height: 92px;
  margin-bottom: 20px;
}

.response-box textarea {
  min-height: 150px;
  border-color: rgba(245, 241, 234, 0.18);
  background: #151515;
  color: #f5f1ea;
}

.tag-group {
  margin-top: 42px;
}

.tag-group p {
  margin: 0 0 10px;
  color: rgba(245, 241, 234, 0.62);
  font-size: var(--stage-meta);
  letter-spacing: 0.08em;
}

.tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-options button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(245, 241, 234, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(245, 241, 234, 0.66);
  font-size: var(--app-copy);
  letter-spacing: 0.04em;
}

.tag-options button.selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
  color: #fff;
}

.reader-shell .field-label {
  color: rgba(245, 241, 234, 0.52);
  font-size: var(--stage-meta);
  font-weight: 400;
}

.segmented.dark button {
  border-color: rgba(245, 241, 234, 0.16);
  color: rgba(245, 241, 234, 0.66);
}

.segmented.dark button.selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.18);
  color: #fff;
}

.visually-quiet {
  display: none;
}

.complete-reader {
  width: 100%;
}

.complete-overlay {
  display: grid;
  align-items: center;
}

.complete-sheet {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
  padding: 44px 24px;
  border-radius: 10px;
  background: #242222;
  text-align: center;
}

.complete-check {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid #f5f1ea;
  border-radius: 999px;
  color: #fff;
  font-size: 28px;
}

.complete-sheet h1 {
  margin: 0;
  color: #fff;
  font-size: var(--app-title);
}

.complete-sheet img {
  width: 220px;
  max-width: 70%;
}

.complete-sheet p {
  max-width: 34ch;
  margin: 0;
  color: rgba(245, 241, 234, 0.72);
  font-size: var(--app-subtitle);
}

.archive-screen {
  width: min(var(--app-frame-width), 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: var(--app-page-top) var(--app-page-x) 72px;
}

.archive-top {
  margin-bottom: 28px;
}

.archive-top span {
  color: #f5f1ea;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.return-list {
  display: grid;
  gap: 4px;
}

.return-item {
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
}

.return-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 14px;
  padding: 22px 0;
  color: #f5f1ea;
  text-decoration: none;
}

.return-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.return-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.return-heading strong {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
}

.return-heading small {
  color: rgba(245, 241, 234, 0.46);
  font-size: 12px;
}

.return-prompt {
  color: rgba(245, 241, 234, 0.88);
  font-family: var(--serif);
  font-size: calc(18px * var(--text-scale, 1));
  line-height: 1.58;
}

.return-reflection {
  color: rgba(245, 241, 234, 0.52);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.return-more {
  align-self: center;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
}

.dark-empty {
  color: rgba(245, 241, 234, 0.62);
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }

  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(248, 245, 238, 0.98);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    justify-content: center;
  }

  .home-grid,
  .encounter-layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
    border-left: 0;
    padding-left: 0;
  }

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

  .brand-subtitle {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .reader-shell.has-mobile-tab-nav .plan-page,
  .reader-shell.has-mobile-tab-nav .reader-page,
  .reader-shell.has-mobile-tab-nav .home-entry,
  .reader-shell.has-mobile-tab-nav .profile-screen {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .mobile-tab-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    width: 100vw;
    height: calc(60px + env(safe-area-inset-bottom));
    min-height: 0;
    padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(245, 241, 234, 0.1);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(24, 23, 23, 0.96);
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.34);
    backface-visibility: hidden;
    contain: layout style;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .reader-shell.has-mobile-tab-nav .reader-nav {
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 19;
  }

  .mobile-tab-nav a {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    width: 100%;
    height: 50px;
    min-width: 0;
    border-radius: 8px 8px 0 0;
    color: rgba(245, 241, 234, 0.58);
    text-decoration: none;
  }

  .mobile-tab-nav a.active {
    background: rgba(245, 241, 234, 0.055);
    color: #f5f1ea;
  }

  .mobile-tab-nav a.needs-account {
    color: rgba(245, 241, 234, 0.72);
  }

  .mobile-tab-nav a.needs-account .mobile-tab-icon {
    position: relative;
  }

  .mobile-tab-nav a.needs-account .mobile-tab-icon::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gold);
  }

  .mobile-tab-nav a.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 38%;
    right: 38%;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
  }

  .mobile-tab-nav a.center-witness {
    gap: 2px;
    background: transparent;
    transform: none;
  }

  .mobile-tab-nav a.center-witness::before {
    display: none;
  }

  .mobile-tab-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    line-height: 1;
  }

  .mobile-tab-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-tab-icon img {
    display: block;
    object-fit: contain;
  }

  .mobile-tab-nav a.center-witness .mobile-tab-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 999px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, var(--lilac) 48%, rgba(213, 207, 202, 0.96) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      inset 0 -4px 8px rgba(70, 58, 52, 0.1),
      0 8px 18px rgba(0, 0, 0, 0.22);
    transform: translateY(-22px);
  }

  .mobile-tab-nav a.center-witness strong {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    text-align: center;
  }

  .mobile-tab-nav a.center-witness .nav-icon-witness {
    width: 26px;
    height: 26px;
    transform: translateY(2px);
  }

  .mobile-tab-nav a.center-witness.active .mobile-tab-icon {
    border-color: rgba(212, 175, 55, 0.38);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, var(--lilac) 48%, rgba(213, 207, 202, 0.96) 100%);
    color: var(--gold);
  }

  .mobile-tab-nav a.active strong {
    font-weight: 600;
  }

  .mobile-tab-icon .nav-fill,
  .mobile-tab-icon .nav-fill-accent {
    fill: currentColor;
    opacity: 0;
    stroke: none;
  }

  .mobile-tab-nav a.active .nav-fill {
    opacity: 0.12;
  }

  .mobile-tab-nav a.active .nav-fill-accent {
    opacity: 0.92;
  }

  .mobile-tab-nav a.active .nav-icon-home .nav-fill {
    opacity: 0.92;
  }

  .mobile-tab-nav a.active .nav-icon-witness .nav-fill {
    opacity: 0.72;
  }

  .mobile-tab-nav a.has-new-witness .mobile-tab-icon {
    position: relative;
  }

  .mobile-tab-nav a.has-new-witness .mobile-tab-icon::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 0 2px rgba(24, 23, 23, 0.96);
  }

  .mobile-tab-nav a.center-witness.has-new-witness .mobile-tab-icon::after {
    right: 4px;
    top: 4px;
  }

  .mobile-tab-nav strong {
    font-size: var(--type-meta);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
  }

  .plan-top-actions {
    display: none;
  }

  .plan-top p {
    display: none;
  }

  .home-desktop {
    display: none;
  }

  .home-mobile {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    padding: 42px 24px 28px;
    background:
      radial-gradient(ellipse at 50% 18%, rgba(212, 175, 55, 0.12), transparent 40%),
      linear-gradient(180deg, #111 0%, #101010 56%, #151815 100%);
  }

  .home-mobile-center {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
  }

  .home-mobile .mark {
    width: 52px;
    height: 52px;
    margin-bottom: 30px;
  }

  .home-mobile p {
    margin: 0 0 12px;
    color: rgba(245, 241, 234, 0.72);
    font-family: var(--serif);
    font-size: var(--app-subtitle);
    letter-spacing: 0.02em;
  }

  .home-mobile h1 {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1.05;
  }

  .home-mobile-center > span {
    display: block;
    max-width: 28ch;
    margin-top: 24px;
    color: rgba(245, 241, 234, 0.58);
    font-family: var(--serif);
    font-size: var(--app-subtitle);
    font-style: italic;
    letter-spacing: 0.03em;
    line-height: 1.5;
  }

  .home-mobile-center > span + span {
    max-width: 32ch;
    margin-top: 14px;
    color: rgba(245, 241, 234, 0.5);
    font-family: var(--sans);
    font-size: 13px;
    font-style: normal;
    letter-spacing: 0.04em;
    line-height: 1.6;
  }

  .home-mobile-actions {
    display: grid;
    gap: 10px;
    width: 100%;
  }

  .bottom-action {
    min-height: 56px;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
  }

  .auth-form-row .btn.compact {
    width: 100%;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .daily-copy {
    font-size: 19px;
  }
}



.profile-icons .more-menu-icon {
  width: 24px;
  height: 24px;
}

.profile-icons .more-menu-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

/* 2026-06-24 icon/button clean sweep */
.profile-icons a {
  width: 38px;
  height: 38px;
  font-size: 0;
}

.profile-icons .more-menu-icon {
  width: 24px;
  height: 24px;
}

.profile-icons .more-menu-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

.profile-action-card {
  min-height: 74px;
  padding: 11px 10px 10px;
}

.profile-action-icon {
  width: 32px;
  height: 32px;
}

.profile-action-icon svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.65;
}

.profile-action-card strong {
  font-size: 8.5px;
  letter-spacing: 0.07em;
}

.reader-next,
.profile-pill,
.gold-action {
  min-height: 46px;
  padding-right: 18px;
  padding-left: 18px;
  font-size: var(--app-copy);
}

.reader-next.wide,
.gold-action.wide {
  width: min(100%, 420px);
  justify-self: center;
}

.compass-entry-panel .reader-next.wide {
  width: min(100%, 320px);
}

.access-screen {
  align-items: center;
  width: min(var(--app-frame-width), 100%);
  margin-right: auto;
  margin-left: auto;
}

.access-screen > * {
  width: min(420px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.access-screen .access-top {
  width: 100%;
  max-width: 520px;
  align-self: stretch;
}

.access-screen .access-menu {
  margin-left: auto;
}

.access-screen .access-hero {
  text-align: center;
}

.access-screen .access-hero h1 {
  max-width: 10ch;
  margin-right: auto;
  margin-left: auto;
  font-size: calc(var(--app-hero) * 1.5);
}

.access-auth-panel {
  margin-top: 12px;
  border-bottom: 0;
}

.auth-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-choice-row .profile-pill {
  width: 100%;
  min-height: 56px;
  font-size: var(--app-subtitle);
}

.access-screen .reader-next,
.access-screen .profile-pill {
  min-height: 56px;
  font-size: var(--app-subtitle);
}

@media (max-width: 760px) {
  .access-screen {
    padding-right: 28px;
    padding-left: 28px;
  }

  .access-screen > * {
    width: min(420px, 100%);
  }

  .access-screen .access-hero h1 {
    max-width: 9ch;
  }

  .auth-choice-row {
    gap: 8px;
  }
}

/* 2026-06-24 production sync: dashboard home and access tuning */
.home-dashboard-top .wordmark {
  font-size: 20px;
}

.compact-link {
  min-height: 36px;
  padding: 0 12px;
  font-size: 10px;
}

.home-dashboard .home-dashboard-hero {
  gap: 10px;
  margin-bottom: 16px;
}

.home-dashboard .home-dashboard-hero h1 {
  max-width: 14ch;
  font-size: 22px;
  line-height: 1.12;
}

.home-dashboard .home-dashboard-hero span {
  max-width: 34ch;
  color: rgba(245, 241, 234, 0.66);
  font-size: 13px;
  line-height: 1.45;
}

.home-dashboard .home-dashboard-grid {
  display: grid;
  gap: 8px;
}

.home-dashboard article.home-dashboard-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: stretch;
  gap: 0;
  min-height: 62px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 234, 0.13);
  border-radius: 14px;
  background: rgba(245, 241, 234, 0.055);
}

.home-dashboard article.home-dashboard-card.primary-card {
  border-color: rgba(212, 175, 55, 0.2);
  background: rgba(245, 241, 234, 0.075);
}

.home-dashboard article.home-dashboard-card.locked-card {
  border-color: rgba(245, 241, 234, 0.08);
}

.home-dashboard article.home-dashboard-card .home-dashboard-main {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 12px 10px 12px 16px;
  color: inherit;
  text-decoration: none;
}

.home-dashboard article.home-dashboard-card .home-dashboard-main h2 {
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.18;
}

.home-dashboard article.home-dashboard-card .home-dashboard-main span {
  color: rgba(245, 241, 234, 0.54);
  font-size: 10.5px;
  line-height: 1.25;
}

.home-dashboard article.home-dashboard-card.locked-card .home-dashboard-main h2,
.home-dashboard article.home-dashboard-card.locked-card .home-dashboard-main span {
  color: rgba(245, 241, 234, 0.56);
}

.home-dashboard article.home-dashboard-card .home-dashboard-more {
  display: grid;
  place-items: center;
  padding: 0 12px 0 6px;
  color: rgba(245, 241, 234, 0.52);
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  writing-mode: vertical-rl;
}

.home-dashboard article.home-dashboard-card .home-dashboard-more:focus-visible,
.home-dashboard article.home-dashboard-card .home-dashboard-main:focus-visible {
  outline: 1px solid rgba(212, 175, 55, 0.78);
  outline-offset: -3px;
}

.access-screen .access-hero h1 {
  font-size: calc(var(--app-hero) * 1.5);
}

.access-screen .profile-pill,
.auth-choice-row .profile-pill {
  min-height: 46px;
  font-size: var(--app-copy);
}

.access-screen .auth-form-row .btn.compact {
  min-height: 42px;
  font-size: var(--app-copy);
}

@media (max-width: 760px) {
  .home-dashboard article.home-dashboard-card {
    grid-template-columns: minmax(0, 1fr) 34px;
    min-height: 58px;
  }

  .home-dashboard article.home-dashboard-card .home-dashboard-main {
    padding: 11px 8px 11px 14px;
  }

  .home-dashboard article.home-dashboard-card .home-dashboard-main h2 {
    font-size: 16px;
  }

  .home-dashboard article.home-dashboard-card .home-dashboard-main span {
    font-size: 10.5px;
  }
}

/* 2026-06-24 home product hero */
.home-product-landing {
  position: relative;
  min-height: 100vh;
  padding: 26px clamp(24px, 4.6vw, 70px) calc(56px + env(safe-area-inset-bottom));
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 76%, rgba(129, 60, 36, 0.38), transparent 28%),
    linear-gradient(90deg, rgba(7, 8, 7, 0.98) 0%, rgba(11, 12, 11, 0.92) 38%, rgba(51, 30, 24, 0.9) 100%);
  color: #f5f1ea;
}

.home-product-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 48px;
}

.home-product-brand,
.home-product-nav {
  display: flex;
  align-items: center;
}

.home-product-brand {
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.home-product-brand .wordmark {
  font-size: 20px;
}

.home-product-nav {
  gap: clamp(18px, 3vw, 46px);
}

.home-product-nav a {
  color: rgba(245, 241, 234, 0.78);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.home-product-nav a:hover {
  color: #fff;
}

.home-product-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(220px, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 110px);
  min-height: calc(100vh - 210px);
  padding: clamp(48px, 10vh, 112px) 0 34px;
}

.home-product-copy {
  max-width: 620px;
}

.home-product-label {
  margin: 0 0 18px;
  color: rgba(245, 241, 234, 0.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: none;
}

.home-product-copy h1 {
  margin: 0;
  max-width: 15ch;
  color: #fff;
  font-family: var(--serif);
  font-size: calc(var(--app-hero) * 1.5);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

.home-product-copy h1 em {
  font-family: inherit;
  font-size: 1em;
  font-style: normal;
  font-weight: inherit;
}

.home-product-lead {
  max-width: 36ch;
  margin: 18px 0 0;
  color: rgba(245, 241, 234, 0.66);
  font-size: var(--app-copy);
  font-weight: 400;
  line-height: 1.5;
}

.home-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.home-product-primary,
.home-product-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: var(--app-copy);
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.home-product-primary {
  background: #f5f1ea;
  color: #10100f;
}

.home-product-secondary {
  border: 1px solid rgba(245, 241, 234, 0.28);
  color: #f5f1ea;
}

.home-product-mark {
  position: relative;
  justify-self: center;
  width: min(68vw, 720px);
  margin: 34px 0 0;
  opacity: 0.74;
}

.home-product-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.78) brightness(0.76) drop-shadow(-14px 22px 30px rgba(0, 0, 0, 0.24));
  transform: none;
  -webkit-mask-image: radial-gradient(ellipse at 52% 48%, #000 0 48%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse at 52% 48%, #000 0 48%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
}

@media (max-width: 900px) {
  .home-product-landing {
    padding: 22px 18px calc(104px + env(safe-area-inset-bottom));
  }

  .home-product-nav {
    display: none;
  }

  .home-product-brand .wordmark {
    font-size: 18px;
  }

  .home-product-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0 22px;
  }

  .home-product-copy {
    max-width: 100%;
  }

  .home-product-label {
    margin-bottom: 16px;
  }

  .home-product-copy h1 {
    max-width: 15ch;
    font-size: calc(var(--app-hero) * 1.5);
  }

  .home-product-lead {
    max-width: 36ch;
    margin-top: 16px;
    font-size: var(--app-copy);
  }

  .home-product-actions {
    display: grid;
    gap: 8px;
    margin-top: 24px;
  }

  .home-product-primary,
  .home-product-secondary {
    min-height: 46px;
  }

  .home-product-mark {
    justify-self: center;
    width: min(86vw, 440px);
    margin-top: 42px;
    opacity: 0.66;
  }
}
