:root {
  color-scheme: light;
  --ink: #1d1e24;
  --muted: #626671;
  --paper: #f3f5f2;
  --surface: #fff;
  --mist: #e9eee9;
  --line: rgba(29, 30, 36, 0.14);
  --night: #111116;
  --wine: #9f2445;
  --wine-strong: #7e1833;
  --teal: #244f47;
  --gold: #f0c56e;
  --shadow: 0 26px 80px rgba(20, 18, 24, 0.24);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-tap-highlight-color: rgba(159, 36, 69, 0.18);
}

a {
  color: inherit;
  touch-action: manipulation;
}

img {
  max-width: 100%;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(240, 197, 110, 0.82);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 14px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  color: #fffaf3;
}

.site-header.static-header {
  position: relative;
  background: #111116;
}

.nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  flex-shrink: 1;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 950;
  text-decoration: none;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.48);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  min-width: 0;
  justify-self: end;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 850;
}

.nav-links a {
  color: rgba(255, 250, 243, 0.82);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  justify-self: end;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 999px;
  background: var(--wine);
  color: #fffaf3;
  font-size: 0.9rem;
  font-weight: 950;
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(17, 17, 22, 0.28);
}

@media (max-width: 1180px) {
  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92svh;
  overflow: hidden;
  color: #fffaf3;
  background-color: var(--night);
  background-position: center;
  background-size: cover;
  box-shadow:
    inset 0 0 0 100vmax rgba(17, 17, 22, 0.44),
    inset 0 -24svh 18svh rgba(17, 17, 22, 0.78),
    inset 48vw 0 38vw rgba(17, 17, 22, 0.42);
}

.hero-home {
  background-image: url("/assets/characters/seoyoon-five-year-love.jpg");
  background-position: center 18%;
}

.hero-home .hero-inner {
  grid-template-columns: 1fr;
  gap: 38px;
  padding-top: 104px;
}

.hero-home .hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-home .lead {
  margin-right: auto;
  margin-left: auto;
}

.hero-home .cta-row {
  justify-content: center;
}

.hero-ai {
  background-image: url("/assets/characters/yuri-night-cafe.jpg");
  background-position: center 18%;
}

.hero-roleplay {
  background-image: url("/assets/characters/harin-old-friend-flirt.jpg");
  background-position: center 20%;
}

.hero-characters {
  background-image: url("/assets/characters/minjae-steady-distance.jpg");
  background-position: center 18%;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 56px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 116px 0 72px;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 820px;
}

.chat-preview,
.app-preview,
.roleplay-device,
.catalog-preview {
  align-self: center;
}

.app-preview,
.roleplay-device,
.catalog-preview {
  justify-self: end;
  width: min(420px, 100%);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 250, 243, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 250, 243, 0.12), rgba(255, 250, 243, 0.04)),
    rgba(14, 14, 18, 0.72);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: -34% auto auto -24%;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(240, 197, 110, 0.16);
  filter: blur(30px);
}

.product-showcase {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.app-window {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(360px, 1.28fr) minmax(220px, 0.84fr);
  gap: 14px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.13), rgba(255, 250, 243, 0.04)),
    rgba(11, 11, 15, 0.76);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
}

.app-rail,
.app-chat-panel,
.app-context-panel {
  min-width: 0;
  border: 1px solid rgba(255, 250, 243, 0.1);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.075);
}

.app-rail {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.rail-title strong,
.rail-title span {
  display: block;
}

.rail-title {
  margin-bottom: 8px;
}

.rail-title strong {
  font-size: 1rem;
}

.rail-title span {
  color: rgba(255, 250, 243, 0.62);
  font-size: 0.86rem;
}

.rail-character {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 250, 243, 0.08);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.05);
}

.rail-character.active {
  border-color: rgba(240, 197, 110, 0.42);
  background: rgba(240, 197, 110, 0.1);
}

.rail-character img {
  width: 48px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.rail-character strong,
.rail-character span {
  display: block;
}

.rail-character span {
  overflow: hidden;
  color: rgba(255, 250, 243, 0.62);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-chat-panel {
  padding: 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 197, 110, 0.12), transparent 32%),
    rgba(15, 15, 20, 0.72);
}

.app-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.app-context-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background:
    linear-gradient(to top, rgba(17, 17, 22, 0.9), rgba(17, 17, 22, 0.22)),
    url("/assets/characters/yuri-night-cafe.jpg");
  background-position: center;
  background-size: cover;
}

.app-context-panel span {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 950;
}

.app-context-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 1.22rem;
  line-height: 1.28;
  word-break: keep-all;
}

.app-context-panel p {
  margin-top: 12px;
  color: rgba(255, 250, 243, 0.72);
  font-size: 0.92rem;
}

.context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.context-tags b {
  padding: 7px 9px;
  border: 1px solid rgba(255, 250, 243, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.1);
  color: rgba(255, 250, 243, 0.86);
  font-size: 0.8rem;
}

.phone-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.phone-profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.phone-profile img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
}

.phone-profile strong,
.phone-profile span {
  display: block;
}

.phone-profile span {
  color: rgba(255, 250, 243, 0.62);
  font-size: 0.9rem;
}

.age-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(240, 197, 110, 0.42);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.scene-card {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.08);
}

.scene-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.scene-card p {
  color: rgba(255, 250, 243, 0.9);
  font-weight: 850;
  line-height: 1.45;
}

.phone-chat {
  position: relative;
  z-index: 1;
}

.chat-preview {
  padding: 18px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 18px;
  background: rgba(17, 17, 22, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.chat-top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-top strong,
.chat-top span {
  display: block;
}

.chat-top span {
  color: rgba(255, 250, 243, 0.66);
  font-size: 0.9rem;
}

.bubble {
  width: fit-content;
  max-width: 92%;
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.character-bubble {
  background: rgba(255, 250, 243, 0.13);
  color: #fffaf3;
}

.user-bubble {
  margin-left: auto;
  background: #fffaf3;
  color: var(--wine-strong);
  font-weight: 800;
}

.composer-preview {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 11px 12px 11px 15px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.92);
  color: rgba(29, 30, 36, 0.58);
  font-size: 0.88rem;
}

.composer-preview b {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--wine);
  color: #fff;
  font-size: 0.86rem;
}

.quick-preview {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow: hidden;
}

.quick-preview span {
  flex: 0 0 auto;
  max-width: 82%;
  padding: 9px 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.08);
  color: rgba(255, 250, 243, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-action {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 250, 243, 0.14);
  border-radius: 8px;
  color: rgba(255, 250, 243, 0.72);
  background: rgba(255, 250, 243, 0.06);
  font-size: 0.88em;
  font-style: italic;
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 950;
}

h1,
h2,
h3 {
  max-width: 100%;
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

h1 {
  font-size: clamp(2.45rem, 5.3vw, 5.45rem);
}

.line,
h1 span {
  display: block;
}

h2 {
  font-size: clamp(1.72rem, 3.15vw, 3rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  max-width: 100%;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.lead {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 250, 243, 0.9);
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  font-weight: 950;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: #fffaf3;
  background: #fffaf3;
  color: var(--wine-strong);
}

.button.dark {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.mobile-break {
  display: none;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.proof-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 999px;
  background: rgba(17, 17, 22, 0.18);
  color: rgba(255, 250, 243, 0.82);
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  width: min(980px, 100%);
  margin-top: 52px;
  border-top: 1px solid rgba(255, 250, 243, 0.22);
  border-bottom: 1px solid rgba(255, 250, 243, 0.22);
}

.hero-strip span {
  min-height: 74px;
  padding: 17px 18px;
  border-right: 1px solid rgba(255, 250, 243, 0.18);
  color: rgba(255, 250, 243, 0.88);
  font-size: 0.98rem;
  font-weight: 850;
}

.hero-strip span:last-child {
  border-right: 0;
}

.hero-strip b {
  display: block;
  color: var(--gold);
  font-size: 1.42rem;
  line-height: 1.1;
}

.section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.section.alt {
  background: var(--paper);
}

.section.dark {
  background: var(--night);
  color: #fffaf3;
}

.inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.dark .section-head p {
  color: rgba(255, 250, 243, 0.68);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  gap: 18px;
}

.experience-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(29, 30, 36, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(29, 30, 36, 0.06);
}

.experience-card.featured {
  background:
    linear-gradient(145deg, rgba(36, 79, 71, 0.92), rgba(29, 30, 36, 0.96)),
    var(--teal);
  color: #fffaf3;
  box-shadow: 0 28px 70px rgba(36, 79, 71, 0.24);
}

.experience-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--wine-strong);
  font-size: 0.86rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.experience-card.featured span {
  background: rgba(240, 197, 110, 0.18);
  color: var(--gold);
}

.experience-card p {
  margin-top: 12px;
  color: var(--muted);
}

.experience-card.featured p {
  color: rgba(255, 250, 243, 0.74);
}

.scenario-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scenario-steps article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(29, 30, 36, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(29, 30, 36, 0.06);
}

.scenario-steps article.active {
  background: var(--night);
  color: #fffaf3;
}

.scenario-steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--wine-strong);
  font-size: 0.86rem;
  font-weight: 950;
}

.scenario-steps article.active span {
  color: var(--gold);
}

.scenario-steps strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.4;
  word-break: keep-all;
}

.scenario-steps p {
  margin-top: 14px;
  color: var(--muted);
}

.scenario-steps article.active p {
  color: rgba(255, 250, 243, 0.72);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 52px;
  align-items: center;
}

.split-feature > div > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.opening-list {
  display: grid;
  gap: 12px;
}

.opening-list p {
  padding: 18px;
  border: 1px solid rgba(29, 30, 36, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  box-shadow: 0 14px 34px rgba(29, 30, 36, 0.05);
}

.opening-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.catalog-preview {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 28px;
  background: rgba(17, 17, 22, 0.54);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.catalog-preview article {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 250, 243, 0.1);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.08);
}

.catalog-preview img {
  width: 68px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
}

.catalog-preview strong,
.catalog-preview span,
.catalog-preview p {
  display: block;
}

.catalog-preview span {
  color: rgba(255, 250, 243, 0.66);
  font-size: 0.88rem;
}

.catalog-preview p {
  margin-top: 7px;
  overflow: hidden;
  color: rgba(255, 250, 243, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(29, 30, 36, 0.06);
}

.feature strong {
  display: block;
  margin-bottom: 10px;
  color: var(--wine-strong);
  font-size: 0.88rem;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
}

.story-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.story-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
}

.story-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.quote-line {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.keyword-list span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 250, 243, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.12);
  color: #fffaf3;
  font-size: 0.92rem;
  font-weight: 800;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.character-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.character-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.character-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.character-tile {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background: #111116;
  box-shadow: 0 22px 58px rgba(29, 30, 36, 0.14);
}

.character-tile.large {
  min-height: 520px;
}

.character-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 260ms ease;
}

.character-tile:hover img {
  transform: scale(1.025);
}

.character-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17, 17, 22, 0.9), rgba(17, 17, 22, 0.08) 58%),
    linear-gradient(to right, rgba(17, 17, 22, 0.22), rgba(17, 17, 22, 0));
}

.character-tile strong,
.character-tile span,
.character-tile p {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  color: #fffaf3;
}

.character-tile strong {
  bottom: 58px;
  font-size: 1.25rem;
}

.character-tile span {
  bottom: 31px;
  color: rgba(255, 250, 243, 0.76);
  font-weight: 800;
}

.character-tile p {
  bottom: 24px;
  max-width: 420px;
  color: rgba(255, 250, 243, 0.74);
}

.character-tile.large strong {
  bottom: 122px;
  font-size: 1.55rem;
}

.character-tile.large span {
  bottom: 94px;
}

.mini-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mini-catalog span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(29, 30, 36, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.25;
}

.character-row article {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 10px;
  background: #111116;
  box-shadow: 0 22px 58px rgba(29, 30, 36, 0.14);
}

.character-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
}

.character-row article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(17, 17, 22, 0.84), rgba(17, 17, 22, 0));
}

.character-row strong,
.character-row span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  color: #fffaf3;
}

.character-row strong {
  bottom: 46px;
  font-size: 1.14rem;
}

.character-row span {
  bottom: 20px;
  color: rgba(255, 250, 243, 0.74);
}

.character {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(29, 30, 36, 0.06);
}

.character img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.character-body {
  padding: 18px;
}

.character-body p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.96rem;
}

.install-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 8px;
  background: #25242c;
}

.install-panel p {
  margin-top: 9px;
  color: rgba(255, 250, 243, 0.72);
}

.site-footer {
  border-top: 1px solid rgba(255, 250, 243, 0.12);
  background: #111116;
  color: #fffaf3;
}

.mobile-install {
  display: none;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.footer-inner a,
.footer-links a {
  color: #fffaf3;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 850;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  background: #111116;
  color: #fffaf3;
}

.legal-hero .inner {
  padding: 72px 0 54px;
}

.legal-hero h1 {
  max-width: 880px;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.legal-hero .lead {
  color: rgba(255, 250, 243, 0.82);
}

.legal-content .inner {
  padding: 56px 0 76px;
}

.legal-document {
  display: grid;
  gap: 26px;
  max-width: 900px;
}

.legal-document section {
  display: grid;
  gap: 12px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(29, 30, 36, 0.12);
}

.legal-document section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-document h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

@media (max-width: 880px) {
  .nav,
  .footer-inner {
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 110px 0 44px;
  }

  .hero-strip,
  .section-head,
  .feature-grid,
  .experience-grid,
  .story-band,
  .character-row,
  .character-showcase,
  .character-stack,
  .character-grid,
  .install-panel {
    grid-template-columns: 1fr;
  }

  .hero-home .hero-inner {
    gap: 28px;
  }

  .app-window {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 24px;
  }

  .app-context-panel {
    display: none;
  }

  .app-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    border-radius: 18px;
    scrollbar-width: none;
  }

  .app-rail::-webkit-scrollbar {
    display: none;
  }

  .rail-title {
    display: none;
  }

  .rail-character {
    grid-template-columns: 34px minmax(78px, 1fr);
    flex: 0 0 142px;
    padding: 7px;
  }

  .rail-character img {
    width: 34px;
    height: 42px;
    border-radius: 9px;
  }

  .app-chat-panel {
    padding: 12px;
    border-radius: 18px;
  }

  .app-preview,
  .roleplay-device,
  .catalog-preview {
    justify-self: start;
    width: min(390px, 100%);
  }

  .inner {
    padding: 58px 0;
  }

  .install-panel {
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero-inner,
  .inner,
  .footer-inner {
    width: calc(100% - 40px);
  }

  .nav {
    min-height: 64px;
    gap: 12px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 0 13px;
    border-color: rgba(255, 250, 243, 0.16);
    background: var(--wine);
    box-shadow: 0 12px 28px rgba(17, 17, 22, 0.28);
  }

  .hero {
    min-height: auto;
    background-position: center top;
    box-shadow:
      inset 0 0 0 100vmax rgba(17, 17, 22, 0.46),
      inset 0 -28svh 16svh rgba(17, 17, 22, 0.78);
  }

  .hero-inner {
    padding-top: 92px;
    padding-bottom: 30px;
  }

  .hero-home .hero-inner {
    padding-top: 86px;
    gap: 24px;
  }

  .hero-home .hero-copy {
    text-align: left;
  }

  .hero-home .lead {
    margin-left: 0;
  }

  .hero-home .cta-row {
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.36rem;
  }

  h1,
  h2,
  h3,
  p {
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
  }

  .lead {
    max-width: 100%;
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .mobile-break {
    display: initial;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-strip span {
    min-height: auto;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 243, 0.16);
    font-size: 0.94rem;
  }

  .hero-strip span:last-child {
    border-bottom: 0;
  }

  .hero-strip b {
    display: inline;
    margin-right: 6px;
    font-size: 1.05rem;
  }

  .button,
  .install-panel .button {
    width: 100%;
  }

  .proof-row {
    display: none;
  }

  .phone-frame {
    padding: 12px;
    border-radius: 24px;
  }

  .phone-profile img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .scene-card {
    margin-bottom: 10px;
    padding: 10px 12px;
  }

  .scene-card p,
  .bubble {
    font-size: 0.86rem;
  }

  .app-chat-header {
    margin-bottom: 10px;
  }

  .phone-chat .bubble:nth-child(2),
  .phone-chat .bubble:nth-child(3),
  .composer-preview,
  .quick-preview {
    display: none;
  }

  .experience-card {
    min-height: auto;
    padding: 22px;
    border-radius: 14px;
  }

  .scenario-steps,
  .split-feature,
  .mini-catalog {
    grid-template-columns: 1fr;
  }

  .scenario-steps article {
    min-height: auto;
    padding: 22px;
    border-radius: 14px;
  }

  .scenario-steps span {
    margin-bottom: 20px;
  }

  .split-feature {
    gap: 28px;
  }

  .catalog-preview {
    padding: 12px;
    border-radius: 22px;
  }

  .catalog-preview article {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 8px;
    border-radius: 15px;
  }

  .catalog-preview img {
    width: 56px;
    height: 70px;
    border-radius: 12px;
  }

  .catalog-preview p {
    display: none;
  }

  .mini-catalog span {
    min-height: 50px;
    border-radius: 14px;
  }

  .experience-card span {
    margin-bottom: 22px;
  }

  .character-tile,
  .character-tile.large {
    min-height: 360px;
    border-radius: 14px;
  }

  .character-tile.large strong {
    bottom: 112px;
    font-size: 1.32rem;
  }

  .character-tile.large span {
    bottom: 84px;
  }

  .character-tile p {
    bottom: 24px;
  }

  .mobile-install {
    display: none;
  }

  .feature {
    padding: 22px;
  }
}
