/* Dream Companion — shared static styles
   1. Tokens  2. Base  3. Layout  4. Components  5. Pages  6. Utilities  7. Responsive */

:root {
  --bg: #070b10;
  --bg-soft: #0b1018;
  --surface: #111620;
  --surface-glass: rgba(17, 22, 32, 0.84);
  --text: #f8fafc;
  --muted: #8d99aa;
  --pink: #ff3fa4;
  --purple: #9b5cff;
  --green: #22c55e;
  --line: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, var(--pink), var(--purple));
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --container: 75rem;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 63, 164, 0.75);
  outline-offset: 4px;
}

::selection {
  background: var(--pink);
  color: #fff;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: #fff;
  color: #111;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 52rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: 5.5rem;
}

.section--soft {
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.section-glow::before {
  position: absolute;
  inset: 5% auto auto 50%;
  width: min(42rem, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 92, 255, 0.09), transparent 68%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.38rem 0.8rem;
  border: 1px solid rgba(255, 63, 164, 0.3);
  border-radius: 999px;
  background: rgba(255, 63, 164, 0.1);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow--purple {
  border-color: rgba(155, 92, 255, 0.32);
  background: rgba(155, 92, 255, 0.1);
  color: #b793ff;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading {
  max-width: 44rem;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -0.035em;
}

.section-heading p,
.muted {
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 16, 0.66);
  backdrop-filter: blur(20px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 63, 164, 0.12);
  background: rgba(7, 11, 16, 0.94);
}

.nav-wrap {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.6rem;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(255, 63, 164, 0.45);
  font-size: 1rem;
}

.main-nav,
.nav-actions {
  display: none;
}

.main-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--pink);
}

.nav-toggle {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span::before {
  transform: translateY(-0.35rem);
}

.nav-toggle span::after {
  transform: translateY(0.23rem);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 4.25rem 0 auto;
  z-index: 90;
  display: grid;
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 16, 0.98);
  opacity: 0;
  transition: max-height 220ms ease, opacity 180ms ease, border-color 180ms ease;
}

.mobile-menu[aria-hidden="true"] {
  visibility: hidden;
}

.mobile-menu.is-open {
  max-height: calc(100dvh - 4.25rem);
  overflow-y: auto;
  border-color: var(--line);
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  display: grid;
  gap: 0.25rem;
  padding-block: 1rem 1.35rem;
}

.mobile-menu a {
  padding: 0.8rem 0;
  color: var(--muted);
  font-weight: 650;
}

.mobile-menu a[aria-current="page"] {
  color: var(--pink);
}

.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 25px rgba(255, 63, 164, 0.3);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  box-shadow: 0 0 40px rgba(255, 63, 164, 0.52);
  transform: translateY(-2px);
}

.button--large {
  min-height: 3.35rem;
  padding-inline: 1.8rem;
  font-size: 1rem;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.15);
  background: transparent;
  box-shadow: none;
}

.button--ghost:hover {
  border-color: rgba(255, 63, 164, 0.45);
  box-shadow: none;
  color: var(--pink);
}

.hero {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding-block: 7rem 4.5rem;
  background:
    radial-gradient(circle at 20% 28%, rgba(255, 63, 164, 0.08), transparent 27rem),
    radial-gradient(circle at 80% 66%, rgba(155, 92, 255, 0.08), transparent 25rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 43rem;
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.12rem);
}

.hero-note {
  margin: 0.8rem 0 1.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #dbe3ed;
  font-size: 0.78rem;
}

.stars {
  color: #fbbf24;
  letter-spacing: 0.06em;
}

.portrait-stack {
  position: relative;
  display: none;
  min-height: 31rem;
  align-items: center;
  justify-content: center;
}

.portrait-card {
  position: absolute;
  width: 13rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(7, 11, 16, 0.94));
  font-weight: 750;
}

.portrait-card:nth-child(1) {
  z-index: 1;
  transform: translateX(-8.5rem) rotate(-7deg);
}

.portrait-card:nth-child(2) {
  z-index: 3;
  width: 14.5rem;
}

.portrait-card:nth-child(3) {
  z-index: 2;
  transform: translateX(8.5rem) rotate(7deg);
}

.split {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.feature-image {
  position: relative;
}

.feature-image > img {
  width: 100%;
  max-height: 38rem;
  border: 1px solid rgba(255, 63, 164, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 55px rgba(255, 63, 164, 0.12), var(--shadow);
  object-fit: cover;
}

.status-card {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 63, 164, 0.2);
  border-radius: var(--radius);
  background: rgba(17, 22, 32, 0.92);
  backdrop-filter: blur(16px);
}

.status-card strong {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.status-card p {
  margin: 0.25rem 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.status-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.split-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: -0.04em;
}

.split-copy > p {
  max-width: 33rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.feature-item {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feature-item:hover {
  border-color: rgba(255, 63, 164, 0.2);
  background: rgba(255, 63, 164, 0.045);
  transform: translateY(-2px);
}

.feature-item h3 {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.8rem;
}

.icon-box {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.8rem;
  background: rgba(255, 63, 164, 0.1);
  color: var(--pink);
  font-size: 1.15rem;
}

.icon-box--purple {
  background: rgba(155, 92, 255, 0.12);
  color: #b793ff;
}

.voice-list .feature-item {
  border: 0;
  background: transparent;
  padding-inline: 0;
}

.call-card {
  width: min(100%, 24rem);
  margin-inline: auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  box-shadow: 0 0 55px rgba(155, 92, 255, 0.1), var(--shadow);
}

.call-head,
.call-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.call-head p {
  margin: 0;
}

.connected {
  color: var(--green);
  font-size: 0.75rem;
}

.live-badge {
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.09);
  color: var(--green);
  font-size: 0.72rem;
}

.call-avatar {
  position: relative;
  width: 6rem;
  margin: 2rem auto 1rem;
}

.call-avatar::before,
.call-avatar::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 63, 164, 0.2);
  content: "";
  animation: pulse 2.4s infinite ease-out;
}

.call-avatar::after {
  background: rgba(155, 92, 255, 0.18);
  animation-delay: 0.6s;
}

.call-avatar img {
  width: 6rem;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 63, 164, 0.55);
  border-radius: 50%;
  object-fit: cover;
}

.call-person {
  margin-bottom: 0;
  text-align: center;
  font-weight: 750;
}

.call-role {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.waveform {
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  margin-block: 1.3rem;
}

.waveform span {
  width: 3px;
  height: var(--wave, 18px);
  border-radius: 99px;
  background: var(--pink);
  animation: wave 0.95s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

.waveform span:nth-child(3n + 2) {
  background: var(--purple);
}

.waveform span:nth-child(3n) {
  background: rgba(255, 255, 255, 0.18);
}

.call-controls {
  justify-content: center;
  gap: 0.85rem;
}

.round-control {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.round-control--primary {
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(255, 63, 164, 0.35);
  color: #fff;
}

.round-control--danger {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.09);
  color: #ef4444;
}

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

.character-card {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease;
}

.character-card:hover {
  border-color: rgba(255, 63, 164, 0.34);
  transform: translateY(-6px);
}

.character-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.character-card:hover img {
  transform: scale(1.045);
}

.character-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 3rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(7, 11, 16, 0.96));
}

.character-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.character-card p {
  color: #c1c9d4;
  font-size: 0.76rem;
}

.create-card {
  display: grid;
  gap: 2rem;
  padding: clamp(1.4rem, 5vw, 3rem);
  border: 1px solid rgba(255, 63, 164, 0.15);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(155, 92, 255, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.025);
}

.create-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
}

.create-card p {
  max-width: 36rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  counter-increment: step;
}

.step::before {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  content: counter(step);
  font-weight: 800;
}

.step h3 {
  margin: 0.1rem 0 0.2rem;
  font-size: 0.92rem;
}

.step p {
  font-size: 0.78rem;
}

.review-grid {
  display: grid;
  gap: 1rem;
}

.review-card,
.info-card,
.legal-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.review-card blockquote {
  margin: 0 0 1.1rem;
  color: #dbe3ed;
  font-size: 0.9rem;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.cta-section {
  padding-block: 5rem;
  text-align: center;
}

.cta-box {
  padding: clamp(2rem, 7vw, 4.5rem) 1.25rem;
  border: 1px solid rgba(255, 63, 164, 0.18);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 63, 164, 0.13), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(155, 92, 255, 0.15), transparent 32%),
    rgba(255, 255, 255, 0.025);
}

.cta-box h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.045em;
}

.cta-box p {
  max-width: 38rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
}

.site-footer {
  padding-block: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.footer-grid,
.footer-links {
  display: flex;
  align-items: center;
}

.footer-grid {
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  text-align: center;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-links a,
.copyright {
  color: var(--muted);
  font-size: 0.8rem;
}

.affiliate-disclosure {
  margin: 1.35rem 0 0;
  color: #737e8d;
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: center;
}

.footer-links a:hover {
  color: var(--pink);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 4.5rem;
  text-align: center;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 63, 164, 0.09), transparent 62%);
  content: "";
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.4rem, 9vw, 4rem);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 43rem;
  margin-inline: auto;
  color: var(--muted);
}

.about-grid,
.values-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1.8rem;
}

.info-card h2,
.info-card h3 {
  margin-bottom: 0.8rem;
}

.info-card p {
  color: var(--muted);
}

.values-grid .info-card {
  text-align: center;
}

.values-grid .icon-box {
  margin: 0 auto 1rem;
}

.legal-list {
  display: grid;
  gap: 1rem;
}

.legal-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.legal-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-card a {
  color: #ff7cbe;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 6rem 1rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(155, 92, 255, 0.12), transparent 26rem),
    var(--bg);
}

.error-code {
  margin: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(6rem, 28vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.error-page h1 {
  margin: 1.5rem 0 0.8rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.error-page p {
  max-width: 32rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 1;
  transform: none;
  transition: transform 300ms ease;
}

@keyframes pulse {
  from {
    opacity: 0.45;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes wave {
  to {
    height: calc(var(--wave, 18px) * 0.42);
  }
}

@media (min-width: 42rem) {
  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .character-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .create-card {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .footer-grid {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 64rem) {
  .main-nav,
  .nav-actions {
    display: flex;
    align-items: center;
  }

  .main-nav {
    gap: 1.25rem;
  }

  .nav-actions {
    gap: 0.7rem;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait-stack {
    display: flex;
  }

  .split--reverse .split-copy {
    order: 1;
  }

  .split--reverse .call-card {
    order: 2;
  }

  .character-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* SEO landing pages and reusable content components */
.breadcrumbs {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs a {
  color: #ff8ac5;
}

.page-hero--split {
  text-align: left;
}

.page-hero--split .page-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-hero--split p {
  margin-inline: 0;
}

.page-hero__image {
  overflow: hidden;
  border: 1px solid rgba(255, 63, 164, 0.18);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-hero__image img {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
}

.answer-box,
.notice,
.fact-panel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.answer-box {
  max-width: 54rem;
  margin: 0 auto 2.5rem;
  border-color: rgba(155, 92, 255, 0.24);
}

.answer-box strong,
.notice strong {
  color: #fff;
}

.notice {
  border-color: rgba(255, 63, 164, 0.25);
  background: rgba(255, 63, 164, 0.06);
}

.content-grid,
.card-grid,
.scenario-grid,
.guide-grid,
.footer-columns {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.content-card,
.scenario-card,
.guide-card,
.fact-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.content-card h3,
.scenario-card h3,
.guide-card h2,
.guide-card h3 {
  margin-bottom: 0.55rem;
}

.content-card p,
.scenario-card p,
.guide-card p,
.fact-panel p,
.prose p,
.prose li {
  color: var(--muted);
}

.text-link {
  color: #ff83c2;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 131, 194, 0.4);
  text-underline-offset: 0.2em;
}

.feature-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
}

.feature-table th,
.feature-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.feature-table th {
  color: #fff;
  font-size: 0.86rem;
}

.feature-table td {
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-list {
  display: grid;
  max-width: 54rem;
  margin-inline: auto;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.faq-item summary {
  padding: 1rem 1.2rem;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

.faq-item p {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
}

.prose {
  max-width: 52rem;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
}

.prose h3 {
  margin-top: 1.7rem;
}

.prose a {
  color: #ff83c2;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prose li + li {
  margin-top: 0.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.status-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 750;
}

.footer-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  align-items: start;
  text-align: left;
}

.footer-column h2 {
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}

.footer-column a {
  display: block;
  margin-block: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-column a:hover {
  color: var(--pink);
}

@media (min-width: 42rem) {
  .scenario-grid,
  .guide-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 64rem) {
  .page-hero--split .page-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (max-width: 24rem) {
  .character-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
