/* ==========================================================================
   OurDream AI Canada — design system
   Static, no frameworks. Shared by every page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — deep plum, never pure black */
  --bg:            #0a0710;
  --bg-2:          #100a1a;
  --bg-3:          #170f23;
  --surface:       rgba(255, 255, 255, 0.038);
  --surface-2:     rgba(255, 255, 255, 0.062);
  --surface-solid: #17101f;

  /* Lines */
  --border:        rgba(255, 255, 255, 0.085);
  --border-2:      rgba(255, 255, 255, 0.15);
  --border-warm:   rgba(224, 65, 127, 0.28);

  /* Ink */
  --text:          #f4eff8;
  --text-2:        #cfc4db;
  --muted:         #9a8daa;
  --faint:         #6f6480;

  /* Brand */
  --rose:          #e0417f;
  --rose-lt:       #ff7fb0;
  --violet:        #8b5cf6;
  --violet-lt:     #a78bfa;
  --peach:         #ff9d76;

  --grad:          linear-gradient(135deg, #8b5cf6 0%, #e0417f 100%);
  --grad-soft:     linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(224, 65, 127, .22));
  --grad-warm:     linear-gradient(120deg, #ff7fb0 0%, #ff9d76 100%);

  /* Status */
  --online:        #4ade80;

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 4px 16px rgba(0, 0, 0, .3);
  --sh:    0 18px 48px rgba(0, 0, 0, .45);
  --sh-lg: 0 32px 80px rgba(0, 0, 0, .55);
  --glow:  0 0 0 1px rgba(224, 65, 127, .18), 0 18px 50px rgba(224, 65, 127, .18);
  --glow-v:0 0 0 1px rgba(139, 92, 246, .2), 0 18px 50px rgba(139, 92, 246, .16);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
                  "Times New Roman", serif;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 780px;
  --header-h: 68px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient background wash — two soft light sources, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 620px at 12% -8%,  rgba(139, 92, 246, .18), transparent 62%),
    radial-gradient(820px 560px at 92% 4%,   rgba(224, 65, 127, .15), transparent 60%),
    radial-gradient(760px 700px at 50% 108%, rgba(139, 92, 246, .10), transparent 64%);
}

body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; border: 0; }
svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

::selection { background: rgba(224, 65, 127, .38); color: #fff; }

:focus-visible {
  outline: 2px solid var(--rose-lt);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface-solid);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  margin: 0 0 .55em;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: #fff;
}

h1 { font-size: clamp(2.1rem, 5.1vw, 3.6rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); letter-spacing: -0.024em; }
h3 { font-size: clamp(1.18rem, 2.1vw, 1.5rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.05em; color: var(--text-2); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  color: var(--text-2);
  line-height: 1.72;
}

/* Editorial display face — hero + article headlines only */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.012em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rose-lt);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--rose), transparent);
}

.muted { color: var(--muted); }
.small { font-size: .87rem; }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.container-narrow { max-width: var(--maxw-narrow); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.016) 20%, rgba(255,255,255,.016) 80%, transparent); }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { font-size: 1.04rem; }

.grid { display: grid; gap: 22px; }
.grid > *, .split > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* Asymmetric splits — deliberately avoid repeating one column ratio sitewide */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-a { grid-template-columns: 1.05fr .95fr; }
.split-b { grid-template-columns: .85fr 1.15fr; }
.split-c { grid-template-columns: 1.25fr .75fr; }
.split-wide { grid-template-columns: 1fr 1.35fr; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), border-color .22s var(--ease);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(224, 65, 127, .3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(224, 65, 127, .42);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-warm);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row.center { justify-content: center; }

.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 7, 16, .72);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.header.is-stuck {
  background: rgba(10, 7, 16, .93);
  border-bottom-color: var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 1.02rem;
  letter-spacing: -0.022em;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 65, 127, .35);
  flex-shrink: 0;
}
.brand-text small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  flex-wrap: nowrap;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 550;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: #fff; background: var(--surface); }
.nav a.active { color: #fff; background: var(--surface-2); }

.header-cta { margin-left: 10px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  place-items: center;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 4.5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(10, 7, 16, .97);
  backdrop-filter: blur(20px);
  padding: 24px 22px 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  display: block;
  padding: 15px 4px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--rose-lt); }
.mobile-menu .btn { margin-top: 24px; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 92px) 0 clamp(48px, 6vw, 80px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    radial-gradient(circle at 18% 42%, rgba(181, 73, 238, .22), transparent 32%),
    radial-gradient(circle at 88% 62%, rgba(224, 65, 127, .18), transparent 34%);
  background-size: 120px 120px, 120px 120px, 100% 100%, 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.15vw, 2.85rem);
  line-height: 1.08;
}
.hero .lead { max-width: 560px; margin-bottom: 30px; }

.home-hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
}
.home-hero .hero-grid { grid-template-columns: 1.18fr .82fr; }
.home-hero h1 {
  max-width: 700px;
  margin-bottom: 12px;
  font-family: var(--font);
  font-size: clamp(2.8rem, 4.15vw, 3.8rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-title-brand,
.hero-title-rest { display: block; }
.hero-title-brand {
  width: fit-content;
  margin-bottom: 5px;
  background: linear-gradient(90deg, #a84df0 0%, #f1429c 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero .hero-subtitle {
  margin: 0 0 22px;
  color: rgba(255,255,255,.72);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.home-hero .lead {
  max-width: 590px;
  margin-bottom: 26px;
  font-size: 1.02rem;
  line-height: 1.72;
}
.home-hero .hero-portrait {
  max-width: 480px;
  aspect-ratio: 4 / 5;
}
.home-hero .hero-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 22px;
  color: rgba(255,255,255,.46);
  font-size: .78rem;
}
.home-hero .hero-trust-line span { white-space: nowrap; }
.home-hero .hero-trust-line i {
  margin-right: 5px;
  color: var(--rose-lt);
  font-style: normal;
}

/* Hero visual — a single image per page */
.hero-visual { position: relative; }
.hero-portrait {
  max-width: 440px;
  margin-left: auto;
  aspect-ratio: 3 / 4.1;
}
.hero-portrait .portrait-caption { left: 20px; right: 20px; bottom: 18px; }

/* Stacked character visual — used inside content sections, not the hero */
.hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-stack .portrait { border-radius: var(--r-lg); }
.hero-stack > .hero-col:last-child { margin-top: 40px; }
.hero-col { display: grid; gap: 16px; }

/* Avatar-free status chip — keeps the hero to one image */
.pulse-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(224, 65, 127, .35);
}
.pulse-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.7s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .4; transform: scale(.72); }
}

.floating-card {
  position: absolute;
  left: -14px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 11px;
  border-radius: var(--r);
  background: rgba(23, 16, 31, .9);
  border: 1px solid var(--border-2);
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(14px);
  animation: float 5.5s ease-in-out infinite;
}
.floating-card .avatar { width: 38px; height: 38px; border-radius: 50%; }
.floating-card b { display: block; font-size: .85rem; color: #fff; }
.floating-card small { font-size: .74rem; color: var(--muted); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   8. Portrait / imagery
   -------------------------------------------------------------------------- */
.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--grad-soft);
  border: 1px solid var(--border);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.portrait-wide { aspect-ratio: 16 / 10; }
.portrait-tall { aspect-ratio: 3 / 4.4; }
.portrait-square { aspect-ratio: 1 / 1; }

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 7, 16, .82) 0%, transparent 52%);
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  z-index: 2;
}
.portrait-caption b {
  display: block;
  font-size: 1.02rem;
  color: #fff;
  letter-spacing: -0.015em;
}
.portrait-caption span { font-size: .8rem; color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: border-color .22s var(--ease), transform .22s var(--ease),
              background .22s var(--ease);
}
.card:hover {
  border-color: var(--border-warm);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; margin-bottom: 0; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--border-warm);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

/* Character card */
.char-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.char-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-warm);
  box-shadow: var(--sh);
}
.char-card .portrait { border-radius: 0; border: 0; aspect-ratio: 4 / 4.9; }
.char-card .portrait img,
.creator-preview .portrait img { object-position: center 22%; }
.char-card:hover .portrait img { transform: scale(1.05); }

.char-body { padding: 17px 18px 20px; }
.char-body h3 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.char-body p {
  font-size: .87rem;
  color: var(--muted);
  margin-bottom: 13px;
  line-height: 1.55;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .16);
  flex-shrink: 0;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .71rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  color: var(--text-2);
  white-space: nowrap;
}
.tag-rose {
  background: rgba(224, 65, 127, .14);
  border-color: rgba(224, 65, 127, .3);
  color: var(--rose-lt);
}
.tag-violet {
  background: rgba(139, 92, 246, .14);
  border-color: rgba(139, 92, 246, .3);
  color: var(--violet-lt);
}

/* Overlapping card cluster — used to break up grid monotony */
.overlap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.overlap > *:nth-child(2) { transform: translateY(-26px); }
.overlap > *:nth-child(3) { transform: translateY(14px); }

/* --------------------------------------------------------------------------
   10. Chat UI — every instance is a static demonstration
   -------------------------------------------------------------------------- */
.chat-ui {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(23, 16, 31, .97), rgba(16, 10, 26, .97));
  border: 1px solid var(--border-2);
  box-shadow: var(--sh-lg), var(--glow);
  overflow: hidden;
}
.chat-ui-wide { max-width: 100%; }

.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .022);
}
.chat-top .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--border-2);
}
.chat-top .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.chat-top .avatar::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--online);
  border: 2px solid #17101f;
}
.chat-top .who { flex: 1; min-width: 0; }
.chat-top .who b {
  display: block;
  font-size: .96rem;
  color: #fff;
  letter-spacing: -0.015em;
}
.chat-top .who span {
  font-size: .76rem;
  color: var(--online);
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-icons { display: flex; gap: 4px; color: var(--faint); font-size: .95rem; }
.chat-icons span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
}

.chat-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 300px;
  background:
    radial-gradient(400px 200px at 80% 0%, rgba(139, 92, 246, .1), transparent 70%),
    radial-gradient(400px 220px at 10% 100%, rgba(224, 65, 127, .09), transparent 70%);
}

.bubble {
  max-width: 79%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: .915rem;
  line-height: 1.58;
  position: relative;
  animation: rise .45s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}
.bubble-them {
  align-self: flex-start;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  color: var(--text);
}
.bubble-me {
  align-self: flex-end;
  background: var(--grad);
  border-bottom-right-radius: 6px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(224, 65, 127, .22);
}
.bubble-time {
  display: block;
  font-size: .68rem;
  opacity: .55;
  margin-top: 5px;
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--border);
  border-radius: 18px;
  border-bottom-left-radius: 6px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.3s infinite;
}
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1;  transform: translateY(-3px); }
}

.memory-chip {
  align-self: center;
  font-size: .72rem;
  color: var(--violet-lt);
  background: rgba(139, 92, 246, .13);
  border: 1px solid rgba(139, 92, 246, .26);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .022);
}
.chat-input .field {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  color: var(--faint);
  font-size: .88rem;
}
.chat-input .send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(224, 65, 127, .3);
}

.chat-note {
  text-align: center;
  font-size: .74rem;
  color: var(--faint);
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   11. Creator UI — interactive demo (no generation actually occurs)
   -------------------------------------------------------------------------- */
.creator {
  display: grid;
  grid-template-columns: 1.28fr .72fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(23, 16, 31, .96), rgba(16, 10, 26, .96));
  box-shadow: var(--sh-lg), var(--glow-v);
}
.creator-panel {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
}
.creator-preview {
  position: relative;
  min-width: 0;
  background: linear-gradient(180deg, rgba(139, 92, 246, .13), rgba(224, 65, 127, .1));
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 22px;
  gap: 16px;
}
.creator-preview .portrait { aspect-ratio: 4 / 4.4; }

.control-group {
  min-width: 0;
  margin-bottom: 24px;
}
.control-group:last-child { margin-bottom: 0; }
.control-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 11px;
}
.control-label em {
  font-style: normal;
  font-size: .76rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--rose-lt);
}

.chips { display: flex; min-width: 0; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 550;
  color: var(--text-2);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--border-warm); color: #fff; }
.chip[aria-pressed="true"],
.chip.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 65, 127, .28);
}

.style-grid { display: grid; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.style-opt {
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px;
  cursor: pointer;
  text-align: center;
  transition: all .18s var(--ease);
}
.style-opt:hover { border-color: var(--border-warm); }
.style-opt.active {
  border-color: var(--rose);
  background: rgba(224, 65, 127, .12);
  box-shadow: 0 0 0 1px rgba(224, 65, 127, .3);
}
.style-opt .swatch {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  border-radius: 9px;
  margin-bottom: 7px;
}
.style-opt small { font-size: .7rem; color: var(--text-2); font-weight: 600; }

.voice-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 9px;
  cursor: pointer;
  transition: all .18s var(--ease);
}
.voice-row:hover { border-color: var(--border-warm); background: var(--surface-2); }
.voice-row.active { border-color: var(--rose); background: rgba(224, 65, 127, .1); }
.voice-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .72rem;
  flex-shrink: 0;
}
.voice-row .meta { flex: 1; min-width: 0; }
.voice-row .meta b { display: block; font-size: .87rem; color: #fff; }
.voice-row .meta span { font-size: .74rem; color: var(--muted); }

.waveform { display: flex; align-items: center; gap: 2.5px; height: 26px; }
.waveform i {
  width: 2.5px;
  border-radius: 2px;
  background: var(--rose-lt);
  opacity: .75;
}

/* --------------------------------------------------------------------------
   12. Gallery / video / voice
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 13px;
}
.beyond-gallery-layout {
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(34px, 5vw, 76px);
}
.beyond-gallery-copy {
  max-width: 460px;
  padding-top: 8px;
}
.beyond-gallery {
  grid-auto-flow: dense;
}
.beyond-gallery .portrait img { object-position: center 24%; }
.gallery .portrait { border-radius: var(--r); }
.gallery .g-tall { grid-row: span 2; aspect-ratio: 3 / 4.1; }
.gallery .g-wide { grid-column: span 2; aspect-ratio: 16 / 9.4; }

.content-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.content-gallery .portrait { aspect-ratio: 1 / 1; }
.content-gallery .portrait:first-child {
  grid-row: 1 / span 2;
  aspect-ratio: auto;
}
.content-gallery .portrait img { object-position: center 24%; }

.video-shell {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: #0d0814;
  box-shadow: var(--sh);
}
.video-shell .portrait { border-radius: 0; border: 0; aspect-ratio: 16 / 9.6; }
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  place-items: center;
  z-index: 3;
  transition: transform .22s var(--ease), background .22s var(--ease);
}
.play-btn::after {
  content: "";
  border-left: 17px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 5px;
}
.video-shell:hover .play-btn { transform: scale(1.09); background: rgba(255, 255, 255, .22); }

.video-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
}
.video-bar i {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: 3px;
  background: var(--grad-warm);
}

.voice-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
}
.voice-big .waveform { height: 54px; gap: 3.5px; margin: 18px 0; }
.voice-big .waveform i { width: 3.5px; background: var(--grad-warm); opacity: .9; }

/* --------------------------------------------------------------------------
   13. Scenario cards
   -------------------------------------------------------------------------- */
.scenario {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 3.4;
  display: flex;
  align-items: flex-end;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.scenario:hover { transform: translateY(-5px); border-color: var(--border-warm); }
.scenario img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scenario::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 7, 16, .93) 6%, rgba(10, 7, 16, .18) 62%);
}
.scenario-body { position: relative; z-index: 2; padding: 19px; width: 100%; }
.scenario-body h3 { font-size: 1.05rem; margin-bottom: 5px; }
.scenario-body p { font-size: .855rem; color: rgba(255, 255, 255, .72); margin: 0; line-height: 1.5; }
.scenario-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(10, 7, 16, .68);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   14. Steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: block;
}

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  text-align: left;
  font-size: 1.03rem;
  font-weight: 620;
  color: var(--text);
  letter-spacing: -0.012em;
  transition: color .18s var(--ease);
}
.faq-q:hover { color: var(--rose-lt); }
.faq-q .mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: grid;
  place-items: center;
  position: relative;
  transition: all .22s var(--ease);
  margin-top: 1px;
}
.faq-q .mark::before,
.faq-q .mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.faq-q .mark::before { width: 10px; height: 1.6px; }
.faq-q .mark::after  { width: 1.6px; height: 10px; }
.faq-item.open .faq-q { color: var(--rose-lt); }
.faq-item.open .faq-q .mark {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.faq-item.open .faq-q .mark::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--ease);
}
.faq-a-inner {
  padding: 0 0 24px;
  max-width: 720px;
  color: var(--text-2);
  font-size: .96rem;
}
.faq-a-inner p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(26px, 5vw, 64px);
  border: 1px solid var(--border-warm);
  background:
    radial-gradient(700px 340px at 82% 18%, rgba(224, 65, 127, .3), transparent 66%),
    radial-gradient(620px 320px at 8% 88%, rgba(139, 92, 246, .28), transparent 66%),
    linear-gradient(150deg, #1b1128, #120b1c);
  box-shadow: var(--sh-lg);
}
.cta-band-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin-bottom: 28px; max-width: 520px; }
.cta-band .portrait {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}

/* Inline CTA strip used mid-article */
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-warm);
  background: linear-gradient(120deg, rgba(139, 92, 246, .13), rgba(224, 65, 127, .13));
  margin: 34px 0;
}
.cta-inline p { margin: 0; font-size: .96rem; color: var(--text); font-weight: 550; }

/* --------------------------------------------------------------------------
   17. Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs {
  font-size: .8rem;
  color: var(--muted);
  padding: 22px 0 0;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--faint); }
.crumbs a:hover { color: var(--rose-lt); }
.crumbs [aria-current] { color: var(--text-2); }

/* --------------------------------------------------------------------------
   18. Article / prose
   -------------------------------------------------------------------------- */
.article-head { padding: clamp(30px, 4vw, 52px) 0 clamp(26px, 3vw, 38px); }
.article-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.014em;
  max-width: 880px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: .83rem;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.article-meta .tag { font-size: .72rem; }

.article-byline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .88rem;
}
.article-byline img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-warm);
}
.article-byline strong { display: block; color: var(--text); font-size: .92rem; }
.article-byline span { display: block; margin-top: 2px; }
.article-cover {
  width: min(100%, var(--maxw-narrow));
  margin: 0 auto 34px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: var(--maxw-narrow); }
.prose h2 {
  font-size: clamp(1.42rem, 2.7vw, 1.95rem);
  margin: 52px 0 18px;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 13px; font-size: 1.19rem; }
.prose p { font-size: 1.015rem; line-height: 1.78; }
.prose ul, .prose ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--text-2);
}
.prose li { margin-bottom: 10px; line-height: 1.7; }
.prose li::marker { color: var(--rose); }
.prose strong { color: #fff; font-weight: 650; }
.prose a {
  color: var(--rose-lt);
  text-decoration: underline;
  text-decoration-color: rgba(224, 65, 127, .4);
  text-underline-offset: 3px;
  transition: text-decoration-color .18s var(--ease);
}
.prose a:hover { text-decoration-color: var(--rose-lt); }
.prose blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--rose);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.55;
  color: #fff;
}
.prose figure { margin: 36px 0; }
.prose figcaption {
  font-size: .82rem;
  color: var(--faint);
  margin-top: 12px;
  text-align: center;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  gap: 11px;
}
.checklist li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px 19px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .96rem;
  color: var(--text-2);
  margin: 0;
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--grad) ;
  margin-top: 2px;
  background-image: var(--grad), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: cover, 12px 12px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.overview-feature-list li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 13px;
}

.overview-feature-list .feature-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.overview-feature-list .feature-copy strong {
  color: var(--text);
  line-height: 1.35;
}

.overview-feature-list .feature-copy > span {
  color: var(--text-2);
  line-height: 1.55;
}

/* Callout */
.callout {
  padding: 22px 26px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 30px 0;
  font-size: .96rem;
}
.callout strong { display: block; margin-bottom: 7px; color: #fff; }
.callout-warn {
  border-color: rgba(255, 157, 118, .32);
  background: rgba(255, 157, 118, .07);
}
.callout-note {
  border-color: rgba(139, 92, 246, .3);
  background: rgba(139, 92, 246, .07);
}
.callout p:last-child { margin-bottom: 0; }

/* Table */
.table-wrap { overflow-x: auto; margin: 30px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 480px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}
td { color: var(--text-2); }
td:first-child { color: #fff; font-weight: 600; white-space: nowrap; }
tbody tr:hover td { background: rgba(255, 255, 255, .022); }

/* Decision flow (article 2) */
.decision {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 26px;
  margin: 32px 0;
}
.decision-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.decision-row:last-child { border-bottom: 0; }
.decision-row b {
  color: #fff;
  font-size: .96rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.decision-row b::after { content: "→"; color: var(--rose); }
.decision-row span { font-size: .92rem; color: var(--muted); }

/* Table of contents */
.toc {
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px 24px;
  margin: 0 0 40px;
}
.toc b {
  display: block;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 13px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin-bottom: 9px; counter-increment: toc; }
.toc a {
  color: var(--text-2);
  font-size: .92rem;
  display: flex;
  gap: 11px;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--rose);
  font-weight: 700;
  font-size: .78rem;
  padding-top: 2px;
}
.toc a:hover { color: #fff; }

/* Article cards (blog hub) */
.post-card {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.post-card:hover { border-color: var(--border-warm); transform: translateY(-3px); }
.post-card .portrait { border-radius: 0; border: 0; height: 100%; aspect-ratio: auto; min-height: 210px; }
.post-card-body { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.post-card-body h3 { font-size: 1.32rem; margin: 14px 0 11px; }
.post-card-body p { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-mini {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.post-mini:hover { border-color: var(--border-warm); transform: translateY(-3px); }
.post-mini .portrait { border-radius: 0; border: 0; aspect-ratio: 16 / 9.6; }
.post-mini-body { padding: 20px; }
.post-mini-body h3 { font-size: 1.02rem; margin: 11px 0 8px; }
.post-mini-body p { font-size: .87rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer {
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .05));
  padding: clamp(44px, 6vw, 68px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: .89rem;
  color: var(--muted);
  max-width: 300px;
  margin: 16px 0 0;
}
.footer h4 {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 15px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: .89rem; color: var(--text-2); }
.footer li a:hover { color: var(--rose-lt); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--faint);
}
.footer-bottom .disclaimer {
  max-width: 660px;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--faint);
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--rose-lt); }

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-2);
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
/* Scroll reveal — content is visible by default; JS opts it into the effect,
   so nothing is ever hidden when JavaScript is unavailable. */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

[hidden] { display: none !important; }

.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 26px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 56px; }
.nowrap { white-space: nowrap; }
.hide-mobile { display: initial; }

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu { display: block; }

  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-a, .split-b, .split-c, .split-wide,
  .cta-band-grid,
  .creator { grid-template-columns: 1fr; }

  .hero-visual { order: -1; }
  .home-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { margin: 0 auto; max-width: 380px; }
  .hero-stack > .hero-col:last-child { margin-top: 0; }
  .floating-card { left: auto; right: 8px; bottom: 12px; }

  .creator-preview { border-left: 0; border-top: 1px solid var(--border); }
  .beyond-gallery-layout { gap: 28px; }
  .beyond-gallery-copy { max-width: 680px; padding-top: 0; }

  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .overlap { grid-template-columns: repeat(3, 1fr); }
  .overlap > *:nth-child(n) { transform: none; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card { grid-template-columns: 1fr; }
  .post-card .portrait { aspect-ratio: 16 / 9; min-height: 0; }
  .cta-band .portrait { max-width: 340px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .container { padding: 0 17px; }
  .g-2, .g-3, .g-4, .post-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .beyond-gallery { gap: 10px; }
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-tall { grid-row: span 1; aspect-ratio: 4 / 5; }
  .content-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 10px;
  }
  .content-gallery .portrait { aspect-ratio: 4 / 5; }
  .content-gallery .portrait:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .overlap { grid-template-columns: 1fr; }
  .creator-panel, .creator-preview { padding: 18px; }
  .style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .style-opt { min-width: 0; padding: 7px 5px; }
  .style-opt small { overflow-wrap: anywhere; }
  .voice-row { min-width: 0; padding: 11px 12px; }
  .voice-row .meta { min-width: 0; }
  .waveform { flex-shrink: 1; min-width: 36px; }

  .overview-feature-list { margin: 24px 0 22px; gap: 8px; }
  .overview-feature-list li {
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 14px;
    border-radius: 12px;
  }
  .overview-feature-list li::before {
    width: 15px;
    height: 15px;
    margin-top: 3px;
  }
  .overview-feature-list .feature-copy { gap: 2px; }
  .overview-feature-list .feature-copy strong { font-size: .9rem; }
  .overview-feature-list .feature-copy > span {
    font-size: .86rem;
    line-height: 1.48;
  }
  .overview-actions { gap: 7px; }
  .overview-actions .btn-primary {
    padding-inline: 14px;
    font-size: .8rem;
  }
  .overview-actions .btn-ghost {
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    padding-block: 9px;
  }

  .btn { width: 100%; white-space: normal; text-align: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .cta-inline { flex-direction: column; align-items: stretch; text-align: center; }

  .hero h1 { font-size: 1.55rem; }
  .home-hero { min-height: 0; }
  .home-hero h1 { font-size: 1.65rem; line-height: 1.02; }
  .home-hero .hero-subtitle { font-size: 1rem; margin-bottom: 18px; }
  .home-hero .hero-trust-line { gap: 8px 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .decision-row { grid-template-columns: 1fr; gap: 5px; }
  .decision-row b::after { content: ""; }
  .chat-ui { max-width: 100%; }
  .bubble { max-width: 88%; }
  .article-head h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .hide-mobile { display: none; }
}

/* --------------------------------------------------------------------------
   22. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body { background: #fff; color: #000; }
  body::before, .header, .mobile-menu, .footer, .cta-band { display: none; }
  .prose { max-width: 100%; }
}
