:root {
  --paper:#f8f6f1;
  --ink:#2d2932;
  --muted:#77717d;
  --purple:#7961a7;
  --purple-dark:#62498d;
  --lavender:#eee8f5;
  --line:#e3dfe4;
  --serif:'Literata',Georgia,serif;
  --sans:'Onest',system-ui,sans-serif
}
/* Public pages share the night palette; the admin keeps its existing theme. */
.landing-page,.legal-page {
  color-scheme:dark;
  --paper:#1d1b22;
  --surface:#26232c;
  --ink:#f1e9e3;
  --muted:#b9abb5;
  --accent:#d4acba;
  --accent-dark:#e2bdc9;
  --accent-soft:#3b2d39;
  --on-accent:#29212a;
  --purple:var(--accent);
  --purple-dark:var(--accent-dark);
  --lavender:var(--accent-soft);
  --line:#443b46;
}
.legal-page .section-kicker { color:var(--muted); }
.legal-page .text-button { color:var(--accent); }
.legal-page .footer small { color:var(--muted); }
.legal-page a:focus-visible { outline-color:var(--accent); }
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased
}
button,input,textarea,select {
  font:inherit
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-underline-offset:4px
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #a989d4;
  outline-offset:5px
}
button {
  color:inherit
}
button:disabled {
  opacity:.6;
  cursor:wait
}
img {
  display:block
}
p,h1,h2,h3 {
  margin:0
}
button {
  border:0
}
a {
  text-decoration:none
}
[hidden] {
  display:none!important
}
.wrap {
  width:min(1180px,calc(100% - 96px));
  margin-inline:auto
}
.header {
  height:106px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.brand {
  display:flex;
  gap:8px;
  align-items:center;
  font-weight:650;
  letter-spacing:-1.8px;
  font-size:32px;
  line-height:1
}
.brand img {
  border-radius:11px
}
.brand-dot {
  margin-left:-9px
}
.header nav {
  display:flex;
  gap:35px;
  font-size:13px;
  color:#68616f
}
.header nav a:hover,.footer a:hover {
  color:var(--purple)
}
.button {
  min-height:54px;
  padding:15px 25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:27px;
  border-radius:7px;
  font-size:14px;
  font-weight:550;
  transition:background .2s,transform .2s
}
.button:hover {
  transform:translateY(-2px)
}
.button span {
  font-size:21px;
  font-weight:400;
  line-height:1
}
.button-primary {
  background:var(--purple);
  color:white;
  box-shadow:0 4px 10px #62508012
}
.button-primary:hover {
  background:var(--purple-dark)
}
.button-small {
  min-height:42px;
  padding:10px 17px;
  gap:19px;
  font-size:12px
}
.button-outline {
  border:1px solid #bcb0c8;
  background:transparent
}
.button-outline:hover {
  background:var(--lavender)
}
.button-dark {
  background:var(--ink);
  color:white
}
.button-dark:hover {
  background:#443b50
}
.hero {
  display:grid;
  grid-template-columns:1.08fr 1fr;
  min-height:620px;
  align-items:center;
  gap:36px;
  padding-block:55px 65px
}
.eyebrow,.section-kicker {
  font-size:10px;
  font-weight:600;
  letter-spacing:1.8px
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:26px;
  color:#71677c
}
.status-dot {
  width:6px;
  height:6px;
  background:#9982b8;
  border-radius:50%;
  display:inline-block;
  flex-shrink:0
}
.hero h1 {
  font-family:var(--serif);
  font-size:clamp(44px,4.8vw,64px);
  font-weight:400;
  line-height:1.13;
  letter-spacing:-2.4px;
  white-space:nowrap
}
em {
  font-family:var(--serif);
  font-weight:400;
  color:var(--purple)
}
.hero-description {
  margin:23px 0 28px;
  font-size:15px;
  line-height:1.9;
  color:#716b77
}
.under-button {
  font-size:10px;
  color:#88818c;
  margin-top:13px
}
.hero-footnote {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:46px;
  font-size:10px;
  color:#82798a
}
.little-star {
  font-size:25px;
  color:var(--purple);
  line-height:1
}
.story-stage {
  position:relative;
  min-height:480px;
  display:flex;
  align-items:center;
  justify-content:center
}
.orbit {
  position:absolute;
  border:1px solid #dfd5e9;
  width:500px;
  height:390px;
  border-radius:50%;
  transform:rotate(-26deg);
  z-index:-1
}
.orbit-two {
  width:420px;
  height:480px;
  transform:rotate(-35deg);
  border-color:#ece4ee
}
.story-stage:before {
  content:'';
  position:absolute;
  inset:-10px -15px;
  background:radial-gradient(ellipse,#e9def5a6,transparent 67%);
  z-index:-2
}
.chat-preview {
  width:355px;
  background:#fffdfb;
  border:1px solid #e6dee9;
  border-radius:15px;
  transform:rotate(2deg);
  box-shadow:0 20px 55px #66577c14;
  overflow:hidden;
  position:relative
}
.chat-top {
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 20px;
  border-bottom:1px solid #ede7ed
}
.avatar {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  font-family:var(--serif);
  font-size:22px;
  border-radius:50%
}
.avatar-ksenia {
  color:#6e537f;
  background:#dfcddd
}
.chat-top strong {
  display:block;
  font-size:12px;
  font-weight:600
}
.chat-top div>span {
  font-size:9px;
  color:#948797;
  display:block;
  margin-top:1px
}
.chat-spark {
  margin-left:auto;
  font-size:26px;
  color:#ad94bc
}
.chat-body {
  padding:20px 22px 18px;
  display:flex;
  flex-direction:column;
  gap:11px
}
.chat-date {
  font-size:8px;
  letter-spacing:1.6px;
  color:#a99fae;
  text-align:center;
  margin-bottom:10px
}
.bubble {
  max-width:93%;
  font-size:11px;
  line-height:1.8;
  padding:11px 14px;
  border-radius:11px
}
.bubble-user {
  background:#e8dff2;
  color:#695681;
  align-self:flex-end;
  border-bottom-right-radius:3px
}
.bubble-character {
  align-self:flex-start;
  background:#f1efec;
  color:#655b69;
  border-bottom-left-radius:3px
}
.memory-chip {
  font-size:8px;
  color:#9c89a9;
  display:flex;
  gap:6px;
  align-items:center;
  margin-top:3px
}
.memory-chip span {
  font-size:15px
}
.chat-input {
  border-top:1px solid #eee8ec;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 18px;
  padding:13px 0;
  color:#aaa0b0;
  font-size:10px
}
.send-icon {
  display:grid;
  place-items:center;
  background:#e4d9ef;
  color:#79628f;
  width:25px;
  height:25px;
  border-radius:7px;
  font-size:17px
}
.demo-label {
  text-align:center;
  font-size:8px;
  padding:0 8px 12px;
  color:#a99eac
}
.floating-note {
  position:absolute;
  z-index:2;
  background:#fffefc;
  border:1px solid #e9e3eb;
  border-radius:8px;
  box-shadow:0 7px 20px #7b668c0a
}
.note-top {
  top:10px;
  right:0;
  transform:rotate(5deg);
  padding:11px 15px;
  font-size:10px;
  color:#83748c;
  display:flex;
  align-items:center;
  gap:10px
}
.note-top>span {
  font-size:20px;
  color:#a68bba
}
.note-bottom {
  bottom:4px;
  left:-4px;
  padding:13px 18px;
  display:flex;
  align-items:center;
  gap:12px;
  transform:rotate(-4deg)
}
.note-icon {
  background:#eee8f4;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:9px;
  font-size:24px;
  color:var(--purple)
}
.note-bottom strong {
  display:block;
  font-size:10px;
  font-weight:500
}
.note-bottom div>span {
  display:block;
  font-size:8px;
  color:#9a8e9f;
  margin-top:2px
}
.stage-star {
  position:absolute;
  color:#a78cb9
}
.star-one {
  left:0;
  top:30px;
  font-size:37px;
  transform:rotate(15deg)
}
.star-two {
  right:0;
  bottom:53px;
  font-size:34px
}
.promise-strip {
  border-block:1px solid var(--line)
}
.promise-strip .wrap {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:69px;
  font-size:10px;
  color:#85798e
}
.promise-strip .wrap>span:first-child {
  color:#89818c
}
.promise-strip i {
  font-style:normal;
  font-size:18px;
  margin-right:6px;
  color:#a28fb3
}
.strip-end {
  font-style:italic;
  font-family:var(--serif);
  font-size:13px
}
.strip-end span {
  margin-left:13px
}
.section {
  padding-block:94px
}
.section-kicker {
  color:#9987a8;
  margin-bottom:23px;
  font-size:9px
}
h2 {
  font-family:var(--serif);
  font-weight:400;
  font-size:43px;
  line-height:1.2;
  letter-spacing:-1.3px
}
.idea-intro,.stories-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:80px
}
.idea-intro>p,.stories-heading>p {
  max-width:340px;
  font-size:13px;
  line-height:1.9;
  color:var(--muted)
}
.principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:53px
}
.principles article {
  position:relative;
  padding:0 30px;
  border-left:1px solid var(--line)
}
.principles article:first-child {
  padding-left:0;
  border-left:0
}
.principles article:last-child {
  padding-right:0
}
.principle-number {
  position:absolute;
  top:0;
  right:30px;
  font-size:9px;
  color:#b3a7b9
}
.principle-icon {
  font-size:37px;
  line-height:1;
  color:#947baa;
  margin-bottom:24px;
  height:38px
}
.principles h3 {
  font-weight:500;
  font-size:15px;
  letter-spacing:-.2px;
  margin-bottom:12px
}
.principles p {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  max-width:295px
}
.development-note {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:38px;
  font-size:10px;
  color:#9a8da2
}
.stories-section {
  background:#efebf1;
  border-block:1px solid #e5dfe8
}
.stories-heading>p {
  max-width:330px
}
.scenario-tabs {
  display:flex;
  gap:8px;
  margin-top:35px;
  margin-bottom:23px
}
.scenario-tabs button {
  padding:10px 17px;
  background:transparent;
  border:1px solid transparent;
  border-radius:6px;
  font-size:11px;
  color:#8c7f96
}
.scenario-tabs button[aria-selected=true] {
  background:var(--paper);
  border-color:#e1d9e7;
  color:#64526f;
  box-shadow:0 2px 5px #503b6310
}
.scenario-tabs button:hover {
  background:#f8f6f188
}
.scenario-panel {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  border:1px solid #dfd6e5;
  background:#f8f6f1;
  border-radius:11px;
  overflow:hidden;
  min-height:349px
}
.character-art {
  position:relative;
  overflow:hidden;
  isolation:isolate;
  min-height:350px;
  background:#cdbed7;
  --art:#cdbed7;
  --art-dark:#8d6d98
}
.art-fantasy {
  --art:#b8c8bb;
  --art-dark:#4d7060;
  background:var(--art)
}
.art-noir {
  --art:#b8bfcc;
  --art-dark:#4c5d76;
  background:var(--art)
}
.art-disc {
  width:270px;
  height:270px;
  position:absolute;
  border-radius:50%;
  background:linear-gradient(150deg,#f2d9ce99,var(--art-dark));
  top:45px;
  left:50%;
  transform:translateX(-50%);
  box-shadow:inset -20px -10px 50px #44344a18
}
.art-disc:after {
  content:'';
  position:absolute;
  inset:16px;
  border:1px solid #fffc;
  border-radius:50%;
  opacity:.3
}
.art-letter {
  position:absolute;
  left:0;
  right:0;
  top:12px;
  text-align:center;
  font-family:var(--serif);
  font-size:250px;
  font-style:italic;
  line-height:1.2;
  color:#f5efdfc9;
  transform:rotate(-10deg);
  text-shadow:5px 8px 0 #64476c0d
}
.art-lines {
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(0deg,transparent,transparent 38px,#fff2 39px,transparent 40px);
  transform:rotate(-25deg) scale(1.5)
}
.art-caption {
  position:absolute;
  top:22px;
  left:24px;
  font-size:8px;
  letter-spacing:2.5px;
  color:#554360
}
.art-sticker {
  position:absolute;
  left:23px;
  bottom:23px;
  background:#f7f2df;
  box-shadow:0 3px 8px #40324012;
  padding:11px 17px;
  font-family:var(--serif);
  font-size:15px;
  line-height:1.3;
  transform:rotate(-6deg);
  color:#736278
}
.art-sticker span {
  position:absolute;
  right:-21px;
  top:-12px;
  font-size:33px;
  color:#f7f2df
}
.scenario-copy {
  padding:40px 44px;
  align-self:center
}
.scenario-category {
  font-size:8px;
  letter-spacing:1.7px;
  color:#a38cae
}
.scenario-copy h3 {
  font-family:var(--serif);
  font-size:32px;
  font-weight:400;
  line-height:1.3;
  letter-spacing:-.8px;
  margin-top:12px;
  margin-bottom:13px
}
.scenario-copy>p {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  max-width:420px
}
blockquote {
  font-family:var(--serif);
  font-style:italic;
  font-size:17px;
  line-height:1.6;
  margin:18px 0;
  color:#80678f;
  max-width:400px
}
.character-tags {
  display:flex;
  gap:7px;
  flex-wrap:wrap
}
.character-tags span {
  font-size:9px;
  color:#97869e;
  background:#efe8f2;
  padding:4px 9px;
  border-radius:4px
}
.scenario-copy .example-note {
  font-size:8px;
  color:#b0a4b6;
  margin-top:14px
}
.create-own {
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:27px
}
.create-own p {
  font-size:12px;
  color:#84758d
}
.create-own p strong {
  font-weight:500;
  color:#685571
}
.create-own p>span {
  font-size:10px;
  color:#9a8ba3
}
.text-button {
  padding:0;
  background:transparent;
  font-size:11px;
  font-weight:400;
  line-height:1.5;
  color:#8a739d;
  text-decoration:underline;
  text-underline-offset:4px
}
.text-button:hover {
  color:var(--purple-dark)
}
.create-own>.text-button {
  margin-left:auto;
  text-decoration:none;
  font-size:11px
}
.text-button>span {
  font-size:17px;
  margin-left:15px
}
.how-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px
}
.how-section h2 {
  font-size:49px
}
.steps {
  list-style:none;
  margin:0;
  padding:0
}
.steps li {
  display:flex;
  gap:24px;
  padding:18px 0;
  border-top:1px solid var(--line)
}
.steps li:first-child {
  padding-top:0;
  border-top:0
}
.steps li>span {
  font-size:10px;
  color:#ac98bb;
  margin-top:3px
}
.steps h3 {
  font-size:14px;
  font-weight:500
}
.steps p {
  font-size:11px;
  color:var(--muted);
  margin-top:5px
}
.how-caption {
  font-size:10px;
  color:#a093aa;
  margin-top:20px;
  text-align:right
}
.invite-section {
  background:#e8dff0;
  border:1px solid #e3d8ed;
  position:relative;
  border-radius:12px;
  text-align:center;
  padding:57px 30px;
  overflow:hidden
}
.invite-section:before,.invite-section:after {
  content:'';
  position:absolute;
  width:330px;
  height:330px;
  border:1px solid #dacde5;
  border-radius:50%;
  top:100px;
  left:-190px;
  pointer-events:none
}
.invite-section:after {
  left:auto;
  right:-190px;
  top:-100px
}
.invite-star {
  font-size:43px;
  color:#a78abd;
  line-height:1;
  margin-bottom:23px
}
.invite-section .section-kicker {
  font-size:8px;
  letter-spacing:2px
}
.invite-section h2 {
  font-size:43px;
  margin-top:17px
}
.invite-section h2 em {
  color:#87669b
}
.invite-section>p {
  font-size:12px;
  line-height:1.9;
  color:#897891;
  margin:20px 0 25px
}
.invite-section .button {
  min-height:49px;
  font-size:12px
}
.invite-note {
  display:block;
  font-size:9px;
  color:#9c89a6;
  margin-top:13px
}
.faq-section {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:70px
}
.faq-section h2 {
  font-size:36px
}
.faq-list details {
  border-bottom:1px solid var(--line)
}
.faq-list details:first-child {
  border-top:1px solid var(--line)
}
.faq-list summary {
  font-size:12px;
  list-style:none;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  padding:18px 0
}
.faq-list summary::-webkit-details-marker {
  display:none
}
.faq-list summary>span {
  font-size:20px;
  color:#a189af;
  font-weight:300
}
.faq-list details[open] summary>span {
  transform:rotate(45deg)
}
.faq-list details>p {
  font-size:12px;
  color:var(--muted);
  line-height:1.85;
  padding:0 25px 19px 0
}
.footer {
  border-top:1px solid var(--line);
  padding-block:28px 33px;
  display:flex;
  gap:25px;
  align-items:center
}
.footer .brand {
  font-size:27px
}
.footer>span {
  font-size:10px;
  color:#a397ab
}
.footer>div {
  margin-left:auto;
  display:flex;
  gap:20px;
  align-items:center
}
.footer a:not(.brand),.footer .text-button,.footer small {
  font-size:9px;
  color:#9b8da4
}
.signup-dialog {
  position:fixed;
  border:1px solid #e4dbe9;
  background:var(--paper);
  color:var(--ink);
  border-radius:15px;
  width:min(500px,calc(100% - 32px));
  padding:34px 38px;
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  box-shadow:0 20px 100px #30283930
}
.signup-dialog::backdrop {
  background:#29203070;
  backdrop-filter:blur(4px)
}
.dialog-close {
  position:absolute;
  right:15px;
  top:9px;
  background:transparent;
  font-size:28px;
  line-height:1.4;
  color:#9a88a5;
  padding:0 6px
}
.dialog-flower {
  font-size:39px;
  color:#a087b8;
  display:block;
  margin-bottom:14px;
  line-height:1
}
.signup-dialog .section-kicker {
  font-size:8px;
  margin-bottom:9px
}
.signup-dialog h2 {
  font-size:36px
}
.dialog-intro {
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
  margin-bottom:23px
}
form>label,legend {
  display:block;
  font-size:11px;
  font-weight:500;
  margin-bottom:8px
}
input[type=email],input[type=password],input[name=contact],textarea,select {
  display:block;
  width:100%;
  border:1px solid #ded6e4;
  background:#fffdfb;
  border-radius:6px;
  padding:11px 13px;
  font-size:12px;
  color:var(--ink)
}

.age-badge {
  padding: 3px 7px;
  border: 1px solid #b5a1c7;
  border-radius: 4px;
  letter-spacing: 0;
  font-size: 10px;
  line-height: 1.2;
  color: var(--purple-dark);
}
.optional-hint, .contact-hint {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.contact-invite {
  font-size: 13px;
  margin: 22px 0 12px;
}
.contact-hint {
  margin-top: 8px;
  line-height: 1.6;
}
.skip-contact {
  margin-top: 10px;
  width: 100%;
  min-height: 44px;
  font-size: 12px;
}
#signup-title:focus {
  outline: none;
}
input::placeholder,textarea::placeholder {
  color:#b2a8b8
}
textarea {
  resize:vertical;
  min-height:67px
}
fieldset {
  padding:0;
  border:0;
  margin:19px 0
}
legend {
  padding:0;
  margin-bottom:10px
}
.interest-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px
}
.interest-options label {
  position:relative;
  cursor:pointer
}
.interest-options input {
  position:absolute;
  opacity:0;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  cursor:pointer
}
.interest-options span {
  display:block;
  font-size:10px;
  padding:10px 8px;
  text-align:center;
  border:1px solid #e0d8e5;
  border-radius:5px;
  line-height:1.5
}
.interest-options input:checked+span {
  border-color:#a38ab9;
  background:#ece3f3;
  color:#76578e
}
.interest-options input:focus-visible+span {
  outline:3px solid #a989d4;
  outline-offset:2px
}
.optional-label>span {
  font-size:9px;
  font-weight:400;
  color:#a397aa
}
.checkbox-label {
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:17px;
  font-size:9px;
  line-height:1.7;
  font-weight:400;
  color:#97879f
}
.checkbox-label input {
  accent-color:var(--purple);
  margin:3px 0 0;
  flex-shrink:0
}
.checkbox-label a {
  text-decoration:underline
}
.submit-button {
  width:100%;
  font-size:12px;
  margin-top:15px;
  min-height:48px
}
.form-small {
  text-align:center;
  font-size:9px;
  color:#aa9cb2;
  margin-top:10px
}
.form-error {
  font-size:11px;
  color:#a33d50;
  line-height:1.6;
  margin-top:10px
}
.signup-success {
  text-align:center;
  padding:35px 0 20px
}
.signup-success p {
  font-size:13px;
  color:var(--muted);
  margin:20px 0 28px
}
.signup-success .section-kicker {
  margin-top:25px
}
.honeypot {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden
}
.skip-link {
  position:fixed;
  left:15px;
  top:-70px;
  background:var(--ink);
  color:white;
  padding:10px;
  z-index:99
}
.skip-link:focus {
  top:10px
}
.noscript-note {
  padding:15px;
  background:#e8dff0;
  text-align:center
}
.privacy-main {
  max-width:740px;
  padding-block:60px 90px
}
.privacy-main h1 {
  font-family:var(--serif);
  font-weight:400;
  font-size:45px;
  line-height:1.2;
  margin-bottom:25px
}
.privacy-main h2 {
  font-family:var(--sans);
  font-size:20px;
  letter-spacing:0;
  margin-top:30px;
  margin-bottom:10px
}
.privacy-main p,.privacy-main li {
  font-size:14px;
  line-height:1.9;
  color:var(--muted)
}
.privacy-main a {
  text-decoration:underline;
  color:var(--purple)
}
.privacy-status {
  padding:15px;
  background:var(--lavender);
  border-radius:8px;
  margin-block:20px
}
.admin-body {
  background:#f3f0f5
}
.admin-main {
  padding-block:42px 70px
}
.admin-login {
  width:min(410px,100%);
  margin:70px auto;
  padding:35px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px
}
.admin-login h1 {
  font-family:var(--serif);
  font-weight:400;
  font-size:32px;
  line-height:1.25;
  margin-bottom:15px
}
.admin-login p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:20px
}
.admin-login .button {
  width:100%;
  margin-top:15px
}
.admin-heading {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  margin-bottom:28px
}
.admin-heading h1 {
  font-family:var(--serif);
  font-weight:400;
  font-size:39px;
  line-height:1.2
}
.admin-heading p {
  font-size:12px;
  color:var(--muted);
  margin-top:10px
}
.admin-actions {
  display:flex;
  gap:10px;
  align-items:center
}
.admin-actions select {
  width:auto;
  min-height:42px
}
.metrics {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px
}
.metric {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:8px;
  padding:22px
}
.metric span {
  font-size:11px;
  color:var(--muted)
}
.metric strong {
  display:block;
  font-family:var(--serif);
  font-size:38px;
  font-weight:400;
  line-height:1.3;
  margin:5px 0
}
.metric small {
  font-size:10px;
  color:#a08aaa
}
.admin-panel {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:8px;
  padding:27px;
  margin-top:20px
}
.admin-panel h2 {
  font-family:var(--sans);
  font-size:17px;
  font-weight:500;
  letter-spacing:0;
  margin-bottom:10px
}
.admin-panel>p,.admin-notice {
  font-size:11px;
  line-height:1.8;
  color:var(--muted)
}
.admin-notice {
  background:#e7ddef;
  padding:17px 20px;
  border-radius:7px;
  margin-top:20px
}
.admin-two {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:20px
}
.table-wrap {
  overflow-x:auto
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:11px;
  white-space:nowrap
}
th,td {
  padding:14px 13px 14px 0;
  text-align:left;
  border-bottom:1px solid var(--line);
  max-width:280px;
  overflow:hidden;
  text-overflow:ellipsis
}
th {
  font-weight:500;
  color:#9887a3
}
td {
  color:#6e6277
}
td.empty {
  text-align:center;
  padding:30px;
  color:var(--muted)
}
.interest-row {
  margin-top:17px;
  display:flex;
  justify-content:space-between;
  font-size:12px
}
.admin-updated {
  font-size:10px;
  color:#9d8ca8;
  margin-top:18px
}
.admin-status {
  font-size:12px;
  color:#a33d50;
  margin-bottom:15px
}
.daily-chart {
  display:flex;
  align-items:end;
  gap:7px;
  height:110px;
  margin-top:20px;
  border-bottom:1px solid var(--line)
}
.daily-column {
  flex:1;
  min-width:10px;
  background:#b8a2cb;
  border-radius:3px 3px 0 0;
  min-height:2px;
  position:relative
}
.daily-column:focus,.daily-column:hover {
  background:var(--purple)
}
.daily-empty {
  font-size:12px;
  color:var(--muted);
  align-self:center;
  text-align:center;
  width:100%
}
.admin-empty {
  font-size:12px;
  color:var(--muted);
  margin:20px 0
}
.admin-header-end {
  display:flex;
  gap:20px;
  align-items:center
}
.admin-header-end a {
  font-size:12px;
  color:var(--muted)
}
@media(min-width:1450px) {
  .hero {
    min-height:670px
  }
  .hero h1 {
    font-size:66px
  }
}
@media(max-width:1100px) {
  .wrap {
    width:calc(100% - 64px)
  }
  .hero {
    gap:12px
  }
  .hero h1 {
    font-size:49px
  }
  .story-stage {
    transform:scale(.92);
    transform-origin:center
  }
  .orbit {
    width:430px
  }
  .hero-description {
    font-size:13px
  }
  .hero-footnote {
    font-size:9px
  }
  .idea-intro,.stories-heading {
    gap:45px
  }
  h2 {
    font-size:38px
  }
  .scenario-copy {
    padding:30px
  }
  .footer>span {
    display:none
  }
}
@media(max-width:800px) {
  .wrap {
    width:calc(100% - 44px)
  }
  .header {
    height:82px
  }
  .header nav {
    gap:18px;
    font-size:11px
  }
  .brand {
    font-size:28px
  }
  .header .button {
    font-size:10px;
    padding:9px 12px;
    gap:12px
  }
  .hero {
    grid-template-columns:1fr;
    gap:20px;
    padding-block:47px 40px;
    text-align:center;
    min-height:auto
  }
  .hero-copy {
    max-width:600px;
    margin:auto
  }
  .eyebrow {
    justify-content:center;
    font-size:9px;
    margin-bottom:22px
  }
  .hero h1 {
    font-size:56px
  }
  .hero-description {
    font-size:14px
  }
  .hero-footnote {
    justify-content:center;
    margin-top:27px
  }
  .story-stage {
    width:min(500px,100%);
    margin:auto;
    min-height:480px;
    transform:scale(.94)
  }
  .note-top {
    right:10px
  }
  .note-bottom {
    left:10px
  }
  .promise-strip .wrap {
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    padding-block:18px;
    min-height:65px;
    font-size:10px
  }
  .promise-strip .wrap>span:first-child {
    width:100%;
    text-align:center
  }
  .promise-strip .strip-end {
    display:none
  }
  .promise-strip .wrap>span:not(:first-child) {
    margin-inline:13px
  }
  .section {
    padding-block:65px
  }
  .idea-intro,.stories-heading {
    display:block
  }
  .idea-intro>p,.stories-heading>p {
    margin-top:20px;
    max-width:500px
  }
  .principles {
    margin-top:35px;
    gap:20px
  }
  .principles article {
    padding:0 0 0 18px
  }
  .principle-number {
    right:0
  }
  .principles h3 {
    font-size:13px
  }
  .principles p {
    font-size:11px
  }
  .development-note {
    font-size:9px;
    align-items:flex-start
  }
  .development-note .status-dot {
    margin-top:5px
  }
  .scenario-panel {
    grid-template-columns:.8fr 1.2fr
  }
  .scenario-copy {
    padding:25px
  }
  .scenario-copy h3 {
    font-size:27px
  }
  .scenario-copy>p {
    font-size:11px
  }
  .scenario-copy blockquote {
    font-size:15px
  }
  .art-disc {
    width:240px;
    height:240px;
    top:65px
  }
  .art-letter {
    font-size:220px;
    top:44px
  }
  .art-caption {
    font-size:6px;
    left:16px
  }
  .art-sticker {
    font-size:13px;
    padding:10px;
    left:15px
  }
  .create-own p {
    font-size:10px
  }
  .create-own p>span {
    font-size:9px
  }
  .create-own>.text-button {
    font-size:10px;
    white-space:nowrap
  }
  .how-layout {
    gap:35px
  }
  .how-section h2 {
    font-size:43px
  }
  .steps p {
    font-size:10px
  }
  .how-caption {
    text-align:left;
    font-size:9px;
    margin-top:25px
  }
  .invite-section h2 {
    font-size:37px
  }
  .faq-section {
    gap:35px;
    grid-template-columns:.7fr 1fr
  }
  .faq-section h2 {
    font-size:30px
  }
  .footer>div {
    gap:13px
  }
  .metrics {
    grid-template-columns:1fr 1fr
  }
  .admin-two {
    grid-template-columns:1fr
  }
  .admin-heading {
    align-items:start;
    flex-direction:column
  }
}
@media(max-width:520px) {
  .wrap {
    width:calc(100% - 36px)
  }
  .header {
    height:74px
  }
  .header nav {
    display:none
  }
  .brand {
    font-size:27px
  }
  .brand img {
    width:27px;
    height:27px
  }
  .hero {
    padding-top:39px;
    gap:18px;
    overflow:hidden;
    width:100%
  }
  .hero-copy {
    padding-inline:18px
  }
  .eyebrow {
    font-size:7px;
    letter-spacing:1.4px;
    gap:7px
  }
  .hero h1 {
    font-size:clamp(33px,9.3vw,48px);
    letter-spacing:-1.6px
  }
  .hero-description {
    font-size:12px;
    margin-top:20px;
    margin-bottom:24px
  }
  .hero .button {
    font-size:12px;
    min-height:49px;
    padding-inline:22px
  }
  .under-button {
    font-size:8px;
    margin-top:12px
  }
  .hero-footnote {
    font-size:8px;
    gap:8px;
    margin-top:23px
  }
  .hero-footnote .little-star {
    font-size:22px
  }
  .story-stage {
    min-height:435px;
    width:100%;
    transform:none
  }
  .chat-preview {
    width:287px;
    border-radius:12px
  }
  .chat-top {
    padding:14px 15px;
    gap:9px
  }
  .avatar {
    width:32px;
    height:32px;
    font-size:19px
  }
  .chat-top strong {
    font-size:11px
  }
  .chat-top div>span {
    font-size:8px
  }
  .chat-body {
    padding:16px 17px 13px;
    gap:9px
  }
  .chat-date {
    font-size:7px;
    margin-bottom:5px
  }
  .bubble {
    font-size:10px;
    padding:9px 11px
  }
  .memory-chip {
    font-size:6.5px
  }
  .chat-input {
    font-size:9px;
    padding-block:10px
  }
  .demo-label {
    font-size:7px;
    padding-bottom:9px
  }
  .note-top {
    font-size:8px;
    padding:8px 10px;
    top:4px;
    right:25px;
    gap:5px
  }
  .note-top>span {
    font-size:16px
  }
  .note-bottom {
    font-size:8px;
    padding:10px 12px;
    bottom:0;
    left:18px;
    gap:8px
  }
  .note-bottom strong {
    font-size:9px
  }
  .note-bottom div>span {
    font-size:7px
  }
  .note-icon {
    width:28px;
    height:28px;
    font-size:20px
  }
  .orbit {
    width:340px;
    height:330px
  }
  .orbit-two {
    width:310px;
    height:400px
  }
  .star-one {
    left:16px;
    top:21px;
    font-size:26px
  }
  .star-two {
    right:16px;
    bottom:23px;
    font-size:27px
  }
  .promise-strip .wrap {
    font-size:9px;
    gap:5px
  }
  .promise-strip .wrap>span:not(:first-child) {
    margin-inline:9px
  }
  .section {
    padding-block:50px
  }
  .section-kicker {
    font-size:8px;
    letter-spacing:1.4px;
    margin-bottom:19px
  }
  h2 {
    font-size:34px;
    letter-spacing:-.8px
  }
  .idea-intro>p,.stories-heading>p {
    font-size:12px;
    margin-top:18px;
    line-height:1.85
  }
  .principles {
    grid-template-columns:1fr;
    margin-top:30px;
    gap:0
  }
  .principles article {
    border-left:0;
    border-top:1px solid var(--line);
    padding:22px 0 22px 48px;
    min-height:100px
  }
  .principles article:first-child {
    padding:22px 0 22px 48px;
    border-top:1px solid var(--line)
  }
  .principle-icon {
    position:absolute;
    left:0;
    top:25px;
    font-size:27px
  }
  .principle-number {
    top:24px;
    font-size:8px
  }
  .principles h3 {
    font-size:14px;
    padding-right:20px;
    margin-bottom:8px
  }
  .principles p {
    max-width:none;
    font-size:11px
  }
  .development-note {
    margin-top:7px;
    font-size:8px;
    line-height:1.8
  }
  .scenario-tabs {
    gap:2px;
    margin-top:25px;
    margin-bottom:15px;
    justify-content:space-between
  }
  .scenario-tabs button {
    padding:8px 7px;
    font-size:8px;
    max-width:37%;
    line-height:1.6
  }
  .scenario-panel {
    grid-template-columns:1fr
  }
  .character-art {
    min-height:225px
  }
  .art-disc {
    width:220px;
    height:220px;
    top:10px;
    left:60%
  }
  .art-letter {
    font-size:205px;
    top:-8px;
    left:20%
  }
  .art-caption {
    left:20px;
    top:18px;
    font-size:7px
  }
  .art-sticker {
    left:19px;
    bottom:25px;
    font-size:13px
  }
  .scenario-copy {
    padding:27px
  }
  .scenario-copy h3 {
    font-size:29px
  }
  .scenario-copy>p {
    font-size:12px
  }
  .scenario-copy blockquote {
    font-size:17px
  }
  .character-tags span {
    font-size:8px
  }
  .create-own {
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px
  }
  .create-own>p {
    width:calc(100% - 38px);
    font-size:11px
  }
  .create-own p>span {
    font-size:9px
  }
  .create-own>.text-button {
    margin-left:34px;
    margin-top:6px;
    font-size:11px
  }
  .how-layout {
    grid-template-columns:1fr;
    gap:30px
  }
  .how-section h2 {
    font-size:41px
  }
  .steps h3 {
    font-size:13px
  }
  .steps p {
    font-size:11px
  }
  .steps li {
    gap:22px;
    padding-block:16px
  }
  .how-caption {
    font-size:8px;
    margin-top:10px
  }
  .invite-section {
    padding:37px 20px
  }
  .invite-section h2 {
    font-size:31px;
    letter-spacing:-.7px
  }
  .invite-section .section-kicker {
    font-size:7px;
    letter-spacing:1.5px
  }
  .invite-star {
    font-size:36px;
    margin-bottom:18px
  }
  .invite-section>p {
    font-size:10px;
    margin-top:16px
  }
  .invite-section .button {
    font-size:11px;
    min-height:46px
  }
  .invite-note {
    font-size:7px
  }
  .faq-section {
    grid-template-columns:1fr;
    gap:25px
  }
  .faq-section h2 {
    font-size:32px
  }
  .faq-section .section-kicker {
    margin-bottom:13px
  }
  .faq-list summary {
    font-size:11px;
    padding-block:17px
  }
  .faq-list details>p {
    font-size:11px
  }
  .footer {
    flex-wrap:wrap;
    gap:20px;
    padding-block:26px
  }
  .footer>div {
    margin:0;
    width:100%;
    gap:15px;
    flex-wrap:wrap
  }
  .footer a:not(.brand),.footer .text-button,.footer small {
    font-size:8px
  }
  .footer small {
    margin-left:auto
  }
  .signup-dialog {
    padding:28px 24px;
    max-height:calc(100dvh - 24px)
  }
  .signup-dialog h2 {
    font-size:32px
  }
  .dialog-intro {
    font-size:11px
  }
  .interest-options span {
    font-size:9px
  }
  .optional-label {
    font-size:10px
  }
  .checkbox-label {
    font-size:8px
  }
  .submit-button {
    font-size:10px;
    gap:15px
  }
  .privacy-main h1 {
    font-size:35px
  }
  .privacy-main {
    padding-block:40px 60px
  }
  .privacy-main p,.privacy-main li {
    font-size:12px
  }
  .admin-main {
    padding-top:25px
  }
  .admin-heading h1 {
    font-size:30px
  }
  .admin-actions {
    flex-wrap:wrap;
    width:100%
  }
  .admin-actions .button {
    font-size:10px
  }
  .admin-actions select {
    font-size:11px
  }
  .metric {
    padding:17px
  }
  .metric strong {
    font-size:32px
  }
  .metric span {
    font-size:10px
  }
  .metric small {
    font-size:8px
  }
  .admin-panel {
    padding:20px
  }
  .admin-notice {
    font-size:10px
  }
  .admin-header-end {
    gap:10px
  }
  .admin-header-end a {
    font-size:10px
  }
  .admin-login {
    margin-top:35px;
    padding:26px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important
  }
}
/* Keep decorative orbits within the hero and charts within narrow screens. */
.hero {
  overflow: hidden;
}
.story-stage, .admin-panel {
  min-width: 0;
}
.daily-chart {
  gap: 3px;
}
.daily-column {
  min-width: 0;
}
@media (min-width: 801px) and (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 48px;
    text-align: center;
  }
  .hero-copy {
    margin-inline: auto;
  }
  .eyebrow, .hero-footnote {
    justify-content: center;
  }
  .hero h1 {
    font-size: 56px;
  }
  .story-stage {
    width: 500px;
    margin-inline: auto;
  }
}
@media (max-width: 520px) {
  .hero-description {
    font-size: 14px;
  }
  .hero .button {
    font-size: 13px;
  }
  .under-button, .hero-footnote {
    font-size: 10px;
  }
  .principles p, .scenario-copy > p, .faq-list summary {
    font-size: 13px;
  }
  .steps p, .faq-list details > p {
    font-size: 12px;
  }
  .development-note {
    font-size: 10px;
  }
  .scenario-tabs button {
    font-size: 10px;
  }
  .interest-options span {
    min-height: 44px;
    display: grid;
    place-items: center;
    font-size: 10px;
  }
  .checkbox-label, .form-small {
    font-size: 10px;
  }
}
