:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.62);
  --dim: rgba(244, 241, 234, 0.34);
  --line: rgba(244, 241, 234, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --serif-display: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --pad: clamp(1.2rem, 4vw, 3rem);
  --max: 42rem;
  --portal: #8b8fe0;
  --flow-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --flow-ease-move: cubic-bezier(0.23, 1, 0.32, 1);
  --flow-duration: 600ms;
  --button-primary-bg: var(--fg);
  --button-primary-fg: var(--bg);
  --button-primary-border: color-mix(in srgb, var(--bg) 14%, var(--fg));
  --button-primary-fill: var(--bg);
  --button-primary-on-fill: var(--fg);
  --button-secondary-fg: color-mix(in srgb, var(--fg) 84%, transparent);
  --button-secondary-border: color-mix(in srgb, var(--fg) 34%, transparent);
  --button-secondary-fill: var(--fg);
  --button-secondary-on-fill: var(--bg);
}

/* Self-hosted Latin faces. CJK uses local/system serif — no Google Fonts. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/outfit-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: local("Noto Serif SC"), local("Noto Serif CJK SC"), local("Source Han Serif SC"), local("Songti SC"), local("STSong");
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
}
html { overflow-x: hidden; }
body { min-height: 100dvh; overflow-x: hidden; overflow-y: auto; }
body[data-screen="reality"],
body[data-screen="talk"],
body[data-screen="explore"] { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}
body[data-screen="landing"] .sky,
body[data-screen="landing"] #stars,
body[data-screen="landing"] #gateway-flow,
body[data-screen="landing"] .gateway-veil,
body[data-screen="landing"] .nebula,
body[data-screen="landing"] .grain,
body[data-screen="landing"] .figure,
body[data-screen="searching"] .sky,
body[data-screen="searching"] #stars,
body[data-screen="searching"] #gateway-flow,
body[data-screen="searching"] .gateway-veil,
body[data-screen="searching"] .nebula,
body[data-screen="searching"] .grain,
body[data-screen="searching"] .figure,
body[data-screen="auth"] .sky,
body[data-screen="auth"] #stars,
body[data-screen="auth"] #gateway-flow,
body[data-screen="auth"] .gateway-veil,
body[data-screen="auth"] .nebula,
body[data-screen="auth"] .grain,
body[data-screen="auth"] .figure,
body[data-screen="pricing"] .sky,
body[data-screen="pricing"] #stars,
body[data-screen="pricing"] #gateway-flow,
body[data-screen="pricing"] .gateway-veil,
body[data-screen="pricing"] .nebula,
body[data-screen="pricing"] .grain,
body[data-screen="pricing"] .figure {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
}
.nebula {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 18% 38%, rgba(120,130,160,0.16), transparent 45%),
    radial-gradient(ellipse at 82% 62%, rgba(180,180,200,0.1), transparent 40%);
  filter: blur(10px);
  animation: drift 48s ease-in-out infinite alternate;
}
.figure {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(52vw, 46rem);
  opacity: 0;
  background:
    radial-gradient(ellipse at 38% 70%, rgba(180,190,210,0.08), transparent 46%),
    var(--character-image, none) no-repeat 18% 100% / auto 108%;
  filter: drop-shadow(0 0 28px rgba(220,228,240,0.14));
  transition: opacity 480ms ease, filter 480ms ease;
}
.figure-talk {
  /* Keep Talk continuous with Reality: same framing language, not a darker chat crop. */
  width: min(52vw, 46rem);
  background-position: 18% 100%;
  background-size: auto 108%;
}
body[data-visual-variant="male"] {
  --character-image: url("/assets/characters/male.jpg");
}
body[data-visual-variant="female"] {
  --character-image: url("/assets/characters/female.jpg");
}
body[data-screen="reality"] .figure-reality {
  opacity: 1;
  width: 48vw;
  max-width: none;
}
body[data-screen="talk"] .figure-reality { opacity: 1; }
body[data-screen="explore"] .figure-reality,
body[data-screen="explore"] .figure-talk {
  display: none;
  opacity: 0;
}
body[data-screen="reality"] .nebula,
body[data-screen="talk"] .nebula { opacity: 0.28; }
body[data-screen="explore"] .nebula,
body[data-screen="explore"] .grain,
body[data-screen="explore"] #stars {
  display: none;
  opacity: 0;
}
body[data-screen="reality"] #stars,
body[data-screen="talk"] #stars { opacity: 0.42; }
#gateway-flow,
.gateway-veil,
#fluid-particles {
  display: none;
  pointer-events: none;
}
#gateway-flow,
#fluid-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gateway-veil {
  position: absolute;
  inset: 0;
  background: none;
}
body[data-screen="calibrate"] #stars {
  display: none;
}
body[data-screen="calibrate"] #gateway-flow,
body[data-screen="calibrate"] .gateway-veil {
  display: block;
}
body[data-screen="explore"] #fluid-particles {
  display: block;
}
body[data-screen="calibrate"] .nebula,
body[data-screen="calibrate"] .grain {
  opacity: 0;
  display: none;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
@keyframes drift {
  from { transform: translate3d(-1%, -1%, 0) scale(1.04); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.12); }
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem var(--pad);
  pointer-events: none;
}
.account-home-nav {
  display: none;
  pointer-events: auto;
  margin: 0;
  padding: 0.35rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1;
  min-height: 2rem;
  white-space: nowrap;
}
.account-home-nav::before {
  content: '← ';
}
.account-home-nav:hover { color: var(--fg); }
.calibrate-home {
  display: none;
  pointer-events: auto;
  margin: 0;
  padding: 0.35rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1;
  min-height: 2rem;
  white-space: nowrap;
}
.calibrate-home:hover { color: var(--muted); }
body[data-screen="calibrate"] .topbar {
  justify-content: space-between;
  padding-top: 0.85rem;
}
body[data-screen="calibrate"] .calibrate-home {
  display: inline-flex;
  align-items: center;
}
body[data-screen="account"] .account-home-nav { display: inline-flex; align-items: center; }
body[data-screen="landing"] .topbar { display: none; }
body[data-screen="auth"] .topbar { display: none; }
body[data-screen="pricing"] .topbar { display: none; }
.brand,
.top-links { display: none; }
.brand {
  align-items: center;
  gap: 0.55rem;
  color: var(--fg);
  text-decoration: none;
  pointer-events: auto;
  letter-spacing: 0.04em;
}
.brand-mark {
  display: grid;
  place-items: center;
  color: var(--fg);
  opacity: 0.92;
}
.brand-name {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.landing-header .brand-name,
.explore-brand .brand-name,
.auth-logo .brand-name,
.checkout-header .brand-name {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 0;
}
.landing-header .brand-wordmark,
.explore-brand .brand-wordmark,
.auth-logo .brand-wordmark,
.checkout-header .brand-wordmark {
  display: block;
  width: auto;
  height: 2.2rem;
  overflow: visible;
}
.brand-name-u {
  color: inherit;
}
.landing-header .nav-signup,
.landing-header .nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 2.2rem;
  min-height: 2.2rem;
  padding: 0 0.95rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
}
.landing-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  width: 2.4rem;
  height: 2.4rem;
  min-width: 2.4rem;
  padding: 0;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 10px;
  background-color: transparent;
  color: #f4f1ea;
  z-index: 4;
}
.landing-menu-toggle-bars {
  position: relative;
  display: block;
  width: 1.05rem;
  height: 0.72rem;
}
.landing-menu-toggle-bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 280ms var(--flow-ease), top 280ms var(--flow-ease);
}
.landing-menu-toggle-bars span:first-child { top: 0.12rem; }
.landing-menu-toggle-bars span:last-child { top: 0.48rem; }
.landing-menu-toggle[aria-expanded="true"] .landing-menu-toggle-bars span:first-child {
  top: 0.3rem;
  transform: rotate(45deg);
}
.landing-menu-toggle[aria-expanded="true"] .landing-menu-toggle-bars span:last-child {
  top: 0.3rem;
  transform: rotate(-45deg);
}
@media (min-width: 901px) {
  .landing-menu-toggle {
    display: none;
  }
}
.top-links {
  align-items: center;
  gap: 0.15rem;
}
.top-links button {
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  min-height: 2rem;
  padding: 0.2rem 0.55rem;
}
.landing-hero .top-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.locale-switch {
  position: relative;
  display: flex;
  align-items: center;
  pointer-events: auto;
  flex: 0 0 auto;
}
.locale-switch-toggle.flow-btn {
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0;
}
.locale-switch.is-open .locale-switch-toggle.flow-btn--icon {
  color: var(--button-secondary-on-fill);
}
.locale-switch.is-open .locale-switch-toggle.flow-btn--icon .flow-btn-fill {
  transform: translate(-50%, -50%) scale(1);
}
.locale-switch-globe {
  display: block;
  width: 15px;
  height: 15px;
}
.locale-switch-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  right: auto;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: max-content;
  min-width: 2.5rem;
  padding: 0.2rem;
  background: #0a0a0a;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 10px;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}
.locale-switch-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 8px;
}
.locale-switch.is-open .locale-switch-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.locale-switch-menu button {
  width: auto;
  min-width: 2.2rem;
  min-height: 1.85rem;
  padding: 0.28rem 0.42rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-align: center;
}
.locale-switch-menu button:hover,
.locale-switch-menu button:focus-visible {
  color: var(--fg);
  background: rgba(244, 241, 234, 0.06);
}
.locale-switch-menu button[aria-selected="true"] {
  color: var(--fg);
  background: rgba(244, 241, 234, 0.1);
}
.locale-switch-toggle:focus-visible,
.locale-switch-menu button:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--fg) 70%, transparent);
  outline-offset: 2px;
}
body[data-screen="searching"] .topbar,
body[data-screen="reveal"] .topbar,
body[data-screen="reality"] .topbar,
body[data-screen="talk"] .topbar,
body[data-screen="explore"] .topbar { display: none; }

#app {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(4.5rem + env(safe-area-inset-top)) var(--pad) calc(2.5rem + env(safe-area-inset-bottom));
}
body[data-screen="landing"] #app {
  display: block;
  padding: 0;
  place-items: unset;
  background: #000;
}
body[data-screen="pricing"] {
  background: #000;
}
body[data-screen="pricing"] #app {
  display: block;
  padding: 0;
  place-items: unset;
  background: #000;
}
.pricing-page {
  position: relative;
  min-height: 100dvh;
  background: #000;
  color: var(--fg);
}
.pricing-page .landing-header {
  position: fixed;
}
.pricing-root {
  min-height: calc(100dvh - 3.4rem);
}
body[data-screen="auth"] {
  overflow: hidden;
  background: #000;
}
body[data-screen="auth"] #app {
  display: block;
  padding: 0;
  place-items: unset;
  background: transparent;
  min-height: 100svh;
  position: relative;
  z-index: 1;
}
body[data-screen="account"] #app {
  display: block;
  place-items: unset;
}
body[data-screen="reality"] #app,
body[data-screen="talk"] #app,
body[data-screen="explore"] #app {
  place-items: stretch;
  padding: 0;
  height: 100dvh;
}

body[data-screen="calibrate"] #app {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: calc(3.4rem + env(safe-area-inset-top));
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}
body[data-screen="calibrate"] .locale-switch-toggle {
  color: var(--dim);
  opacity: 0.72;
}
body[data-screen="calibrate"] .locale-switch-toggle:hover,
body[data-screen="calibrate"] .locale-switch.is-open .locale-switch-toggle {
  color: var(--muted);
  opacity: 1;
}

.calibrate-shell {
  width: min(40.5rem, 100%);
  margin: 0 auto;
  text-align: left;
}
.calibrate-progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0 0.4rem 1.15rem;
  padding: 0;
}
.calibrate-progress::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: 50%;
  height: 1px;
  background: rgba(244, 241, 234, 0.14);
  transform: translateY(-50%);
  pointer-events: none;
}
.calibrate-progress-item {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}
.calibrate-progress-node {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.28);
  background: rgba(8, 8, 8, 0.92);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.45);
}
.calibrate-progress-item.is-done .calibrate-progress-node {
  background: rgba(244, 241, 234, 0.55);
  border-color: rgba(244, 241, 234, 0.55);
}
.calibrate-progress-item.is-current .calibrate-progress-node {
  width: 0.68rem;
  height: 0.68rem;
  background: #f4f1ea;
  border-color: #f4f1ea;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.45), 0 0 10px rgba(244, 241, 234, 0.28);
}
.calibrate-card {
  background: rgba(8, 8, 9, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 1.45rem;
  padding: 1.45rem 1.5rem 1.25rem;
  transition: padding 220ms ease;
}
.calibrate-card-header { margin: 0 0 1.15rem; }
.calibrate-card .question {
  margin: 0 0 0.45rem;
  font-size: clamp(1.28rem, 3vw, 1.72rem);
}
.calibrate-card .q1-hint {
  margin: 0;
  color: rgba(244, 241, 234, 0.52);
}
.calibrate-card .hint {
  margin: 0 0 0.95rem;
}
.calibrate-card .error { margin: 0 0 0.9rem; }
.calibrate-pane {
  overflow: hidden;
}
.calibrate-pane.is-exit {
  animation: calibratePaneExit 180ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
.calibrate-pane.is-exit-back {
  animation: calibratePaneExitBack 180ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
.calibrate-pane.is-enter {
  animation: calibratePaneEnter 280ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
.calibrate-pane.is-enter-back {
  animation: calibratePaneEnterBack 280ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes calibratePaneExit {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-12px); }
}
@keyframes calibratePaneExitBack {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(12px); }
}
@keyframes calibratePaneEnter {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes calibratePaneEnterBack {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
.calibrate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}
.calibrate-footer .flow-btn {
  min-width: 7.5rem;
  flex: 0 0 auto;
}
.calibrate-card .field { margin: 0 0 0.95rem; }
.calibrate-card .field span {
  color: rgba(244, 241, 234, 0.72);
  font-size: 0.8rem;
}
.calibrate-card .field input {
  min-height: 3rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(244, 241, 234, 0.18);
}
.calibrate-card .field input::placeholder {
  color: rgba(244, 241, 234, 0.32);
}
.calibrate-card .field input:focus {
  border-color: rgba(244, 241, 234, 0.5);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.07);
}
.date-wheel-field { gap: 0.45rem; }
.date-wheel-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3rem;
  padding: 0 0.95rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(244, 241, 234, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: var(--fg);
  font: inherit;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
}
.date-wheel-trigger.is-empty {
  color: rgba(244, 241, 234, 0.38);
}
.date-wheel-trigger:hover {
  border-color: rgba(244, 241, 234, 0.3);
  background: rgba(255, 255, 255, 0.07);
}
.date-wheel-trigger:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.55);
  outline-offset: 2px;
}
.date-wheel-trigger[aria-expanded="true"] {
  border-color: rgba(244, 241, 234, 0.42);
}
.date-wheel-panel {
  margin-top: 0.15rem;
  padding: 0.55rem 0.4rem 0.45rem;
  border-radius: 0.8rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(244, 241, 234, 0.1);
}
.date-wheel-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.9fr);
  height: 200px;
  overflow: hidden;
  perspective: 720px;
}
.date-wheel-frame::before {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: 2;
  left: 0.35rem;
  right: 0.35rem;
  top: 50%;
  height: 40px;
  transform: translateY(-50%);
  border-radius: 0.45rem;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: rgba(255, 255, 255, 0.045);
}
.date-wheel-col {
  position: relative;
  z-index: 3;
  height: 200px;
  overflow: hidden;
  outline: none;
  touch-action: none;
  overscroll-behavior: contain;
  cursor: ns-resize;
  user-select: none;
  -webkit-user-select: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.date-wheel-col:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.28);
}
.date-wheel-scroller {
  will-change: transform;
  transform-style: preserve-3d;
}
.date-wheel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: rgba(168, 164, 156, 0.78);
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  transform-origin: center center;
}
.date-wheel-item.is-active {
  color: rgba(244, 241, 234, 0.96);
  font-weight: 500;
}
.date-wheel-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
  padding: 0 0.35rem 0.1rem;
}
.date-wheel-cancel {
  min-height: auto;
  padding: 0.2rem 0.15rem;
  color: var(--dim);
}
.date-wheel-done {
  border: 0;
  background: none;
  color: rgba(244, 241, 234, 0.88);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.2rem 0.1rem;
}
.date-wheel-done:hover,
.date-wheel-cancel:hover {
  color: var(--fg);
}
.date-wheel-done:focus-visible,
.date-wheel-cancel:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.55);
  outline-offset: 2px;
}
.calibrate-card .choices { margin: 0 0 0.35rem; }
.calibrate-card .choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(244, 241, 234, 0.16);
  box-shadow: none;
  transform: none;
  filter: none;
}
.calibrate-card .choice:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(244, 241, 234, 0.28);
}
.calibrate-card .choice:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.55);
  outline-offset: 2px;
}
.choice-mark {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.32);
  background: transparent;
}
.choice-label { flex: 1 1 auto; }
.calibrate-card .choice[aria-pressed="true"] {
  background: rgba(244, 241, 234, 0.1);
  border-color: rgba(244, 241, 234, 0.55);
  box-shadow: none;
}
.calibrate-card .choice[aria-pressed="true"] .choice-mark {
  background: #f4f1ea;
  border-color: #f4f1ea;
}
.calibrate-card .choice.is-confirming {
  transform: none;
  filter: none;
  box-shadow: none;
}

.stage { width: min(100%, var(--max)); text-align: center; }

.eyebrow, .progress-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.hero {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.18;
  margin: 0 0 1.4rem;
  text-wrap: balance;
}

.landing-page {
  --landing-copy: min(40vw, 34rem);
  width: 100%;
  position: relative;
  background: #000;
  padding-bottom: 8vh;
}
.landing-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: #000;
  background-image: url("/parallel-universe-milkyway-4k.jpg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.landing-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.75) 75%,
    #000 100%
  );
}
.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 32%,
    rgba(0, 0, 0, 0.18) 52%,
    rgba(0, 0, 0, 0.05) 68%,
    rgba(0, 0, 0, 0) 82%
  );
}
.landing-hero button:focus-visible,
.landing-hero a:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.7);
  outline-offset: 3px;
}
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: auto;
  min-height: 3.1rem;
  padding: calc(0.4rem + env(safe-area-inset-top)) var(--pad) 0.4rem;
  background: transparent;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.landing-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.landing-header::before {
  content: none;
}
.landing-header > * {
  position: relative;
  z-index: 1;
}
.landing-header .brand,
.landing-header .top-links,
.landing-drawer-head .brand { display: flex; }
.landing-header .top-links {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}
.landing-header .flow-btn--compact,
.landing-header .nav-login,
.landing-header .nav-signup,
.landing-header .landing-nav-link {
  height: 2.2rem;
  min-height: 2.2rem;
  padding: 0 0.82rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.landing-header .top-links .flow-btn.landing-nav-link,
.landing-header .top-links .flow-btn--compact,
.top-links .flow-btn--compact {
  color: var(--button-secondary-fg);
}
.landing-header .flow-btn--compact.is-origin-fill,
.landing-header .flow-btn--icon.is-origin-fill,
.landing-header .top-links .flow-btn.landing-nav-link.is-origin-fill,
.landing-header .top-links .flow-btn--compact.is-origin-fill,
.top-links .flow-btn--compact.is-origin-fill,
.account-nav-slot .flow-btn--compact.is-origin-fill {
  color: var(--button-secondary-on-fill);
}
.landing-header .nav-signup.is-origin-fill {
  color: var(--button-primary-on-fill);
}
@property --liquid-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes liquid-spin {
  to { --liquid-angle: 360deg; }
}
.landing-header .flow-btn {
  --liquid-angle: 0deg;
  border-color: rgba(168, 178, 196, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}
.landing-header .flow-btn--primary,
.landing-header .nav-signup {
  border-color: rgba(92, 100, 118, 0.42);
}
.landing-header .flow-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  padding: 1.15px;
  background: conic-gradient(
    from var(--liquid-angle),
    rgba(70, 78, 94, 0.2) 0deg,
    rgba(168, 190, 230, 0.42) 46deg,
    rgba(255, 255, 255, 0.96) 74deg,
    rgba(176, 200, 255, 0.88) 90deg,
    rgba(255, 92, 168, 0.4) 104deg,
    rgba(82, 90, 108, 0.55) 128deg,
    rgba(255, 255, 255, 0) 158deg,
    rgba(120, 132, 156, 0.38) 210deg,
    rgba(236, 242, 255, 0.86) 242deg,
    rgba(90, 98, 116, 0.45) 278deg,
    rgba(70, 78, 94, 0.2) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: liquid-spin 5.6s linear infinite;
  opacity: 0.88;
}
.landing-header .flow-btn:hover::after,
.landing-header .flow-btn.is-origin-fill::after,
.locale-switch.is-open .locale-switch-toggle::after {
  animation-duration: 1.7s;
  opacity: 1;
}
.landing-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.28rem;
  padding-top: 0;
}
.landing-header .locale-switch-menu,
.landing-header .landing-nav:has(.account-menu) .locale-switch-menu {
  left: 50%;
  right: auto;
}
.landing-header a:focus-visible,
.landing-header button:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.7);
  outline-offset: 3px;
}
@media (min-width: 901px) {
  .landing-header {
    transition:
      top 280ms var(--flow-ease),
      left 280ms var(--flow-ease),
      right 280ms var(--flow-ease),
      background-color 280ms var(--flow-ease),
      border-color 280ms var(--flow-ease),
      border-radius 280ms var(--flow-ease),
      box-shadow 280ms var(--flow-ease);
  }
  .landing-header.is-scrolled {
    top: 0.7rem;
    left: 1.15rem;
    right: 1.15rem;
    border-color: rgba(244, 241, 234, 0.14);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    background: rgba(0, 0, 0, 0.78);
  }
}
.landing-drawer-root {
  display: none;
}
body.landing-nav-locked {
  overflow: hidden;
}
.account-nav-slot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.28rem;
  min-width: 0;
  min-height: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
}
.landing-header .account-nav-slot:has(.account-menu) {
  margin-left: 2.25rem;
}
@media (min-width: 901px) {
  .landing-header:not(.is-scrolled) .account-nav-slot:has(.account-menu) {
    margin-right: calc(22px - var(--pad));
  }
}
.account-nav-pending {
  display: none;
}
.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 2.2rem;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1;
}
.top-links .flow-btn--compact,
.account-nav-slot .flow-btn--compact {
  color: var(--button-secondary-fg);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  min-height: 2.2rem;
  padding: 0.3rem 0.95rem;
}
.nav-signup {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.95rem;
  font-size: 0.78rem;
  font-weight: 500;
  flex: 0 0 auto;
}
.landing-hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--landing-copy);
  margin: 0;
  padding: calc(7vh + 3.1rem) var(--pad) 3.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
}
.landing-tagline {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.58);
  margin: 0 0 1.35rem;
}
.landing-hero-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.15vw, 3.55rem);
  line-height: 1.22;
  letter-spacing: 0;
  margin: 0 0 1.1rem;
  text-wrap: unset;
  overflow-wrap: normal;
}
.hero-line {
  display: block;
}
.landing-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  max-width: 22rem;
  padding-top: 0.2rem;
  overflow-wrap: anywhere;
}
.landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.8rem;
  align-items: center;
  margin: 1.9rem 0 0;
}
.landing-allowance {
  margin: 0.95rem 0 0;
  max-width: 24rem;
  color: rgba(244, 241, 234, 0.48);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.flow-btn,
.cta,
.solid {
  --origin-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --origin-duration: 500ms;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 3rem;
  padding: 0 2rem;
  border: 0.5px solid var(--button-primary-border);
  border-radius: 14px;
  background: var(--button-primary-bg);
  color: var(--button-primary-fg);
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
  touch-action: manipulation;
  transition: color 300ms var(--origin-ease), transform 160ms var(--origin-ease);
}
.flow-btn-fill {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 999px;
  pointer-events: none;
  background: var(--button-primary-fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform var(--origin-duration) var(--origin-ease);
}
.flow-btn-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.flow-btn--primary .flow-btn-fill,
.cta:not(.cta-secondary) .flow-btn-fill,
.solid .flow-btn-fill {
  background: var(--button-primary-fill);
}
.flow-btn--secondary,
.flow-btn--compact,
.cta-secondary {
  color: var(--button-secondary-fg);
  background: color-mix(in srgb, var(--fg) 7%, var(--bg));
  border-color: var(--button-secondary-border);
  font-weight: 500;
}
.flow-btn--secondary .flow-btn-fill,
.flow-btn--compact .flow-btn-fill,
.cta-secondary .flow-btn-fill {
  background: var(--button-secondary-fill);
}
.flow-btn--compact {
  min-height: 2.2rem;
  padding: 0 0.95rem;
  font-size: 0.82rem;
  flex: 0 0 auto;
}
.flow-btn--icon {
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0;
  color: var(--button-secondary-fg);
  background: color-mix(in srgb, var(--fg) 7%, var(--bg));
  border-color: var(--button-secondary-border);
  flex: 0 0 auto;
}
.flow-btn--icon .flow-btn-fill {
  background: var(--button-secondary-fill);
}
.flow-btn--icon svg {
  position: relative;
  z-index: 2;
}
.flow-btn:disabled,
.cta:disabled,
.solid:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}
.flow-btn:focus-visible,
.cta:focus-visible,
.solid:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--fg) 70%, transparent);
  outline-offset: 3px;
}
.flow-btn:active:not(:disabled),
.cta:active:not(:disabled),
.solid:active:not(:disabled) {
  transform: scale(0.96);
}
.flow-btn.is-origin-fill,
.cta:not(.cta-secondary).is-origin-fill,
.solid.is-origin-fill {
  color: var(--button-primary-on-fill);
}
.flow-btn--secondary.is-origin-fill,
.flow-btn--compact.is-origin-fill,
.flow-btn--icon.is-origin-fill,
.cta-secondary.is-origin-fill {
  color: var(--button-secondary-on-fill);
}
.flow-btn.is-origin-fill .flow-btn-fill,
.cta.is-origin-fill .flow-btn-fill,
.solid.is-origin-fill .flow-btn-fill {
  transform: translate(-50%, -50%) scale(1);
}
.flow-icon-btn {
  transition:
    background-color var(--flow-duration) var(--flow-ease),
    color var(--flow-duration) var(--flow-ease),
    transform 180ms var(--flow-ease);
}
.flow-icon-btn svg {
  transition: transform var(--flow-duration) var(--flow-ease);
}
.flow-icon-btn:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--fg) 70%, transparent);
  outline-offset: 3px;
}
.flow-icon-btn:active {
  transform: scale(0.95);
}
@media (hover: hover) and (pointer: fine) {
  .flow-icon-btn:hover svg {
    transform: translateY(-1px);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.landing-proof {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.landing-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}
.proof-faces { display: flex; align-items: center; }
.proof-face {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1px solid rgba(244,241,234,0.5);
  margin-left: -0.42rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.55);
  background: #7c8490 center / cover no-repeat;
}
.proof-face:first-child { margin-left: 0; }
.proof-face-a {
  background-image: linear-gradient(145deg, #d8dde6, #6d7582);
}
.proof-face-b {
  background-image: linear-gradient(145deg, #b8c0cc, #4f5662);
}
.proof-face-c {
  background:
    radial-gradient(circle at 35% 30%, #d7dde6 0 28%, #8b93a0 46%, #3d434c 100%);
}
.landing-hero-visual,
.cosmic-static,
.cosmic-static::before,
.landing-hero-veil,
.cosmic-art,
.cosmic-canvas,
.cosmic-glow,
.cosmic-horizon,
.cosmic-well,
.landing-fog,
.landing-portal-image,
.landing-portal-glow,
.landing-portal-star,
.landing-portal-fade,
.landing-hero-exit,
.hero-portal-scene {
  display: none !important;
  background: none !important;
  background-image: none !important;
  content: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
}
.landing-preview {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.2rem var(--pad) 1.4rem;
  scroll-margin-top: 0;
}
.landing-preview h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin: 0 0 1rem;
  max-width: 36rem;
}
.preview-frame {
  width: min(100%, 72rem);
  margin: 0;
}
.preview-media {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(244,241,234,0.14);
  background: rgba(244,241,234,0.045);
}
.preview-caption {
  margin: 0.65rem 0 0;
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.landing-discover {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 2.8rem var(--pad) 1.2rem;
  scroll-margin-top: 0;
  background: #000;
  border: 0;
  box-shadow: none;
}
.landing-discover h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  margin: 0 0 0.7rem;
  text-align: left;
  max-width: var(--landing-copy);
}
.discover-lead {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.7rem;
  text-align: left;
  max-width: var(--landing-copy);
}
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.4rem;
  max-width: 64rem;
}
.discover-module {
  border: 0;
  border-top: 1px solid rgba(244,241,234,0.08);
  border-radius: 0;
  background: transparent;
  padding: 1.35rem 0.15rem 0.2rem;
  text-align: left;
}
.discover-icon {
  color: rgba(244,241,234,0.62);
  margin: 0 0 0.85rem;
}
.discover-icon svg { width: 16px; height: 16px; }
.discover-module h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--fg);
  margin: 0 0 0.65rem;
}
.discover-module p:last-child {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
  margin: 0;
}
.landing-privacy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 1.8rem var(--pad) calc(1.8rem + env(safe-area-inset-bottom));
  color: var(--dim);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  background: #000;
}
.landing-privacy p { margin: 0; max-width: 28rem; text-align: left; }
.landing-privacy svg { flex: 0 0 auto; opacity: 0.75; }
.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5.5rem var(--pad) calc(3.75rem + env(safe-area-inset-bottom));
  background: #000;
  font-family: var(--sans);
}
.site-footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 2.25rem;
}
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
  text-decoration: none;
}
.site-footer-social {
  display: flex;
  align-items: center;
  gap: 11px;
}
.site-footer-social-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--fg) 11%, var(--bg));
  color: var(--fg);
  text-decoration: none;
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .site-footer-social-btn:hover {
    background: color-mix(in srgb, var(--fg) 18%, var(--bg));
    color: var(--fg);
  }
}
.site-footer-social-btn svg {
  display: block;
  width: 16px;
  height: 16px;
}
.site-footer .brand-name {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 0;
}
.site-footer .brand-wordmark {
  display: block;
  width: auto;
  height: 2.2rem;
  overflow: visible;
}
.site-footer-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 3.4rem;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
}
.site-footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem 3rem;
}
.site-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  color: var(--dim);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.55rem 1.7rem;
}
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1.35rem;
}
.site-footer-legal span,
.site-footer-legal a {
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 0.22em;
}
.site-footer-legal span:hover,
.site-footer-legal a:hover {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(244, 241, 234, 0.22);
}
@media (max-width: 900px) {
  .site-footer {
    padding: 4.6rem var(--pad) calc(3.2rem + env(safe-area-inset-bottom));
    padding-inline: 1.15rem;
  }
  .site-footer-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 2rem;
  }
  .site-footer-rule {
    margin-bottom: 2.8rem;
  }
  .site-footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2.4rem;
  }
  .site-footer-nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.7rem;
  }
  .site-footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
  }
  .site-footer-legal span,
  .site-footer-legal a {
    min-height: 2.1rem;
    display: inline-flex;
    align-items: center;
  }
}
.account-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.account-gate[hidden] { display: none; }
.account-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  border: 0;
}
.account-gate-card {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.6rem 1.45rem 1.4rem;
  border: 1px solid rgba(244,241,234,0.14);
  background: rgba(8,8,8,0.92);
}
.account-gate-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0 0 0.7rem;
}
.account-gate-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1.2rem;
}

.auth-matrix {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.auth-matrix[hidden] { display: none !important; }
body[data-screen="auth"] .auth-matrix:not([hidden]) { display: block; }

.auth-page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(4.5rem, env(safe-area-inset-top) + 3.2rem) 1.25rem max(2rem, env(safe-area-inset-bottom) + 1.2rem);
  overflow: auto;
}
.auth-home {
  position: absolute;
  top: max(1.05rem, env(safe-area-inset-top));
  right: max(1.2rem, env(safe-area-inset-right));
  z-index: 2;
  color: rgba(244, 241, 234, 0.42);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.1rem;
  transform: none;
}
.auth-home:hover { color: rgba(244, 241, 234, 0.78); }
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border: 1px solid rgb(34, 34, 34);
  border-radius: 12px;
  background: rgb(18, 18, 18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Inter, -apple-system, sans-serif;
  font-weight: 400;
  color: #fff;
  transform: none;
  animation: none;
}
.auth-card-inner {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.auth-logo {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0;
}
.auth-card h1 {
  margin: 0 0 0.25rem;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
  color: #fff;
}
.auth-lead {
  margin: 0 0 0.85rem;
  color: rgb(136, 136, 136);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
}
.auth-form {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.auth-card .auth-form input {
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgb(51, 51, 51);
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  outline: none;
  box-shadow: none;
}
.auth-card .auth-form input::placeholder {
  color: rgb(136, 136, 136);
}
.auth-submit {
  width: 100%;
  padding: 0.65rem;
  border: 0;
  border-radius: 6px;
  background: rgb(237, 237, 237);
  color: #000;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.auth-submit:disabled,
.auth-oauth:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.auth-submit:focus-visible,
.auth-oauth:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}
.auth-rule {
  width: 100%;
  height: 1px;
  margin: 0.85rem 0;
  background: rgb(34, 34, 34);
}
.auth-oauth {
  width: 100%;
  margin: 0 0 0.4rem;
  padding: 0.65rem;
  border: 1px solid rgb(51, 51, 51);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}
.auth-oauth-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.auth-card .account-error {
  margin: 0;
  color: rgb(232, 196, 184);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}
.auth-switch {
  margin: 1.25rem 0 0;
  color: rgb(136, 136, 136);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}
.auth-switch button {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.auth-legal {
  margin: 0.85rem 0 0;
  color: rgb(102, 102, 102);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}
.auth-legal-link {
  color: rgb(136, 136, 136);
}

@media (prefers-color-scheme: light) {
  body[data-screen="auth"] {
    color-scheme: dark;
    background: #000;
    --bg: #000;
    --fg: #f4f1ea;
    --muted: rgba(244, 241, 234, 0.62);
    --dim: rgba(244, 241, 234, 0.34);
    --line: rgba(244, 241, 234, 0.18);
  }
  body[data-screen="auth"] .auth-home {
    color: rgba(244, 241, 234, 0.42);
  }
  body[data-screen="auth"] .auth-home:hover {
    color: rgba(244, 241, 234, 0.78);
  }
}

@media (prefers-color-scheme: light) {
  body[data-screen="pricing"] {
    color-scheme: light;
    background: #f3efe6;
    --bg: #f3efe6;
    --fg: #2c2925;
    --muted: rgba(44, 41, 37, 0.58);
    --dim: rgba(44, 41, 37, 0.36);
    --line: rgba(44, 41, 37, 0.12);
    --button-primary-bg: #2c2925;
    --button-primary-fg: #f6f1e8;
    --button-primary-border: #2c2925;
    --button-primary-fill: #f6f1e8;
    --button-primary-on-fill: #2c2925;
    --button-secondary-fg: rgba(44, 41, 37, 0.84);
    --button-secondary-border: rgba(44, 41, 37, 0.22);
    --button-secondary-fill: #2c2925;
    --button-secondary-on-fill: #f6f1e8;
  }
  body[data-screen="pricing"] #app,
  body[data-screen="pricing"] .pricing-page {
    background: #f3efe6;
  }
  body[data-screen="pricing"] .pricing-page .landing-header,
  body[data-screen="pricing"] .landing-header {
    background: transparent;
    color: #f4f1ea;
  }
  body[data-screen="pricing"] .landing-menu-toggle {
    color: #f4f1ea;
  }
}

@media (prefers-color-scheme: light) and (max-width: 900px) {
  body[data-screen="pricing"] .landing-header {
    background: rgba(0, 0, 0, 0.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-card,
  .auth-home,
  .auth-page {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .landing-header .flow-btn::after {
    animation: none;
  }
}

.unlock-surface {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.unlock-card {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.6rem 1.45rem 1.4rem;
  border: 1px solid rgba(244,241,234,0.14);
  background: rgba(8,8,8,0.94);
  border-radius: 1rem;
}

.unlock-card.explore-confirm-card {
  width: min(100%, 30rem);
}
.unlock-card.explore-confirm-card .cta,
.unlock-card.explore-confirm-card .cta-secondary {
  width: 100%;
  min-height: 3rem;
  box-sizing: border-box;
}
.unlock-card.explore-confirm-card .cta-secondary {
  margin-top: 0.7rem;
}
@media (max-width: 640px) {
  .unlock-surface.explore-confirm {
    place-items: end center;
    padding: 0;
  }
  .unlock-card.explore-confirm-card {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: 80dvh;
    overflow: auto;
    padding: 1.4rem 1.2rem calc(1rem + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
  }
}
.unlock-card.plans-card {
  width: min(100%, 26rem);
  max-height: 88dvh;
  overflow: auto;
}
.unlock-card.plans-card:has(.plan-choices) {
  border: 3px solid rgba(244, 241, 234, 0.92);
  background: rgba(10, 10, 12, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}
.unlock-card.reality-unlock-card {
  border: 3px solid rgba(244, 241, 234, 0.92);
}
.reality-unlock-card > .cta {
  display: flex;
  width: 100%;
  min-height: 3rem;
  box-sizing: border-box;
}
.reality-unlock-card > .cta[data-action="close-unlock"] {
  margin-top: 0.7rem;
}
.plan-choices {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  perspective: 1000px;
}
.plan-choice,
.plan-quiet {
  --tilt-foreground: oklch(98.5% 0 0);
  --tilt-muted: oklch(70.8% 0 0);
  --tilt-card: oklch(20.5% 0 0);
  --tilt-border: oklch(100% 0 0 / 0.1);
  --tilt-font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  position: relative;
  display: block;
  box-sizing: border-box;
  width: min(100%, 280px);
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 1.5rem;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  color: var(--tilt-foreground);
  border: 1px solid var(--tilt-border);
  border-radius: 1rem;
  background: var(--tilt-card);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  font-family: var(--tilt-font);
}
.plan-choice:hover,
.plan-quiet:hover {
  border-color: var(--tilt-border);
}
.plan-choice.is-selected,
.plan-quiet.is-selected {
  border-color: oklch(100% 0 0 / 0.42);
  box-shadow: 0 0 0 1px oklch(100% 0 0 / 0.28);
}
.plan-choice.is-selected .plan-choice-price,
.plan-quiet.is-selected .plan-choice-name {
  color: var(--tilt-foreground);
}
.plan-selected-mark {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(244,241,234,0.92);
  box-shadow: 0 0 10px rgba(244,241,234,0.35);
}
.plan-choice-name {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tilt-muted);
}
.plan-choice-price {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--tilt-foreground);
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.plan-choice-detail {
  position: relative;
  z-index: 1;
  display: block;
  max-width: none;
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--tilt-muted);
}
.tilt-card-glare {
  display: none;
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.15;
}
.plan-quiet {
  opacity: 1;
}
.plan-overlay-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.15rem;
}
@media (hover: hover) and (pointer: fine) {
  .tilt-card-glare {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tilt-card-glare {
    display: none;
  }
  .plan-choice,
  .plan-quiet {
    transform: none !important;
    will-change: auto;
  }
}
.qa-simulator {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 0.7rem;
}
.qa-simulator .qa-sim {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--dim);
  justify-self: start;
}
.account-billing {
  margin: 0 0 1.8rem;
}
.account-billing p {
  color: var(--muted);
  margin: 0 0 0.45rem;
}
.explore-remaining {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.4rem 0 0;
  text-align: center;
}
.unlock-card .ended-lead {
  color: rgba(244,241,234,0.9);
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 0.55rem;
}
.unlock-card p {
  color: var(--muted);
  margin: 0 0 1rem;
}
.unlock-card .cta-stack {
  display: grid;
  gap: 0.55rem;
}
.nav-signed-in {
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.account-menu {
  position: relative;
  display: flex;
  align-items: center;
  width: 2.2rem;
  flex: 0 0 2.2rem;
}
.account-menu-toggle {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0;
  border-radius: 999px;
  color: var(--fg);
  background: transparent;
}
.account-menu-toggle:hover .account-avatar,
.account-menu-toggle[aria-expanded="true"] .account-avatar {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 34%, transparent);
}
.landing-header .account-menu-toggle:focus-visible,
.account-menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px color-mix(in srgb, var(--fg) 70%, transparent);
}
.account-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fg) 7%, var(--bg));
  color: color-mix(in srgb, var(--fg) 82%, transparent);
  box-shadow: inset 0 0 0 1px var(--button-secondary-border);
}
.account-avatar-fallback {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}
.account-avatar-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-avatar.has-image .account-avatar-fallback {
  display: none;
}
.account-menu-panel {
  --account-menu-pad: 0.5rem;
  --account-menu-row: 2.15rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 60;
  width: 16.5rem;
  padding: 0.3rem;
  border-radius: 0.7rem;
  background: #161616;
  color: var(--fg);
  border: 1px solid rgba(244, 241, 234, 0.12);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 2px 6px rgba(0, 0, 0, 0.16);
  text-align: left;
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.96);
  transition:
    opacity 180ms var(--flow-ease),
    transform 180ms var(--flow-ease),
    visibility 180ms linear;
}
.account-menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.account-menu-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.45rem var(--account-menu-pad) 0.5rem;
}
.account-menu-identity .account-avatar {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
}
.account-menu-identity .account-avatar-fallback {
  font-size: 0.7rem;
}
.account-menu-identity-copy {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 0.08rem;
}
.account-menu-email,
.account-menu-id {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.account-menu-email {
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 500;
}
.account-menu-id {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
}
.account-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  height: var(--account-menu-row);
  min-height: var(--account-menu-row);
  padding: 0 var(--account-menu-pad);
  border: 0;
  border-radius: 0.4rem;
  background: none;
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
}
.account-menu-icon {
  flex: 0 0 auto;
  opacity: 0.6;
}
.account-menu-item:hover,
.account-menu-item:focus-visible {
  background: rgba(244, 241, 234, 0.07);
  color: var(--fg);
}
.account-menu-item:focus-visible {
  outline: none;
}
.account-menu-item.is-danger {
  color: #f2b8b5;
}
.account-menu-item.is-danger .account-menu-icon {
  opacity: 0.9;
  color: #f2b8b5;
}
.account-menu-item.is-danger:hover,
.account-menu-item.is-danger:focus-visible {
  background: color-mix(in srgb, #f2b8b5 12%, transparent);
  color: #f2b8b5;
}
.account-menu-divider {
  height: 1px;
  margin: 0.15rem var(--account-menu-pad);
  background: rgba(244, 241, 234, 0.1);
}
.account-page {
  min-height: 100svh;
  padding: calc(1.05rem + env(safe-area-inset-top)) var(--pad) 4rem;
}
.account-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}
.account-page h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin: 0 0 1.4rem;
}
.account-meta {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 2.8rem;
  max-width: 22rem;
}
.account-meta dt {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
}
.account-meta dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.account-loading {
  color: var(--muted);
  margin: 0;
}
.account-found-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 1.2rem;
}
.account-security {
  margin: 0 0 2.8rem;
  max-width: 28rem;
}
.account-login-methods {
  margin: 0 0 0.85rem;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.account-methods {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.account-method {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(244,241,234,0.1);
}
.account-method dt {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
}
.account-method dd {
  margin: 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.account-method .ghost {
  flex: 0 0 auto;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  padding: 0.2rem 0;
}
.account-empty {
  color: var(--muted);
  line-height: 1.7;
  max-width: 22rem;
}
.account-empty .solid { margin-top: 1.2rem; }
.account-history {
  display: grid;
  gap: 1.15rem;
  max-width: 28rem;
}
.account-history-item {
  padding: 1rem 0 1.15rem;
  border-top: 1px solid rgba(244,241,234,0.1);
}
.account-history-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}
.account-history-item p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.account-history-id {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.account-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.75rem;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.account-history-actions .cta {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.account-history-actions .cta[disabled] {
  opacity: 0.55;
}
.account-reenter-error {
  color: var(--fg);
}
.account-talk-log {
  display: grid;
  gap: 0.9rem;
  max-width: 28rem;
  margin: 1.4rem 0 0;
}
.account-talk-turn {
  margin: 0;
}
.account-talk-turn[data-role="user"] { color: var(--muted); }
.account-talk-status {
  color: var(--muted);
  margin: 0 0 1rem;
}
.account-error {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 0.8rem;
}
.account-gate-card .field { margin: 0 0 0.9rem; }
.account-gate-card .solid { width: 100%; }
.account-gate-card .cta-secondary { width: 100%; margin-top: 0.55rem; }
.account-gate-card .flow-btn {
  width: 100%;
  --flow-fill-scale: 36;
}
.account-gate-card .flow-btn--secondary,
.account-gate-card .flow-btn + .flow-btn {
  margin-top: 0.55rem;
}

/* Aceternity Sidebar — https://ui.aceternity.com/registry/sidebar.json + sidebar-demo.json */
body.account-dashboard-shell {
  overflow: hidden;
  background: #262626;
}
body.account-dashboard-shell .sky,
body.account-dashboard-shell .topbar,
body.account-dashboard-shell .account-home-nav {
  display: none !important;
}
body.account-dashboard-shell #app {
  display: block;
  padding: 0;
  height: 100dvh;
  min-height: 100dvh;
  place-items: unset;
  background: #262626;
  position: relative;
  z-index: 1;
}
.account-dashboard {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #262626;
}
.acet-sidebar-desktop {
  display: none;
}
.acet-sidebar-mobile-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  width: 100%;
  height: 2.5rem;
  padding: 1rem;
  background: #262626;
}
.acet-sidebar-menu,
.acet-sidebar-close {
  display: inline-flex;
  color: #e5e5e5;
  padding: 0;
}
.acet-sidebar-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  background: #171717;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.acet-sidebar-mobile-overlay.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.acet-sidebar-close {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  z-index: 50;
  color: #e5e5e5;
}
.acet-sidebar-stack {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}
.acet-sidebar-logo {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.25rem 0;
  color: #fff;
  text-decoration: none;
}
.acet-sidebar-logo .brand-name {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 0;
}
.acet-sidebar-expand {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0;
  color: #e5e5e5;
}
.acet-sidebar-expand .acet-sidebar-icon {
  color: #e5e5e5;
}
.acet-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}
.acet-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #e5e5e5;
  text-decoration: none;
  font-size: 0.875rem;
}
.acet-sidebar-link.is-active {
  color: #fff;
}
.acet-sidebar-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #e5e5e5;
}
.acet-sidebar-label {
  display: inline-block;
  margin: 0;
  padding: 0;
  white-space: pre;
  color: #e5e5e5;
  font-size: 0.875rem;
  transition: transform 150ms, opacity 150ms;
}
.acet-sidebar-link:hover .acet-sidebar-label {
  transform: translateX(0.25rem);
}
.acet-sidebar-footer {
  margin-top: auto;
}
.acet-sidebar-user {
  pointer-events: none;
}
.acet-sidebar-avatar {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #404040;
  color: #e5e5e5;
  font-size: 0.7rem;
  font-weight: 500;
}
.acet-dashboard-main {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.acet-dashboard-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: auto;
  border: 1px solid #404040;
  border-radius: 1rem 0 0 0;
  background: #171717;
  padding: 0.5rem;
}
.acet-dashboard-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 100%;
}
.acet-dashboard-body .account-meta,
.acet-dashboard-body .account-security,
.acet-dashboard-body .account-billing,
.acet-dashboard-body .account-history,
.acet-dashboard-body .account-empty {
  max-width: none;
}
.acet-dashboard-body h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0;
}
@media (min-width: 768px) {
  .account-dashboard {
    flex-direction: row;
  }
  .acet-sidebar-desktop {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    box-sizing: border-box;
    height: 100%;
    width: 60px;
    flex-shrink: 0;
    overflow: hidden;
    padding: 1rem;
    background: #262626;
    transition: width 0.3s ease-in-out;
  }
  .acet-sidebar-desktop.is-open {
    width: 300px;
  }
  .acet-sidebar-desktop:not(.is-open) .acet-sidebar-label {
    display: none;
    opacity: 0;
  }
  .acet-sidebar-desktop:not(.is-open) .acet-sidebar-logo {
    display: none;
  }
  .acet-sidebar-desktop:not(.is-open) .acet-sidebar-expand {
    display: flex;
  }
  .acet-sidebar-desktop.is-open .acet-sidebar-expand {
    display: none;
  }
  .acet-sidebar-mobile-bar,
  .acet-sidebar-mobile-overlay {
    display: none;
  }
  .acet-dashboard-panel {
    padding: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .acet-sidebar-desktop,
  .acet-sidebar-mobile-overlay,
  .acet-sidebar-label {
    transition: none;
  }
}
@keyframes fadeInSoft {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes cosmicReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes cosmicArtBreath {
  from { opacity: 0.96; filter: brightness(0.97) saturate(0.97); }
  to { opacity: 1; filter: brightness(1.055) saturate(1.05); }
}
@keyframes cosmicBreath {
  from { filter: brightness(0.96); }
  to { filter: brightness(1.05); }
}
@keyframes cosmicHorizon {
  from { transform: translate3d(-1.1%, 0, 0); }
  to { transform: translate3d(1.4%, 0, 0); }
}
@keyframes photoWake {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lifeWake {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes universeBreath {
  from { opacity: 0.4; filter: brightness(0.96); }
  to { opacity: 0.72; filter: brightness(1.055); }
}
@keyframes universeDrift {
  from {
    transform: translate3d(0, 0, 0);
    background-position: 46% 48%, 56% 40%, 0 0, 40px 20px;
  }
  to {
    transform: translate3d(1.6px, 0.8px, 0);
    background-position: 54% 52%, 48% 46%, 26px 10px, 6px 34px;
  }
}
@keyframes starLife {
  0%, 58%, 100% { opacity: 0.45; filter: brightness(1); }
  66% { opacity: 0.82; filter: brightness(1.22); }
  73% { opacity: 0.4; filter: brightness(0.98); }
  84% { opacity: 0.64; filter: brightness(1.08); }
  92% { opacity: 0.48; filter: brightness(1); }
}
@keyframes beamDrift {
  from { opacity: 0.26; }
  to { opacity: 0.44; }
}
@keyframes floorBreath {
  from { opacity: 0.36; }
  to { opacity: 0.58; }
}
@keyframes portalBreath {
  from { opacity: 0.42; transform: scale(0.98); }
  to { opacity: 0.82; transform: scale(1.03); }
}
@keyframes fogDrift {
  from { transform: translate3d(-2%, 0, 0); }
  to { transform: translate3d(3%, 1%, 0); }
}
@keyframes cueBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(0, 4px); opacity: 0.9; }
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  margin: 0.15rem 0 0.45rem;
  font-weight: 400;
}
.question {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  margin: 0 0 1.4rem;
  font-weight: 400;
  line-height: 1.3;
}
.hint, .error { color: var(--muted); font-size: 0.92rem; margin: -0.6rem 0 1.1rem; }
.error { color: #f0d7d7; }

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.3rem 0.2rem;
  color: var(--muted);
  background: transparent;
  border: 0;
}
.ghost:hover { color: var(--fg); }
.cta-secondary:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.explore-page .actions.cta-stack .cta,
.explore-page .actions.cta-stack .cta:not(.cta-secondary) {
  color: var(--button-secondary-fg);
  background: var(--bg);
  border-color: var(--button-secondary-border);
  font-weight: 500;
}
.explore-page .actions.cta-stack .cta .flow-btn-fill,
.explore-page .actions.cta-stack .cta:not(.cta-secondary) .flow-btn-fill {
  background: var(--button-secondary-fill);
}
.explore-page .actions.cta-stack .cta.is-origin-fill,
.explore-page .actions.cta-stack .cta:not(.cta-secondary).is-origin-fill {
  color: var(--button-secondary-on-fill);
}
.ended-actions {
  margin-top: 0.85rem;
}
.actions { margin: 2rem 0 1rem; }

.field { display: grid; gap: 0.4rem; margin: 0 0 0.85rem; text-align: left; }
.field span { color: var(--muted); font-size: 0.82rem; }
.field input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.03);
  outline: none;
}
.field input:focus { border-color: rgba(244,241,234,0.45); box-shadow: 0 0 0 3px rgba(244,241,234,0.08); }
.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}
.field-skip {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(244,241,234,0.62);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.field-skip:hover { color: var(--fg); }
.choices { display: grid; gap: 0.55rem; margin: 0 0 1.35rem; }
.choice {
  width: 100%;
  text-align: left;
  min-height: 2.85rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.02);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease, filter 180ms ease;
}
.choice[aria-pressed="true"] {
  border-color: rgba(244,241,234,0.7);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 18px rgba(244,241,234,0.08);
}
.choice.is-confirming {
  border-color: rgba(244,241,234,0.95);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 22px rgba(244,241,234,0.28);
  transform: scale(1.015);
  filter: brightness(1.18);
}

.calibrate-pane { overflow: hidden; }

.search-copy {
  font-family: var(--serif);
  font-size: clamp(1.38rem, 2.2vw + 0.85rem, 1.82rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0;
  min-height: 1.5em;
  color: #f4f1ea;
}
.search-copy:lang(en) {
  letter-spacing: -0.015em;
  line-height: 1.32;
}
.search-stage {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.15rem;
  width: min(100%, 36rem);
}
.loading-lines-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 308px;
  margin: 0;
}
.search-stage-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}
.search-home {
  position: fixed;
  top: max(1.05rem, env(safe-area-inset-top));
  left: max(1.2rem, env(safe-area-inset-left));
  z-index: 6;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  min-height: 2rem;
  color: rgba(244, 241, 234, 0.42);
}
.search-home:hover { color: rgba(244, 241, 234, 0.78); }
.loading-lines-ref {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: auto;
  margin: 0;
  font-family: Poppins, "Noto Serif SC", "Songti SC", "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 1.6em;
  font-weight: 600;
  user-select: none;
  color: #f4f1ea;
  transform: scale(2.5);
  transform-origin: center;
}
.loading-lines-letter {
  position: relative;
  z-index: 2;
  display: inline-block;
  opacity: 0;
  color: #f4f1ea;
  animation: letterAnim 4s linear infinite;
}
.loading-lines-mask {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, #000 7px, #000 8px);
  -webkit-mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, #000 7px, #000 8px);
}
.loading-lines-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 50% 50%, #f4f1ea 0%, transparent 50%),
    radial-gradient(circle at 45% 45%, #c8c4bc 0%, transparent 45%),
    radial-gradient(circle at 55% 55%, #9a968e 0%, transparent 45%),
    radial-gradient(circle at 45% 55%, #6e6b66 0%, transparent 45%),
    radial-gradient(circle at 55% 45%, #3f3d3a 0%, transparent 45%);
  mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, #000 25%);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, #000 25%);
  animation:
    transformAnim 2s infinite alternate cubic-bezier(0.6, 0.8, 0.5, 1),
    opacityAnim 4s infinite;
}
@keyframes transformAnim {
  0% { transform: translate(-55%); }
  100% { transform: translate(55%); }
}
@keyframes opacityAnim {
  0%, 100% { opacity: 0; }
  15% { opacity: 1; }
  65% { opacity: 0; }
}
@keyframes letterAnim {
  0% { opacity: 0; }
  5% {
    opacity: 1;
    text-shadow: 0 0 4px #f4f1ea;
    transform: scale(1.1) translateY(-2px);
  }
  20% { opacity: 0.2; }
  100% { opacity: 0; }
}
body[data-screen="searching"] {
  background: #000;
}
body[data-screen="searching"] #app {
  background: transparent;
}
.divider {
  width: 3rem;
  height: 1px;
  margin: 1.1rem 0;
  background: var(--line);
}
.public-id {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.reality-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  height: 100dvh;
  min-height: 0;
}
.reality-visual {
  position: sticky;
  top: 0;
  height: 100%;
  min-height: 0;
  pointer-events: none;
}
.reality-column {
  overflow: auto;
  height: 100%;
  min-height: 0;
  padding: calc(0.95rem + env(safe-area-inset-top)) clamp(1.4rem, 3.2vw, 2.4rem) 4.5rem;
  background: #000;
}
@media (min-width: 901px) {
  body[data-screen="reality"] .figure-reality {
    width: 48vw;
    max-width: none;
    filter: none;
  }
  .reality-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.45) 86%, #000 100%);
  }
}
.identity-line {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  margin: 0.35rem 0;
  overflow-wrap: anywhere;
}
.occupation { color: var(--muted); margin: 0 0 0.85rem; overflow-wrap: anywhere; }
.reality-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: calc(0.95rem + env(safe-area-inset-top)) clamp(1.15rem, 3vw, 2.2rem) 0;
  pointer-events: none;
  transform: none;
  filter: none;
  perspective: none;
}
.reality-nav[hidden] {
  display: none !important;
}
.reality-nav .ghost,
.reality-login-slot .ghost {
  pointer-events: auto;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  min-height: 1.7rem;
  padding: 0.15rem 0;
  color: rgba(244, 241, 234, 0.34);
  background: transparent;
  border: 0;
}
.reality-nav .ghost:hover,
.reality-login-slot .ghost:hover { color: rgba(244, 241, 234, 0.72); }
.reality-login-slot {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1.1rem;
  pointer-events: none;
  height: 0;
  min-height: 0;
  margin: 0;
}
.reality-login-slot + * {
  margin-top: 1.75rem;
}
.reality-login-slot .reality-nav-end {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  z-index: auto;
  transform: none;
}
.reality-page .public-id-meta {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.28);
  margin: 0 0 0.5rem;
}
.reality-story {
  width: 100%;
}
.reality-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0;
}
.reality-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  opacity: 1;
  transform: none;
}
.reality-section-numwrap { width: 100%; }
.reality-section-num {
  margin: 0 0 1rem 1.25rem;
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: normal;
  color: var(--fg);
  font-weight: 600;
  opacity: 0.5;
}
.reality-section-row {
  width: 100%;
  display: flex;
  position: relative;
  left: 16px;
}
.reality-section-rail {
  width: 70px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  flex: 0 0 70px;
}
.reality-rail-track,
.reality-rail-fill {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}
.reality-rail-track {
  height: 100%;
  background: color-mix(in srgb, var(--fg) 10%, transparent);
}
.reality-rail-fill {
  height: 0%;
  background: var(--fg);
}
.reality-section-copy {
  width: calc(100% - 40px);
  min-width: 0;
  padding-left: 1rem;
}
.reality-section-copy-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.reality-section-title {
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--fg);
  opacity: 0.5;
}
.reality-section-desc {
  opacity: 0.5;
}
.reality-section-desc p,
.reality-section-desc .public-id {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  max-width: 100%;
  line-height: 130%;
  color: var(--fg);
}
.reality-section-num.is-active,
.reality-section-title.is-active,
.reality-section-desc.is-active {
  opacity: 1;
}
@media (min-width: 768px) {
  .reality-section-num,
  .reality-section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .reality-section-desc p,
  .reality-section-desc .public-id {
    font-size: 1.125rem;
  }
}
.reality-column .actions {
  width: 100%;
  max-width: 100%;
  padding-left: 1.25rem;
}

.talk-page {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 0.88fr);
  height: 100dvh;
}
.talk-visual { min-height: 100%; pointer-events: none; }
.talk-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  height: 100dvh;
  max-width: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.72) 16%, rgba(0,0,0,0.94) 34%);
  padding: calc(1.2rem + env(safe-area-inset-top)) var(--pad) calc(1.25rem + env(safe-area-inset-bottom));
}
.talk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  width: min(100%, 28rem);
  flex-wrap: wrap;
}
.talk-top .back {
  color: var(--muted);
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  text-transform: none;
  min-height: 2rem;
  padding: 0.2rem 0;
}
.talk-top .back:hover,
.talk-top .back:focus-visible {
  color: var(--fg);
}
.talk-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.talk-connecting p,
.talk-typing p {
  color: var(--muted);
  letter-spacing: 0.18em;
}
.talk-log {
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 1.125rem;
  padding: 0.6rem 0 1.2rem;
  max-width: 28rem;
  width: 100%;
  min-width: 0;
}
.whisper {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: rgba(244,241,234,0.92);
}
.whisper.user { color: rgba(244,241,234,0.62); }
.whisper p,
.whisper .text-effect {
  display: block;
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
.text-effect-word {
  display: inline;
}
.text-effect-space {
  display: inline;
  white-space: normal;
}
.text-effect-line {
  display: block;
  white-space: normal;
}
.text-effect-char {
  display: inline;
  white-space: normal;
  opacity: 0;
}
.text-effect.is-revealed .text-effect-char {
  animation: text-effect-fade var(--text-effect-duration, 0.3s) ease both;
  animation-delay: var(--text-effect-delay, 0s);
}
.text-effect--static .text-effect-char,
.text-effect--static.is-revealed .text-effect-char {
  opacity: 1;
  animation: none;
}
@keyframes text-effect-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .text-effect .text-effect-char,
  .text-effect.is-revealed .text-effect-char {
    opacity: 1;
    animation: none;
  }
}
.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: end;
  width: min(100%, 28rem);
}
.composer textarea {
  min-height: 3.1rem;
  max-height: calc(1.5em * 5 + 1.5rem);
  border: 1px solid rgba(244,241,234,0.22);
  border-radius: 0.85rem;
  padding: 0.75rem 1.1rem;
  background: rgba(8,8,10,0.72);
  outline: none;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  color: inherit;
  font: inherit;
}
.composer textarea:focus {
  border-color: rgba(244,241,234,0.45);
}
.composer textarea:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.composer button {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(244,241,234,0.7);
  box-shadow: 0 0 22px rgba(244,241,234,0.35);
  flex-shrink: 0;
}
.composer button:disabled {
  opacity: 0.3;
  box-shadow: none;
  cursor: not-allowed;
}
.talk-ended {
  width: min(100%, 28rem);
  padding: 0.55rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.talk-ended .ended-lead {
  color: rgba(244,241,234,0.88);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}
.talk-ended p { margin: 0 0 0.2rem; }
.talk-ended-status {
  color: rgba(244,241,234,0.72);
}
.talk-persist {
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.86;
}
.ended-price-hint {
  font-size: 0.8rem;
  line-height: 1.4;
  margin: -0.15rem 0 0.15rem !important;
}
.plan-talk-note {
  font-size: 0.78rem;
  opacity: 0.72;
  margin: 0 0 0.4rem;
}
.ended-actions {
  margin-top: 0.95rem;
  animation: talk-aftertaste 0.85s ease both;
}
.talk-ended .ended-actions.cta-stack {
  align-items: stretch;
  width: min(100%, 22rem);
}
.talk-ended .ended-actions .cta {
  width: 100%;
  min-height: 3rem;
  box-sizing: border-box;
}
@keyframes talk-aftertaste {
  from { opacity: 0.28; transform: translateY(0.28rem); }
  to { opacity: 1; transform: none; }
}
.q1-hint {
  margin: -0.15rem 0 0.85rem;
}
.talk-retry {
  width: min(100%, 28rem);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.explore-page {
  display: grid;
  place-items: center;
  height: 100dvh;
  min-height: 100dvh;
  background: transparent;
}
.explore-brand {
  position: fixed;
  top: calc(0.4rem + env(safe-area-inset-top));
  left: var(--pad);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
}
.explore-column {
  width: min(100%, 32rem);
  max-height: 100dvh;
  overflow: auto;
  padding: calc(1.6rem + env(safe-area-inset-top)) var(--pad) calc(2rem + env(safe-area-inset-bottom));
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.explore-lead {
  max-width: none;
  margin: 1.2rem 0 0.85rem;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
.explore-more {
  color: var(--muted);
  max-width: 24rem;
  line-height: 1.7;
  margin: 0;
  text-align: center;
}
.reality-switcher {
  position: relative;
  display: inline-flex;
  margin: 0;
  pointer-events: auto;
}
.reality-switcher-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 60;
  display: none;
  flex-direction: column;
  min-width: 13rem;
  max-width: min(20rem, calc(100vw - 2rem));
  max-height: min(19rem, 60vh);
  overflow-y: auto;
  padding: 0.4rem 0;
  background: rgba(0, 0, 0, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.reality-switcher.is-open .reality-switcher-menu {
  display: flex;
}
.reality-switcher-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.9rem;
  background: transparent;
  border: 0;
  color: rgba(244, 241, 234, 0.55);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: left;
  cursor: pointer;
}
.reality-switcher-item:hover {
  color: rgba(244, 241, 234, 0.9);
}
.reality-switcher-item.is-current {
  color: rgba(244, 241, 234, 0.88);
}
.reality-switcher-mark {
  flex: 0 0 auto;
  width: 0.85em;
  color: rgba(244, 241, 234, 0.7);
}
.reality-switcher-label {
  min-width: 0;
  overflow-wrap: anywhere;
}
.explore-seeking {
  color: var(--muted);
  max-width: 24rem;
  line-height: 1.6;
  text-align: center;
}
.explore-locked-hint {
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 24rem;
  margin: 0.15rem 0 0;
  text-align: center;
}
.explore-page .actions.cta-stack {
  align-items: stretch;
  width: min(100%, 22rem);
}
.explore-page .actions.cta-stack .cta {
  width: 100%;
}

.fade-in { animation: fadeUp 900ms ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .brand-name { font-size: 0.86rem; letter-spacing: 0.06em; }
  .top-links button { padding: 0.2rem 0.4rem; font-size: 0.72rem; }
  .landing-hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .landing-hero::after {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.45) 32%,
      rgba(0, 0, 0, 0.18) 52%,
      rgba(0, 0, 0, 0.05) 68%,
      rgba(0, 0, 0, 0) 82%
    );
  }
  .landing-header {
    padding-inline: 1.15rem;
    flex-wrap: nowrap;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .landing-header.is-scrolled {
    background: rgba(0, 0, 0, 0.88);
  }
  .landing-header .landing-nav,
  .pricing-page .landing-nav {
    display: none !important;
  }
  body[data-screen="pricing"] .landing-header {
    background: transparent;
  }
  .landing-drawer-root {
    display: block;
    position: fixed;
    top: var(--landing-header-h, 3.5rem);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 280ms;
  }
  .landing-drawer-root.is-open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s;
  }
  .landing-drawer-backdrop {
    display: none;
  }
  .landing-drawer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 1.1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 0;
    box-shadow: none;
    transform: scale(0.97);
    opacity: 0;
    transition: transform 280ms var(--flow-ease), opacity 280ms var(--flow-ease);
  }
  .landing-drawer-root.is-open .landing-drawer {
    transform: scale(1);
    opacity: 1;
  }
  .landing-drawer-head {
    display: none;
  }
  .landing-drawer-head .brand-name {
    font-family: var(--sans);
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--fg);
  }
  .landing-drawer-head .brand-name-u {
    color: #fff;
  }
  .landing-drawer-close {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-right: -0.35rem;
    border: 0;
    border-radius: 10px;
    color: rgba(244, 241, 234, 0.62);
    background: transparent;
  }
  .landing-drawer-close:hover,
  .landing-drawer-close:focus-visible {
    color: var(--fg);
    background: rgba(255, 255, 255, 0.06);
  }
  .landing-drawer-nav {
    display: grid;
    gap: 0.15rem;
    flex: 1 1 auto;
    align-content: start;
  }
  .landing-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 46px;
    padding: 0 0.7rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(244, 241, 234, 0.62);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: left;
    text-decoration: none;
  }
  .landing-drawer-link:hover,
  .landing-drawer-link:focus-visible,
  .landing-drawer-link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.06);
    color: var(--fg);
  }
  .landing-drawer-icon {
    display: grid;
    place-items: center;
    width: 1.1rem;
    color: inherit;
  }
  .landing-drawer-icon svg {
    display: block;
  }
  .landing-drawer-lang {
    margin-top: auto;
  }
  .landing-drawer-lang-label {
    margin: 0 0 0.55rem;
    color: rgba(244, 241, 234, 0.38);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
  .landing-drawer-lang-seg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.2rem;
    padding: 0.22rem;
    border: 1px solid rgba(244, 241, 234, 0.1);
    border-radius: 12px;
  }
  .landing-drawer-lang-seg button {
    min-height: 2.4rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(244, 241, 234, 0.52);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }
  .landing-drawer-lang-seg button:hover,
  .landing-drawer-lang-seg button:focus-visible {
    color: var(--fg);
  }
  .landing-drawer-lang-seg button[aria-checked="true"] {
    background: rgba(244, 241, 234, 0.1);
    color: var(--fg);
  }
  .landing-drawer-account {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(244, 241, 234, 0.08);
  }
  .landing-drawer-login,
  .landing-drawer-signup {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .landing-drawer-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 52px;
    padding: 0.3rem 0.45rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--fg);
    text-align: left;
  }
  .landing-drawer-user:hover,
  .landing-drawer-user:focus-visible {
    background: rgba(255, 255, 255, 0.05);
  }
  .landing-drawer-avatar {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: rgba(244, 241, 234, 0.08);
    color: var(--fg);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  .landing-drawer-user-name {
    display: block;
    color: rgba(244, 241, 234, 0.78);
    font-size: 0.86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 13rem;
  }
  .landing-drawer-close:focus-visible,
  .landing-drawer-link:focus-visible,
  .landing-drawer-login:focus-visible,
  .landing-drawer-user:focus-visible,
  .landing-drawer-lang-seg button:focus-visible {
    outline: 1px solid rgba(244, 241, 234, 0.7);
    outline-offset: 2px;
  }
  .landing-hero::before {
    height: 180px;
  }
  .landing-hero-copy {
    max-width: 21rem;
    justify-content: flex-start;
    padding: 7.2rem 1.15rem 3.2rem;
  }
  .landing-hero-title {
    font-size: clamp(1.7rem, 7.2vw, 2.2rem);
    overflow-wrap: anywhere;
  }
  .landing-tagline {
    letter-spacing: 0.18em;
  }
  .landing-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .landing-cta .flow-btn {
    width: 100%;
  }
  .landing-allowance {
    margin-top: 0.85rem;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .landing-discover { padding-inline: 1.15rem; }
  .landing-preview { padding-inline: 1.15rem; }
  .landing-privacy { padding-inline: 1.15rem; }
  .discover-grid { grid-template-columns: 1fr; }
  body[data-screen="reality"],
  body[data-screen="talk"] { overflow: auto; }
  body[data-screen="explore"] { overflow: hidden; }
  .figure,
  .figure-talk {
    width: 100%;
    height: 46vh;
    inset: 0 0 auto;
    background-position: 50% 120%;
    background-size: auto 150%;
  }
  body[data-screen="reality"] .figure-reality {
    display: none;
  }
  .reality-page,
  .talk-page {
    display: block;
    height: auto;
    min-height: 100dvh;
  }
  .explore-page {
    display: grid;
    place-items: center;
    height: 100dvh;
    min-height: 100dvh;
  }
  .reality-switcher-menu {
    min-width: 11rem;
    max-width: calc(100vw - 2rem);
  }
  .reality-visual,
  .talk-visual { min-height: 42vh; }
  body[data-screen="reality"] .reality-visual {
    position: relative;
    width: 100%;
    height: 28vh;
    min-height: 8.5rem;
    max-height: 11.5rem;
    background-color: #000;
    background-image: var(--character-image);
    background-repeat: no-repeat;
    background-position: 50% 8%;
    background-size: contain;
  }
  .reality-story {
    width: 100%;
  }
  .reality-sections { gap: 2.5rem; }
  body[data-screen="reality"] .reality-sections { gap: 1.15rem; }
  body[data-screen="reality"] .reality-page { position: relative; }
  body[data-screen="reality"] .reality-login-slot {
    position: sticky;
    top: 0;
    right: auto;
    height: 0;
    margin: 0;
  }
  body[data-screen="reality"] .reality-login-slot + * {
    margin-top: 0;
  }
  body[data-screen="reality"] .reality-column {
    min-height: 0;
    padding-top: 0.3rem;
    padding-bottom: 3rem;
    background: #000;
  }
  .reality-column .actions { padding-left: 1.25rem; }
  .reality-column,
  .talk-panel,
  .explore-column {
    height: auto;
    min-height: 58dvh;
    background: linear-gradient(180deg, transparent, #000 12%);
    mask-image: none;
    -webkit-mask-image: none;
  }
  .talk-panel {
    padding-top: 0.4rem;
    min-height: calc(100dvh - 42vh);
    grid-template-rows: auto minmax(12rem, 1fr) auto;
  }
  .talk-log { min-height: 36vh; }
  .composer,
  .talk-ended {
    position: sticky;
    bottom: 0;
    background: #000;
    padding-bottom: 0.4rem;
  }
  .unlock-card.plans-card {
    width: 100%;
    max-height: 86dvh;
  }
  .plan-choice,
  .plan-quiet {
    min-height: 0;
  }
  .composer { width: 100%; }
  .composer textarea { width: 100%; max-width: 100%; }
  body[data-screen="reality"] #app,
  body[data-screen="talk"] #app { height: auto; min-height: 100dvh; }
  body[data-screen="explore"] #app {
    height: 100dvh;
    min-height: 100dvh;
  }

  body[data-screen="talk"] {
    overflow: hidden;
  }
  body[data-screen="talk"] .figure,
  body[data-screen="talk"] .figure-reality,
  body[data-screen="talk"] .figure-talk {
    display: none;
    width: 0;
    height: 0;
    min-height: 0;
    opacity: 0;
  }
  body[data-screen="talk"] .talk-visual {
    display: none;
    width: 0;
    height: 0;
    min-height: 0;
  }
  body[data-screen="talk"] .talk-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100dvh;
    min-height: 100dvh;
  }
  body[data-screen="talk"] .talk-panel {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    padding: calc(1.05rem + env(safe-area-inset-top)) 1.15rem calc(1.1rem + env(safe-area-inset-bottom));
    background: #000;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  body[data-screen="talk"] .talk-top,
  body[data-screen="talk"] .talk-log,
  body[data-screen="talk"] .composer,
  body[data-screen="talk"] .talk-ended,
  body[data-screen="talk"] .talk-retry {
    width: 100%;
    max-width: 100%;
  }
  body[data-screen="talk"] .talk-log {
    min-height: 0;
  }
  body[data-screen="talk"] #app {
    height: 100dvh;
    min-height: 100dvh;
  }
}
@media (max-width: 640px) {
  .hero { font-size: clamp(1.75rem, 9vw, 2.35rem); }
  .landing-hero-title { font-size: clamp(1.55rem, 7.4vw, 2.05rem); }
  .hero-line { white-space: normal; }
  .section p, .insight { font-size: 0.98rem; line-height: 1.75; }
  #app { padding-inline: 1rem; }
  body[data-screen="landing"] #app,
  body[data-screen="auth"] #app,
  body[data-screen="pricing"] #app,
  body[data-screen="account"] #app,
  body[data-screen="reality"] #app,
  body[data-screen="talk"] #app,
  body[data-screen="explore"] #app { padding-inline: 0; }
  .nav-signup { font-size: 0.72rem; padding: 0.28rem 0.8rem; }
  .landing-header {
    flex-wrap: nowrap;
  }
  .landing-menu-toggle {
    display: flex !important;
  }
  .landing-hero-title,
  .landing-sub {
    max-width: 100%;
  }
  .account-page-header .landing-nav {
    width: auto;
    justify-content: flex-end;
  }
  body[data-screen="account"] .account-home-nav {
    display: inline-flex;
  }
  .account-nav-slot {
    min-width: 8.2rem;
    width: 100%;
    justify-content: stretch;
  }
  .account-method {
    flex-direction: column;
    align-items: stretch;
  }
  .account-security,
  .account-methods,
  .account-meta {
    max-width: 100%;
  }
  .discover-grid { grid-template-columns: 1fr; }
  .calibrate-shell { width: 100%; }
  .calibrate-card {
    border-radius: 1.05rem;
    padding: 1.15rem 1rem 1rem;
  }
  .calibrate-progress { margin: 0 0.15rem 1rem; }
  .calibrate-card .field input,
  .calibrate-card .date-wheel-trigger,
  .calibrate-card .choice { min-height: 3.05rem; }
  .date-wheel-item { font-size: 1.05rem; }
  .calibrate-footer .flow-btn { min-width: 6.8rem; }
  .loading-lines-ref { transform: scale(2.32); }
  .loading-lines-slot { height: 286px; }
  .search-copy {
    font-size: clamp(1.22rem, 5.4vw, 1.5rem);
    letter-spacing: 0.07em;
    line-height: 1.48;
  }
  .search-copy:lang(en) {
    letter-spacing: -0.012em;
    line-height: 1.34;
  }
  .search-stage { gap: 0.95rem; width: min(100%, 22rem); }
}

@media (prefers-reduced-motion: reduce) {
  .calibrate-pane.is-exit,
  .calibrate-pane.is-exit-back,
  .calibrate-pane.is-enter,
  .calibrate-pane.is-enter-back {
    animation: none !important;
  }
  .loading-lines-letter,
  .loading-lines-glow {
    animation: none !important;
  }
  .loading-lines-letter { opacity: 0.85; transform: none; text-shadow: none; }
  .loading-lines-glow { opacity: 0.7; transform: none; }
  .account-menu-panel {
    animation: none;
    transition: none;
    transform: none;
  }
  .reality-section,
  .reality-section.is-active,
  .reality-section.is-passed {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nebula,
  .landing-fog,
  .cosmic-art,
  .cosmic-canvas,
  .cosmic-glow,
  .cosmic-horizon,
  .landing-hero-copy,
  .landing-hero-title,
  .landing-sub,
  .landing-cta,
  .landing-proof,
  .landing-hero-visual,
  .landing-header,
  .fade-in {
    animation: none !important;
  }
  .landing-hero-visual,
  .landing-hero-copy,
  .landing-header,
  .discover-module,
  .preview-frame,
  .cosmic-art,
  .cosmic-canvas,
  .cosmic-glow,
  .cosmic-horizon {
    transform: none;
    opacity: 1;
    filter: none;
  }
  .cosmic-well {
    display: none;
  }
  .locale-switch-menu {
    transition: opacity 160ms ease, visibility 160ms ease;
    transform: translateX(-50%);
  }
  .locale-switch.is-open .locale-switch-menu {
    transform: translateX(-50%);
  }
  .landing-drawer-root,
  .landing-drawer-root.is-open,
  .landing-drawer,
  .landing-drawer-backdrop,
  .landing-header,
  .landing-menu-toggle-bars span {
    transition: none !important;
  }
  .flow-btn,
  .cta,
  .solid,
  .flow-btn-fill,
  .flow-btn-label,
  .flow-icon-btn,
  .flow-icon-btn svg {
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease !important;
  }
  .flow-btn:hover:not(:disabled),
  .cta:hover:not(:disabled),
  .solid:hover:not(:disabled),
  .flow-btn:active:not(:disabled),
  .cta:active:not(:disabled),
  .solid:active:not(:disabled),
  .flow-icon-btn:active,
  .flow-icon-btn:hover svg {
    transform: none !important;
  }
  .flow-btn-fill {
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(0) !important;
  }
  .flow-btn--primary.is-origin-fill,
  .cta:not(.cta-secondary).is-origin-fill,
  .solid.is-origin-fill {
    background: var(--button-primary-fill);
    color: var(--button-primary-on-fill);
  }
  .flow-btn--secondary.is-origin-fill,
  .flow-btn--compact.is-origin-fill,
  .cta-secondary.is-origin-fill {
    background: var(--button-secondary-fill);
    color: var(--button-secondary-on-fill);
  }
  .explore-page .actions.cta-stack .cta.is-origin-fill,
  .explore-page .actions.cta-stack .cta:not(.cta-secondary).is-origin-fill {
    background: var(--button-secondary-fill);
    color: var(--button-secondary-on-fill);
  }
}
body[data-screen="landing"] .landing-page .discover-module,
body[data-screen="landing"] .landing-page .fade-in {
  animation: none !important;
}

/* ---- Dedicated Checkout Header ---- */
.checkout-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(3, 3, 4, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.checkout-header-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(0.7rem + env(safe-area-inset-top)) var(--pad) 0.7rem;
}
.checkout-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  text-decoration: none;
}
.checkout-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 241, 234, 0.6);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.checkout-back-nav:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}
.checkout-back-nav:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}
.checkout-back-icon {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.checkout-back-nav:hover .checkout-back-icon {
  transform: translateX(-2px);
}

/* ---- Checkout (Payment Infrastructure V1) ---- */
.checkout-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  overflow-x: hidden;
}
.checkout-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
  padding: calc(5.2rem + env(safe-area-inset-top)) var(--pad) calc(3.5rem + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.checkout-panel-inner {
  display: flex;
  justify-content: center;
  width: 100%;
}
.checkout-card {
  width: 100%;
  max-width: 32rem;
  padding: clamp(2rem, 5.5vw, 3rem) clamp(1.8rem, 5.5vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%),
    rgba(10, 10, 13, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  animation: checkoutFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes checkoutFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.checkout-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}
.checkout-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  flex-shrink: 0;
}
.checkout-badge-ok {
  color: #a3e635;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, rgba(255, 255, 255, 0.02) 75%);
  border: 1px solid rgba(163, 230, 53, 0.28);
  box-shadow: 0 0 24px rgba(163, 230, 53, 0.1);
}
.checkout-badge-pending {
  color: rgba(244, 241, 234, 0.85);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 75%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.04);
}
.checkout-badge-failed {
  color: #f87171;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.1) 0%, transparent 75%);
  border: 1px solid rgba(248, 113, 113, 0.25);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.08);
}
.checkout-badge-cancelled {
  color: rgba(244, 241, 234, 0.4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.checkout-badge-loading,
.checkout-badge-retry,
.checkout-badge-notfound {
  color: rgba(244, 241, 234, 0.7);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 75%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.checkout-spin-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ffffff;
  animation: checkoutSpin 0.9s linear infinite;
  display: block;
}
@keyframes checkoutSpin {
  to { transform: rotate(360deg); }
}
.checkout-title {
  font-family: var(--serif-display);
  font-size: clamp(1.75rem, 4.2vw, 2.15rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}
.checkout-lead {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 400;
  color: rgba(244, 241, 234, 0.58);
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0 0 2rem;
  max-width: 25rem;
}
.checkout-status {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: rgba(244, 241, 234, 0.72);
  line-height: 1.6;
  margin: 0 0 1.8rem;
  max-width: 24rem;
}
.checkout-status-error {
  color: #f29a9a;
}
.checkout-rows {
  width: 100%;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  box-sizing: border-box;
}
.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
  box-sizing: border-box;
}
.checkout-row:last-child {
  border-bottom: none;
}
.checkout-row span:first-child {
  color: rgba(244, 241, 234, 0.42);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: left;
}
.checkout-row span:last-child {
  color: rgba(244, 241, 234, 0.92);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 400;
  text-align: right;
}
.checkout-price-val {
  color: #ffffff !important;
  font-family: var(--serif-display) !important;
  font-size: 1.08rem !important;
  letter-spacing: 0.02em;
}
.checkout-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.checkout-status-paid {
  color: #a3e635 !important;
  background: rgba(163, 230, 53, 0.08);
  border: 1px solid rgba(163, 230, 53, 0.22);
}
.checkout-status-pending {
  color: #facc15 !important;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.22);
}
.checkout-status-failed {
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.22);
}
.checkout-status-cancelled {
  color: rgba(244, 241, 234, 0.5) !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.checkout-fake-note {
  margin: 0 0 1.25rem;
  color: rgba(244, 241, 234, 0.45);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}
.checkout-card .cta-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.checkout-card .cta {
  width: 100%;
  height: 3rem;
  min-height: 3rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.22s ease;
}
.checkout-card .cta-primary {
  background: #ffffff;
  color: #050507;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}
.checkout-card .cta-primary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.checkout-card .cta-secondary {
  background: transparent;
  color: rgba(244, 241, 234, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.checkout-card .cta-secondary:hover:not(:disabled) {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  body[data-screen="account"] .account-home-nav {
    display: inline-flex;
  }
  .checkout-header-inner {
    padding: calc(0.6rem + env(safe-area-inset-top)) 1rem 0.6rem;
  }
  .checkout-panel {
    padding: calc(4.6rem + env(safe-area-inset-top)) 1rem calc(2.5rem + env(safe-area-inset-bottom));
  }
  .checkout-card {
    padding: 2rem 1.25rem 1.8rem;
    border-radius: 1.1rem;
  }
  .checkout-badge {
    width: 44px;
    height: 44px;
    margin-bottom: 1.1rem;
  }
  .checkout-title {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
  }
  .checkout-lead {
    font-size: 0.9rem;
    margin-bottom: 1.6rem;
  }
  .checkout-rows {
    padding: 0.25rem 1rem;
    margin-bottom: 1.6rem;
  }
  .checkout-row {
    padding: 0.75rem 0;
    font-size: 0.88rem;
  }
  .checkout-card .cta {
    height: 2.85rem;
    min-height: 2.85rem;
    font-size: 0.9rem;
  }
}

.pricing-checkout-host {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
.pricing-checkout-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}
.pricing-checkout-copy {
  min-width: 0;
}
.pricing-checkout-summary {
  margin: 0;
  color: var(--fg);
  font-family: var(--serif-display);
  font-size: 1.05rem;
}
.pricing-checkout-meta {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.pricing-checkout-current {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.pricing-checkout-error {
  margin: 0.45rem 0 0;
}

.account-checkout-history {
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.account-found-subtitle {
  font-family: var(--serif-display);
  font-size: 1.05rem;
  margin: 0 0 0.8rem;
}
.checkout-history {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checkout-history-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.checkout-history-name { color: var(--fg); }
.checkout-history-date {
  color: var(--dim);
  font-size: 0.84rem;
}
@media (max-width: 560px) {
  .checkout-history-row {
    flex-wrap: wrap;
  }
  .checkout-history-date {
    flex-basis: 100%;
  }
}

/* ---- Commercial frontend V2 sync (minimal) ---- */
.plan-annual-note {
  margin: 0.6rem 0 0;
  color: var(--dim);
  font-size: 0.84rem;
}
.reality-one-time-block {
  margin: 0.6rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.reality-one-time-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.reality-plan-picks {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.reality-plan-picks .plan-choice {
  align-items: flex-start;
  text-align: left;
}
@media (max-width: 480px) {
  .reality-plan-picks {
    grid-template-columns: 1fr;
  }
}

/* Auth restoring chrome — neutral placeholder, never guest UI. */
.account-restoring {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 2.4rem;
  min-height: 2.4rem;
  justify-content: center;
}
.account-avatar.is-restoring,
.landing-drawer-avatar.is-restoring {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-block;
  background: #161513;
  border: 1px solid #2e2d2a;
  opacity: 0.9;
}
.account-restore-retry {
  font-family: Outfit, Helvetica Neue, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #9e9b94;
  background: transparent;
  border: 1px solid #2e2d2a;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}
.account-restore-retry:hover {
  color: #f4f1ea;
  border-color: #56544f;
}
.landing-drawer-restoring {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
}
