/* ==========================================================================
   AI Dirty Talk — shared visual system
   Original static site. No frameworks or build tools.
   ========================================================================== */

:root {
  --bg: #100d18;
  --bg-deep: #0b0910;
  --bg-soft: #191323;
  --surface: #21192d;
  --card: #2a2037;
  --card-light: #352744;
  --magenta: #d946a6;
  --magenta-dark: #b62e87;
  --purple: #9b6dff;
  --rose: #f1a1c5;
  --rose-soft: #f7c7dc;
  --text: #f7eaf3;
  --muted: rgba(247, 234, 243, 0.68);
  --muted-strong: rgba(247, 234, 243, 0.82);
  --line: rgba(247, 234, 243, 0.12);
  --line-strong: rgba(247, 234, 243, 0.2);
  --gradient: linear-gradient(120deg, var(--magenta) 0%, #c25ed1 48%, var(--purple) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(217, 70, 166, 0.18), rgba(155, 109, 255, 0.12));
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --container: 1200px;
  --container-narrow: 900px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 26px 70px rgba(4, 2, 9, 0.42);
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --header-height: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1000px 760px at 84% -10%, rgba(217, 70, 166, 0.14), transparent 63%),
    radial-gradient(820px 700px at 8% 14%, rgba(155, 109, 255, 0.09), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection { background: var(--magenta); color: #fff; }

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

a {
  color: var(--rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

a:hover { color: var(--text); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

ul, ol { margin: 0 0 1.3em; padding-left: 1.25em; }
li { margin-bottom: 0.5em; padding-left: 0.2em; }
li::marker { color: var(--rose); }
strong { color: var(--text); font-weight: 700; }
em { font-style: italic; }

button, input, select, textarea { font: inherit; }

button { color: inherit; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

:target { scroll-margin-top: calc(var(--header-height) + 24px); }

[hidden] { display: none !important; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1320px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 10000;
  padding: 0.8rem 1.2rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: none; color: var(--bg); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Shared type & utilities ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--rose);
  opacity: 0.8;
}

.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 24px; height: 1px;
  background: var(--rose);
  opacity: 0.8;
}

.display-accent {
  display: inline;
  font-style: italic;
  background: linear-gradient(100deg, var(--rose), var(--magenta) 52%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--muted-strong);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

.section {
  position: relative;
  padding: clamp(72px, 9vw, 126px) 0;
  overflow-x: clip;
}

.section--tight { padding: clamp(52px, 6vw, 82px) 0; }
.section--surface { background: linear-gradient(180deg, rgba(33, 25, 45, 0.5), rgba(16, 13, 24, 0)); }
.section--deep { background: rgba(10, 8, 14, 0.48); border-block: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.7rem);
}

.section-head__copy { max-width: 720px; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { max-width: 660px; color: var(--muted); }

.section-head--center {
  display: block;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 24px; height: 1px;
  background: var(--rose);
  opacity: 0.8;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.split-heading p { color: var(--muted); margin: 0; }

.accent-line {
  width: 74px;
  height: 2px;
  margin: 1.6rem 0;
  border: 0;
  background: var(--gradient);
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.84rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 8px 26px rgba(217, 70, 166, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(217, 70, 166, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn:active { transform: translateY(0); }

.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }

.btn--lg { min-height: 58px; padding-inline: 1.8rem; font-size: 0.98rem; }
.btn--sm { min-height: 42px; padding: 0.65rem 1.15rem; font-size: 0.82rem; }

.btn--secondary {
  background: rgba(247, 234, 243, 0.055);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover {
  background: rgba(247, 234, 243, 0.1);
  border-color: rgba(241, 161, 197, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.btn--ghost {
  min-height: 44px;
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--muted-strong);
  box-shadow: none;
  border-color: transparent;
}
.btn--ghost:hover { background: rgba(247, 234, 243, 0.06); color: var(--text); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--rose);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.text-link svg { width: 15px; height: 15px; transition: transform 180ms ease; }
.text-link:hover svg { transform: translateX(4px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 13, 24, 0.35);
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--rose { border-color: rgba(241, 161, 197, 0.3); background: rgba(241, 161, 197, 0.09); color: var(--rose); }
.pill--solid { background: var(--magenta); border-color: var(--magenta); color: #fff; }

.dot {
  width: 6px; height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #70dcae;
  box-shadow: 0 0 0 3px rgba(112, 220, 174, 0.15);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid transparent;
  background: rgba(16, 13, 24, 0.64);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(16, 13, 24, 0.9);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 40px, 1320px);
  min-height: var(--header-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--gradient);
  box-shadow: 0 8px 20px rgba(217, 70, 166, 0.24);
  overflow: hidden;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-mark svg { width: 23px; height: 23px; position: relative; z-index: 1; }

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.13rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.brand-text span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.16rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list li { margin: 0; padding: 0; }
.nav-list a {
  display: block;
  padding: 0.58rem 0.64rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}
.nav-list a:hover { background: rgba(247, 234, 243, 0.055); color: var(--text); }
.nav-list a[aria-current="page"] { color: var(--rose); }
.nav-list a[aria-current="page"]::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  margin: 0.34rem auto 0;
  background: var(--rose);
}

.header-cta { flex: 0 0 auto; margin-left: 0.35rem; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(247, 234, 243, 0.04);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}
.menu-toggle span::before { top: -6px; left: 0; }
.menu-toggle span::after { top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(13, 10, 19, 0.98);
  backdrop-filter: blur(22px);
}
.mobile-panel[data-open="true"] { display: block; }
.mobile-panel__inner {
  display: grid;
  gap: 1.3rem;
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
  padding: 1.4rem 0 1.8rem;
}
.mobile-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.mobile-nav li { margin: 0; padding: 0; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav a:hover { background: rgba(247, 234, 243, 0.05); border-color: var(--line); color: var(--text); }
.mobile-panel .btn { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5.8rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10%; right: -14%;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 70, 166, 0.19), rgba(155, 109, 255, 0.06) 44%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -260px; bottom: 4%;
  width: 620px; height: 620px;
  border: 1px solid rgba(241, 161, 197, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 4; max-width: 650px; }
.hero h1 { margin-bottom: 1.35rem; }
.hero h1 .line { display: block; }
.hero h1 .italic { font-style: italic; color: var(--rose-soft); }
.hero-lead { max-width: 545px; margin-bottom: 1.9rem; }
.hero-ctas { margin-bottom: 1.75rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.77rem;
}
.hero-meta svg { width: 15px; height: 15px; color: var(--rose); flex: 0 0 auto; }

.hero-stage {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 2% -8% 6% 6%;
  z-index: -1;
  border-radius: 44% 44% 30% 30%;
  background: radial-gradient(ellipse at 50% 35%, rgba(217, 70, 166, 0.2), transparent 65%);
  filter: blur(6px);
}
.hero-frame {
  position: relative;
  width: min(100%, 440px);
  margin-left: auto;
  margin-right: 4%;
  border: 1px solid rgba(247, 234, 243, 0.16);
  border-radius: 220px 220px 28px 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 7, 15, 0.35) 78%, rgba(10, 7, 15, 0.8) 100%);
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  height: clamp(520px, 47vw, 630px);
  object-fit: cover;
  object-position: 50% 27%;
}
.hero-frame__label {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero-frame__name strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-frame__name span { color: var(--muted); font-size: 0.72rem; }
.online-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(247, 234, 243, 0.15);
  border-radius: 999px;
  background: rgba(16, 13, 24, 0.55);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-float {
  position: absolute;
  z-index: 3;
  width: min(254px, 58%);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(29, 22, 40, 0.84);
  box-shadow: 0 18px 50px rgba(5, 3, 9, 0.44);
  backdrop-filter: blur(18px);
  animation: float 8s ease-in-out infinite;
}
.hero-float--chat { left: -3%; bottom: 11%; padding: 0.95rem; }
.hero-float--preview { right: -2%; top: 12%; width: 210px; padding: 1rem; animation-delay: -3s; }
.hero-float__head {
  display: flex; align-items: center; gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.hero-float__head img,
.hero-float__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.hero-float__head strong { display: block; font-size: 0.78rem; line-height: 1.2; }
.hero-float__head span { display: block; color: var(--muted); font-size: 0.62rem; }
.hero-float__tag {
  margin-left: auto;
  color: var(--rose);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-bubble {
  max-width: 94%;
  padding: 0.65rem 0.8rem;
  border-radius: 13px 13px 13px 4px;
  background: var(--card);
  color: var(--muted-strong);
  font-size: 0.75rem;
  line-height: 1.5;
}
.hero-bubble + .hero-bubble { margin-top: 0.45rem; margin-left: auto; border-radius: 13px 13px 4px 13px; background: rgba(217, 70, 166, 0.24); }
.hero-typing { display: inline-flex; gap: 3px; padding: 0.6rem 0.75rem; }
.hero-typing i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--rose);
  animation: blink 1.3s infinite;
}
.hero-typing i:nth-child(2) { animation-delay: 0.18s; }
.hero-typing i:nth-child(3) { animation-delay: 0.36s; }

.hero-float--preview .eyebrow { margin-bottom: 0.45rem; font-size: 0.55rem; letter-spacing: 0.12em; }
.hero-float--preview strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
}
.style-mini-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.style-mini-tags span {
  padding: 0.25rem 0.45rem;
  border-radius: 99px;
  background: rgba(241, 161, 197, 0.1);
  color: var(--rose);
  font-size: 0.57rem;
  font-weight: 600;
}
.hero-float--preview::before {
  content: "";
  position: absolute;
  left: 1rem; top: -6px;
  width: 10px; height: 10px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: rgba(29, 22, 40, 0.95);
  transform: rotate(45deg);
}
.hero-frame-wrap { position: relative; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(247, 234, 243, 0.018);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 72px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 36px;
  padding: 0.25rem 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}
.trust-strip__item:first-child { border-left: 0; }
.trust-strip__item svg { width: 17px; height: 17px; color: var(--rose); flex: 0 0 auto; }

/* ---------- Character grid ---------- */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scrollbar-width: thin;
  scrollbar-color: var(--card-light) transparent;
}
.filter-btn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.filter-btn:hover { border-color: rgba(241, 161, 197, 0.4); color: var(--text); }
.filter-btn[aria-pressed="true"] {
  background: rgba(241, 161, 197, 0.12);
  border-color: rgba(241, 161, 197, 0.46);
  color: var(--rose);
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.character-card {
  position: relative;
  min-height: 425px;
  border: 1px solid rgba(247, 234, 243, 0.1);
  border-radius: 25px;
  background: var(--card);
  overflow: hidden;
  isolation: isolate;
  transition: transform 350ms var(--ease), border-color 300ms ease, box-shadow 300ms ease;
}
.character-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 7, 15, 0.04) 24%, rgba(10, 7, 15, 0.24) 50%, rgba(10, 7, 15, 0.94) 100%);
  pointer-events: none;
}
.character-card:hover {
  transform: translateY(-5px);
  border-color: rgba(241, 161, 197, 0.3);
  box-shadow: 0 24px 52px rgba(4, 2, 8, 0.32);
}
.character-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms var(--ease);
}
.character-card:hover img { transform: scale(1.035); }
.character-card:nth-child(1) { min-height: 520px; }
.character-card:nth-child(2) { min-height: 460px; margin-top: 34px; }
.character-card:nth-child(3) { min-height: 490px; }
.character-card:nth-child(4) { grid-column: span 2; min-height: 350px; }
.character-card:nth-child(4) img {
  left: auto;
  right: 0;
  width: 46%;
  object-position: center 32%;
}
.character-card:nth-child(4)::after {
  background: linear-gradient(90deg, rgba(10, 7, 15, 0.98) 0%, rgba(10, 7, 15, 0.94) 36%, rgba(10, 7, 15, 0.62) 52%, rgba(10, 7, 15, 0.04) 100%);
}
.character-card:nth-child(4) .character-card__content { right: 42%; padding-right: 0; }
.character-card:nth-child(5) { min-height: 350px; }
.character-card:nth-child(6) { min-height: 430px; }
.character-card:nth-child(7) { min-height: 470px; margin-top: 26px; }
.character-card:nth-child(8) { min-height: 400px; }

.character-card__top {
  position: absolute;
  z-index: 2;
  top: 1rem; left: 1rem; right: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.character-card__content {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 1.35rem;
}
.character-card__name {
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.character-card__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: var(--rose);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.character-card__meta .dot { width: 4px; height: 4px; background: var(--rose); box-shadow: none; }
.character-card__desc {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.character-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(247, 234, 243, 0.12);
  color: var(--muted);
  font-size: 0.68rem;
}
.character-card__foot span:first-child { color: var(--muted-strong); }
.character-card__foot a { color: var(--rose); font-weight: 700; text-decoration: none; }
.character-card__foot a:hover { color: var(--text); }

.character-grid.is-filtered .character-card {
  min-height: 430px !important;
  margin-top: 0 !important;
  grid-column: auto !important;
}

.character-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 760px;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}
.character-note svg { width: 16px; height: 16px; margin-top: 0.2rem; flex: 0 0 auto; color: var(--rose); }

/* ---------- Chat demo ---------- */

.demo-section {
  position: relative;
  overflow: clip;
}
.demo-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10%; right: -260px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 109, 255, 0.12), transparent 66%);
  pointer-events: none;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.demo-copy h2 { margin-bottom: 1.1rem; }
.demo-copy p { color: var(--muted); }
.demo-copy .mini-list {
  display: grid;
  gap: 0.72rem;
  margin: 1.6rem 0 1.9rem;
  padding: 0;
  list-style: none;
}
.demo-copy .mini-list li {
  display: flex;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
}
.mini-list__num {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  border: 1px solid rgba(241, 161, 197, 0.3);
  border-radius: 50%;
  color: var(--rose);
  font-size: 0.62rem;
  font-weight: 700;
}

.chat-window {
  position: relative;
  width: 100%;
  max-width: 590px;
  margin-left: auto;
  border: 1px solid rgba(247, 234, 243, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(53, 39, 68, 0.72), rgba(20, 15, 28, 0.94));
  box-shadow: 0 30px 80px rgba(3, 2, 7, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.chat-window--glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(217, 70, 166, 0.4), transparent 42%, rgba(155, 109, 255, 0.3));
  filter: blur(16px);
  opacity: 0.5;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 13, 24, 0.34);
}
.chat-head__avatar {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(241, 161, 197, 0.3);
}
.chat-head__id { min-width: 0; }
.chat-head__id strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
}
.chat-head__id span { display: flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.67rem; }
.chat-head__id .dot { width: 5px; height: 5px; }
.chat-head__badges { display: flex; gap: 0.35rem; margin-left: auto; align-items: center; }
.chat-head__style {
  padding: 0.28rem 0.55rem;
  border-radius: 99px;
  background: rgba(241, 161, 197, 0.1);
  color: var(--rose);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.chat-head__badges .pill { padding: 0.25rem 0.5rem; font-size: 0.57rem; letter-spacing: 0.06em; }

.chat-body {
  position: relative;
  min-height: 360px;
  padding: 1.2rem 1.15rem 0.9rem;
  background-image: radial-gradient(circle at 50% 0%, rgba(217, 70, 166, 0.08), transparent 50%);
}
.chat-date {
  width: max-content;
  margin: 0 auto 1.1rem;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chat-message {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  max-width: 88%;
  margin-bottom: 0.85rem;
}
.chat-message__avatar {
  width: 23px; height: 23px;
  margin-bottom: 0.1rem;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.chat-message__bubble {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(247, 234, 243, 0.07);
  border-radius: 16px 16px 16px 5px;
  background: rgba(42, 32, 55, 0.9);
  color: var(--muted-strong);
  font-size: 0.83rem;
  line-height: 1.55;
}
.chat-message__meta {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.56rem;
  opacity: 0.7;
}
.chat-message--you { margin-left: auto; flex-direction: row-reverse; }
.chat-message--you .chat-message__bubble {
  border-color: rgba(217, 70, 166, 0.3);
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, rgba(217, 70, 166, 0.82), rgba(155, 109, 255, 0.7));
  color: #fff;
}
.chat-message--you .chat-message__meta { text-align: right; color: rgba(255, 255, 255, 0.65); }
.chat-message--you .chat-message__avatar { display: none; }

.typing-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  margin: 0.15rem 0 0 1.8rem;
  padding: 0.55rem 0.8rem;
  border-radius: 14px 14px 14px 4px;
  background: rgba(42, 32, 55, 0.62);
}
.typing-row i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--rose);
  animation: blink 1.4s infinite;
}
.typing-row i:nth-child(2) { animation-delay: 0.18s; }
.typing-row i:nth-child(3) { animation-delay: 0.36s; }
.typing-row span { margin-left: 0.2rem; color: var(--muted); font-size: 0.58rem; }

.chat-input {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 1rem 1rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 13, 24, 0.56);
}
.chat-input span { color: var(--muted); font-size: 0.75rem; }
.chat-input__send {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  cursor: default;
}
.chat-input__send svg { width: 15px; height: 15px; }
.chat-demo-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.68rem;
}
.chat-demo-note span:last-child { color: var(--rose); white-space: nowrap; font-weight: 600; }

/* ---------- Style selector ---------- */

.style-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.style-tabs {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.style-tab {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(247, 234, 243, 0.018);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.style-tab:hover { background: rgba(247, 234, 243, 0.04); border-color: var(--line-strong); color: var(--text); }
.style-tab[aria-selected="true"] {
  border-color: rgba(241, 161, 197, 0.44);
  background: linear-gradient(120deg, rgba(217, 70, 166, 0.16), rgba(155, 109, 255, 0.07));
  color: var(--text);
}
.style-tab__num {
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
}
.style-tab__name { flex: 1; font-family: var(--font-display); font-size: 1.19rem; letter-spacing: -0.015em; }
.style-tab__arrow { width: 14px; height: 14px; opacity: 0.55; transition: transform 180ms ease; }
.style-tab[aria-selected="true"] .style-tab__arrow { transform: translateX(3px); opacity: 1; }
.style-tab:focus-visible { outline-offset: 2px; }

.style-panel {
  position: relative;
  min-height: 390px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 380px at 84% 12%, rgba(217, 70, 166, 0.14), transparent 65%),
    linear-gradient(145deg, rgba(42, 32, 55, 0.84), rgba(24, 18, 33, 0.94));
  overflow: hidden;
}
.style-panel::before {
  content: "“";
  position: absolute;
  right: 1.5rem;
  top: -2.7rem;
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 13rem;
  line-height: 1;
  opacity: 0.07;
  pointer-events: none;
}
.style-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.style-panel__top .pill { color: var(--rose); }
.style-panel h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.style-panel__desc { max-width: 560px; min-height: 5.1em; color: var(--muted); font-size: 0.94rem; }
.style-panel__quote {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--magenta);
  border-radius: 0 10px 10px 0;
  background: rgba(16, 13, 24, 0.28);
  color: var(--muted-strong);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.45;
}
.style-panel__quote cite { display: block; margin-top: 0.45rem; color: var(--muted); font-family: var(--font-sans); font-size: 0.62rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
.style-panel__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.style-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.style-tags span {
  padding: 0.3rem 0.58rem;
  border: 1px solid rgba(241, 161, 197, 0.22);
  border-radius: 99px;
  color: var(--rose);
  font-size: 0.63rem;
  font-weight: 600;
}

/* ---------- Feature sections ---------- */

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.feature-split--reverse .feature-media { order: 2; }
.feature-copy { max-width: 560px; }
.feature-copy h2 { margin-bottom: 1rem; }
.feature-copy p { color: var(--muted); }
.feature-copy .feature-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.3rem 0 1.7rem;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  color: var(--muted-strong);
  font-size: 0.87rem;
}
.feature-list svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 0.18rem; color: var(--rose); }
.feature-media { position: relative; min-width: 0; }

.ui-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(42, 32, 55, 0.86), rgba(18, 13, 25, 0.95));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ui-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 13, 24, 0.42);
}
.ui-frame__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: 0.4; }
.ui-frame__bar span { margin-left: auto; color: var(--muted); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; }

.character-picker { padding: 1.1rem; }
.character-picker__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.character-picker__head strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; }
.character-picker__head span { color: var(--muted); font-size: 0.62rem; }
.character-picker__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.picker-person {
  position: relative;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.58rem;
  transition: border-color 160ms ease, background 160ms ease;
}
.picker-person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 9px; margin-bottom: 0.3rem; filter: saturate(0.7); }
.picker-person:hover, .picker-person[aria-selected="true"] { border-color: rgba(241, 161, 197, 0.4); background: rgba(241, 161, 197, 0.07); color: var(--text); }
.picker-person[aria-selected="true"] img { filter: none; }
.picker-chat {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(16, 13, 24, 0.38);
  border: 1px solid rgba(247, 234, 243, 0.07);
}
.picker-chat__line { max-width: 88%; margin-bottom: 0.55rem; padding: 0.6rem 0.75rem; border-radius: 12px 12px 12px 4px; background: var(--card); color: var(--muted-strong); font-size: 0.73rem; line-height: 1.5; }
.picker-chat__line--you { margin-left: auto; border-radius: 12px 12px 4px 12px; background: rgba(217, 70, 166, 0.24); }
.picker-chat__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.85rem; padding-top: 0.7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.6rem; }
.picker-chat__foot span:last-child { color: var(--rose); }

.media-aura { position: relative; }
.media-aura::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -8% -8% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 70, 166, 0.18), transparent 66%);
  filter: blur(14px);
}
.media-aura--purple::before { background: radial-gradient(circle, rgba(155, 109, 255, 0.2), transparent 66%); }

/* Phone */
.phone {
  position: relative;
  width: min(100%, 322px);
  margin-inline: auto;
  padding: 9px;
  border: 1px solid rgba(247, 234, 243, 0.21);
  border-radius: 43px;
  background: #0a0710;
  box-shadow: 0 35px 80px rgba(2, 1, 5, 0.55);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 15px; left: 50%;
  width: 74px; height: 17px;
  border-radius: 99px;
  background: #08060c;
  transform: translateX(-50%);
}
.phone__screen {
  min-height: 600px;
  border-radius: 35px;
  background: linear-gradient(180deg, #23182f, #15101d);
  overflow: hidden;
}
.phone__top { padding: 2.4rem 1rem 0.8rem; text-align: center; border-bottom: 1px solid var(--line); }
.phone__avatar { width: 58px; height: 58px; margin: 0 auto 0.5rem; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid rgba(241, 161, 197, 0.35); }
.phone__top strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; line-height: 1.2; }
.phone__top span { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.6rem; }
.phone__chat { padding: 1rem 0.9rem; }
.phone .chat-message { max-width: 93%; margin-bottom: 0.7rem; }
.phone .chat-message__bubble { font-size: 0.75rem; padding: 0.6rem 0.75rem; }
.phone__input { display: flex; align-items: center; gap: 0.5rem; margin: 0 0.8rem 0.9rem; padding: 0.45rem 0.45rem 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 99px; background: rgba(16, 13, 24, 0.56); }
.phone__input span { color: var(--muted); font-size: 0.65rem; }
.phone__input i { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: var(--gradient); }
.phone__input svg { width: 13px; height: 13px; }
.phone--tilt { transform: rotate(3.5deg); }
.phone-caption {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.1rem; color: var(--muted); font-size: 0.67rem;
}
.phone-caption .dot { width: 5px; height: 5px; }

/* Tag cloud / categories */
.category-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.category-cloud span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(247, 234, 243, 0.025);
  color: var(--muted-strong);
  font-size: 0.76rem;
}
.category-cloud span:nth-child(3n+1) { border-color: rgba(241, 161, 197, 0.24); }

/* Comparison */
.comparison-card {
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(42, 32, 55, 0.62), rgba(17, 13, 24, 0.78));
  overflow-x: auto;
}
.comparison-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.comparison-card__head strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.comparison-card__head span { color: var(--muted); font-size: 0.66rem; }

.table-wrap { width: 100%; overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.82rem;
}
th, td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
td { color: var(--muted-strong); }
td:first-child { color: var(--text); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(247, 234, 243, 0.018); }

/* Voice UI */
.voice-console {
  padding: 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(500px 300px at 50% 12%, rgba(217, 70, 166, 0.15), transparent 64%),
    linear-gradient(145deg, rgba(42, 32, 55, 0.8), rgba(17, 13, 25, 0.94));
  box-shadow: var(--shadow);
}
.voice-console__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.voice-person { display: flex; align-items: center; gap: 0.7rem; }
.voice-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; }
.voice-person strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; line-height: 1.2; }
.voice-person span { color: var(--muted); font-size: 0.63rem; }
.voice-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 104px;
  margin-bottom: 1.2rem;
  padding-inline: 0.9rem;
  border: 1px solid rgba(247, 234, 243, 0.08);
  border-radius: 16px;
  background: rgba(16, 13, 24, 0.28);
  overflow: hidden;
}
.voice-wave span {
  width: 3px;
  height: var(--h, 40%);
  min-height: 6px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--rose), var(--magenta));
  opacity: 0.8;
  animation: wave 1.8s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes wave { from { transform: scaleY(0.42); opacity: 0.42; } to { transform: scaleY(1); opacity: 0.9; } }
.voice-actions { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.voice-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(247, 234, 243, 0.04);
  color: var(--text);
  cursor: default;
}
.voice-btn--main { width: 58px; height: 58px; border: 0; background: var(--gradient); box-shadow: 0 10px 28px rgba(217, 70, 166, 0.3); }
.voice-btn svg { width: 18px; height: 18px; }
.voice-btn--main svg { width: 21px; height: 21px; }
.voice-clips { display: grid; gap: 0.5rem; }
.voice-clip {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 13, 24, 0.28);
}
.voice-clip__play { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: rgba(241, 161, 197, 0.13); color: var(--rose); }
.voice-clip__play svg { width: 10px; height: 10px; }
.voice-clip__bars { display: flex; align-items: center; gap: 2px; flex: 1; height: 20px; }
.voice-clip__bars i { width: 2px; height: var(--h, 20%); min-height: 3px; border-radius: 2px; background: var(--rose); opacity: 0.55; }
.voice-clip time { color: var(--muted); font-size: 0.6rem; }
.voice-note { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.8rem; color: var(--muted); font-size: 0.64rem; }
.voice-note span:last-child { color: var(--rose); }

/* Roleplay scenarios */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.scenario-card {
  position: relative;
  min-height: 220px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(300px 200px at 80% 10%, var(--scenario-glow, rgba(217, 70, 166, 0.2)), transparent 70%),
    var(--card);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 220ms var(--ease), border-color 220ms ease;
}
.scenario-card:hover { transform: translateY(-3px); border-color: rgba(241, 161, 197, 0.34); }
.scenario-card__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 2.2rem;
  border: 1px solid rgba(247, 234, 243, 0.15);
  border-radius: 11px;
  color: var(--rose);
  background: rgba(16, 13, 24, 0.28);
}
.scenario-card__icon svg { width: 18px; height: 18px; }
.scenario-card strong { display: block; margin-bottom: 0.25rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.scenario-card span { color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.scenario-card::after {
  content: "";
  position: absolute;
  right: -35px; bottom: -55px;
  width: 130px; height: 130px;
  border: 1px solid rgba(247, 234, 243, 0.1);
  border-radius: 50%;
}

.scenario-main {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}
.scenario-copy {
  padding: clamp(1.2rem, 2.8vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(42, 32, 55, 0.48);
}
.scenario-copy h3 { margin: 0.8rem 0 0.6rem; }
.scenario-copy > p { color: var(--muted); font-size: 0.9rem; }
.scenario-copy__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.scenario-copy__tags span { padding: 0.3rem 0.55rem; border: 1px solid var(--line); border-radius: 99px; color: var(--rose); font-size: 0.61rem; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(42, 32, 55, 0.34);
  overflow: hidden;
}
.step-card:nth-child(2) { transform: translateY(22px); }
.step-card__num {
  display: block;
  margin-bottom: 2.4rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-style: italic;
  line-height: 1;
  color: rgba(241, 161, 197, 0.42);
}
.step-card h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.step-card p { color: var(--muted); font-size: 0.86rem; }
.step-card::after {
  content: "";
  position: absolute;
  right: -30px; top: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(217, 70, 166, 0.07);
}

/* Editorial cards */
.guide-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}
.guide-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  overflow: hidden;
  text-decoration: none;
}
.guide-card:nth-child(2) { min-height: 470px; }
.guide-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}
.guide-card:hover img { transform: scale(1.035); }
.guide-card__body {
  position: relative;
  padding: 1.3rem;
  background: linear-gradient(180deg, rgba(42, 32, 55, 0.94), var(--card));
}
.guide-card__meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; color: var(--rose); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.guide-card__meta span + span { padding-left: 0.6rem; border-left: 1px solid var(--line); color: var(--muted); }
.guide-card h3 { color: var(--text); font-size: clamp(1.5rem, 2.4vw, 2.05rem); line-height: 1.15; }
.guide-card:hover h3 { color: var(--rose-soft); }
.guide-card p { margin-top: 0.55rem; color: var(--muted); font-size: 0.83rem; }
.guide-card__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem; color: var(--rose); font-size: 0.76rem; font-weight: 700; }
.guide-card__link svg { width: 13px; height: 13px; }

/* FAQ */
.faq-list { display: grid; gap: 0.55rem; max-width: 890px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(42, 32, 55, 0.3);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease;
}
.faq-item[open] { border-color: rgba(241, 161, 197, 0.3); background: rgba(42, 32, 55, 0.48); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 18px; height: 18px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--rose), var(--rose)) center/8px 1px no-repeat,
    linear-gradient(var(--rose), var(--rose)) center/1px 8px no-repeat;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-answer { padding: 0 1.15rem 1.2rem; color: var(--muted); font-size: 0.89rem; line-height: 1.7; }
.faq-answer p { margin-bottom: 0.7rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--rose); }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { margin-bottom: 1.2rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.faq-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; margin-bottom: 2rem; }
.faq-jump a { padding: 0.45rem 0.75rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 0.72rem; text-decoration: none; }
.faq-jump a:hover { border-color: var(--rose); color: var(--rose); }

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(247, 234, 243, 0.13);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(580px 360px at 100% 0%, rgba(217, 70, 166, 0.22), transparent 64%),
    radial-gradient(440px 320px at 0% 100%, rgba(155, 109, 255, 0.15), transparent 60%),
    linear-gradient(135deg, #2a1a34, #181120);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: 12%; top: 50%;
  width: 280px; height: 280px;
  border: 1px solid rgba(247, 234, 243, 0.12);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 18%; top: 50%;
  width: 160px; height: 160px;
  border: 1px solid rgba(247, 234, 243, 0.08);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 650px; }
.cta-band h2 { margin-bottom: 1rem; font-size: clamp(2.1rem, 4.3vw, 3.7rem); }
.cta-band p { max-width: 530px; color: var(--muted); }
.cta-band .btn-row { margin-top: 1.6rem; }
.cta-band__aside {
  position: absolute;
  z-index: 1;
  right: 2.5rem;
  bottom: 2.3rem;
  max-width: 220px;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
}
.cta-band__aside strong { display: block; margin-bottom: 0.25rem; color: var(--rose); font-family: var(--font-display); font-size: 1rem; font-weight: 400; }

/* Page hero */
.page-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.4rem, 5vw, 4.4rem);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -48%; right: -8%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 70, 166, 0.15), transparent 65%);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -16%; bottom: -74%;
  width: 540px; height: 540px;
  border: 1px solid rgba(241, 161, 197, 0.07);
  border-radius: 50%;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.page-hero__copy { max-width: 720px; }
.page-hero h1 { margin-bottom: 1.15rem; font-size: clamp(2.8rem, 5.5vw, 4.8rem); }
.page-hero__lead { max-width: 640px; margin-bottom: 1.6rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.3rem; }
.page-hero__art { position: relative; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.45rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; color: rgba(247, 234, 243, 0.3); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--rose); }
.breadcrumbs [aria-current="page"] { color: var(--muted-strong); }

/* Page content building blocks */
.content-section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.content-section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.content-split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.content-split h2 { margin-bottom: 1rem; }
.content-split h3 { margin: 1.8rem 0 0.7rem; }
.content-split p { color: var(--muted); }
.content-copy > p:last-child { margin-bottom: 0; }

.info-card {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(42, 32, 55, 0.36);
}
.info-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.info-card p, .info-card li { color: var(--muted); font-size: 0.86rem; }
.info-card ul { margin-bottom: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}
.stat-card { padding: 1.25rem; background: var(--bg-soft); }
.stat-card strong { display: block; color: var(--rose-soft); font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.stat-card span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}
.check-list li { position: relative; margin: 0; padding: 0 0 0 1.8rem; color: var(--muted-strong); font-size: 0.88rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35rem;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(-45deg);
}

.number-list { display: grid; gap: 0.9rem; margin: 1.3rem 0; padding: 0; list-style: none; counter-reset: n; }
.number-list li { position: relative; margin: 0; padding: 0 0 0 2.8rem; color: var(--muted-strong); font-size: 0.9rem; counter-increment: n; }
.number-list li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(42, 32, 55, 0.34);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms var(--ease);
}
.related-card:hover { border-color: rgba(241, 161, 197, 0.4); transform: translateY(-3px); }
.related-card__eyebrow { margin-bottom: 1.2rem; color: var(--rose); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.related-card h3 { margin-top: auto; color: var(--text); font-size: 1.25rem; }
.related-card span { margin-top: 0.5rem; color: var(--muted); font-size: 0.76rem; }

/* Article */
.article-header {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4.5rem) 0 clamp(1.8rem, 4vw, 3rem);
  text-align: center;
}
.article-header h1 { margin-bottom: 1.1rem; font-size: clamp(2.6rem, 5.4vw, 4.5rem); }
.article-header .lede { max-width: 720px; margin-inline: auto; }
.article-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.9rem;
  margin-top: 1.4rem; color: var(--muted); font-size: 0.7rem;
}
.article-meta span + span { position: relative; padding-left: 0.9rem; }
.article-meta span + span::before { content: "·"; position: absolute; left: 0; color: var(--rose); }
.article-hero-image {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-hero-image img { width: 100%; aspect-ratio: 1200 / 680; object-fit: cover; }
.article-hero-image figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(247, 234, 243, 0.16);
  border-radius: 99px;
  background: rgba(16, 13, 24, 0.68);
  color: rgba(247, 234, 243, 0.76);
  font-size: 0.6rem;
  backdrop-filter: blur(10px);
}
.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  justify-content: center;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.article-toc { position: sticky; top: calc(var(--header-height) + 24px); padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(42, 32, 55, 0.25); }
.article-toc strong { display: block; margin-bottom: 0.7rem; color: var(--rose); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.article-toc li { margin: 0; padding: 0; counter-increment: toc; }
.article-toc a { display: block; padding: 0.38rem 0; color: var(--muted); font-size: 0.73rem; line-height: 1.4; text-decoration: none; }
.article-toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: rgba(241, 161, 197, 0.55); font-family: var(--font-display); font-size: 0.65rem; }
.article-toc a:hover { color: var(--text); }

.article-body { min-width: 0; color: var(--muted-strong); font-size: 1rem; line-height: 1.82; }
.article-body > p:first-of-type { font-size: 1.12rem; color: var(--text); }
.article-body h2 {
  margin: 2.8rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.12;
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.article-body h3 { margin: 1.9rem 0 0.65rem; font-size: 1.32rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body a { font-weight: 600; }
.article-body ul, .article-body ol { margin-bottom: 1.4rem; }
.article-body li { margin-bottom: 0.55rem; }
.article-body blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--magenta);
  border-radius: 0 12px 12px 0;
  background: rgba(217, 70, 166, 0.06);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-style: italic;
  line-height: 1.5;
}
.article-body blockquote p { margin: 0; }

.callout {
  margin: 1.8rem 0;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(241, 161, 197, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(217, 70, 166, 0.08), rgba(155, 109, 255, 0.04));
}
.callout strong { display: block; margin-bottom: 0.4rem; color: var(--rose); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; }
.callout p { margin: 0; color: var(--muted-strong); font-size: 0.9rem; }

.article-checklist {
  margin: 1.6rem 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(42, 32, 55, 0.28);
}
.article-checklist h3 { margin: 0 0 0.8rem; font-size: 1.12rem; font-family: var(--font-sans); font-weight: 700; }
.article-checklist .check-list { margin: 0; }

.example-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.example-pane {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(42, 32, 55, 0.32);
}
.example-pane--after { border-color: rgba(241, 161, 197, 0.28); background: rgba(217, 70, 166, 0.055); }
.example-pane__label { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.8rem; color: var(--muted); font-size: 0.61rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.example-pane--after .example-pane__label { color: var(--rose); }
.example-line {
  max-width: 94%;
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 11px 11px 11px 4px;
  background: var(--card);
  color: var(--muted-strong);
  font-size: 0.74rem;
  line-height: 1.55;
}
.example-line--you { margin-left: auto; border-radius: 11px 11px 4px 11px; background: rgba(217, 70, 166, 0.2); }
.example-pane__note { margin-top: 0.7rem; color: var(--muted); font-size: 0.68rem; line-height: 1.5; }
.article-end-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin: 2.6rem 0;
  padding: 1.5rem;
  border: 1px solid rgba(241, 161, 197, 0.22);
  border-radius: 18px;
  background: radial-gradient(360px 220px at 100% 0%, rgba(217, 70, 166, 0.14), transparent 70%), rgba(42, 32, 55, 0.34);
}
.article-end-cta h2 { margin: 0 0 0.35rem; font-size: 1.55rem; }
.article-end-cta p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.article-end-cta .btn { flex: 0 0 auto; }

/* Blog hub */
.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.blog-feature:last-of-type { border-bottom: 0; }
.blog-feature--reverse .blog-feature__media { order: 2; }
.blog-feature__media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.blog-feature__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 600ms var(--ease); }
.blog-feature:hover .blog-feature__media img { transform: scale(1.025); }
.blog-feature__copy { max-width: 570px; }
.blog-feature__copy h2 { margin: 0.8rem 0 0.8rem; font-size: clamp(1.9rem, 3.8vw, 3.05rem); }
.blog-feature__copy h2 a { color: var(--text); text-decoration: none; }
.blog-feature__copy h2 a:hover { color: var(--rose-soft); }
.blog-feature__copy p { color: var(--muted); }
.blog-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; color: var(--muted); font-size: 0.67rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.blog-meta span + span::before { content: "·"; margin-right: 0.4rem; color: var(--rose); }
.blog-feature__copy .text-link { margin-top: 1.1rem; }

/* About */
.about-intro { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 200px 200px 24px 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(217, 70, 166, 0.24), transparent 50%),
    linear-gradient(160deg, #34203e, #16101d);
  overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: top center; opacity: 0.9; }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 7, 15, 0.62)); }
.about-visual__caption { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; color: var(--muted); font-size: 0.68rem; }
.about-visual__caption strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 2rem; }
.about-values div { padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(42, 32, 55, 0.3); }
.about-values strong { display: block; margin-bottom: 0.35rem; color: var(--rose); font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.about-values p { color: var(--muted); font-size: 0.79rem; margin: 0; }

/* Legal */
.legal-layout { max-width: 880px; margin-inline: auto; padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.legal-body { color: var(--muted-strong); font-size: 0.95rem; line-height: 1.8; }
.legal-body h2 { margin: 2.2rem 0 0.8rem; font-family: var(--font-sans); font-size: 1.28rem; font-weight: 700; letter-spacing: -0.01em; }
.legal-body h3 { margin: 1.6rem 0 0.55rem; font-family: var(--font-sans); font-size: 1rem; font-weight: 700; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body a { color: var(--rose); }
.legal-meta { padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; color: var(--muted); font-size: 0.75rem; }
.legal-box { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 13px; background: rgba(42, 32, 55, 0.3); margin: 1.5rem 0; }
.legal-box p { margin: 0; }
.legal-body ul { padding-left: 1.1rem; }
.legal-body li { margin-bottom: 0.45rem; }

/* Join */
.join-hero { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.join-copy h1 { margin-bottom: 1.2rem; }
.join-copy p { color: var(--muted); }
.join-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(217, 70, 166, 0.16), transparent 70%),
    linear-gradient(145deg, rgba(42, 32, 55, 0.72), rgba(17, 13, 25, 0.92));
  box-shadow: var(--shadow);
}
.join-status { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1.2rem; padding: 0.65rem 0.8rem; border: 1px solid rgba(241, 161, 197, 0.26); border-radius: 11px; background: rgba(241, 161, 197, 0.07); color: var(--rose); font-size: 0.72rem; font-weight: 600; }
.join-status .dot { background: var(--rose); box-shadow: 0 0 0 3px rgba(241, 161, 197, 0.12); }
.join-status.is-ready { border-color: rgba(112, 220, 174, 0.3); background: rgba(112, 220, 174, 0.07); color: #94ebc7; }
.join-status.is-ready .dot { background: #70dcae; box-shadow: 0 0 0 3px rgba(112, 220, 174, 0.12); }
.join-panel h2 { margin-bottom: 0.7rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.join-panel p { color: var(--muted); font-size: 0.87rem; }
.join-steps { display: grid; gap: 0.6rem; margin: 1.2rem 0 1.5rem; padding: 0; list-style: none; }
.join-steps li { display: flex; align-items: flex-start; gap: 0.65rem; margin: 0; padding: 0; color: var(--muted-strong); font-size: 0.8rem; }
.join-steps svg { width: 15px; height: 15px; margin-top: 0.2rem; flex: 0 0 auto; color: var(--rose); }
.join-panel .btn { width: 100%; }
.join-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.68rem; text-align: center; }
.join-redirect-link { display: none; }
.join-redirect-link.is-active { display: inline-flex; }
.join-options { display: grid; gap: 0.55rem; margin-top: 1.2rem; }
.join-options a { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; color: var(--muted-strong); font-size: 0.8rem; text-decoration: none; }
.join-options a:hover { border-color: rgba(241, 161, 197, 0.36); color: var(--text); }
.join-options svg { width: 14px; height: 14px; color: var(--rose); }
.disclosure {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.55;
}
.redirect-count { color: var(--rose); font-weight: 700; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 7, 13, 0.64);
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.footer-brand p { max-width: 310px; margin: 1rem 0; color: var(--muted); font-size: 0.8rem; }
.footer-age { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.38rem 0.62rem; border: 1px solid var(--line); border-radius: 99px; color: var(--rose); font-size: 0.61rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col h2, .footer-col h3 { margin-bottom: 0.9rem; color: var(--muted-strong); font-family: var(--font-sans); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 0; padding: 0; }
.footer-links a { color: var(--muted); font-size: 0.78rem; line-height: 1.5; text-decoration: none; }
.footer-links a:hover { color: var(--rose); }
.footer-disclosure {
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(247, 234, 243, 0.07);
  color: var(--muted);
  font-size: 0.65rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom span { color: var(--rose); }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--rose); }

/* Mobile dock */
.mobile-dock {
  display: none;
  position: fixed;
  z-index: 850;
  left: 12px; right: 12px; bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0.55rem 0.55rem 0.95rem;
  border: 1px solid rgba(247, 234, 243, 0.16);
  border-radius: 18px;
  background: rgba(21, 15, 29, 0.92);
  box-shadow: 0 12px 36px rgba(3, 2, 7, 0.45);
  backdrop-filter: blur(18px);
}
.mobile-dock span { color: var(--muted); font-size: 0.7rem; line-height: 1.3; }
.mobile-dock strong { display: block; color: var(--text); font-size: 0.76rem; }
.mobile-dock .btn { min-height: 41px; padding-inline: 1rem; flex: 0 0 auto; }

/* Reveal animations */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 80ms; }
.js [data-reveal-delay="2"] { transition-delay: 160ms; }
.js [data-reveal-delay="3"] { transition-delay: 240ms; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav-list a { padding-inline: 0.5rem; font-size: 0.76rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(370px, 0.88fr); gap: 2.5rem; }
  .hero-float--chat { left: -1%; }
  .hero-float--preview { right: -1%; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr; gap: 2rem; }
}

@media (max-width: 1060px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr); }
  .hero-stage { min-height: 560px; }
  .hero-frame img { height: 540px; }
  .demo-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; }
  .character-card:nth-child(1) { min-height: 470px; }
  .character-card:nth-child(2) { min-height: 420px; }
  .character-card:nth-child(3) { min-height: 450px; }
  .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 2rem; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .container { width: min(100% - 32px, var(--container)); }
  .nav-shell { width: min(100% - 32px, 1320px); }
  .hero { padding-top: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3.3rem; }
  .hero-copy { max-width: 660px; }
  .hero h1 { max-width: 690px; }
  .hero-stage { width: min(100%, 560px); min-height: 0; margin-inline: auto; padding: 1rem 0 2.5rem; }
  .hero-frame { width: min(88%, 420px); margin-inline: auto; }
  .hero-frame img { height: 560px; }
  .hero-float--chat { left: 0; bottom: 4%; }
  .hero-float--preview { right: 0; top: 8%; }
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .trust-strip__item { min-height: 56px; border-bottom: 1px solid var(--line); }
  .trust-strip__item:nth-child(3), .trust-strip__item:nth-child(4) { border-bottom: 0; }
  .trust-strip__item:nth-child(3) { border-left: 0; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 1rem; }
  .split-heading { grid-template-columns: 1fr; gap: 1rem; }
  .character-grid { grid-template-columns: 1fr 1fr; }
  .character-card:nth-child(4) { grid-column: span 2; }
  .character-card:nth-child(2) { margin-top: 0; }
  .character-card:nth-child(7) { margin-top: 0; }
  .demo-layout { grid-template-columns: 1fr; gap: 2.4rem; }
  .demo-copy { max-width: 660px; }
  .chat-window { margin-inline: auto; }
  .style-layout { grid-template-columns: 1fr; }
  .style-tabs { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 0.25rem; }
  .style-tab { min-width: 132px; }
  .style-tab__arrow { display: none; }
  .style-panel { min-height: 360px; }
  .feature-split { grid-template-columns: 1fr; gap: 2.4rem; }
  .feature-split--reverse .feature-media { order: 0; }
  .feature-copy { max-width: 660px; }
  .feature-media { max-width: 560px; width: 100%; margin-inline: auto; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .step-card:nth-child(2) { transform: none; }
  .step-card { display: grid; grid-template-columns: 70px 1fr; column-gap: 1rem; align-items: center; }
  .step-card__num { margin: 0; font-size: 2.5rem; }
  .step-card h3, .step-card p { grid-column: 2; }
  .step-card h3 { margin-top: 0.2rem; }
  .step-card p { margin-bottom: 0.3rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card, .guide-card:nth-child(2) { min-height: 430px; }
  .cta-band__aside { display: none; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .page-hero__art { max-width: 540px; }
  .content-split { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-visual { max-width: 440px; min-height: 480px; margin-inline: auto; }
  .about-visual img { min-height: 480px; }
  .about-values { grid-template-columns: 1fr 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { display: block; max-width: 760px; margin-inline: auto; }
  .article-toc { position: static; margin-bottom: 2rem; }
  .article-toc ol { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; }
  .article-toc a { padding: 0.2rem 0; }
  .blog-feature { grid-template-columns: 1fr; gap: 1.6rem; }
  .blog-feature--reverse .blog-feature__media { order: 0; }
  .join-grid { grid-template-columns: 1fr; }
  .join-panel { max-width: 560px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--legal { grid-column: 2 / span 2; }
  .mobile-dock { display: flex; }
  body { padding-bottom: 74px; }
  .footer-bottom { padding-bottom: 0.3rem; }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .section { padding: 64px 0; }
  .hero-frame img { height: 480px; }
  .hero-float { width: 210px; }
  .hero-float--preview { width: 172px; padding: 0.8rem; }
  .hero-float--preview strong { font-size: 0.92rem; }
  .hero-float--chat { bottom: 0; }
  .hero-float__head .hero-float__tag { display: none; }
  .character-grid { grid-template-columns: 1fr; }
  .character-card,
  .character-card:nth-child(n) { min-height: 470px; margin-top: 0; grid-column: auto; }
  .character-card:nth-child(4) { min-height: 390px; }
  .character-card:nth-child(4) img { left: 0; right: 0; width: 100%; object-position: center 48%; }
  .character-card:nth-child(4)::after {
    background: linear-gradient(180deg, rgba(10, 7, 15, 0.04) 24%, rgba(10, 7, 15, 0.24) 50%, rgba(10, 7, 15, 0.94) 100%);
  }
  .character-card:nth-child(4) .character-card__content { right: 0; padding: 1.35rem; }
  .character-card__desc { max-width: none; }
  .style-tabs { grid-template-columns: repeat(5, 128px); }
  .style-panel { padding: 1.25rem; }
  .style-panel__desc { min-height: 0; }
  .style-panel__footer { align-items: flex-start; flex-direction: column; }
  .chat-body { min-height: 330px; padding: 1rem 0.85rem 0.8rem; }
  .chat-message { max-width: 95%; }
  .chat-head { padding: 0.85rem; }
  .chat-head__badges .pill:last-child { display: none; }
  .chat-window { border-radius: 22px; }
  .chat-input { margin-inline: 0.75rem; }
  .phone { max-width: 292px; }
  .phone__screen { min-height: 560px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card { min-height: 190px; }
  .scenario-card__icon { margin-bottom: 1.5rem; }
  .scenario-main { grid-template-columns: 1fr; }
  .cta-band { padding: 1.5rem; }
  .cta-band::before, .cta-band::after { display: none; }
  .cta-band .btn-row .btn { width: 100%; }
  .page-hero { padding-top: 2rem; }
  .page-hero h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .page-hero__art .phone { max-width: 280px; }
  .stat-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .example-pair { grid-template-columns: 1fr; }
  .article-end-cta { display: block; }
  .article-end-cta .btn { margin-top: 1rem; width: 100%; }
  .article-hero-image { border-radius: 18px; }
  .article-header { text-align: left; }
  .article-header .lede { margin-inline: 0; }
  .article-meta { justify-content: flex-start; }
  .article-layout { padding-top: 2rem; }
  .article-body { font-size: 0.96rem; }
  .article-toc { padding: 0.85rem; }
  .article-toc ol { display: block; columns: 2; column-gap: 1rem; }
  .article-toc a { padding: 0.28rem 0; font-size: 0.69rem; }
  .blog-feature__copy h2 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--legal { grid-column: auto; }
  .footer-bottom { display: block; line-height: 1.8; }
  .footer-bottom p + p { margin-top: 0.5rem; }
  .mobile-dock span { max-width: 160px; }
  .join-options { margin-top: 1rem; }
  .faq-item summary { padding: 0.95rem 1rem; font-size: 0.89rem; }
  .faq-answer { padding: 0 1rem 1.05rem; font-size: 0.85rem; }
}

@media (max-width: 430px) {
  .container, .nav-shell { width: min(100% - 24px, var(--container)); }
  .brand-text { font-size: 1rem; }
  .hero-frame { width: 92%; }
  .hero-frame img { height: 440px; }
  .hero-float { width: 185px; }
  .hero-float--chat { left: -2%; }
  .hero-float--preview { right: -2%; width: 154px; }
  .style-mini-tags span:nth-child(n+3) { display: none; }
  .trust-strip__item { font-size: 0.63rem; padding-inline: 0.5rem; }
  .chat-head__badges { display: none; }
  .sticky-actions .btn { width: 100%; }
  .about-visual { min-height: 420px; border-radius: 160px 160px 22px 22px; }
  .about-visual img { min-height: 420px; }
  .mobile-nav { grid-template-columns: 1fr; }
  .mobile-dock span { max-width: 130px; font-size: 0.64rem; }
  .mobile-dock strong { font-size: 0.7rem; }
  .mobile-dock .btn { padding-inline: 0.8rem; font-size: 0.78rem; }
  .article-toc ol { columns: 1; }
}

/* ==========================================================================
   Secondary page components
   ========================================================================== */

.page-hero--compact {
  padding: clamp(2.2rem, 4.5vw, 3.8rem) 0 clamp(1.9rem, 4vw, 3rem);
}
.page-hero--compact h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.page-hero--compact .lede { max-width: 720px; }
.page-hero__grid--balanced { grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.6fr); }
.page-hero__meta--stack { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

/* Article extras */
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.7rem;
}
.article-byline .pill { font-size: 0.58rem; }
.article-intro { font-size: 1.12rem; color: var(--text); }
.example-block {
  margin: 1.3rem 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(42, 32, 55, 0.3);
}
.example-block .example-line {
  max-width: 100%;
  margin: 0 0 0.8rem;
  padding: 0;
  background: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1.55;
}
.example-block p:last-child { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.example-block p:last-child strong { color: var(--rose); font-weight: 600; }

/* Blog hub */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(42, 32, 55, 0.34);
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms var(--ease);
}
.blog-card:hover { border-color: rgba(241, 161, 197, 0.36); transform: translateY(-4px); }
.blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-deep);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}
.blog-card:hover .blog-card__media img { transform: scale(1.03); }
.blog-card__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(247, 234, 243, 0.18);
  border-radius: 99px;
  background: rgba(16, 13, 24, 0.68);
  color: var(--rose-soft);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.2rem, 2.5vw, 1.7rem); }
.blog-card__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin-bottom: 0.8rem; color: var(--muted); font-size: 0.65rem; }
.blog-card__meta span + span { position: relative; padding-left: 0.9rem; }
.blog-card__meta span + span::before { content: "·"; position: absolute; left: 0; color: var(--rose); }
.blog-card h2 { margin-bottom: 0.6rem; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.1; }
.blog-card h2 a { color: var(--text); text-decoration: none; }
.blog-card h2 a:hover { color: var(--rose-soft); }
.blog-card p { color: var(--muted); font-size: 0.84rem; }
.blog-card .text-link { margin-top: auto; padding-top: 0.8rem; align-self: flex-start; }

/* About portrait */
.about-mark {
  position: relative;
  width: min(100%, 360px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  border-radius: 180px 180px 24px 24px;
  background: radial-gradient(circle at 50% 25%, rgba(217, 70, 166, 0.24), transparent 60%), var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-mark img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 7, 15, 0.68));
  pointer-events: none;
}
.about-mark__ring {
  position: absolute;
  z-index: 2;
  inset: 18px;
  border: 1px solid rgba(247, 234, 243, 0.2);
  border-radius: 160px 160px 16px 16px;
  pointer-events: none;
}
.about-mark__label {
  position: absolute;
  z-index: 3;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  color: var(--muted-strong);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Character carousel */
.character-carousel { position: relative; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 0.5rem; margin-bottom: 0.9rem; }
.carousel-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(247, 234, 243, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.carousel-btn:hover { border-color: rgba(241, 161, 197, 0.5); background: rgba(217, 70, 166, 0.12); }
.carousel-btn:disabled { opacity: 0.28; cursor: default; }
.carousel-btn svg { width: 17px; height: 17px; }
.character-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 0.9rem;
  padding-bottom: 0.8rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 161, 197, 0.35) transparent;
}
.character-rail::-webkit-scrollbar { height: 6px; }
.character-rail::-webkit-scrollbar-thumb { background: rgba(241, 161, 197, 0.35); border-radius: 99px; }
.rail-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(42, 32, 55, 0.38);
  overflow: hidden;
  scroll-snap-align: start;
}
.rail-card img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: top center; }
.rail-card__body { padding: 0.95rem 1rem 1.05rem; }
.rail-card__body > span { color: var(--rose); font-size: 0.59rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.rail-card__body h3 { margin: 0.35rem 0 0.45rem; font-size: 1.28rem; }
.rail-card__body p { margin: 0; color: var(--muted); font-size: 0.72rem; line-height: 1.6; }

/* Generic tabs card */
.tabs-card {
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(380px 240px at 100% 0%, rgba(217, 70, 166, 0.11), transparent 70%),
    rgba(42, 32, 55, 0.38);
}
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1.3rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 13, 24, 0.34);
}
.tab-btn {
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.tab-btn:hover { color: var(--text); background: rgba(247, 234, 243, 0.05); }
.tab-btn[aria-selected="true"] { background: var(--gradient); color: #fff; box-shadow: 0 6px 18px rgba(217, 70, 166, 0.22); }
.tab-panel h3 { margin-bottom: 0.65rem; font-size: 1.55rem; }
.tab-panel > p { color: var(--muted); font-size: 0.86rem; }
.tab-example {
  margin: 1.1rem 0;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--magenta);
  border-radius: 0 11px 11px 0;
  background: rgba(217, 70, 166, 0.06);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
}
.tab-example span { margin-right: 0.35rem; color: var(--rose); font-family: var(--font-sans); font-size: 0.62rem; font-style: normal; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Trait / character cards */
.trait-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.trait-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(42, 32, 55, 0.34);
  overflow: hidden;
}
.trait-card > img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top center; }
.trait-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.15rem 1.2rem; }
.trait-card__body .pill { align-self: flex-start; margin-bottom: 0.7rem; }
.trait-card__body h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.trait-card__body p { color: var(--muted); font-size: 0.79rem; }
.trait-card__body .small { margin-top: auto; display: block; padding-top: 0.7rem; font-size: 0.68rem; line-height: 1.55; }

/* Tone panel */
.tone-panel {
  padding: clamp(1.1rem, 2.7vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(42, 32, 55, 0.4);
}
.tone-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1.2rem; }
.tone-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--muted-strong);
  font-size: 0.72rem;
}
.tone-row i,
.voice-spec i {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(247, 234, 243, 0.09);
  overflow: hidden;
}
.tone-row i::before,
.voice-spec i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 50%);
  border-radius: inherit;
  background: var(--gradient);
}
.tone-row small { color: var(--muted); font-size: 0.62rem; text-align: right; }

/* Example cards */
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.example-card {
  display: flex;
  flex-direction: column;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(42, 32, 55, 0.35);
}
.example-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.9rem; }
.example-card__top .pill { padding: 0.28rem 0.55rem; font-size: 0.57rem; }
.example-card .example-line { font-size: 0.73rem; max-width: 100%; }
.example-card__note { margin: auto 0 0; padding-top: 0.8rem; color: var(--muted); font-size: 0.67rem; line-height: 1.55; }

/* Portrait collage */
.portrait-collage { position: relative; min-height: 500px; }
.collage-card {
  position: absolute;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.collage-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.collage-card figcaption {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(247, 234, 243, 0.14);
  border-radius: 8px;
  background: rgba(16, 13, 24, 0.7);
  color: var(--muted-strong);
  font-size: 0.6rem;
  backdrop-filter: blur(8px);
}
.collage-card--one { z-index: 1; left: 0; top: 7%; width: 46%; aspect-ratio: 4 / 5; transform: rotate(-6deg); }
.collage-card--two { z-index: 2; right: 0; top: 0; width: 44%; aspect-ratio: 4 / 5; transform: rotate(5deg); }
.collage-card--three { z-index: 3; left: 24%; bottom: 0; width: 51%; aspect-ratio: 4 / 5; transform: rotate(-1.5deg); }
.collage-tag {
  position: absolute;
  z-index: 4;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(241, 161, 197, 0.3);
  border-radius: 99px;
  background: rgba(16, 13, 24, 0.8);
  color: var(--rose);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.collage-tag--one { left: 2%; bottom: 10%; }
.collage-tag--two { right: 1%; top: 53%; }

/* NSFW categories and style stack */
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(42, 32, 55, 0.34);
  overflow: hidden;
}
.category-tile::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(241, 161, 197, 0.1);
  border-radius: 50%;
}
.category-tile__num { position: absolute; right: 1.2rem; top: 1.1rem; color: rgba(241, 161, 197, 0.32); font-family: var(--font-display); font-size: 1.4rem; font-style: italic; }
.category-tile__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(247, 234, 243, 0.14);
  border-radius: 12px;
  color: var(--rose);
  background: rgba(16, 13, 24, 0.28);
}
.category-tile__icon svg { width: 20px; height: 20px; }
.category-tile h3 { margin-bottom: 0.55rem; }
.category-tile p { color: var(--muted); font-size: 0.82rem; }
.category-tile__meta { margin-top: auto; padding-top: 1rem; color: var(--rose-soft); font-size: 0.64rem; line-height: 1.5; }
.style-stack { border: 1px solid var(--line); border-radius: 20px; background: rgba(42, 32, 55, 0.3); overflow: hidden; }
.style-stack__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.9rem; align-items: start; padding: 1.1rem 1.2rem; }
.style-stack__item + .style-stack__item { border-top: 1px solid var(--line); }
.style-stack__item > span { color: var(--rose); font-family: var(--font-display); font-size: 0.85rem; font-style: italic; }
.style-stack__item strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.style-stack__item p { margin: 0; color: var(--muted); font-size: 0.75rem; }

/* Voice profiles */
.voice-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.voice-person-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(42, 32, 55, 0.34);
  overflow: hidden;
}
.voice-person-card > img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: top center; }
.voice-person-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.15rem 1.2rem; }
.voice-person-card__body .pill { align-self: flex-start; margin-bottom: 0.7rem; }
.voice-person-card__body h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.voice-person-card__body p { color: var(--muted); font-size: 0.79rem; }
.voice-spec {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--muted-strong);
  font-size: 0.65rem;
}
.voice-spec small { color: var(--muted); font-size: 0.6rem; }

/* Voice call concept */
.call-card {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(380px 280px at 50% 0%, rgba(217, 70, 166, 0.2), transparent 68%),
    linear-gradient(150deg, rgba(42, 32, 55, 0.85), rgba(17, 13, 25, 0.96));
  box-shadow: var(--shadow);
}
.call-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.call-card__top .pill { font-size: 0.57rem; }
.call-card__portrait {
  position: relative;
  margin: 1rem 0 0.9rem;
  aspect-ratio: 4 / 4.5;
  border: 1px solid rgba(241, 161, 197, 0.2);
  border-radius: 24px;
  overflow: hidden;
}
.call-card__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.call-card__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(11, 9, 16, 0.72)); }
.call-card__ring { position: absolute; z-index: 2; inset: 14px; border: 1px solid rgba(247, 234, 243, 0.22); border-radius: 18px; pointer-events: none; }
.call-card__name { text-align: center; }
.call-card__name strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; }
.call-card__name span { color: var(--muted); font-size: 0.68rem; }
.call-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 44px; margin: 0.9rem 0 0.4rem; }
.call-wave span {
  width: 3px;
  height: var(--h, 40%);
  min-height: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--rose), var(--magenta));
  opacity: 0.8;
  animation: wave 1.8s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
.call-card__controls { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin: 0.7rem 0; }
.call-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(247, 234, 243, 0.04);
  color: var(--text);
}
.call-control--main { width: 56px; height: 56px; border: 0; background: var(--gradient); box-shadow: 0 10px 28px rgba(217, 70, 166, 0.3); }
.call-control svg { width: 17px; height: 17px; }
.call-control--main svg { width: 20px; height: 20px; }
.call-card__note { margin: 0.3rem 0 0.2rem; color: var(--muted); font-size: 0.6rem; text-align: center; }

/* Larger voice console */
.voice-console--large { padding: clamp(1rem, 2.5vw, 1.5rem); }
.voice-console--large .voice-wave { height: 150px; }
.call-state {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(112, 220, 174, 0.22);
  border-radius: 99px;
  background: rgba(112, 220, 174, 0.06);
  color: #94ebc7;
  font-size: 0.62rem;
}
.call-state .dot { background: #70dcae; box-shadow: 0 0 0 3px rgba(112, 220, 174, 0.12); }
.voice-transcript { display: grid; gap: 0.7rem; margin-bottom: 1.1rem; }
.voice-transcript > div {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 13, 24, 0.3);
}
.voice-transcript span { display: block; margin-bottom: 0.25rem; color: var(--rose); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.voice-transcript p { margin: 0 0 0.25rem; color: var(--muted-strong); font-size: 0.76rem; line-height: 1.55; }
.voice-transcript small { color: var(--muted); font-size: 0.56rem; }

/* Roleplay scene board */
.scene-board { position: relative; min-height: 520px; }
.scene-card {
  position: absolute;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.scene-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.scene-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(11, 9, 16, 0.7)); }
.scene-card > span {
  position: absolute;
  z-index: 2;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(247, 234, 243, 0.14);
  border-radius: 8px;
  background: rgba(16, 13, 24, 0.66);
  color: var(--muted-strong);
  font-size: 0.63rem;
  backdrop-filter: blur(8px);
}
.scene-card--back { z-index: 1; left: 0; top: 8%; width: 50%; aspect-ratio: 4 / 5; transform: rotate(-7deg); }
.scene-card--mid { z-index: 2; right: 0; top: 1%; width: 48%; aspect-ratio: 4 / 5; transform: rotate(6deg); }
.scene-card--front { z-index: 3; left: 23%; bottom: 0; width: 57%; aspect-ratio: 4 / 5; transform: rotate(-1.5deg); }
.scene-board__badge {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 7%;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(241, 161, 197, 0.32);
  border-radius: 99px;
  background: rgba(16, 13, 24, 0.84);
  color: var(--rose);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* Style selector semantics */
.style-tab[aria-pressed="true"] {
  border-color: rgba(241, 161, 197, 0.44);
  background: linear-gradient(120deg, rgba(217, 70, 166, 0.16), rgba(155, 109, 255, 0.07));
  color: var(--text);
}
.style-tab[aria-pressed="true"] .style-tab__arrow { transform: translateX(3px); opacity: 1; }

/* Scenario controls used as buttons or links */
.scenario-card {
  font-family: inherit;
  color: var(--text);
  text-decoration: none;
  appearance: none;
}
.scenario-card .scenario-card__icon { color: var(--rose); }
.scenario-card[aria-pressed="true"] {
  border-color: rgba(241, 161, 197, 0.5);
  background:
    radial-gradient(300px 200px at 80% 10%, var(--scenario-glow, rgba(217, 70, 166, 0.28)), transparent 70%),
    rgba(53, 39, 68, 0.82);
  box-shadow: inset 0 0 0 1px rgba(241, 161, 197, 0.12);
}
.scenario-card:focus-visible { outline-offset: 2px; }
.scenario-card > strong + span { color: var(--muted); font-size: 0.7rem; line-height: 1.5; }

code {
  padding: 0.12em 0.35em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(16, 13, 24, 0.4);
  color: var(--rose-soft);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

@media (max-width: 1020px) {
  .page-hero__grid--balanced { grid-template-columns: 1fr; }
  .about-mark { margin-top: 0.5rem; }
  .portrait-collage { max-width: 540px; margin-inline: auto; }
  .trait-grid,
  .voice-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trait-card:last-child,
  .voice-person-card:last-child { grid-column: span 2; }
  .trait-card:last-child,
  .voice-person-card:last-child { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); }
  .trait-card:last-child > img,
  .voice-person-card:last-child > img { height: 100%; aspect-ratio: auto; }
  .example-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .scene-board { max-width: 520px; margin-inline: auto; }
  .collage-tag--two { top: 55%; }
}

@media (max-width: 680px) {
  .page-hero--compact { padding-top: 1.8rem; }
  .article-byline { justify-content: flex-start; }
  .trait-grid,
  .voice-people,
  .example-grid,
  .category-grid { grid-template-columns: 1fr; }
  .trait-card:last-child,
  .voice-person-card:last-child { grid-column: auto; display: flex; }
  .trait-card:last-child > img,
  .voice-person-card:last-child > img { height: auto; aspect-ratio: 4 / 4.4; }
  .character-rail { grid-auto-columns: 78%; }
  .scene-board { min-height: 410px; }
  .scene-card--back { width: 54%; }
  .scene-card--mid { width: 52%; }
  .scene-card--front { left: 18%; width: 66%; }
  .portrait-collage { min-height: 420px; }
  .collage-card--one { width: 50%; }
  .collage-card--two { width: 48%; }
  .collage-card--three { left: 19%; width: 61%; }
  .category-tile { min-height: 220px; }
  .call-card { border-radius: 26px; }
  .about-mark { width: min(100%, 320px); }
  .example-block { padding: 0.95rem 1rem; }
  .example-block .example-line { font-size: 1.05rem; }
}

@media (max-width: 430px) {
  .character-rail { grid-auto-columns: 84%; }
  .scene-board { min-height: 350px; }
  .portrait-collage { min-height: 360px; }
  .collage-card figcaption { font-size: 0.53rem; }
  .collage-tag { font-size: 0.5rem; }
  .scene-card > span { font-size: 0.55rem; }
  .tone-row { grid-template-columns: 54px minmax(0, 1fr) 48px; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-float { animation: none; }
}

/* Keep navigation usable on short screens and clear of device UI. */
.mobile-panel {
  position: absolute;
  inset: 100% 0 auto;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
body.menu-open .mobile-dock { display: none; }
.mobile-dock { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 900px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

/* Photograph crops: preserve faces and keep captions legible. */
.hero-float--preview { top: auto; bottom: 32%; }
.hero-float__head img,
.hero-float__avatar,
.chat-head__avatar,
.phone__avatar,
.voice-person img,
.picker-person img { object-position: 50% 14%; }
.character-card__content {
  background: linear-gradient(180deg, transparent, rgba(10, 7, 15, 0.72) 40%, rgba(10, 7, 15, 0.94));
}
@media (min-width: 681px) {
  .character-card:nth-child(4) .character-card__content { right: 46%; padding-right: 1.35rem; }
}

/* Desktop guides use a landscape image row instead of intrinsic portrait height. */
@media (min-width: 901px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card,
  .guide-card:nth-child(2) {
    min-height: 0;
    grid-template-rows: clamp(220px, 18vw, 260px) 1fr;
  }
  .guide-card img {
    display: block;
    height: 100%;
    min-height: 0;
    object-position: 50% 12%;
  }
}

/* A single portrait anchors these page heroes without overlapping cards. */
.hero-portrait {
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--card);
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Editorial identity and publication dates. */
.author-profile { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1.75rem; align-items: center; padding: 1.75rem; margin: 0 0 2.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--card); scroll-margin-top: 100px; }
.author-profile__photo { display: block; width: 160px; height: 200px; object-fit: cover; object-position: center 10%; border-radius: 14px; }
.author-profile h2 { font-size: 1.8rem; margin-bottom: 0.35rem; }
.author-profile__role { color: var(--rose); font-size: 0.85rem; margin-bottom: 0.75rem; }
.author-profile__body > p { font-size: 0.9rem; }
.author-profile__body .author-profile__disclosure { color: var(--muted); font-size: 0.75rem; margin: 0.75rem 0 0; }
.author-byline { display: inline-flex; gap: 0.65rem; align-items: center; color: var(--text); text-decoration: none; }
.author-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 8%; }
.author-byline__note { text-align: center; color: var(--muted); font-size: 0.72rem; margin-top: 0.7rem; }
.blog-card__meta time { color: var(--muted); }
@media (max-width: 680px) {
 .author-profile { grid-template-columns: 1fr; padding: 1.25rem; gap: 1rem; }
 .author-profile__photo { width: 112px; height: 140px; }
 .author-byline__note { text-align: left; }
}

/* A more considered editorial profile. */
.author-profile { grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; padding: 1.5rem; background: var(--surface); border-radius: 24px; }
.author-profile__photo { width: 240px; height: 300px; border-radius: 16px; object-position: center 20%; }
.author-profile__body { padding: 0.5rem 1rem 0.5rem 0; }
.author-profile__body .eyebrow { font-size: 0.7rem; margin-bottom: 0.8rem; }
.author-profile h2 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.1; margin-bottom: 0.6rem; }
.author-profile__body > p { max-width: 65ch; line-height: 1.75; }
.author-profile__body .author-profile__role { font-size: 0.88rem; margin-bottom: 1rem; }
.author-profile__topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0; }
.author-profile__topics span { padding: 0.35rem 0.65rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted-strong); font-size: 0.7rem; }
.author-profile__body .author-profile__disclosure { padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.72rem; line-height: 1.6; }
.article .author-profile { grid-template-columns: 160px minmax(0, 1fr); gap: 1.5rem; }
.article .author-profile__photo { width: 160px; height: 200px; }
.article .author-profile h2 { font-size: 2rem; }
.article-cover { margin: 2rem auto 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); }
.article-cover img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-illustration { margin: 2rem 0; }
.article-illustration img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.article-illustration figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
@media (max-width: 680px) {
 .author-profile, .article .author-profile { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
 .author-profile__photo, .article .author-profile__photo { width: 160px; height: 200px; }
 .author-profile__body { padding: 0; }
}

/* Align the article author panel with the main page container. */
.article-author-section {
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.article-author-section .author-profile {
  margin: 0;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem;
}
.article-author-section .author-profile__photo { width: 220px; height: 275px; }
.article-author-section .author-profile__body { padding: 0; }
.article-author-section .author-profile__body > p { max-width: 72ch; }
@media (max-width: 680px) {
 .article-author-section .author-profile { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
 .article-author-section .author-profile__photo { width: 160px; height: 200px; }
}

/* Center the homepage introduction and balance the longer headline. */
.hero-copy { text-align: center; margin-inline: auto; }
.hero-copy > .eyebrow { justify-content: center; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 4.7vw, 4.5rem);
  line-height: 1.08;
  text-wrap: balance;
  margin-inline: auto;
}
.hero-title-accent { color: var(--rose-soft); font-style: italic; }
.hero-copy .hero-lead { margin-inline: auto; text-wrap: pretty; }
.hero-copy .hero-ctas,
.hero-copy .hero-meta { justify-content: center; }
@media (max-width: 680px) {
 .hero-copy h1 { font-size: clamp(2.5rem, 9.5vw, 3.6rem); line-height: 1.1; }
}

/* Keep desktop copy left aligned; center the stacked mobile hero. */
@media (min-width: 901px) {
 .hero-copy { text-align: left; margin-inline: 0; }
 .hero-copy > .eyebrow,
 .hero-copy .hero-ctas,
 .hero-copy .hero-meta { justify-content: flex-start; }
 .hero-copy h1,
 .hero-copy .hero-lead { margin-inline: 0; }
}
