/* ==========================================================================
   AI Girlfriend Nudes — design system (mobile-first base)
   Breakpoints and motion preferences live in responsive.css
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Color */
  --bg: #0a0507;
  --bg-raised: #12080c;
  --surface: #1a0c12;
  --surface-2: #261019;
  --line: #3a1a26;
  --line-strong: #5e2a3e;
  --ink: #fdf0f3;
  --ink-soft: #efd5dc;
  --muted: #bf96a4;
  --burgundy: #5a0b24;
  --wine: #a3164a;
  --wine-bright: #d1245f;
  --accent: #ff4f86;
  --accent-soft: #ff9dbb;
  --accent-ink: #ffffff;
  --gold: #e7b77f;
  --glow: rgba(255, 79, 134, .45);
  --glow-soft: rgba(255, 79, 134, .18);

  /* Type */
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.3rem, 1.1rem + .8vw, 1.6rem);
  --step-3: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem);

  /* Space & shape */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 6px;
  --radius-lg: 14px;
  --arch: 999px 999px var(--radius) var(--radius);
  --header-h: 68px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent-soft); }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 40rem; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.small { font-size: var(--step--1); }

/* ---------- Layout ---------- */
.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section-alt { background: var(--bg-raised); border-block: 1px solid var(--line); }
.section-alt + .section, .section + .section-alt { padding-top: var(--section); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.section-head-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head-row .section-head { margin-bottom: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-soft); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn-wine { background: var(--wine); color: var(--ink); }
.btn-wine:hover { background: var(--wine-bright); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent-soft); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover { border-color: currentColor; }
.text-link:hover::after { transform: translateX(3px); }

.prose a, .faq a, .legal a, .footnote a, .site-footer p a { color: var(--accent-soft); text-decoration: underline; text-decoration-color: rgba(255, 79, 134,.45); text-underline-offset: 3px; }
.prose a:hover, .faq a:hover, .legal a:hover, .footnote a:hover, .site-footer p a:hover { text-decoration-color: currentColor; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .6rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(12, 10, 11, .78); color: var(--ink); border: 1px solid rgba(245, 237, 231, .18);
  backdrop-filter: blur(6px);
}
.badge-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.badge-18 { background: var(--wine); color: var(--ink); border-color: transparent; }
.tag {
  display: inline-block; padding: .2rem .6rem; border-radius: 999px;
  font-size: .75rem; color: var(--ink-soft); border: 1px solid var(--line-strong);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 11, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand em { font-style: italic; font-weight: 500; color: var(--accent-soft); }
.brand-mark { width: 30px; height: 30px; flex: none; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; inset: var(--header-h) 0 auto 0;
  display: none; padding: 1rem var(--gutter) 1.5rem;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; display: grid; margin-bottom: 1rem; }
.site-nav li a {
  display: block; padding: .85rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink-soft); font-size: 1.05rem;
}
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--accent-soft); }
.site-nav .btn { width: 100%; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5.5rem) var(--section); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(132, 33, 61, .42), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4rem); }
.hero .lede { margin-bottom: 2rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; list-style: none; color: var(--muted); font-size: var(--step--1); }
.hero-notes li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-notes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.hero-art .frame { position: relative; border-radius: var(--arch); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); aspect-ratio: 9 / 11; background: var(--surface); }
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .frame .badge { position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); }
.hero-card {
  position: absolute; left: -.75rem; bottom: 1.75rem;
  display: grid; gap: .15rem; padding: .9rem 1.1rem;
  background: rgba(19, 16, 18, .92); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  backdrop-filter: blur(8px); box-shadow: var(--shadow); max-width: 15rem;
}
.hero-card strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.hero-card span { font-size: .8rem; color: var(--muted); }
.hero-ring { position: absolute; inset: -14px; border: 1px solid rgba(255, 79, 134,.28); border-radius: var(--arch); pointer-events: none; }

/* ---------- Character cards ---------- */
.character-grid { display: grid; gap: 1.5rem; list-style: none; }
.character-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.character-card:hover { border-color: var(--line-strong); }
.character-card figure { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-2); }
.character-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.character-card:hover figure img { transform: scale(1.03); }
.character-card .badge { position: absolute; top: .9rem; left: .9rem; }
.character-card .exp-label { position: absolute; right: .9rem; bottom: .9rem; }
.character-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.25rem 1.25rem 1.4rem; }
.character-meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.character-body h3 { margin: 0; font-size: 1.5rem; }
.character-body h3 span { font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: .35rem; }
.character-body p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 .5rem; }
.character-body .text-link { margin-top: auto; font-size: .9rem; }

/* ---------- Category cards ---------- */
.category-grid { display: grid; gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.category-card { position: relative; display: grid; gap: .6rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); text-decoration: none; transition: background-color .25s var(--ease); }
.category-card:hover { background: var(--surface); }
.category-card img { width: 44px; height: 44px; margin-bottom: .5rem; }
.category-card h3 { margin: 0; font-size: 1.45rem; }
.category-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.category-card .text-link { margin-top: .6rem; font-size: .9rem; }
.category-card a::before { content: ""; position: absolute; inset: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.5rem; list-style: none; counter-reset: step; }
.step { position: relative; padding: 1.75rem 0 0; border-top: 1px solid var(--line-strong); counter-increment: step; }
.step::before { content: counter(step); display: block; margin-bottom: .75rem; font-family: var(--serif); font-size: 2.6rem; font-style: italic; line-height: 1; color: var(--accent); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; list-style: none; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); min-height: 280px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; padding: 1.4rem; text-decoration: none; background: linear-gradient(180deg, transparent 35%, rgba(12, 10, 11, .92)); }
.tile .tile-label { align-self: flex-start; }
.tile h3 { margin: .35rem 0 0; font-size: 1.45rem; }
.tile p { margin: 0; color: var(--ink-soft); font-size: .9rem; max-width: 26rem; }
.gallery-note { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; gap: 2.5rem; }
.feature-list { display: grid; gap: 0; }
.feature { display: grid; gap: .35rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature dt { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.feature dd { margin: 0; color: var(--muted); }

/* ---------- Partner slots ---------- */
.partner-grid { display: grid; gap: 1.25rem; list-style: none; }
.partner-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.partner-card h3 { margin: 0; font-size: 1.35rem; }
.partner-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.partner-card ul { list-style: none; display: grid; gap: .4rem; font-size: .9rem; color: var(--ink-soft); }
.partner-card li::before { content: "—"; color: var(--accent); margin-right: .5rem; }
.partner-card .btn { margin-top: auto; align-self: flex-start; }
.placeholder-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(255, 79, 134,.4); border-radius: 999px; padding: .2rem .6rem; }
.partner-criteria { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.partner-criteria h3 { font-size: 1.2rem; }
.partner-criteria ul { list-style: none; display: grid; gap: .5rem; color: var(--ink-soft); font-size: .95rem; }
.partner-criteria li { padding-left: 1.5rem; position: relative; }
.partner-criteria li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .35rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- Guide links ---------- */
.guide-list { display: grid; list-style: none; border-top: 1px solid var(--line); }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: grid; gap: .2rem; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; text-decoration: none; transition: color .2s var(--ease); }
.guide-list a::after { content: "→"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); color: var(--accent); transition: transform .2s var(--ease); }
.guide-list a:hover { color: var(--accent-soft); }
.guide-list a:hover::after { transform: translate(4px, -50%); }
.guide-list strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.guide-list span { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-soft); }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 46rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) var(--gutter); border-radius: var(--radius-lg); text-align: center; background: radial-gradient(120% 140% at 50% 0%, var(--wine) 0%, var(--burgundy) 45%, #1a0b10 100%); border: 1px solid rgba(255, 79, 134,.22); }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -60%; width: 520px; height: 520px; transform: translateX(-50%); border: 1px solid rgba(255, 157, 187,.18); border-radius: 50%; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 38rem; margin: 0 auto 2rem; color: var(--ink-soft); }
.cta-band .btn-row { justify-content: center; }
.cta-band .footnote { margin: 1.5rem auto 0; font-size: .8rem; color: var(--ink-soft); opacity: .85; }

/* ---------- Landing page hero ---------- */
.page-hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
.page-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); max-width: 16ch; }
.page-hero .lede { margin-bottom: 1.75rem; }
.page-hero-art { position: relative; justify-self: center; width: min(100%, 400px); }
.page-hero-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arch); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.page-hero-art .badge { position: absolute; top: 1.25rem; left: 50%; transform: translateX(-50%); }
.page-hero-art figcaption { margin-top: .85rem; font-size: .8rem; color: var(--muted); text-align: center; }
.page-hero-art.wide { width: min(100%, 540px); }
.page-hero-art.wide img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.page-hero-art { margin: 0; }

/* ---------- At a glance ---------- */
.glance-row { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.glance { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.glance div { padding: 1.25rem 1.4rem; background: var(--bg-raised); }
.glance dt { margin-bottom: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.glance dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Article layout ---------- */
.article-grid { display: grid; gap: 3rem; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 3rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; font-size: 1.35rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1.25rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.aside-card { position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.aside-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.aside-card ul { list-style: none; display: grid; gap: .1rem; }
.aside-card li a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.aside-card li:last-child a { border-bottom: 0; }
.aside-card li a:hover { color: var(--accent-soft); }

.callout { margin: 2rem 0; padding: 1.25rem 1.4rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p { margin: 0; color: var(--ink-soft); }
.callout strong { color: var(--accent-soft); }

/* Comparison table */
.table-wrap { margin: 1.75rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; }
.table-wrap caption { padding: 1rem 1.25rem; text-align: left; font-size: .8rem; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--line); }
.table-wrap th, .table-wrap td { padding: .9rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--surface-2); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.table-wrap tbody th { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.table-wrap td { color: var(--ink-soft); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }

/* Checklist */
.checklist { list-style: none !important; padding: 0 !important; display: grid; gap: .9rem !important; }
.checklist li { position: relative; padding: 1rem 1.1rem 1rem 3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.checklist li::before { content: ""; position: absolute; left: 1.15rem; top: 1.45rem; width: .75rem; height: .4rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.checklist strong { display: block; margin-bottom: .15rem; }

/* Example conversation */
.example-chat { margin: 1.75rem 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-raised); display: grid; gap: .75rem; }
.example-chat .example-label { justify-self: start; }
.bubble { max-width: 85%; padding: .8rem 1rem; border-radius: 16px; font-size: .95rem; line-height: 1.5; }
.bubble-user { justify-self: end; background: var(--wine); color: var(--ink); border-bottom-right-radius: 4px; }
.bubble-char { justify-self: start; background: var(--surface-2); color: var(--ink-soft); border-bottom-left-radius: 4px; }
.bubble small { display: block; margin-bottom: .2rem; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* Prompt examples */
.prompt-list { list-style: none !important; padding: 0 !important; display: grid; gap: 1rem !important; }
.prompt-list li { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.prompt-list .prompt-label { display: block; margin-bottom: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.prompt-list code { display: block; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88rem; line-height: 1.55; color: var(--ink); white-space: pre-wrap; }

/* Style strip (mini gallery inside guides) */
.style-strip { display: grid; gap: 1rem; list-style: none !important; padding: 0 !important; margin: 1.75rem 0; }
.style-strip li { display: grid; gap: .5rem; }
.style-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.style-strip strong { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.style-strip span { font-size: .88rem; color: var(--muted); }

/* Related categories */
.related-grid { display: grid; gap: 1rem; list-style: none; }
.related-card { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.related-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.related-card img { width: 72px; height: 88px; object-fit: cover; border-radius: var(--radius); }
.related-card strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.related-card > span > span { display: block; font-size: .88rem; color: var(--muted); }

/* ---------- Legal & info pages ---------- */
.legal { padding-block: clamp(1.5rem, 4vw, 3rem) var(--section); }
.legal h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); }
.legal .updated { color: var(--muted); font-size: var(--step--1); margin-bottom: 2.5rem; }
.legal h2 { margin-top: 2.75rem; font-size: 1.6rem; }
.legal h3 { margin-top: 1.75rem; font-size: 1.2rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.25rem; display: grid; gap: .45rem; margin-bottom: 1.25rem; }
.legal li::marker { color: var(--accent); }
.legal .btn-row { margin-top: 2.5rem; }
.placeholder { padding: .1rem .4rem; border-radius: 4px; background: rgba(255, 79, 134,.14); color: var(--accent-soft); font-family: ui-monospace, Consolas, monospace; font-size: .88em; }

.contact-grid { display: grid; gap: 1.25rem; list-style: none; margin: 2rem 0; }
.contact-grid li { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.contact-grid h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.contact-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; padding-top: clamp(3.5rem, 7vw, 5rem); background: var(--bg-raised); border-top: 1px solid var(--line); font-size: .93rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { color: var(--muted); max-width: 26rem; margin-top: 1rem; }
.footer-age { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.25rem; color: var(--ink-soft) !important; }
.site-footer h2 { margin-bottom: 1rem; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.site-footer nav ul { list-style: none; display: grid; gap: .6rem; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent-soft); }
.footer-base { display: grid; gap: .5rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-base p { margin: 0; }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--gutter); background: rgba(8, 6, 7, .9); backdrop-filter: blur(14px); }
.age-gate-panel { width: min(100%, 30rem); padding: clamp(1.75rem, 5vw, 2.75rem); text-align: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.age-gate-panel .brand-mark { width: 48px; height: 48px; margin: 0 auto 1.25rem; }
.age-gate-panel h2 { font-size: 1.75rem; }
.age-gate-panel p { color: var(--ink-soft); font-size: .95rem; }
.age-gate-panel .btn-row { justify-content: center; margin-top: 1.5rem; }
.age-gate-panel .small { margin-top: 1.25rem; margin-bottom: 0; color: var(--muted); }
.age-gate-panel .small a { color: var(--accent-soft); }
body.gate-open { overflow: hidden; }

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(4rem, 10vw, 8rem); text-align: center; }
.not-found .code { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--accent); opacity: .8; }
.not-found .lede { margin-inline: auto; }
.legal code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; color: var(--accent-soft); }
.not-found .btn-row { justify-content: center; margin: 2rem 0 3rem; }
.not-found .guide-list { text-align: left; max-width: 40rem; margin-inline: auto; }

/* ==========================================================================
   Product components
   ========================================================================== */

/* ---------- Split layout ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .section-head { margin-bottom: 1.75rem; }
.bullet-list { list-style: none; display: grid; gap: .85rem; margin: 0 0 2rem; }
.bullet-list li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .75rem; height: .4rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.bullet-list strong { color: var(--ink); }

/* ---------- Chips & filters ---------- */
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 42px; padding: .45rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
  color: var(--ink-soft); font-size: .9rem; line-height: 1.3; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"], .chip-input:checked + .chip { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip-input:focus-visible + .chip { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip-message { justify-content: flex-start; text-align: left; border-radius: 16px; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-bottom: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-raised); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.filter-label { margin-right: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filter-count { margin-left: auto; font-size: .9rem; color: var(--muted); }
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.empty-state p { margin-bottom: 1rem; }

.character-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.opener { margin: .25rem 0 .25rem; padding: .65rem .9rem; border-left: 2px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--bg-raised); color: var(--ink); font-family: var(--serif); font-size: 1rem; font-style: italic; line-height: 1.4; }
.steps + .btn-row, .section-cta { margin-top: 2.5rem; }
.character-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Tool panels (creator, image studio, video studio) ---------- */
.tool { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tool-preview { position: relative; margin: 0; align-self: start; }
.tool-preview img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--bg); }
.tool-preview .badge { position: absolute; top: 1rem; left: 1rem; }
.tool-preview figure { position: relative; margin: 0; }
.tool-preview .tool-summary { margin-top: 1rem; }
.section-flush { padding-top: 0 !important; }
.tool-preview figcaption { margin-top: .75rem; font-size: .85rem; color: var(--muted); }
.tool-options { display: grid; gap: 1.5rem; align-content: start; }
.option-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.option-group legend, .field-label { display: block; margin-bottom: .65rem; padding: 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.option-group legend small, .field-label small { margin-left: .4rem; font-family: var(--sans); font-size: .78rem; font-weight: 400; color: var(--muted); }
.option-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.text-input {
  width: 100%; min-height: 48px; padding: .7rem 1rem;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit;
}
.text-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row input[type="range"] { flex: 1; accent-color: var(--accent); min-height: 44px; }
.range-row output { min-width: 2.5ch; font-family: var(--serif); font-size: 1.4rem; color: var(--accent-soft); }
.tool-summary { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--bg-raised); border: 1px solid var(--line); font-size: .9rem; }
.tool-summary dt { color: var(--muted); }
.tool-summary dd { margin: 0; color: var(--ink); }
.greeting-preview { margin: 0; padding: .9rem 1.1rem; border-radius: 16px 16px 16px 4px; background: var(--surface-2); color: var(--ink-soft); font-size: .95rem; }
.greeting-preview small { display: block; margin-bottom: .2rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.prompt-box { margin: 0; padding: 1rem 1.1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .85rem; line-height: 1.6; color: var(--ink-soft); }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.tool-status { min-height: 1.5em; margin: 0; font-size: .9rem; color: var(--accent-soft); }

/* ---------- Chat window ---------- */
.chat-window { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--bg-raised); box-shadow: var(--shadow); }
.chat-head { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; padding: 1rem 1.25rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.chat-head img { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; object-position: 40% 35%; border: 1px solid var(--line-strong); }
.chat-who { display: grid; flex: 1; min-width: 8rem; }
.chat-who strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.chat-who span { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.chat-who span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fcf8f; }
.chat-select select { min-height: 42px; padding: .4rem 2rem .4rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d6a874' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .8rem center / 10px; color: var(--ink); font: inherit; font-size: .9rem; appearance: none; cursor: pointer; }
.chat-log { display: flex; flex-direction: column; gap: .75rem; min-height: 300px; max-height: 420px; padding: 1.25rem; overflow-y: auto; }
.chat-log .bubble { margin: 0; }
.bubble-scene { align-self: center; max-width: 92%; padding: .6rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--muted); font-size: .88rem; font-style: italic; text-align: center; }
.bubble-scene small { font-style: normal; }
.typing { display: inline-flex; gap: .3rem; align-items: center; width: auto; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.chat-suggest:empty { display: none; }
.chat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1.25rem; border-top: 1px solid var(--line); background: var(--surface); }
.chat-foot p { margin: 0; font-size: .85rem; color: var(--muted); }
.chat-done { margin: 0 1.25rem 1rem; padding: .85rem 1rem; border-radius: var(--radius); background: rgba(255, 79, 134,.1); color: var(--accent-soft); font-size: .9rem; }

/* ---------- Video stage ---------- */
.video-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: #050405; box-shadow: var(--shadow); }
.video-stage img, .video-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.video-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 4, 5, .55), transparent 22%, transparent 65%, rgba(5, 4, 5, .9)); pointer-events: none; }
.video-ui { position: absolute; left: 0; right: 0; bottom: 2.5rem; z-index: 1; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem; padding: .25rem clamp(1rem, 3vw, 1.75rem); pointer-events: none; }
.video-ui strong { display: block; font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 600; }
.video-ui span { font-size: .85rem; color: var(--ink-soft); }
.video-top { position: absolute; top: clamp(1rem, 3vw, 1.5rem); left: clamp(1rem, 3vw, 1.5rem); right: clamp(1rem, 3vw, 1.5rem); z-index: 1; display: flex; justify-content: space-between; gap: .5rem; }
.rec-dot { display: inline-flex; align-items: center; gap: .4rem; }
.rec-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e2475f; }
.video-thumbs { display: grid; gap: 1rem; list-style: none; margin-top: 1.25rem; }
.video-thumbs li { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.video-thumbs img, .video-thumbs video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.video-thumbs li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 4, 10, .85)); pointer-events: none; }
.video-thumbs span { z-index: 1; }
.video-thumbs span { position: absolute; left: .9rem; bottom: 2.5rem; right: .9rem; font-size: .88rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); pointer-events: none; }
#video video:not([controls]) ~ .video-ui { bottom: 0; padding: clamp(1rem, 3vw, 1.75rem); }
#video .video-thumbs video:not([controls]) + span { bottom: .8rem; }

/* ---------- Realistic vs anime ---------- */
.compare { display: grid; gap: 1.5rem; list-style: none; }
.compare-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.compare-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.compare-body { display: flex; flex-direction: column; gap: .75rem; flex: 1; padding: clamp(1.25rem, 3vw, 2rem); }
.compare-body h3 { margin: 0; font-size: 1.75rem; }
.compare-body p { margin: 0; color: var(--ink-soft); }
.compare-body .bullet-list { margin: .25rem 0 .5rem; font-size: .95rem; }
.compare-body .btn { margin-top: auto; align-self: flex-start; }
.compare-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }

/* ---------- Privacy pillars ---------- */
.pillars { display: grid; gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillars li { display: grid; gap: .5rem; align-content: start; padding: clamp(1.5rem, 3vw, 2rem); background: var(--bg); }
.pillars img { width: 40px; height: 40px; margin-bottom: .5rem; }
.pillars h3 { margin: 0; font-size: 1.3rem; }
.pillars p { margin: 0; color: var(--muted); font-size: .95rem; }
.pillars-stack { grid-template-columns: 1fr !important; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.25rem; list-style: none; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.plan-featured { border-color: var(--accent); background: linear-gradient(180deg, #2b1a1e, var(--surface) 60%); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.plan h3 { margin: 0; font-size: 1.6rem; }
.plan > p { margin: 0; color: var(--muted); font-size: .95rem; }
.plan .price { margin: 0; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--ink); }
.plan .price small { margin-left: .25rem; font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan .bullet-list { margin: 0; font-size: .95rem; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 1.5rem; text-align: center; font-size: .85rem; color: var(--muted); }

/* ---------- Scene cards (roleplay) ---------- */
.scene-grid { display: grid; gap: 1.25rem; list-style: none; }
.scene-card { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; align-items: start; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.scene-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.scene-card img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius); }
.scene-card h3 { margin: .2rem 0 .35rem; font-size: 1.25rem; }
.scene-card p { margin: 0 0 .6rem; color: var(--muted); font-size: .92rem; }
.scene-card .text-link { font-size: .9rem; }
.scene-card .text-link::before { content: ""; position: absolute; inset: 0; }
.scene-meta { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---------- Showcase strip (generator results) ---------- */
.showcase { display: grid; gap: 1rem; list-style: none; grid-template-columns: repeat(2, 1fr); }
.showcase li { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.showcase img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.showcase span:not(.badge) { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; font-size: .8rem; color: var(--ink); text-shadow: 0 1px 8px rgba(0, 0, 0, .85); }
.showcase .badge { position: absolute; top: .75rem; left: .75rem; white-space: nowrap; }
.split .showcase { grid-template-columns: repeat(2, 1fr) !important; }

/* ==========================================================================
   Seductive theme layer — ambient glow, rose accents, warm depth
   ========================================================================== */
body {
  background:
    radial-gradient(1100px 700px at 88% -8%, rgba(209, 36, 95, .22), transparent 62%),
    radial-gradient(900px 600px at -12% 38%, rgba(120, 12, 52, .22), transparent 60%),
    var(--bg);
}
::selection { background: var(--wine-bright); color: #fff; }
:focus-visible { outline-color: var(--accent); }

/* Headline emphasis: rose-to-blush gradient */
h1 em, h2 em {
  background: linear-gradient(100deg, #ffb3c9 0%, var(--accent) 55%, #ff7aa2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { color: var(--accent-soft); }
.brand em { color: var(--accent-soft); }

/* Buttons: hot rose with soft glow */
.btn-primary {
  background: linear-gradient(135deg, #e3175a 0%, #ff4f86 55%, #ff7aa2 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { background: linear-gradient(135deg, #f0226a 0%, #ff6696 55%, #ff8fb1 100%); color: #fff; box-shadow: 0 14px 36px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .22); transform: translateY(-1px); }
.btn-secondary { border-color: rgba(255, 157, 187, .35); }
.btn-secondary:hover { border-color: var(--accent); color: #fff; background: var(--glow-soft); }
.text-link { color: var(--accent-soft); }

/* Header: smoky glass with a rose hairline */
.site-header { background: rgba(10, 5, 7, .82); border-bottom-color: rgba(255, 79, 134, .14); }

/* Sections: faint wine wash instead of flat grey */
.section-alt { background: linear-gradient(180deg, rgba(38, 10, 22, .65), rgba(18, 8, 12, .9)); border-color: rgba(255, 79, 134, .1); }
.hero::before { background: radial-gradient(closest-side, rgba(209, 36, 95, .5), transparent 70%); }
.hero-ring { border-color: rgba(255, 79, 134, .35); box-shadow: 0 0 60px -10px var(--glow-soft); }
.hero-art .frame { box-shadow: 0 30px 80px -30px rgba(209, 36, 95, .55); }

/* Cards: warm glow on hover */
.character-card, .compare-card, .plan, .scene-card, .related-card, .tile, .tool, .chat-window {
  background-image: linear-gradient(180deg, rgba(255, 79, 134, .035), transparent 40%);
}
.character-card:hover, .compare-card:hover, .scene-card:hover, .related-card:hover, .tile:hover {
  border-color: rgba(255, 79, 134, .45);
  box-shadow: 0 0 0 1px rgba(255, 79, 134, .15), 0 24px 60px -24px var(--glow);
}
.character-card figure::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(26, 12, 18, .85)); pointer-events: none;
}
.character-card figure .badge { z-index: 1; }
.tile a { background: linear-gradient(180deg, transparent 30%, rgba(40, 6, 20, .92)); }

/* Chips & tags */
.chip[aria-pressed="true"], .chip-input:checked + .chip {
  background: linear-gradient(135deg, #e3175a, #ff4f86); border-color: transparent; color: #fff;
  box-shadow: 0 6px 18px -8px var(--glow);
}
.chip:hover { border-color: var(--accent); }
.tag { border-color: rgba(255, 157, 187, .28); color: var(--accent-soft); }
.badge-accent { background: linear-gradient(135deg, #e3175a, #ff4f86); color: #fff; }

/* Chat */
.bubble-user { background: linear-gradient(135deg, #b0124a, #e3175a); }
.bubble-char { background: #2a121d; }
.chat-who span::before { background: #ff6b9a; box-shadow: 0 0 8px #ff6b9a; }

/* Steps, prices, pricing highlight */
.step::before { color: var(--accent); text-shadow: 0 0 24px var(--glow); }
.plan-featured { border-color: rgba(255, 79, 134, .7); background: linear-gradient(180deg, #34101f, var(--surface) 65%); box-shadow: 0 30px 80px -30px var(--glow); }

/* Final CTA band: deep crimson bloom */
.cta-band {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(255, 79, 134, .45) 0%, transparent 60%),
    linear-gradient(180deg, #5a0b24 0%, #2a0612 100%);
  border-color: rgba(255, 79, 134, .3);
  box-shadow: 0 40px 100px -40px var(--glow);
}

/* Footer & age gate */
.site-footer { background: linear-gradient(180deg, #12080c, #0a0507); border-top-color: rgba(255, 79, 134, .14); }
.badge-18 { background: linear-gradient(135deg, #b0124a, #e3175a); }
.age-gate { background: radial-gradient(800px 500px at 50% 40%, rgba(70, 8, 30, .96), rgba(6, 3, 4, .985)); }
.age-gate-panel { border-color: rgba(255, 79, 134, .35); box-shadow: 0 40px 120px -40px var(--glow); }

/* ---------- Billing switch & price notes ---------- */
.billing-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 2rem; }
.plan .price-note { margin: -.4rem 0 0; font-size: .82rem; color: var(--muted); min-height: 2.6em; }
.plan .price span[hidden], .plan .price-note span[hidden] { display: none !important; }
.plans-note { margin-top: 1.5rem; text-align: center; font-size: .85rem; color: var(--muted); }
.table-wrap + .table-wrap { margin-top: 1.5rem; }
.log-in { font-size: .93rem; color: var(--ink-soft); text-decoration: none; padding: .4rem 0; }
.log-in:hover { color: var(--accent-soft); }
