:root {
  --bg: #f7f6fb;
  --bg-soft: #fcfbfe;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #24153a;
  --text-soft: #5d5872;
  --muted: #746d8a;
  --line: #e6e0f0;
  --line-strong: #d8d0ea;
  --primary: #7c3aed;
  --primary-2: #db2777;
  --primary-3: #0f766e;
  --primary-soft: #ede9fe;
  --accent-blue: #2563eb;
  --accent-gold: #ca8a04;
  --shadow: 0 22px 60px rgba(42, 23, 73, 0.08);
  --shadow-soft: 0 10px 24px rgba(42, 23, 73, 0.06);
  --radius: 8px;
  --radius-sm: 8px;
  --max: 1180px;
  --font: "Quicksand", "Mi Sans", "PingFang SC", "SF Pro Rounded", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background:
    linear-gradient(180deg, #f8f7fc 0%, #fbf9ff 26%, #ffffff 100%);
  min-height: 100vh;
  letter-spacing: 0;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  left: 12px;
}

.site-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  margin: 0;
  border-bottom: 1px solid rgba(232, 226, 243, 0.95);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(42, 23, 73, 0.05);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.14);
  flex: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(124, 58, 237, 0.08);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 850;
}

.language-switcher span {
  padding: 0 6px;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  border-radius: 6px;
}

.language-switcher a:hover,
.language-switcher a[aria-current="true"] {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.cta-link,
.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.cta-link,
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.24);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
}

.button-ghost {
  color: var(--text);
  border: 1px solid transparent;
  background: transparent;
}

.page {
  padding: 86px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  gap: 28px;
  align-items: center;
  padding: 48px 0 24px;
}

.hero > *,
.page-hero-grid > *,
.split > *,
.grid-3 > *,
.grid-4 > *,
.proof-grid > * {
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 0;
  color: #1f1232;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy,
.page-lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.56;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.proof-card {
  min-height: 70px;
  padding: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.proof-card b {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 16px;
}

.hero-visual {
  display: grid;
  gap: 12px;
  padding: 16px;
  min-width: 0;
  border: 1px solid rgba(230, 224, 240, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 252, 0.86));
  box-shadow: var(--shadow);
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 12px;
}

.hero-art {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(230, 224, 240, 0.95);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,0.72);
}

.preview-card,
.content-card,
.topic-card,
.guide-card,
.update-card,
.faq-card,
.route-card,
.panel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.preview-card {
  position: relative;
  min-height: 248px;
  padding: 16px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(180deg, rgba(10, 5, 18, 0.76), rgba(10, 5, 18, 0.12)),
    linear-gradient(135deg, #7c3aed, #db2777 60%, #f59e0b);
}

.preview-companion {
  background:
    linear-gradient(180deg, rgba(8, 5, 18, 0.18), rgba(8, 5, 18, 0.9)),
    url("/assets/images/seo/slow-burn-ai-roleplay.jpg") center / cover;
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 130px;
  height: 130px;
  border-radius: 38% 62% 48% 52%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background:
    radial-gradient(circle at 34% 38%, rgba(255, 255, 255, 0.96), transparent 5%),
    radial-gradient(circle at 64% 38%, rgba(255, 255, 255, 0.96), transparent 5%),
    radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.96), transparent 6%),
    rgba(255, 255, 255, 0.14);
  transform: rotate(-8deg);
}

.preview-card h3,
.preview-card p,
.preview-card .badge,
.preview-card .card-meta {
  position: relative;
}

.preview-card h3 {
  margin: 0;
  font-size: 16px;
}

.preview-card p {
  max-width: 220px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

.panel-card {
  min-height: 116px;
  padding: 16px;
}

.panel-card h3,
.content-card h3,
.topic-card h3,
.guide-card h3,
.update-card h3,
.faq-card h3,
.route-card h3 {
  margin: 0;
  font-size: 17px;
}

.panel-card p,
.content-card p,
.topic-card p,
.guide-card p,
.update-card p,
.faq-card p,
.route-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.48;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.panel-stack {
  display: grid;
  gap: 12px;
}

.section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.compact-link {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.compact-link:hover,
.compact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.28);
}

.section h2,
.page-hero h2 {
  margin: 0;
  color: #1f1232;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.section-note,
.page-note {
  max-width: 520px;
  margin: 0;
  color: var(--text-soft);
  font-weight: 650;
  line-height: 1.45;
}

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

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

.character-rail {
  overflow: hidden;
  position: relative;
  margin-inline: calc((100vw - min(var(--max), calc(100vw - 32px))) / -2);
  padding: 4px calc((100vw - min(var(--max), calc(100vw - 32px))) / 2);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.character-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: character-pan 120s linear infinite;
}

.character-card {
  position: relative;
  display: grid;
  align-content: start;
  flex: 0 0 282px;
  min-height: 258px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 255, 0.76)),
    radial-gradient(circle at 86% 12%, rgba(219, 39, 119, 0.2), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.18), transparent 32%);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-character-card {
  isolation: isolate;
  align-content: end;
  flex-basis: 286px;
  min-height: 344px;
  padding: 16px;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  background: #171020;
}

.character-cover,
.character-shade {
  position: absolute;
  inset: 0;
}

.character-cover {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.character-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 4, 12, 0.04) 0%, rgba(7, 4, 12, 0.22) 36%, rgba(7, 4, 12, 0.9) 100%),
    linear-gradient(90deg, rgba(7, 4, 12, 0.72), rgba(7, 4, 12, 0.06));
}

.product-character-card:hover .character-cover,
.product-character-card:focus-visible .character-cover {
  transform: scale(1.04);
}

.character-avatar-img {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.product-character-card .tag {
  width: fit-content;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  backdrop-filter: blur(12px);
}

.product-character-card h3,
.product-character-card p,
.product-character-card small {
  color: white;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.product-character-card p {
  color: rgba(255, 255, 255, 0.84);
}

.product-character-card small {
  color: rgba(255, 255, 255, 0.72);
}

.character-card:hover,
.character-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.32);
  box-shadow: 0 22px 48px rgba(42, 23, 73, 0.12);
}

.character-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  color: white;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(42, 23, 73, 0.16);
}

.avatar-velvet { background: linear-gradient(135deg, #4c1d95, #db2777); }
.avatar-starship { background: linear-gradient(135deg, #0f172a, #2563eb); }
.avatar-rose { background: linear-gradient(135deg, #be185d, #fb7185); }
.avatar-oracle { background: linear-gradient(135deg, #581c87, #ca8a04); }
.avatar-moonlit { background: linear-gradient(135deg, #312e81, #0f766e); }

.character-card h3 {
  margin: 10px 0 0;
  font-size: 18px;
}

.character-card p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.character-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@keyframes character-pan {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.content-card,
.topic-card,
.guide-card,
.update-card,
.route-card,
.faq-card {
  padding: 18px;
}

.content-card .icon,
.route-card .icon,
.topic-card .icon,
.guide-card .icon,
.update-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.18);
  font-weight: 900;
}

.content-card h3,
.topic-card h3,
.guide-card h3,
.update-card h3,
.route-card h3 {
  margin-top: 14px;
}

.topic-card {
  position: relative;
  min-height: 150px;
}

.topic-card .tag,
.guide-card .tag,
.update-card .tag,
.route-card .tag,
.faq-card .tag,
.image-card .tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-card .tag,
.image-card h3,
.image-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.image-card .tag {
  margin-top: 16px;
}

.image-card p {
  margin-bottom: 18px;
}

.topic-card small,
.update-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 14px;
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: start;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  flex: none;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
}

.timeline-item h3 {
  margin: 0;
  font-size: 16px;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 14px;
  font-weight: 650;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

details.faq-card {
  padding: 0;
}

details.faq-card > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px 16px;
  font-weight: 900;
  font-size: 17px;
}

details.faq-card > summary::-webkit-details-marker {
  display: none;
}

details.faq-card > div {
  padding: 0 18px 18px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 14px;
  font-weight: 650;
}

.footer-band {
  width: min(var(--max), calc(100% - 32px));
  margin: 56px auto 24px;
  padding: 26px 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  color: var(--text-soft);
}

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

.footer-grid h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.footer-grid a:hover {
  color: var(--text);
}

.callout-band {
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: white;
  box-shadow: 0 22px 50px rgba(124, 58, 237, 0.2);
}

.callout-band h2 {
  color: white;
}

.callout-band p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84);
  margin: 14px 0 0;
  line-height: 1.65;
  font-weight: 650;
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.callout-band .button-secondary,
.callout-band .button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.subtle-band {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
  line-height: 1.65;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  padding: 54px 0 28px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.page-hero-card {
  padding: 18px;
}

.page-hero-card h3 {
  margin: 0;
  font-size: 16px;
}

.page-hero-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 14px;
  font-weight: 650;
}

.page-hero-card .mini-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mini-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 750;
}

.section-divider {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.theme-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 900;
}

.accent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.accent-row .theme-pill:nth-child(2n) {
  background: rgba(219, 39, 119, 0.08);
  color: var(--primary-2);
}

.theme-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 237, 250, 0.9));
}

.page-visual {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(230, 224, 240, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.theme-panel .title {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.theme-panel .rows {
  display: grid;
  gap: 10px;
}

.theme-panel .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 750;
}

.footer-note {
  margin-top: 20px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .hero,
  .page-hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .proof-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  body {
    min-width: 0;
  }

  .site-shell {
    width: min(var(--max), calc(100% - 20px));
    max-width: calc(100vw - 20px);
  }

  .footer-band {
    width: min(var(--max), calc(100% - 20px));
    padding: 20px 16px 0;
  }

  .site-header {
    inset: 0 0 auto;
    width: 100%;
    border-radius: 0;
  }

  .site-header-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .language-switcher {
    width: fit-content;
  }

  .page {
    padding-top: 228px;
  }

  .brand {
    justify-content: flex-start;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    overflow: visible;
    flex-wrap: initial;
    padding-bottom: 4px;
    max-width: 100%;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    min-width: 0;
    padding: 7px 9px;
    font-size: 12px;
    text-align: center;
  }

  .cta-link,
  .button-primary,
  .button-secondary,
  .button-ghost {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero,
  .page-hero {
    padding-top: 36px;
  }

  .hero {
    display: block;
    gap: 18px;
    max-width: calc(100vw - 20px);
    overflow: visible;
  }

  .hero > div,
  .hero-visual,
  .hero-copy,
  .proof-grid,
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 24px;
    line-height: 1.14;
    width: 100%;
    max-width: 100%;
    text-wrap: auto;
  }

  .hero-copy,
  .page-lead {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.62;
  }

  .proof-card {
    font-size: 12px;
  }

  .hero-actions,
  .page-actions {
    gap: 10px;
  }

  .hero-visual-grid,
  .grid-3,
  .grid-4,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  .proof-card {
    min-height: auto;
  }

  .hero-visual {
    padding: 10px;
  }

  .proof-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }

  .proof-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 8px 10px;
    font-size: 12px;
  }

  .proof-card b {
    display: inline;
    margin: 0;
    font-size: 13px;
  }

  .section {
    padding: 24px 0;
  }

  .character-rail {
    overflow: hidden;
    margin-inline: -10px;
    padding-inline: 10px;
    mask-image: none;
  }

  .character-card {
    flex-basis: 268px;
  }

  .product-character-card {
    min-height: 356px;
  }

  .section-head {
    display: grid;
    align-items: start;
    gap: 10px;
  }

  .section h2,
  .page-hero h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .callout-band {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(370px, calc(100% - 20px));
    margin-left: 10px;
    margin-right: 10px;
  }

  .hero {
    max-width: min(370px, calc(100vw - 20px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
