:root {
  color-scheme: light;
  --paper: #fff8f0;
  --ink: #382235;
  --muted: #7c656e;
  --accent: #a53f5c;
  --peach: #f5b499;
  --line: #eaded8;
  --wash: #f3e9e4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans:
    Roboto, 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
}
:root[data-palette='lilac'],
.personal-preview[data-palette='lilac'] {
  --paper: #f6f2ff;
  --ink: #342844;
  --muted: #72627e;
  --accent: #775195;
  --wash: #ece4f5;
  --line: #dfd4e9;
}
:root[data-palette='sage'],
.personal-preview[data-palette='sage'] {
  --paper: #f4f8ef;
  --ink: #2d3d32;
  --muted: #637467;
  --accent: #46694e;
  --wash: #e5eddf;
  --line: #d4dfce;
}
.personalize-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--wash);
  text-align: left;
}
.personalize-entry > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.personalize-entry strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.personalize-entry small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 3px;
}
.personalize-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper);
  font-size: 23px;
  color: var(--accent);
}
.personalize-entry.compact {
  margin: 0 0 18px;
  min-height: 66px;
}
.preference-footer {
  padding: 0 24px 24px;
  text-align: center;
}
.preference-footer p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.preference-footer .text-button {
  font-size: 11px;
  min-height: 44px;
}
.recommendation-note {
  color: var(--accent);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  margin: 4px 0 10px;
}
.personal-fieldset {
  border: 0;
  padding: 0;
  margin: 24px 0 0;
  min-width: 0;
}
.personal-fieldset legend {
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 10px;
}
.personal-fieldset .hint,
.personalize-sheet .hint {
  font-size: 11px;
  line-height: 1.5;
  margin: 9px 0 0;
}
.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.interest-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 98px;
  padding: 15px 12px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 12px;
  line-height: 1.4;
}
.interest-grid button > span {
  font-size: 24px;
  color: var(--accent);
}
.interest-grid button[aria-pressed='true'] {
  background: var(--wash);
  border: 2px solid var(--accent);
  padding: 14px 11px;
}
.palette-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.palette-options button {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 12px 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: transparent;
  font-size: 11px;
  min-height: 85px;
}
.palette-options button[aria-pressed='true'] {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: var(--wash);
}
.swatch {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 50%;
  border: 1px solid #0002;
}
.swatch.rose {
  background: #e4aaa5;
}
.swatch.lilac {
  background: #bca4d6;
}
.swatch.sage {
  background: #a7bea0;
}
.preference-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  margin-top: 22px;
  font-size: 13px;
  cursor: pointer;
}
.preference-toggle span {
  flex: 1;
}
.preference-toggle small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.preference-toggle input {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.personal-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--wash);
  border-radius: 18px;
  margin: 24px 0 14px;
  color: var(--ink);
}
.personal-preview > span {
  font-size: 25px;
  color: var(--accent);
}
.personal-preview p {
  color: var(--ink);
  margin: 0;
  overflow-wrap: anywhere;
}
.companion-name-field {
  margin-top: 20px;
}
.name-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.name-suggestions button {
  min-height: 44px;
  min-width: 60px;
  padding: 8px 14px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 12px;
}
.personalize-sheet[data-naming-only='true'] [data-naming-hide] {
  display: none;
}
.personalize-sheet[data-naming-only='true'] .companion-name-field {
  margin-top: 12px;
}
[data-companion-name] {
  overflow-wrap: anywhere;
}
.talk-header > div {
  min-width: 0;
}
.personal-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.personal-actions .primary-action {
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.personal-actions .text-button {
  min-width: 55px;
  min-height: 48px;
}
.reset-preferences {
  display: block;
  margin: -8px auto 24px;
}
[data-personal-greeting] {
  overflow-wrap: anywhere;
}
:root[data-quiet='true'] *,
:root[data-quiet='true'] *::before,
:root[data-quiet='true'] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
:root[data-quiet='true'] .moment-card {
  transform: none !important;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
  background: #281e29;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex='0']:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button,
a {
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
button:active,
.primary-action:active {
  transform: scale(0.97);
}
button:disabled {
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
svg {
  display: block;
  flex-shrink: 0;
}
.phone-shell {
  width: min(100%, 460px);
  margin: auto;
  background: var(--paper);
  position: relative;
  isolation: isolate;
}
.landing-shell {
  min-height: 100svh;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: max(20px, env(safe-area-inset-top)) 24px 15px;
  flex-shrink: 0;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.3px;
}
.wordmark svg {
  width: 23px;
  height: 23px;
  color: var(--accent);
  transform: rotate(-12deg);
}
.landing-shell .brand-heart {
  width: 26px;
  height: 26px;
  overflow: visible;
  transform-origin: center;
  filter: drop-shadow(0 2px 4px #ee477d38);
  animation: brand-heartbeat 1.85s ease-in-out infinite;
}
.brand-dot {
  color: var(--accent);
  margin-left: -6px;
}
.small-badge {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.eyebrow,
.tiny-label {
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 1.7px;
  font-weight: 750;
}
.eyebrow {
  color: var(--accent);
}
.landing-content {
  padding: 5px 24px 0;
}
.landing-intro {
  position: relative;
  padding: 8px 0 20px;
}
.landing-intro .eyebrow {
  margin-bottom: 10px;
}
.landing-intro h1 {
  position: relative;
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(42px, 12vw, 57px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -2.8px;
  margin: 0 0 14px;
}
.landing-intro h1 em {
  font-weight: 400;
  color: var(--accent);
}
.landing-intro .landing-tagline {
  font-size: clamp(37px, 10.3vw, 49px);
  line-height: 1.06;
  letter-spacing: -1.9px;
}
.title-spark {
  position: absolute;
  right: -45px;
  top: 35px;
  color: var(--peach);
  font-family: var(--sans);
  font-size: 43px;
  transform: rotate(12deg);
}
.intro-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.intro-copy br {
  display: none;
}
.companion-card {
  height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #dea387;
  box-shadow: 0 12px 24px -16px #6b333e70;
  transform: rotate(-1.2deg);
  transition: transform 0.4s;
}
.companion-card:hover {
  transform: rotate(0);
}
.companion-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.companion-card::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #291b2bed);
}
.card-top {
  position: absolute;
  inset: 14px 14px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  gap: 8px;
}
.hero-magic {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.hero-glow {
  position: absolute;
  width: 85%;
  height: 100%;
  left: -30%;
  top: -35%;
  background: radial-gradient(
    ellipse,
    #fff2c955 0%,
    #ff95b527 35%,
    transparent 68%
  );
  animation: sunset-glow 9s ease-in-out infinite alternate;
}
.hero-mote {
  position: absolute;
  color: #fff5df;
  text-shadow: 0 1px 8px #f05a7850;
  animation: hero-float 6s ease-in-out infinite;
}
.mote-one {
  left: 10%;
  top: 37%;
  font-size: 27px;
}
.hero-duet {
  position: absolute;
  top: 18px;
  right: 17px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6dd20, transparent 70%);
}
.duet-orbit {
  position: absolute;
  inset: 9px;
  border: 1px solid #fff3dd50;
  border-radius: 50%;
  transform: rotate(-28deg);
  animation: shared-world 14s linear infinite;
}
.duet-light {
  position: absolute;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.duet-you {
  left: -5px;
  background: #ffb0cf;
  box-shadow:
    0 0 0 5px #ff8cbd16,
    0 0 13px 3px #ff7caf66;
}
.duet-companion {
  right: -5px;
  background: #ffe6a8;
  box-shadow:
    0 0 0 5px #fff0b516,
    0 0 13px 3px #ffe6a866;
}
.duet-spark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff5df;
  font-size: 22px;
  opacity: 0.85;
}
.mote-three {
  right: 8%;
  top: 58%;
  font-size: 12px;
  animation-delay: -4s;
}
.landing-shell[data-motion-sleeping='true'] .brand-heart,
.landing-shell[data-motion-sleeping='true'] .companion-card > img,
.landing-shell[data-motion-sleeping='true'] .hero-glow,
.landing-shell[data-motion-sleeping='true'] .hero-mote,
.landing-shell[data-motion-sleeping='true'] .duet-orbit {
  animation-play-state: paused;
}
:root[data-quiet='true'] .companion-card {
  transform: none;
}
.glass-badge {
  padding: 7px 10px;
  border: 1px solid #ffffff50;
  border-radius: 30px;
  background: #fff8eddd;
  color: #663d40;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}
.companion-name-trigger {
  min-height: 44px;
  min-width: 0;
  text-align: left;
}
.companion-name-trigger span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.companion-name-trigger:focus-visible {
  outline-color: #fff9f1;
  outline-offset: 2px;
}
.art-star {
  color: #fff4df;
  font-size: 30px;
}
.companion-caption {
  position: absolute;
  inset: auto 19px 17px;
  z-index: 2;
  color: #fff9f1;
}
.companion-caption .tiny-label {
  color: #f4d7c8;
  font-size: 8px;
  letter-spacing: 1.1px;
}
.companion-caption p {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 6px 0 0;
  max-width: 290px;
}
.vibe-picker {
  padding: 19px 0 15px;
}
.micro-label {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
}
.segments {
  display: flex;
  gap: 7px;
}
.segments button {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 600;
}
.segments button span {
  margin-right: 3px;
}
.segments button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 4px 10px #38223518;
}
.segments button:not([aria-pressed='true']):hover {
  background: var(--wash);
}
.primary-action {
  min-height: 58px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 19px;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  color: #fff8ef;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  box-shadow: 0 6px 18px #38223515;
}
.primary-action:hover {
  background: #53334c;
}
.primary-action small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 400;
  color: #dbc8d3;
}
.action-arrow {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
}
.open-note {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 10px 0 16px;
}
.local-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.local-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 59px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: transparent;
  text-align: left;
}
.local-option > svg {
  width: 21px;
  height: 21px;
}
.local-option[data-platform='android'] {
  background: #f0faf3;
  border-color: #c5e8d1;
}
.local-option[data-platform='android'] > svg {
  color: #3ddc84;
}
.local-option[data-platform='ios'] {
  background: #f3f4f6;
  border-color: #dedfe4;
}
.local-option[data-platform='ios'] > svg {
  color: #1d1d1f;
}
.local-option > span:nth-child(2) {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
}
.local-option small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.local-option > span:last-child {
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
}
.local-option:hover {
  background: var(--wash);
}
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 13px 12px max(12px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 10px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.entrance {
  animation: arrive 0.65s both;
}
.entrance:nth-child(2) {
  animation-delay: 70ms;
}
.entrance:nth-child(3) {
  animation-delay: 140ms;
}
.entrance:nth-child(4) {
  animation-delay: 210ms;
}
/* Shared bottom sheets and the access form. */
body:has(dialog[open]) {
  overflow: hidden;
}
dialog {
  width: min(calc(100% - 16px), 444px);
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto auto 8px;
  padding: 33px 23px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #fff9f0;
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 100px #190e2655;
}
dialog::backdrop {
  background: #291b2c99;
  backdrop-filter: blur(7px);
}
dialog[open] {
  animation: sheet-rise 0.25s both;
}
.sheet-handle {
  height: 4px;
  width: 35px;
  border-radius: 8px;
  background: #d9c9cb;
  position: absolute;
  top: 12px;
  left: calc(50% - 17px);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
  font-size: 22px;
}
.icon-button svg {
  width: 20px;
  height: 20px;
}
.icon-button:hover {
  background: var(--wash);
}
.close {
  position: absolute;
  top: 19px;
  right: 16px;
  font-size: 29px;
  line-height: 1;
}
.waitlist-sheet > .eyebrow {
  display: block;
  max-width: calc(100% - 44px);
}
dialog h2 {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1px;
  margin: 16px 35px 12px 0;
}
dialog p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.intro-note {
  margin: 0 0 23px;
}
.form-fields {
  display: grid;
  gap: 15px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 650;
}
.field input,
.field select {
  width: 100%;
  min-height: 51px;
  border: 1px solid #ddceca;
  border-radius: 14px;
  padding: 12px 13px;
  background: #fffdf9;
  color: var(--ink);
  font-size: 16px;
}
.field input::placeholder {
  color: #99838a;
}
.field select {
  padding-right: 9px;
}
.phone-field {
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-field input {
  min-width: 0;
}
.dial-code {
  padding: 15px 10px;
  background: var(--wash);
  border-radius: 13px;
  font-size: 12px;
  white-space: nowrap;
}
.field .hint {
  font-size: 10px;
  line-height: 1.5;
  margin: 6px 0 0;
}
.field-error {
  display: block;
  color: #a02341;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}
.field-error:empty {
  display: none;
}
.field [aria-invalid='true'] {
  border-color: #a02341;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 22px;
  cursor: pointer;
}
.consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
dialog .data-note {
  font-size: 10px;
  line-height: 1.6;
  margin: 14px 0;
}
.data-note a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.submit-waitlist {
  justify-content: center;
  margin-top: 18px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#waitlist-status {
  color: #a02341;
}
.success-mark {
  font-size: 60px;
  color: var(--accent);
  margin-top: 18px;
}
.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;
}
/* The preview uses real, independent app screens. */
.playground-shell {
  height: 100svh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.playground-shell .app-header {
  padding: max(13px, env(safe-area-inset-top)) 20px 11px;
  border-bottom: 1px solid var(--line);
}
.playground-shell .wordmark {
  font-size: 21px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 7px;
}
.preview-badge {
  font-size: 8px;
  letter-spacing: 0.9px;
  font-weight: 750;
  color: var(--accent);
  background: #f4e5e3;
  border-radius: 20px;
  padding: 7px 9px;
}
.header-tools .icon-button {
  width: 36px;
  height: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}
.app-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ddc9ca transparent;
  min-height: 0;
  scroll-padding: 18px;
}
.app-panel {
  padding: 22px 20px 18px;
}
.screen-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.screen-heading h1,
.space-heading h1 {
  font-family: var(--serif);
  font-size: 37px;
  line-height: 1.04;
  letter-spacing: -1.5px;
  font-weight: 400;
  margin: 5px 0 8px;
}
.screen-heading h1 em {
  font-weight: 400;
  color: var(--accent);
}
.screen-heading p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}
.mini-orbit {
  position: relative;
  margin-top: 10px;
  width: 53px;
  height: 53px;
  border: 1px solid #d5b6be;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-15deg);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 27px;
}
.mini-orbit::after {
  content: '';
  position: absolute;
  top: -1px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
}
.mini-vibes {
  margin-bottom: 19px;
}
.mini-vibes .segments button {
  min-height: 39px;
  font-size: 11px;
  padding: 8px;
}
.deck-area {
  position: relative;
  padding: 0 4px;
}
.deck-area::before,
.deck-area::after {
  content: '';
  position: absolute;
  inset: 15px 4px -7px;
  border: 1px solid #e4c3bd;
  border-radius: 28px;
  background: #eedbd5;
  transform: rotate(2.5deg);
  z-index: -1;
}
.deck-area::after {
  transform: rotate(-2deg);
  background: #f4e6db;
  inset: 8px 5px -3px;
}
.moment-card {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  border-radius: 25px;
  background: #735064;
  color: #fff8f1;
  touch-action: pan-y;
  outline-offset: 4px;
}
.moment-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  pointer-events: none;
  user-select: none;
}
.moment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #23152b10 10%,
    #301b3380 45%,
    #301b33f7 85%
  );
  pointer-events: none;
}
.moment-card[data-theme='sage']::after {
  background: linear-gradient(180deg, #243d3110, #283c3680 40%, #203c35f7 85%);
}
.moment-card[data-theme='rose']::after {
  background: linear-gradient(180deg, #50284010, #68324480 40%, #57243bf7 85%);
}
.moment-card[data-theme='clay']::after {
  background: linear-gradient(180deg, #64382210, #653e3180 40%, #4b2d29f7 85%);
}
.moment-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.moment-category {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 750;
  color: var(--ink);
  background: #fff9eedf;
  padding: 7px 10px;
  border-radius: 30px;
}
.save-moment {
  border-color: #fff9f160;
  color: #fff9f1;
  background: #38223535;
  backdrop-filter: blur(6px);
  font-size: 25px;
}
.save-moment:hover,
.save-moment[aria-pressed='true'] {
  background: #fff2e5;
  color: #963954;
}
.moment-copy {
  position: relative;
  z-index: 1;
  padding: 103px 19px 19px;
}
.moment-copy .tiny-label {
  color: #f7d7c8;
  font-size: 8px;
}
.moment-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 7px 0 9px;
  max-width: 290px;
}
.moment-copy p {
  font-size: 12px;
  line-height: 1.5;
  color: #f3e0e5;
  max-width: 300px;
  margin-bottom: 17px;
  min-height: 36px;
}
.moment-start {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 15px;
  background: #fff3e3;
  color: var(--ink);
  min-height: 48px;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 750;
}
.moment-start span {
  font-size: 21px;
  font-weight: 400;
}
.moment-start:hover {
  background: #f8d9bd;
}
.deck-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin: 20px 0 9px;
}
.deck-navigation .icon-button {
  width: 43px;
  height: 43px;
  font-size: 23px;
  background: #fffcf8;
}
.deck-dots {
  display: flex;
  align-items: center;
  gap: 1px;
}
.deck-dot {
  position: relative;
  width: 25px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0;
}
.deck-dot::after {
  content: '';
  display: block;
  margin: auto;
  width: 5px;
  height: 5px;
  border-radius: 10px;
  background: #d9c6cd;
  transition: width 0.2s;
}
.deck-dot[aria-current='true']::after {
  width: 17px;
  background: var(--accent);
}
.deck-hint {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 21px;
}
.sample-note {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.access-card {
  position: relative;
  overflow: hidden;
  padding: 23px 20px;
  border: 1px solid #ebd3c9;
  border-radius: 24px;
  background: linear-gradient(125deg, #f7e5dd, #f5e1df 75%, #efc6ba);
  margin-top: 23px;
}
.access-card h2 {
  font: 400 28px/1.1 var(--serif);
  letter-spacing: -0.7px;
  margin: 5px 0 9px;
}
.access-card > p {
  font-size: 12px;
  line-height: 1.6;
  color: #74535f;
  margin-bottom: 16px;
  max-width: 290px;
}
.access-card .primary-action {
  font-size: 12px;
  padding: 14px;
  min-height: 51px;
  border-radius: 15px;
  gap: 4px;
}
.access-card .fine-print {
  font-size: 9px;
  margin: 10px 0 0;
  line-height: 1.5;
}
.access-spark {
  position: absolute;
  top: 19px;
  right: 17px;
  color: #b06775;
  font-size: 27px;
}
.bottom-nav {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 9px 17px max(10px, env(safe-area-inset-bottom));
  background: #fffbf7;
  border-top: 1px solid var(--line);
  z-index: 3;
}
.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 49px;
  padding: 6px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}
.nav-tab svg {
  width: 21px;
  height: 21px;
}
.nav-tab[aria-selected='true'] {
  color: var(--accent);
  background: #f3e3e4;
}
.nav-tab:hover {
  background: #f7edeb;
}
.panel-enter {
  animation: arrive 0.25s;
}
.card-enter {
  animation: card-arrive 0.3s;
}
.talk-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #e7a387;
}
.talk-header h1 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}
.talk-header p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.talk-header .icon-button {
  margin-left: auto;
  font-size: 21px;
}
.conversation-topic {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.13;
  letter-spacing: -0.8px;
  font-weight: 400;
  margin: 18px 0 8px;
}
.chat-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 10px;
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message {
  max-width: 91%;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-line;
  animation: bubble-arrive 0.2s;
}
.message.assistant {
  align-self: flex-start;
  background: #fffefd;
  border: 1px solid #efdfd9;
  border-radius: 19px 19px 19px 5px;
  box-shadow: 0 4px 14px #6c394805;
}
.message.person {
  align-self: flex-end;
  border-radius: 19px 19px 5px 19px;
  background: #f0dadd;
  color: #57283d;
}
.reply-area {
  margin-top: 22px;
}
.reply-label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}
.reply-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reply-choice {
  min-height: 47px;
  padding: 12px 14px;
  border: 1px solid #dcbfc9;
  border-radius: 15px;
  background: transparent;
  text-align: left;
  color: #703e55;
  font-size: 12px;
  line-height: 1.45;
}
.reply-choice:hover {
  background: #f5e5e6;
}
.conversation-end {
  margin-top: 20px;
}
.text-button {
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--accent);
  font-size: 12px;
}
.space-heading {
  padding: 5px 0 18px;
}
.space-avatar {
  float: right;
  width: 61px;
  height: 70px;
  border-radius: 25px;
  object-fit: cover;
  object-position: 50% 55%;
  transform: rotate(8deg);
  margin: 0 0 5px 10px;
}
.space-heading > p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.settings-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffcf8;
  border-radius: 22px;
  margin-bottom: 13px;
}
.settings-card h2 {
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 5px;
}
.settings-card > p {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
}
.settings-card .segments button {
  font-size: 11px;
}
.settings-card .segments + .hint {
  font-size: 10px;
  margin: 11px 0 0;
}
.saved-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.saved-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  border: 1px solid #eadbd5;
  border-radius: 14px;
  padding: 12px;
  background: var(--paper);
  text-align: left;
  font-size: 12px;
  min-height: 45px;
}
.empty-saved {
  padding: 12px 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.space-footnote {
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
  padding: 5px 9px;
}
.toast {
  position: absolute;
  z-index: 10;
  bottom: 90px;
  left: 24px;
  right: 24px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #382235;
  color: #fff8f0;
  box-shadow: 0 5px 30px #30162c25;
  text-align: center;
  font-size: 12px;
  pointer-events: none;
}
.about-sheet .primary-action {
  margin-top: 23px;
}
.about-sheet ul {
  padding-left: 19px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.moment-copy h2 {
  white-space: pre-line;
}
.mini-vibes .segments button {
  min-height: 44px;
}
.header-tools .icon-button,
.deck-navigation .icon-button {
  width: 44px;
  height: 44px;
}
.deck-dot {
  height: 44px;
}
.companion-card > img {
  animation: evening-drift 9s ease-in-out infinite alternate;
}
.save-moment[aria-pressed='true'] {
  animation: heart-pop 0.3s ease-out;
}
@keyframes evening-drift {
  from {
    transform: scale(1.025) translate(-2px, 2px);
  }
  to {
    transform: scale(1.075) translate(3px, -3px);
  }
}
@keyframes brand-heartbeat {
  0%,
  38%,
  100% {
    transform: rotate(-12deg) scale(1);
  }
  12% {
    transform: rotate(-9deg) scale(1.18);
  }
  22% {
    transform: rotate(-12deg) scale(1.02);
  }
  29% {
    transform: rotate(-10deg) scale(1.12);
  }
}
@keyframes hero-float {
  0%,
  100% {
    transform: translateY(4px) rotate(-7deg) scale(0.92);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-9px) rotate(8deg) scale(1.05);
    opacity: 0.9;
  }
}
@keyframes sunset-glow {
  from {
    transform: translate(-3%, 0) scale(0.95);
    opacity: 0.6;
  }
  to {
    transform: translate(40%, 15%) scale(1.2);
    opacity: 1;
  }
}
@keyframes shared-world {
  from {
    transform: rotate(-28deg);
  }
  to {
    transform: rotate(332deg);
  }
}
@keyframes heart-pop {
  0% {
    transform: scale(0.9);
  }
  55% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes card-arrive {
  from {
    opacity: 0.5;
    transform: translateX(12px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}
@keyframes bubble-arrive {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sheet-rise {
  from {
    opacity: 0.5;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 600px) {
  body {
    padding: 24px 0;
    background:
      radial-gradient(ellipse at 15% 20%, #5b3948 0, transparent 50%),
      radial-gradient(ellipse at 90% 80%, #66434a 0, transparent 50%), #281e29;
    background-attachment: fixed;
  }
  .phone-shell {
    border: 1px solid #ffffff20;
    border-radius: 36px;
    box-shadow: 0 26px 100px #120b224f;
    overflow: hidden;
  }
  .landing-shell {
    min-height: min(920px, calc(100svh - 48px));
  }
  .playground-shell {
    height: min(920px, calc(100dvh - 48px));
  }
  .app-header {
    padding-top: 23px;
  }
  .landing-content {
    padding-top: 10px;
  }
  dialog {
    margin: auto;
    max-height: calc(100dvh - 48px);
  }
  .app-scroll {
    scrollbar-width: none;
  }
}
@media (max-width: 360px) {
  .app-header {
    padding-left: 17px;
    padding-right: 17px;
  }
  .wordmark {
    font-size: 21px;
  }
  .small-badge {
    font-size: 9px;
  }
  .landing-content {
    padding-left: 17px;
    padding-right: 17px;
  }
  .landing-intro h1 {
    font-size: 46px;
  }
  .intro-copy {
    font-size: 12px;
  }
  .companion-card {
    height: 239px;
  }
  .companion-caption p {
    font-size: 22px;
  }
  .local-option {
    padding: 10px;
    gap: 6px;
  }
  .local-option > svg {
    width: 18px;
  }
  .local-option small {
    font-size: 8px;
  }
  .app-panel {
    padding-left: 15px;
    padding-right: 15px;
  }
  .playground-shell .wordmark {
    font-size: 19px;
  }
  .preview-badge {
    font-size: 7px;
    padding: 7px;
  }
  .screen-heading h1 {
    font-size: 34px;
  }
  .moment-copy {
    padding: 92px 16px 16px;
  }
  .moment-copy h2 {
    font-size: 29px;
  }
  .segments button {
    padding: 8px 6px;
    font-size: 11px;
  }
  .access-card {
    padding: 19px 15px;
  }
  .access-card .primary-action {
    font-size: 11px;
  }
}
@media (max-height: 760px) and (max-width: 599px) {
  .landing-intro {
    padding-top: 4px;
    padding-bottom: 16px;
  }
  .landing-intro h1 {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 9px;
  }
  .companion-card {
    height: 217px;
  }
  .app-header {
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .vibe-picker {
    padding-top: 14px;
    padding-bottom: 13px;
  }
  .site-footer {
    padding-top: 5px;
  }
  .open-note {
    margin-bottom: 12px;
  }
  .intro-copy {
    font-size: 12px;
  }
  .landing-intro .eyebrow {
    font-size: 8px;
  }
  .moment-card {
    min-height: 320px;
  }
  .moment-copy {
    padding-top: 80px;
  }
}
/* Keep the three entry actions in the first phone viewport. Allow ordinary
   scrolling for enlarged text and unusually short windows; never clip content. */
.landing-shell .app-header {
  padding-top: max(14px, env(safe-area-inset-top));
  padding-bottom: 10px;
}
.landing-shell .landing-content {
  padding-top: 0;
}
.landing-shell .landing-intro {
  padding: 0 0 12px;
}
.landing-shell .landing-intro .eyebrow {
  font-size: 8px;
  margin-bottom: 6px;
}
.landing-shell .landing-tagline {
  font-size: clamp(34px, 9.4vw, 44px);
  margin-bottom: 8px;
}
.landing-shell .intro-copy {
  font-size: 12px;
  line-height: 1.4;
}
.landing-shell .companion-card {
  height: clamp(128px, calc(100svh - 450px), 260px);
}
.landing-shell .personalize-entry {
  min-height: 52px;
  padding: 8px 12px;
  margin: 10px 0;
  border-radius: 18px;
}
.landing-shell .personalize-entry small {
  font-size: 10px;
  margin-top: 2px;
}
.landing-shell .entry-actions > .primary-action {
  min-height: 58px;
  padding: 11px 17px;
}
.landing-shell .open-note {
  margin: 6px 0 9px;
  font-size: 9px;
}
@media (max-height: 650px) {
  .landing-shell .companion-caption {
    inset: auto 14px 10px;
  }
  .landing-shell .companion-caption p {
    font-size: 18px;
    margin-top: 3px;
    max-width: 270px;
  }
  .landing-shell .card-top {
    inset: 6px 10px auto;
  }
  .landing-shell .companion-caption .tiny-label {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .companion-card {
    transform: none;
  }
}
@media (forced-colors: active) {
  .brand-heart path {
    fill: LinkText;
  }
  .hero-magic {
    display: none;
  }
  .local-option[data-platform] {
    background: Canvas;
    border-color: ButtonText;
  }
  .local-option[data-platform] > svg {
    color: ButtonText;
  }
  .primary-action,
  .segments button,
  .message,
  .moment-card,
  .moment-start,
  .nav-tab,
  .reply-choice {
    border: 1px solid ButtonText;
  }
  .moment-art {
    opacity: 0.25;
  }
  .moment-card::after {
    display: none;
  }
  .moment-copy,
  .moment-copy p,
  .moment-copy .tiny-label {
    color: CanvasText;
  }
  .deck-dot::after {
    background: ButtonText;
  }
  .deck-dot[aria-current='true']::after {
    background: Highlight;
  }
}
