:root {
  color-scheme: dark;
  --background: #100e17;
  --surface: #1a1724;
  --surface-raised: #242031;
  --ink: #f8f4ff;
  --muted: #b9b0c9;
  --lavender: #d4bdff;
  --accent-ink: #251240;
  --line: #393247;
  --orange: #ffb98c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); }
button, textarea { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2 { margin: 0; }
svg { display: block; width: 1.25rem; height: 1.25rem; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.site-header, .footer { display: flex; justify-content: space-between; align-items: center; min-height: 5rem; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.05em; }
.brand-mark { display: grid; place-items: center; margin-right: .65rem; width: 2rem; height: 2rem; border-radius: .7rem; background: var(--lavender); color: var(--accent-ink); }
.brand-dot { color: var(--lavender); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.header-link:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.hero h1 { font-size: clamp(3.2rem, 6.6vw, 6.6rem); letter-spacing: -.055em; font-weight: 800; line-height: .94; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--lavender); }
.hero-copy > p { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.45; margin-block: 1.5rem 2rem; max-width: 21rem; }
.button { display: inline-flex; gap: .65rem; align-items: center; justify-content: center; min-height: 54px; padding: .65rem 1.3rem; border: 0; border-radius: 99px; color: var(--accent-ink); background: var(--lavender); font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: #e5d7ff; }
.button:active { transform: scale(.97); }
.button svg, .receipt svg, .chat-icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.scene { position: relative; isolation: isolate; display: grid; align-items: center; justify-items: center; min-height: 29rem; aspect-ratio: 1.19; overflow: hidden; border: 1px solid #4c386b; border-radius: 2.75rem; background: radial-gradient(ellipse at 76% 14%, #744da7 0%, transparent 59%), radial-gradient(ellipse at 15% 100%, #66417d 0%, transparent 60%), linear-gradient(145deg, #2c2048, #1c152d 85%); }
.scene-grid { position: absolute; inset: 0; z-index: -2; background: linear-gradient(#fff1 1px, transparent 1px), linear-gradient(90deg, #fff1 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 90%); }
.scene { width: 100%; min-width: 0; }
.orbit { position: absolute; width: 126%; height: 47%; border: 1px solid #ead7ff38; border-radius: 50%; transform: rotate(-29deg); z-index: -1; }
.orbit-two { width: 143%; height: 58%; }
.chat-card { width: 75%; max-width: 27rem; overflow: hidden; background: #1c1728; border: 1px solid #a889c663; border-radius: 1.65rem; box-shadow: 0 28px 68px #0e0719a0, 0 1px 0 #ffffff2b inset; transform: rotate(-6deg); }
.chat-header { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: #2a2238; border-bottom: 1px solid #443853; }
.avatar { display: grid; flex: 0 0 2.55rem; height: 2.55rem; place-items: center; background: #e8d6ff; color: #34224f; border-radius: 50%; font-weight: 800; }
.chat-header strong, .chat-header small { display: block; }
.chat-header small { margin-top: .15rem; color: var(--muted); font-size: .8rem; }
.chat-icon { margin-left: auto; color: var(--lavender); }
.messages { display: flex; flex-direction: column; align-items: flex-end; min-height: 13.5rem; padding: 1.1rem; }
.bubble { font-size: clamp(.95rem, 2vw, 1.15rem); line-height: 1.35; padding: .8rem 1rem; }
.outgoing { max-width: 87%; border-radius: 1.35rem 1.35rem .35rem 1.35rem; background: var(--lavender); color: var(--accent-ink); font-weight: 650; }
.receipt { display: flex; align-items: center; gap: .25rem; margin-top: .35rem; color: var(--muted); font-size: .75rem; }
.receipt svg { width: .8rem; height: .8rem; color: var(--lavender); }
.incoming { align-self: flex-start; margin-top: .9rem; border-radius: 1.35rem 1.35rem 1.35rem .35rem; background: #342946; }
.speed-sticker { position: absolute; right: 8%; top: 12%; display: grid; place-items: center; width: clamp(3rem, 6vw, 5rem); aspect-ratio: 1; color: #573318; background: var(--orange); border-radius: 31%; transform: rotate(13deg); box-shadow: 0 10px 28px #170b2c77; }
.speed-sticker svg { width: 56%; height: 56%; }
.compose { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 5vw, 5rem); padding: clamp(1.4rem, 4vw, 3.5rem); align-items: center; border: 1px solid var(--line); border-radius: 2rem; background: var(--surface); scroll-margin-top: 1.5rem; }
.compose h2 { font-size: clamp(2.35rem, 4.5vw, 4.3rem); letter-spacing: -.045em; line-height: 1; }
.compose-heading p { margin-top: .8rem; color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 20rem; }
.composer { padding: clamp(1rem, 3vw, 1.5rem); border-radius: 1.5rem; background: var(--surface-raised); }
fieldset { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; border: 0; }
fieldset label { position: relative; cursor: pointer; }
fieldset input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
fieldset span { display: flex; min-height: 44px; align-items: center; padding-inline: .85rem; border: 1px solid #766988; border-radius: 999px; color: var(--ink); font-size: .9rem; font-weight: 600; transition: background .2s, border-color .2s; }
fieldset input:checked + span { background: var(--lavender); border-color: var(--lavender); color: var(--accent-ink); }
fieldset input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
fieldset label:hover input:not(:checked) + span { background: #3a304b; }
.selected-phrase { margin-block: 1rem; min-height: 3.1em; font-size: 1.12rem; font-weight: 650; line-height: 1.5; }
.secondary { background: #423457; color: #f5eaff; min-height: 48px; }
.secondary:hover { background: #524168; }
.footer { margin-top: 1rem; color: var(--muted); }
.toast { position: fixed; z-index: 2; inset: auto 1rem 1.25rem; width: fit-content; max-width: calc(100% - 2rem); margin-inline: auto; padding: .85rem 1.25rem; border-radius: 1rem; background: var(--lavender); color: var(--accent-ink); font-weight: 700; box-shadow: 0 10px 35px #0007; pointer-events: none; }
.toast:empty { visibility: hidden; }
dialog { width: min(30rem, calc(100% - 2rem)); padding: 1.5rem; border-radius: 1.5rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #100e17bf; }
textarea { display: block; width: 100%; resize: vertical; margin-block: 1rem; padding: .75rem; border-radius: .6rem; border: 1px solid #766988; background: var(--surface-raised); color: var(--ink); }
@media (max-width: 930px) {
  .wrap { width: min(100% - 3rem, 76rem); }
  .hero { gap: 1.5rem; }
  .scene { min-height: 22rem; }
  .chat-card { width: 83%; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4rem; }
  .hero, .compose { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.7rem 1.75rem; gap: 2rem; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 5.2rem); }
  .hero-copy > p { margin-block: 1rem 1.25rem; }
  .scene { min-height: 20rem; max-height: 26rem; width: 100%; border-radius: 1.8rem; }
  .speed-sticker { top: 9%; right: 6%; }
  .compose { border-radius: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
