/* SS-297: one dark stage; the post leads and the character speaks. */
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-grotesque-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
:root {
  --bg: #080808;
  --paper: #171717;
  --surface: #171717;
  --muted: #242424;
  --border: #383838;
  --text: #f5f3ef;
  --text-muted: #b5b2ac;
  --ink: #f5f3ef;
  --accent: #ffb65c;
  --accent-hover: #ffd096;
  --peach: #ffb65c;
  --display: "Bricolage", "Geist", sans-serif;
  color-scheme: dark;
  scrollbar-color: #64615d var(--bg);
}
body {
  overflow-x: visible;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
a {
  text-underline-offset: 4px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
}
.top {
  max-width: 1200px;
  padding: 18px 24px;
}
.top .signin {
  border: 1px solid var(--border);
  border-radius: 8px;
}
.top nav a {
  min-height: 44px;
}
.brand img,
.foot-brand img {
  background: var(--text);
  border-radius: 6px;
  padding: 2px;
}
.cta,
.cta:hover,
.cta:active,
.final .cta,
.final .cta:hover {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  transform: none;
  min-height: 48px;
  padding: 11px 22px;
}
.cta:hover,
.final .cta:hover {
  background: var(--accent-hover);
}
.cta:active {
  transform: translateY(1px);
}
.hero {
  display: block;
  max-width: none;
  padding: 0 24px;
  overflow: clip;
}
.hero-stage {
  max-width: 1200px;
  margin: auto;
  padding-top: 8px;
}
.hero-copy {
  text-align: center;
}
/* SS-300: closed beta, said before the headline so nobody meets Google's blocked screen unwarned. */
.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}
.beta-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #ffb65c33;
}
.hero h1 {
  max-width: 13ch;
  margin: auto;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero .lead {
  max-width: 40ch;
  margin: 18px auto 0;
  font-size: 1.08rem;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin: 22px auto 0;
}
.hero-actions .demo-link {
  font-size: 0.9rem;
  color: var(--text);
  padding: 12px 0;
}
.hero-actions .cta-note {
  text-align: center;
  flex-basis: 100%;
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.hero-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 420px) 100px minmax(0, 550px);
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 18px auto 0;
  padding: 0 0 34px;
  min-height: 510px;
}
.hero-input,
.hero-output {
  position: relative;
  height: 485px;
  min-width: 0;
}
.scene-label {
  position: absolute;
  z-index: 3;
  display: block;
  width: fit-content;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.source-label {
  top: 0;
  left: 26px;
  color: var(--accent);
  font-size: 1.5rem;
  transform: rotate(-5deg);
}
.source-photo {
  position: absolute;
  top: 36px;
  left: 16px;
  width: 240px;
  margin: 0;
  transform: rotate(-12deg);
  border: 7px solid #f5f3ef;
  background: #f5f3ef;
  box-shadow: 0 14px 30px #0009;
}
.source-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.source-note {
  position: absolute;
  top: 115px;
  right: 5px;
  z-index: 1;
  width: 230px;
  min-height: 146px;
  margin: 0;
  padding: 24px 20px;
  background: #fff0c6;
  color: #17120b;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  transform: rotate(8deg);
  box-shadow: 0 13px 30px #0009;
}
.source-chat {
  position: absolute;
  top: 250px;
  left: 145px;
  z-index: 2;
  width: fit-content;
  max-width: 245px;
  padding: 12px 16px;
  margin: 0;
  border-radius: 14px 14px 14px 2px;
  background: #dbe9ff;
  color: #111a28;
  font-weight: 700;
  transform: rotate(-4deg);
}
.hero-input .mascot-messy {
  position: absolute;
  bottom: 0;
  left: -14px;
  z-index: 3;
  width: 155px;
  height: auto;
}
.story-arrow {
  width: 100%;
  overflow: visible;
  color: var(--accent);
  transform: rotate(-8deg);
  filter: drop-shadow(0 4px 0 #000);
}
.hero-output {
  display: flex;
  align-items: flex-start;
}
.hero-output::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 20px;
  width: 365px;
  height: 455px;
  border: 2px solid #ffb65c;
  border-radius: 15px;
  transform: rotate(4deg);
  opacity: 0.75;
}
.hero-art {
  position: relative;
  width: 365px;
  margin: 0;
  transform: rotate(-2deg);
  z-index: 2;
}
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 48px #0008;
}
.hero-art figcaption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.hero-comments {
  position: absolute;
  right: 0;
  bottom: 15px;
  z-index: 4;
  display: grid;
  gap: 8px;
  width: 285px;
}
.voice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px;
  background: var(--surface);
  border-radius: 12px;
}
.voice img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  background: #483520;
}
.voice span {
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.voice p {
  font-size: 0.78rem;
  line-height: 1.45;
}
.voice:first-child {
  transform: rotate(-2deg);
}
.voice:last-child {
  margin-left: 15px;
}
.hero-character {
  position: absolute;
  right: -12px;
  bottom: 4px;
  z-index: 3;
  width: 195px;
}
.mascot {
  object-fit: contain;
  pointer-events: none;
}
.hero-character .mascot-ready {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.result-stamp {
  position: relative;
  z-index: 3;
  width: fit-content;
  margin: 0 auto -10px;
  background: var(--text);
  color: var(--bg);
  border-radius: 18px 18px 18px 2px;
  padding: 12px 18px;
  font-family: var(--display);
  font-size: 1.1rem;
  transform: rotate(5deg);
}
@keyframes arrive {
  from {
    opacity: 0.4;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-scene {
  animation: arrive 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.band {
  max-width: 1100px;
  padding: 54px 24px;
}
.band h2,
.final h2 {
  font-weight: 800;
  max-width: 18ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-lead {
  max-width: 50ch;
  margin: 14px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}
.demo {
  display: block;
  overflow: clip;
}
.demo-intro {
  text-align: center;
}
.walkthrough-setting {
  position: relative;
  max-width: 850px;
  margin: 28px auto 0;
}
/* Keep the existing phone's light UI and animation contract inside the dark stage. */
.walkthrough {
  --paper: #fffdf8;
  --surface: #fff;
  --muted: #f1ece2;
  --border: #e7e0d4;
  --text: #1a1a1a;
  --text-muted: #665b50;
  --ink: #171b22;
  --accent: #6d4aff;
  --accent-hover: #5b38f0;
  --accent-soft: #efeaff;
  color: var(--text);
  color-scheme: light;
  margin: 0 auto;
  width: min(100%, 360px);
}
.walkthrough h3 {
  font-family: "Geist", sans-serif;
}
.demo-reaction {
  position: absolute;
  width: 190px;
  left: calc(50% + 205px);
  top: 130px;
}
.demo-reaction p {
  padding: 14px 16px;
  border-radius: 18px 18px 18px 2px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.25;
}
.mascot-guide {
  width: 180px;
  height: auto;
  margin-top: -12px;
}
.demo-full {
  margin: 24px auto 0;
  max-width: 900px;
}
.demo-full summary {
  padding: 12px 0;
  text-align: center;
  color: var(--accent);
  cursor: pointer;
}
.demo-input {
  border: 0;
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
}
.demo-input p,
.demo-caption p {
  color: var(--text-muted);
}
.demo-full .demo-output {
  margin-top: 20px;
}
.demo-full h3 {
  font-size: 1.1rem;
}
.demo-caption {
  border: 0;
}
.demo > .small {
  max-width: 60ch;
  margin: 16px auto 0;
  text-align: center;
  font-size: 0.75rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-scene {
    animation: none;
  }
}
