.landing { --muted: #b9aebd; background: #16131a; }
.landing a { text-decoration: none; }
.landing :is(a, button):focus-visible { outline: 2px solid #ffc15c; outline-offset: 5px; }
.landing button, .landing .button { font: inherit; cursor: pointer; min-height: 44px; }
.landing button { color: #eee5ef; background: #ffffff09; border: 1px solid #ffffff25; border-radius: 9px; padding: 9px 14px; font-size: .82rem; }
.landing button:hover, .landing button[aria-pressed="true"] { color: #ffcd93; background: #ffaf681c; border-color: #ffaf6870; }
.landing .skip-link { position: fixed; left: 20px; top: -80px; z-index: 20; background: #ffc15c; color: #16131a; padding: 12px; }
.landing .skip-link:focus { top: 12px; }
.landing .site-header, .landing main, .landing .site-footer { max-width: 1320px; margin: auto; }
.landing .site-header { padding: 28px 48px; border-bottom: 1px solid #ffffff0e; }
.landing .wordmark { font-size: 1.25rem; font-weight: 700; letter-spacing: -.04em; color: #f6ede7; }
.landing .wordmark span { font-size: .8rem; font-weight: 400; letter-spacing: .02em; color: #c4afc8; }
.landing nav { display: flex; gap: 32px; font-size: .82rem; }
.landing nav a { color: #c3b8c6; padding: 8px 0; }
.landing nav a:hover { color: #ffc15c; }
.landing .hero { grid-template-columns: 1.05fr 1fr; min-height: auto; gap: 64px; padding: 64px 48px 80px; }
.landing .eyebrow { color: #d5a98f; font-size: .69rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.landing .status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #ffaf68; vertical-align: 2px; }
.landing .hero h1 { font-size: clamp(3rem, 5.3vw, 5rem); font-weight: 650; letter-spacing: -.06em; line-height: 1.06; margin: 26px 0; }
.landing .hero h1 em { background: linear-gradient(100deg, #ffa16c, #ffd18b); background-clip: text; -webkit-background-clip: text; }
.landing .hero p { max-width: 43ch; }
.landing .hero .eyebrow { font-size: .69rem; color: #d5a98f; max-width: none; }
.landing .hero .hero-intro { color: #e4d9e5; font-size: 1.23rem; line-height: 1.65; max-width: 34ch; }
.landing .hero .hero-detail { color: var(--muted); font-size: .95rem; line-height: 1.8; }
.landing .hero-links { display: flex; align-items: center; gap: 24px; margin: 32px 0 21px; }
.landing .button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; border-radius: 8px; padding: 14px 20px; font-size: .88rem; font-weight: 600; }
.landing .primary { color: #25191b; background: #ffbc81; box-shadow: 0 6px 30px #ffa36914; }
.landing .primary:hover { background: #ffce9f; }
.landing .text-link { color: #d4c5d7; font-size: .84rem; }
.landing .text-link span { margin-left: 8px; }
.landing .hero .release-note { color: #a096a4; font-size: .72rem; max-width: none; }
.landing .demo-card { border: 1px solid #ffffff17; border-radius: 18px; overflow: hidden; background: #211b27; scroll-margin-top: 24px; }
.landing .demo-heading { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 0; gap: 12px; }
.landing .demo-label { color: #b3a0bd; font-size: .65rem; }
.landing .stage { aspect-ratio: 1 / 1.04; max-height: none; background: radial-gradient(ellipse at 50% 45%, #5c3f5c, #302435 60%, #211b27 85%); border-radius: 0; isolation: isolate; }
.landing .stage img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain; }
.landing .stage canvas { z-index: 1; }
.landing .stage-orbit { position: absolute; inset: 8% 12%; border: 1px solid #ffcda71c; border-radius: 50%; transform: rotate(-20deg); }
.landing .stage-signature { position: absolute; bottom: 12px; right: 20px; color: #cbb6d0; font-size: .7rem; z-index: 2; pointer-events: none; }
.landing .demo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px 0; }
.landing .expression-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.landing details { flex: 1; }
.landing summary { cursor: pointer; padding: 12px 4px; color: #d4c5d7; font-size: .82rem; min-height: 44px; }
.landing summary:focus-visible { outline: 2px solid #ffc15c; outline-offset: 3px; }
.landing details[open] .expression-buttons { margin-bottom: 8px; }
.landing .demo-toolbar { align-items: flex-start; }
.landing .mobile-reactions-label { display: none; }
.landing .demo-card { transition: border-color .5s, box-shadow .5s; }
.landing .demo-card[data-mood="Happy"] { border-color: #e6a4b766; box-shadow: 0 0 48px #e68aaf12; }
.landing .demo-card[data-mood="Sleepy"] { border-color: #a798d866; box-shadow: 0 0 48px #a798d812; }
@media (prefers-reduced-motion: reduce) { .landing .demo-card { transition: none; } }
.landing .demo-status { padding: 8px 20px 16px; color: #c1afc8; min-height: 60px; }
.landing .demo-status p { font-size: .73rem; line-height: 1.6; margin: 8px 0; max-width: none; }
.landing .content-section { padding: 64px 48px; scroll-margin-top: 24px; }
.landing h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 550; letter-spacing: -.04em; line-height: 1.16; margin: 14px 0 20px; }
.landing .section-heading > p:last-child, .landing .studio p, .landing .development p { color: var(--muted); font-size: .95rem; line-height: 1.8; }
.landing .workflow { border-top: 1px solid #ffffff14; }
.landing .workflow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.landing .workflow-steps article { border-top: 1px solid #ffffff20; padding-top: 20px; }
.landing .step-number { color: #ffb785; font-family: ui-monospace, monospace; font-size: .8rem; }
.landing h3 { font-size: 1.13rem; font-weight: 550; letter-spacing: -.02em; margin: 18px 0 10px; }
.landing .workflow-steps p { color: var(--muted); font-size: .86rem; line-height: 1.85; max-width: 36ch; }
.landing .step-tag { display: block; margin-top: 24px; font-size: .68rem; color: #8f8196; }
.landing .studio { display: grid; grid-template-columns: .72fr 1.4fr; gap: 58px; align-items: center; }
.landing .studio-copy ul { padding: 0; list-style: none; margin-top: 26px; }
.landing .studio-copy li { color: #d3c5d7; font-size: .81rem; padding: 8px 0; border-bottom: 1px solid #ffffff0e; }
.landing .studio-copy li::before { content: '+'; color: #ffb785; margin-right: 12px; }
.landing .editor-shot { margin: 0; background: #211c26; border: 1px solid #ffffff1a; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 64px #0003; }
.landing .editor-caption { display: flex; gap: 24px; align-items: center; padding: 12px 16px; font-size: .65rem; color: #b8a6bf; }
.landing .window-dots { font-size: .7rem; color: #775766; letter-spacing: .12em; }
.landing .editor-shot img { display: block; width: 100%; height: auto; }
.landing figcaption { padding: 12px 16px; font-size: .65rem; color: #9e8da6; }
.landing .development { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid #ffffff14; margin: 32px 48px 0; padding: 48px 0; }
.landing .development .eyebrow { color: #d5a98f; font-size: .69rem; }
.landing .browser-info { padding-top: 20px; padding-bottom: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.landing .browser-info p { font-size: .75rem; line-height: 1.8; color: #a79bab; }
.landing .browser-info strong { display: block; color: #cbbcce; font-weight: 500; margin-bottom: 5px; }
.landing .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ffffff14; padding: 28px 48px; }
.landing .site-footer span, .landing .footer-links a { font-size: .67rem; color: #9e8ea5; }
.landing .footer-links { display: flex; gap: 20px; }
.landing .footer-links a:hover { color: #ffc15c; }
/* Front-page stage while the next showcase character is prepared (no avatar, no runtime). */
.landing .stage-placeholder { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 38%, #4a3450, #2b2131 58%, #211b27 85%); }
.landing .stage-orbit-inner { inset: 22% 26%; border-color: #ffcda712; transform: rotate(14deg); }
.landing .stage-spotlight { position: absolute; left: 50%; top: -10%; width: 70%; height: 95%; transform: translateX(-50%); background: linear-gradient(180deg, #ffd9a614, #ffd9a608 60%, transparent); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); pointer-events: none; }
.landing .stage-floor { position: absolute; left: 50%; bottom: 16%; width: 56%; height: 9%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, #ffb7851f, transparent 70%); border: 1px solid #ffcda71a; }
.landing .stage-placeholder-copy { position: relative; z-index: 1; text-align: center; padding: 24px; }
.landing .stage-placeholder-copy .eyebrow { margin: 0 0 14px; }
.landing .hero .stage-placeholder-title, .landing .stage-placeholder-title { margin: 0 auto; max-width: none; color: #f1e6ef; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.2; }
.landing .studio-text { grid-template-columns: .9fr 1.2fr; }
.landing .feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.landing .feature-grid li { background: #211c26; border: 1px solid #ffffff17; border-radius: 12px; padding: 22px 24px; }
.landing .feature-grid h3 { margin: 0 0 8px; font-size: 1rem; }
.landing .feature-grid h3::before { content: '+'; color: #ffb785; margin-right: 10px; }
.landing .studio .feature-grid p { margin: 0; font-size: .84rem; line-height: 1.7; }
@media (max-width: 1000px) {
  .landing .hero { gap: 32px; }
  .landing .hero-links { gap: 16px; flex-wrap: wrap; }
  .landing .studio { grid-template-columns: 1fr; gap: 28px; }
  .landing .studio-copy { max-width: 620px; }
}
@media (max-width: 760px) {
  .landing .demo-toolbar { gap: 6px 10px; padding: 6px 12px 0; align-items: center; }
  .landing .mobile-reactions-label { display: block; margin-right: auto; font-size: .85rem; }
  .landing .mobile-reactions-label small { display: block; color: var(--ink-soft); font-size: .7rem; }
  .landing #reaction-controls { order: 2; flex: 1 0 100%; width: 100%; min-width: 0; }
  .landing #reaction-controls summary { display: none; }
  .landing .reaction-strip { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .landing .reaction-strip .expression-buttons { flex-wrap: nowrap; flex: 0 0 auto; margin-bottom: 0; }
  .landing .reaction-strip button { flex: 0 0 auto; white-space: nowrap; }
  .landing .site-header { padding: 20px 22px; align-items: flex-start; gap: 20px; }
  .landing nav { gap: 14px; font-size: .7rem; flex-wrap: wrap; justify-content: flex-end; }
  .landing nav a { padding: 6px 0; }
  .landing nav a:first-child { display: none; }
  .landing .hero { grid-template-columns: 1fr; padding: 40px 22px 48px; gap: 32px; }
  .landing .hero h1 { font-size: clamp(3rem, 10vw, 4.8rem); }
  .landing .hero .hero-intro { font-size: 1.1rem; }
  .landing .demo-card { width: 100%; max-width: 520px; justify-self: center; }
  .landing .stage { max-height: none; }
  .landing .content-section { padding: 40px 22px; }
  .landing .workflow-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .landing .workflow-steps p { max-width: 48ch; }
  .landing .step-tag { margin-top: 14px; }
  .landing .development { grid-template-columns: 1fr; gap: 4px; margin: 18px 22px 0; padding: 40px 0 20px; }
  .landing .browser-info { grid-template-columns: 1fr; gap: 4px; padding-top: 0; }
  .landing .site-footer { padding: 24px 22px; flex-wrap: wrap; }
  .landing .site-footer > span:not(.footer-links) { order: 3; width: 100%; }
  .landing .feature-grid { grid-template-columns: 1fr; }
}
