:root {
  --bg: #0a0713;
  --panel: #140e22;
  --panel-2: #1b1330;
  --border: #2a2140;
  --text: #ece8f5;
  --muted: #9990b3;
  --accent: #a94bff;
  --accent-2: #7b5cff;
  --danger: #ff5c6c;
  --ok: #3fb950;
  --adult: #ff3d9a;
  --grad: linear-gradient(135deg, #6d5cff 0%, #a94bff 50%, #ff3d9a 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 720px at 50% -8%, rgba(124, 92, 255, 0.28), transparent 62%),
    radial-gradient(900px 620px at 88% 12%, rgba(169, 75, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #0c0718 0%, #0a0713 45%, #08060f 100%);
  background-attachment: fixed;
}

/* Subtle starfield */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.6;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 24% 62%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.6px 1.6px at 38% 28%, rgba(214,190,255,0.9), transparent),
    radial-gradient(1px 1px at 47% 74%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.3px 1.3px at 58% 12%, #fff, transparent),
    radial-gradient(1px 1px at 66% 48%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 74% 82%, rgba(214,190,255,0.9), transparent),
    radial-gradient(1px 1px at 82% 22%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.2px 1.2px at 90% 58%, #fff, transparent),
    radial-gradient(1px 1px at 33% 88%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.4px 1.4px at 6% 45%, rgba(214,190,255,0.8), transparent),
    radial-gradient(1px 1px at 95% 82%, rgba(255,255,255,0.6), transparent);
  background-repeat: no-repeat;
}
body > * { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}

.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.brand span { color: var(--accent); }

.brand-link { display: inline-flex; align-items: center; }
.logo-img { height: 30px; width: auto; display: block; }
.topnav { display: flex; align-items: center; gap: 20px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-link:hover { color: var(--text); }

.adult-btn {
  background: linear-gradient(135deg, var(--adult), #ff6a4d);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255, 61, 127, 0.35);
}
.adult-btn:hover { filter: brightness(1.08); }

.screen { display: none; flex: 1; flex-direction: column; }
.screen.active { display: flex; }

#landing {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 18px;
}

#landing h1 { font-size: 40px; letter-spacing: -1px; }
.sub { color: var(--muted); font-size: 18px; }

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.mode-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.mode-card {
  width: 220px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.12s, border-color 0.12s;
}
.mode-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.mode-emoji { font-size: 40px; }
.mode-title { font-size: 20px; font-weight: 700; margin-top: 10px; }
.mode-desc { color: var(--muted); font-size: 14px; margin-top: 4px; }

.fineprint { color: var(--muted); font-size: 12px; max-width: 460px; margin-top: 12px; }

/* Chat */
#chat { max-width: 720px; width: 100%; margin: 0 auto; padding: 12px; }
.status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 4px; border-bottom: 1px solid var(--border);
}
.status { font-size: 14px; color: var(--muted); }
.status.connected { color: var(--ok); }
.mode-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.voice-panel { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; }
.voice-orb {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; font-size: 48px;
  box-shadow: 0 0 40px rgba(108, 140, 255, 0.4);
}
.voice-orb.talking { animation: pulse 0.8s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.voice-hint { color: var(--muted); font-size: 14px; }

.messages { flex: 1; overflow-y: auto; padding: 12px 4px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
.msg { max-width: 75%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.4; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: var(--accent-2); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: var(--panel-2); border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; background: transparent; color: var(--muted); font-size: 13px; font-style: italic; }

.typing { color: var(--muted); font-size: 13px; padding: 0 8px 6px; }

.composer { display: flex; gap: 8px; padding: 8px 0; }
#input {
  flex: 1; background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; color: var(--text); font-size: 15px;
}
#input:focus { outline: none; border-color: var(--accent); }
.send-btn { background: var(--accent-2); color: #fff; border: none; border-radius: 12px; padding: 0 20px; font-weight: 700; cursor: pointer; }

.controls { display: flex; gap: 8px; padding: 8px 0; }
.ctrl { flex: 1; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); color: var(--text); font-weight: 600; cursor: pointer; }
.ctrl.skip:hover { border-color: var(--accent); }
.ctrl.report:hover { border-color: var(--danger); color: var(--danger); }
.ctrl.stop:hover { border-color: var(--muted); }

/* Modals */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 28px; max-width: 420px; width: 100%; text-align: center; }
.modal h2 { font-size: 22px; margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions.column { flex-direction: column; }
.modal-btn { flex: 1; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font-weight: 600; cursor: pointer; }
.modal-btn.primary { background: linear-gradient(135deg, var(--adult), #ff6a4d); border: none; color: #fff; }
.modal-btn:hover { filter: brightness(1.1); }
.modal-fine { font-size: 12px; margin-top: 14px; }

.hidden { display: none !important; }

/* Brand hero */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero { position: relative; display: flex; justify-content: center; margin-bottom: 4px; }
.hero-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 75, 255, 0.35), transparent 70%);
  filter: blur(20px); z-index: 0;
}
.hero-mascot {
  position: relative; z-index: 1; width: 190px; height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 12px 30px rgba(109, 92, 255, 0.35));
}

/* Sticker row */
.sticker-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.sticker-row img {
  width: 78px; height: 78px; object-fit: contain;
  transition: transform 0.15s;
  filter: drop-shadow(0 6px 14px rgba(109, 92, 255, 0.25));
}
.sticker-row img:hover { transform: translateY(-6px) scale(1.08); }

/* Footer */
.site-footer {
  margin-top: 40px; padding: 28px 20px; border-top: 1px solid var(--border);
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.footer-mark { width: 34px; height: 34px; object-fit: contain; opacity: 0.9; }
.footer-nav { display: flex; gap: 22px; align-items: center; }
.footer-nav a, .link-btn {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.footer-nav a:hover, .link-btn:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* Brand page */
.brand-page { max-width: 960px; margin: 0 auto; padding: 20px; width: 100%; }
.brand-hero { position: relative; text-align: center; padding: 40px 10px 30px; }
.brand-hero-mascot { position: relative; z-index: 1; width: 160px; border-radius: 24px; filter: drop-shadow(0 12px 30px rgba(109, 92, 255, 0.35)); }
.brand-hero h1 { font-size: 36px; letter-spacing: -1px; margin-top: 16px; }
.brand-hero .sub { max-width: 560px; margin: 10px auto 0; }

.brand-block { padding: 28px 0; border-top: 1px solid var(--border); }
.brand-block h2 { font-size: 24px; margin-bottom: 6px; }
.block-note { color: var(--muted); font-size: 15px; margin-bottom: 18px; max-width: 620px; }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.logo-cell { border-radius: 16px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; border: 1px solid var(--border); }
.logo-cell.dark { background: #0d1117; }
.logo-cell.light { background: #e6edf3; }
.logo-cell img { max-width: 100%; height: 34px; }
.logo-cell img.mark { height: 60px; }
.logo-cell span { font-size: 13px; color: var(--muted); }
.logo-cell.light span { color: #57606a; }

.swatch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.swatch { border-radius: 14px; padding: 22px 16px; min-height: 96px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.swatch span { font-weight: 700; font-size: 15px; }
.swatch code { font-size: 12px; opacity: 0.85; }

.expression-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.expression-grid figure { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 16px; text-align: center; }
.expression-grid img { width: 96px; height: 96px; object-fit: contain; }
.expression-grid figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.voice-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.voice-card h3 { font-size: 17px; margin-bottom: 8px; }
.voice-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ===== Clean call / chat screen ===== */
.call-screen { max-width: 100%; padding: 0; position: relative; align-items: center; justify-content: center; overflow: hidden; }

.call-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; padding: 16px 20px;
}
.call-chip {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); color: var(--text);
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.call-chip span { opacity: 0.7; margin-right: 2px; }
.call-chip:hover { background: rgba(255, 255, 255, 0.12); }
.call-chip.report:hover { color: var(--danger); border-color: var(--danger); }
.call-timer { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 16px; font-weight: 700; letter-spacing: 1px; }

/* Searching */
.searching { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.search-orb { position: relative; width: 240px; height: 240px; display: flex; align-items: center; justify-content: center; }
.search-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 75, 255, 0.35), transparent 68%);
  filter: blur(8px); animation: breathe 2.4s ease-in-out infinite;
}
.search-mascot { position: relative; z-index: 1; width: 190px; height: 190px; object-fit: contain; animation: bob 2.2s ease-in-out infinite; }
.search-text { font-size: 20px; font-weight: 700; }
.search-dots { display: flex; gap: 7px; }
.search-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.search-dots span:nth-child(2) { animation-delay: 0.2s; }
.search-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%, 100% { transform: scale(0.92); opacity: 0.65; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* Connected stage */
.stage { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.avatar-wrap { position: relative; width: 210px; height: 210px; display: flex; align-items: center; justify-content: center; }
.pulse-ring {
  position: absolute; inset: 26px; border-radius: 50%; border: 2px solid var(--accent);
  box-shadow: 0 0 60px rgba(169, 75, 255, 0.5); animation: pulsering 2s ease-out infinite;
}
.avatar {
  position: relative; z-index: 1; width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(169, 75, 255, 0.6);
  background: radial-gradient(circle at 50% 40%, #241b3a, #0d1117);
}
.stranger-name { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.stranger-meta { color: var(--muted); font-size: 15px; }
@keyframes pulsering { 0% { transform: scale(0.9); opacity: 0.9; } 70% { transform: scale(1.3); opacity: 0; } 100% { opacity: 0; } }

/* Chat panel (bottom sheet) */
.chat-panel {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 104px;
  width: min(680px, 92%); max-height: 44vh; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  z-index: 4; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.chat-panel .messages { min-height: 120px; padding: 14px; }
.chat-panel .composer { padding: 10px; border-top: 1px solid var(--border); margin: 0; }
.chat-panel .send-btn { min-width: 46px; padding: 0; }

/* Control pill */
.control-pill {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; align-items: center; gap: 10px; padding: 10px;
  background: rgba(20, 26, 35, 0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.pill-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s, transform 0.1s;
}
.pill-btn:hover { background: rgba(255, 255, 255, 0.16); }
.pill-btn:active { transform: scale(0.94); }
.pill-btn.muted { background: var(--danger); }
.pill-btn.active { background: var(--accent-2); }
.pill-btn.end { width: auto; padding: 0 22px; border-radius: 999px; background: var(--danger); font-weight: 800; font-size: 14px; letter-spacing: 0.5px; white-space: nowrap; flex: none; gap: 6px; }
.pill-btn.end:hover { background: #ff4155; }
.pill-btn.skip { width: auto; padding: 0 20px; border-radius: 999px; background: rgba(124, 92, 255, 0.18); color: #d6c8ff; font-weight: 800; font-size: 14px; letter-spacing: 0.5px; white-space: nowrap; flex: none; gap: 7px; }
.pill-btn.skip:hover { background: rgba(124, 92, 255, 0.3); color: #fff; }
.pill-btn.skip .skip-ico { font-size: 15px; line-height: 1; }

@media (max-width: 500px) {
  #landing h1 { font-size: 30px; }
  .mode-card { width: 100%; }
  .hero-mascot { width: 150px; }
  .brand-hero h1 { font-size: 28px; }
  .search-mascot { width: 150px; }
  .avatar { width: 120px; height: 120px; }
  .chat-panel { bottom: 96px; max-height: 40vh; }
}

/* ============ Marketing homepage ============ */
#landing { text-align: left; padding: 0; gap: 0; }
#landing.screen.active { display: block; }

.home { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 4px; margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.nav .logo-img { height: 30px; }
.nav-center { display: flex; gap: 30px; }
.nav-center .nav-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav-center .nav-link:hover { color: var(--text); }
.nav-center .nav-link.active { color: var(--text); }
.nav-center .nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #7b5cff, #a94bff); color: #fff; border: none;
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer;
  font-family: inherit; box-shadow: 0 6px 20px rgba(124, 92, 255, 0.35); transition: transform 0.1s, filter 0.15s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary.lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  padding: 15px 26px; border-radius: 14px; font-weight: 700; font-size: 16px; cursor: pointer; font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(169, 75, 255, 0.08); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.btn-ghost.adult { border-color: rgba(255, 61, 154, 0.5); color: #ff87bd; }
.btn-ghost.adult:hover { background: rgba(255, 61, 154, 0.12); }

/* Hero */
.hero-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; padding: 90px 0 120px; min-height: 66vh; }
.hero-copy h1 { font-size: 60px; line-height: 1.04; letter-spacing: -1.5px; font-weight: 800; }
.hero-sub { color: var(--muted); font-size: 18px; line-height: 1.55; margin-top: 20px; max-width: 440px; }
.hero-btns { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.social-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -10px; background: var(--panel-2); }
.avatars img:first-child { margin-left: 0; }
.online-line { color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-art .hero-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.45), rgba(169, 75, 255, 0.12) 45%, transparent 70%);
  filter: blur(10px); z-index: 0; animation: breathe 4s ease-in-out infinite;
}
.hero-mascot { position: relative; z-index: 1; width: 300px; height: auto; filter: drop-shadow(0 20px 40px rgba(124, 92, 255, 0.4)); animation: bob 4s ease-in-out infinite; }
.spark { position: absolute; color: #b98bff; font-size: 20px; z-index: 1; animation: twinkle 3s ease-in-out infinite; }
.spark.s1 { top: 14%; left: 20%; } .spark.s2 { top: 26%; right: 16%; font-size: 14px; animation-delay: .5s; }
.spark.s3 { bottom: 24%; left: 14%; font-size: 16px; animation-delay: 1s; } .spark.s4 { bottom: 30%; right: 20%; animation-delay: 1.5s; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.1); } }
.hi-bubble {
  position: absolute; top: 10%; right: 8%; z-index: 2;
  background: linear-gradient(135deg, #7b5cff, #a94bff); color: #fff; font-weight: 800; font-size: 22px;
  padding: 12px 20px; border-radius: 18px 18px 18px 4px; box-shadow: 0 8px 24px rgba(124, 92, 255, 0.5);
  animation: bob 3.5s ease-in-out infinite;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 40px 0 100px; }
.feature { text-align: center; padding: 20px; position: relative; }
.feature:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--border); }
.feat-icon { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.25); }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* How it works */
.how { text-align: center; padding: 50px 0 110px; }
.how h2 { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 10px; }
.step-num { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #7b5cff, #a94bff); color: #fff; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(124, 92, 255, 0.4); }
.step h4 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* CTA band */
.cta-band {
  display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 20px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(169, 75, 255, 0.08));
  border: 1px solid rgba(124, 92, 255, 0.3); border-radius: 24px; padding: 60px; margin-bottom: 100px; overflow: hidden;
}
.cta-copy h2 { font-size: 34px; line-height: 1.1; letter-spacing: -0.5px; }
.cta-copy p { color: var(--muted); font-size: 16px; margin: 16px 0 26px; max-width: 420px; }
.cta-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.cta-art .hero-glow.small { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 68%); filter: blur(8px); }
.cta-mascot { position: relative; z-index: 1; width: 200px; height: auto; filter: drop-shadow(0 16px 30px rgba(124, 92, 255, 0.4)); animation: bob 4s ease-in-out infinite; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 3fr; gap: 30px; }
.footer-brand .logo-img { height: 28px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; }
.footer-col a, .footer-linkbtn { display: block; color: var(--text); text-decoration: none; font-size: 14px; margin-bottom: 10px; opacity: 0.85; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; text-align: left; }
.footer-col a:hover, .footer-linkbtn:hover { color: var(--accent); opacity: 1; }
.footer-bottom { text-align: center; color: var(--muted); font-size: 13px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }

@media (max-width: 820px) {
  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy h1 { font-size: 40px; }
  .hero-sub, .hero-btns, .social-proof { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero-art { min-height: 320px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature::after { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-copy p { margin-left: auto; margin-right: auto; }
  .hero-btns .cta-stack, .cta-band .cta-stack { align-items: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .nav-center { display: none; }
}

/* ============ CSS Orb (brand mark) ============ */
.orb {
  --s: 300px;
  position: relative; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #3d2064 0%, #26123f 34%, #160a29 62%, #0b0518 100%);
  box-shadow:
    0 0 3px 1px rgba(196,140,255, 0.65),
    0 0 60px 6px rgba(124, 92, 255, 0.45),
    0 0 130px 20px rgba(124, 92, 255, 0.22),
    inset 0 0 40px 6px rgba(124, 92, 255, 0.35),
    inset 0 -12px 30px rgba(80, 40, 150, 0.55),
    inset 0 16px 26px rgba(214, 176, 255, 0.32);
  flex: none;
}
.orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(180, 100, 255, 0.7) 70%, transparent 80%);
  mix-blend-mode: screen; pointer-events: none;
}
.orb .eye {
  position: absolute; top: 44%; width: 13%; height: 15%; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f1e7ff 55%, #d0b6ff 100%);
  box-shadow: 0 0 12px 2px rgba(255,255,255,0.8), 0 0 26px 6px rgba(190,140,255,0.7);
  transition: transform 0.3s ease, height 0.3s ease, border-radius 0.3s ease, top 0.3s ease;
}
.orb .eye.l { left: 33%; }
.orb .eye.r { right: 33%; }

/* Size variants */
.orb.hero-orb { --s: 300px; }
.hero-orb-wrap { animation: orbFloat 5s ease-in-out infinite; }
.orb.cta-orb { --s: 190px; animation: orbFloat 5s ease-in-out infinite; }
.orb.avatar-orb { --s: 150px; }
.orb.brand-orb, .orb.mini { --s: 40px; box-shadow: 0 0 2px 1px rgba(196,140,255,0.6), 0 0 16px 3px rgba(124,92,255,0.5), inset 0 0 12px 2px rgba(124,92,255,0.4), inset 0 4px 8px rgba(214,176,255,0.35); }
@keyframes orbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* States */
.orb.searching .eye { animation: lookAround 2.4s ease-in-out infinite, eyeBlink 3.2s ease-in-out infinite; }
@keyframes lookAround { 0%,100% { transform: translateX(-22%); } 50% { transform: translateX(22%); } }
@keyframes eyeBlink { 0%, 88%, 100% { height: 15%; top: 44%; } 92%, 95% { height: 1.5%; top: 50%; } }
.orb.connected .eye, .orb.happy .eye { height: 7%; top: 46%; border-radius: 60% 60% 0 0; }
.orb.matchfound .eye { transform: scale(1.25); }
.orb.pulse { animation: orbPulse 1.6s ease-in-out infinite; }
@keyframes orbPulse { 0%,100% { box-shadow: 0 0 3px 1px rgba(196,140,255,0.65), 0 0 60px 6px rgba(124,92,255,0.4), inset 0 0 40px 6px rgba(124,92,255,0.35), inset 0 -12px 30px rgba(80,40,150,0.55), inset 0 16px 26px rgba(214,176,255,0.32); } 50% { box-shadow: 0 0 4px 2px rgba(196,140,255,0.9), 0 0 90px 14px rgba(124,92,255,0.6), inset 0 0 46px 8px rgba(124,92,255,0.45), inset 0 -12px 30px rgba(80,40,150,0.55), inset 0 16px 26px rgba(214,176,255,0.4); } }

/* Brand lockup (orb + wordmark) */
.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: 1.5px; color: #fff; }
.brand-word b { color: var(--accent); font-weight: 800; }

.orb.search-orb-el { --s: 180px; }

/* ===== SEO content + FAQ ===== */
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.3px; margin-bottom: 14px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head h2 { font-size: 32px; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

.content { max-width: 760px; margin: 0 auto; padding: 20px 0 90px; display: grid; gap: 40px; }
.content-block h2 { font-size: 26px; letter-spacing: -0.4px; margin-bottom: 12px; }
.content-block p { color: var(--muted); font-size: 16.5px; line-height: 1.7; }

.faq { max-width: 760px; margin: 0 auto; padding: 10px 0 90px; }
.faq > h2 { font-size: 32px; letter-spacing: -0.5px; text-align: center; margin-bottom: 34px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 20px; transition: border-color 0.15s;
}
.faq-item[open] { border-color: rgba(169, 75, 255, 0.4); }
.faq-item summary {
  list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--text);
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15.5px; line-height: 1.65; padding: 0 0 18px; }

@media (max-width: 500px) {
  .content-block h2, .faq > h2, .section-head h2 { font-size: 24px; }
}

/* ===== Hero orb moods (JS toggles classes on #heroOrb) ===== */
.orb.hero-orb .eye { transition: transform 0.28s ease, height 0.28s ease, border-radius 0.28s ease, top 0.28s ease; }
.m-blink .eye { animation: moodBlink 0.55s ease-in-out; }
@keyframes moodBlink { 0%, 100% { height: 15%; top: 44%; } 45%, 60% { height: 1.5%; top: 50%; } }
.m-wink .eye.l { animation: moodBlink 0.55s ease-in-out; }
.m-look .eye { animation: moodLook 1.5s ease-in-out; }
@keyframes moodLook { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-28%); } 62% { transform: translateX(28%); } }
.m-happy .eye { height: 7%; top: 46%; border-radius: 60% 60% 0 0; }
.m-surprised .eye { transform: scale(1.4); }
.m-surprised { animation: moodPop 0.55s ease-out; }
@keyframes moodPop { 0% { transform: scale(1); } 40% { transform: scale(1.09); } 100% { transform: scale(1); } }
.m-mad .eye { height: 10%; }
.m-mad .eye.l { transform: translateY(-8%) rotate(22deg); }
.m-mad .eye.r { transform: translateY(-8%) rotate(-22deg); }
.m-mad { animation: moodShake 0.5s ease-in-out; }
@keyframes moodShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7%); } 40% { transform: translateX(7%); } 60% { transform: translateX(-5%); } 80% { transform: translateX(5%); } }
.m-dizzy .eye.l { transform: translate(12%, -5%); }
.m-dizzy .eye.r { transform: translate(-12%, 5%); }
.m-dizzy { animation: moodWobble 1.2s ease-in-out; }
@keyframes moodWobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(7deg); } 75% { transform: rotate(-7deg); } }

/* ===== Twinkling starfield ===== */
.starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.starfield .star {
  position: absolute; border-radius: 50%; background: #fff;
  animation: twinkle var(--tw, 4s) ease-in-out infinite; animation-delay: var(--dl, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--o, 0.6); transform: scale(1); }
  50% { opacity: 0.12; transform: scale(0.65); }
}

/* ===== Shooting stars / comets (motion driven by JS, each unique) ===== */
.shooting-star {
  position: fixed; z-index: 0; height: 1.6px; pointer-events: none; will-change: transform, opacity;
  width: var(--len, 90px);
  background: linear-gradient(90deg, rgba(224, 205, 255, 0) 0%, rgba(214, 190, 255, 0.12) 45%, rgba(240, 232, 255, 0.92) 100%);
  border-radius: 999px; filter: drop-shadow(0 0 3px rgba(190, 140, 255, 0.55));
}
.shooting-star::after {
  content: ""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 3.5px; height: 3.5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 7px 2px rgba(224, 205, 255, 0.9);
}
@media (prefers-reduced-motion: reduce) {
  .starfield, .shooting-star { display: none !important; }
  .hero-orb-wrap, .m-mad, .m-surprised, .m-dizzy { animation: none !important; }
}

/* ===== Links styled as buttons ===== */
a.btn-primary, a.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }

/* ===== Hero/CTA button stack with 18+ note ===== */
.cta-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.page-cta .cta-stack { align-items: center; }
.age-note { font-size: 13px; color: var(--muted); }

/* ===== App page top bar ===== */
.app-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  background: rgba(12, 7, 24, 0.65); backdrop-filter: blur(10px);
  position: relative; z-index: 10; flex: none;
}
.brand-lockup.sm .brand-word { font-size: 16px; }
.brand-lockup.sm .orb.brand-orb { --s: 30px; }
.app-topbar-right { display: flex; align-items: center; gap: 12px; }
.mode-toggle { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.mode-btn { background: transparent; border: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s; }
.mode-btn.active { background: var(--accent-2); color: #fff; }
.btn-ghost.adult.sm { padding: 8px 14px; font-size: 13px; }

/* ===== Content pages (About, Guidelines) ===== */
.page { max-width: 760px; margin: 0 auto; padding: 30px 0 90px; }
.page-head { text-align: center; margin-bottom: 40px; }
.orb.page-orb { --s: 90px; margin: 0 auto 20px; }
.page-head h1 { font-size: 42px; letter-spacing: -1px; margin-top: 6px; }
.page-lead { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 620px; margin: 16px auto 0; }
.prose h2 { font-size: 26px; letter-spacing: -0.4px; margin: 38px 0 12px; }
.prose p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 14px; }
.prose ul { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.notice { background: rgba(169, 75, 255, 0.1); border: 1px solid rgba(169, 75, 255, 0.35); border-radius: 14px; padding: 18px 20px; color: var(--text); font-size: 15.5px; line-height: 1.6; margin: 10px 0 22px; }
.notice strong { color: #fff; }
.page-fine { font-size: 14px; opacity: 0.8; margin-top: 26px; }
.page-cta { text-align: center; margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; }

@media (max-width: 500px) {
  .page-head h1 { font-size: 30px; }
  .app-topbar { flex-wrap: wrap; gap: 10px; }
  .mode-toggle { order: 3; width: 100%; justify-content: center; }
}

/* ===== Speaking indicator (who is talking) ===== */
.speak-ring {
  position: absolute; inset: 18px; border-radius: 50%; opacity: 0;
  transition: opacity 0.15s ease; pointer-events: none;
}
.avatar-wrap.talk-them .speak-ring {
  opacity: 1; border: 3px solid #b96bff;
  box-shadow: 0 0 46px 10px rgba(169, 75, 255, 0.7), inset 0 0 24px rgba(169, 75, 255, 0.5);
  animation: speakPulse 0.7s ease-in-out infinite;
}
.avatar-wrap.talk-me .speak-ring {
  opacity: 1; border: 3px solid #22d3ee;
  box-shadow: 0 0 46px 10px rgba(34, 211, 238, 0.62), inset 0 0 24px rgba(34, 211, 238, 0.45);
  animation: speakPulse 0.7s ease-in-out infinite;
}
.avatar-wrap.talk-them .pulse-ring, .avatar-wrap.talk-me .pulse-ring { opacity: 0.25; }
@keyframes speakPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.055); } }
.speak-label { min-height: 20px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.15s; }
.speak-label.them { color: #cba0ff; }
.speak-label.me { color: #6fe9f7; }

/* ===== Microphone blocked notice ===== */
.mic-blocked { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 7; }
.mic-blocked-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 28px; max-width: 400px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.mic-blocked-card .mb-emoji { font-size: 40px; }
.mic-blocked-card h3 { font-size: 20px; margin: 12px 0 8px; }
.mic-blocked-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.mb-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.mb-actions .btn-outline { padding: 12px 18px; }

/* ===== 18+ AI Chat upsell button (monetization CTA) ===== */
.upsell-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #7b5cff 0%, #a94bff 45%, #e05cff 100%);
  color: #fff; border: none; border-radius: 999px;
  padding: 10px 18px; font-weight: 800; font-size: 14px; cursor: pointer;
  font-family: inherit; letter-spacing: 0.2px; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(150, 75, 255, 0.5);
  animation: upsellPulse 2.4s ease-in-out infinite;
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
.upsell-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 7px 28px rgba(160, 90, 255, 0.7); }
.upsell-btn:active { transform: translateY(0) scale(0.97); }
.upsell-emoji { font-size: 15px; }
.upsell-arrow { transition: transform 0.15s; font-weight: 900; }
.upsell-btn:hover .upsell-arrow { transform: translateX(4px); }
@keyframes upsellPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(150, 75, 255, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(180, 90, 255, 0.8); }
}
@media (prefers-reduced-motion: reduce) { .upsell-btn { animation: none; } }

/* ===== Landing page "more ways to chat" chips ===== */
.related { max-width: 900px; margin: 0 auto; padding: 20px 0 80px; text-align: center; }
.related > h2 { font-size: 28px; letter-spacing: -0.4px; margin-bottom: 26px; }
.related-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.related-chip {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.related-chip:hover { border-color: var(--accent); background: rgba(169, 75, 255, 0.1); transform: translateY(-2px); }

/* ===== Language switcher ===== */
.lang-switch { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 26px 0 4px; }
.lang-switch a {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; border: 1px solid transparent; transition: all 0.15s;
}
.lang-switch a:hover { color: var(--text); border-color: var(--border); }
.lang-switch a.active { color: var(--text); background: rgba(169, 75, 255, 0.14); border-color: rgba(169, 75, 255, 0.4); }

/* ===== RTL support (Arabic) ===== */
[dir="rtl"] .hero-copy, [dir="rtl"] .section-head, [dir="rtl"] .content-block, [dir="rtl"] .faq > h2, [dir="rtl"] .how, [dir="rtl"] .cta-copy { text-align: right; }
[dir="rtl"] .faq-item summary { flex-direction: row-reverse; }
[dir="rtl"] .hero-sub, [dir="rtl"] .page-lead { margin-left: 0; margin-right: 0; }
[dir="rtl"] .cta-band, [dir="rtl"] .hero-wrap { direction: rtl; }

/* ===== 3D dice (skip / next stranger) ===== */
.dice {
  display: inline-grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  width: 22px; height: 22px; padding: 3px; border-radius: 6px;
  background: linear-gradient(140deg, #ffffff 0%, #efe7ff 55%, #d7c6ff 100%);
  box-shadow: inset 0 -2px 3px rgba(120, 90, 180, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.85), 0 2px 5px rgba(0, 0, 0, 0.45);
  transform: rotate(-10deg); transition: transform 0.2s;
}
.dice b { align-self: center; justify-self: center; width: 3.4px; height: 3.4px; border-radius: 50%; background: #4a2e7a; }
.dice b:nth-child(1) { grid-area: 1 / 1; }
.dice b:nth-child(2) { grid-area: 1 / 3; }
.dice b:nth-child(3) { grid-area: 2 / 2; }
.dice b:nth-child(4) { grid-area: 3 / 1; }
.dice b:nth-child(5) { grid-area: 3 / 3; }
#skipBtn:hover .dice { animation: diceRoll 0.6s ease; }
#skipBtn:active .dice { transform: rotate(-10deg) scale(0.88); }
@keyframes diceRoll { from { transform: rotate(-10deg); } to { transform: rotate(350deg); } }

/* ===== Mode choice screen (Text / Voice) ===== */
.mode-select { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; z-index: 6; }
.mode-select .ms-orb { --s: 96px; margin-bottom: 14px; }
.mode-select h2 { font-size: 26px; letter-spacing: -0.4px; }
.ms-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; text-align: center; }
.mode-cards { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.mode-pick {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 210px; padding: 26px 20px; border-radius: 18px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; transition: transform 0.12s, border-color 0.12s, background 0.12s;
}
.mode-pick:hover { transform: translateY(-3px); border-color: var(--accent); background: rgba(169, 75, 255, 0.06); }
.mp-emoji { font-size: 34px; }
.mp-title { font-size: 19px; font-weight: 700; }
.mp-sub { font-size: 13px; color: var(--muted); }

/* ===== Static orb expressions (keep TWO clear eyes, just a subtle mood) ===== */
.orb.e-wink .eye.l { height: 4%; top: 49%; border-radius: 3px; }        /* left eye winks shut */
.orb.e-mad .eye.l { transform: translateY(-8%) rotate(26deg); }         /* eyes tilt inward (angry) */
.orb.e-mad .eye.r { transform: translateY(-8%) rotate(-26deg); }
.orb.e-happy .eye { height: 8%; top: 45%; border-radius: 50% 50% 0 0; } /* upward arcs (happy) */
.orb.e-sleepy .eye { height: 4%; top: 50%; border-radius: 3px; }        /* half-closed (sleepy) */
/* Animated preview orbs (one blinks, one looks around) */
.orb.a-blink .eye { animation: eyeBlink 4s ease-in-out infinite; }
.orb.a-look .eye { animation: lookAround 3.2s ease-in-out infinite; }

/* ===== Blog index ===== */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 6px; }
.blog-card { display: block; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-decoration: none; color: var(--text); transition: transform 0.12s, border-color 0.12s; }
.blog-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.blog-card h2 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.3px; }
.blog-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.blog-card-link { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ===== Blog post article ===== */
.blog-post { max-width: 720px; }
.blog-back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.blog-back:hover { color: var(--accent); }
.blog-post .post-h1 { font-size: 36px; line-height: 1.12; letter-spacing: -0.8px; margin: 6px 0 8px; }
.blog-post .post-meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.blog-post .prose h2, .blog-post h2 { font-size: 24px; margin: 34px 0 12px; letter-spacing: -0.3px; }
.blog-post ul { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0 0 14px; padding-left: 22px; }
.blog-post li { margin-bottom: 8px; }
.blog-card-meta { color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px !important; }

/* ===== Text mode: proper chat window (compact header + full messages + composer) ===== */
.call-screen.text-mode { justify-content: flex-start; }

/* Compact "who you're chatting with" header */
.text-mode #stage {
  flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px;
  width: min(760px, 94%); margin: 12px auto 0; padding: 6px 6px 14px;
  border-bottom: 1px solid var(--border); flex: none;
}
.text-mode .avatar-wrap { width: 44px; height: 44px; flex: none; }
.text-mode #strangerAvatar {
  --s: 44px;
  box-shadow: 0 0 2px 1px rgba(196, 140, 255, 0.55), 0 0 12px 2px rgba(124, 92, 255, 0.45),
    inset 0 0 12px 2px rgba(124, 92, 255, 0.4), inset 0 4px 8px rgba(214, 176, 255, 0.35);
}
.text-mode .pulse-ring, .text-mode .speak-ring, .text-mode #speakLabel { display: none; }
.text-mode .stranger-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.text-mode .stranger-name { font-size: 17px; }
.text-mode .stranger-meta { font-size: 13px; }

/* Messages fill the space, composer pinned at the bottom, no floating card */
.text-mode #chatPanel {
  position: relative; left: auto; right: auto; bottom: auto; transform: none;
  width: min(760px, 94%); max-height: none; flex: 1; min-height: 0;
  margin: 0 auto 92px; background: transparent; border: none; box-shadow: none;
  display: flex; flex-direction: column;
}
.text-mode #chatPanel .messages { flex: 1; min-height: 0; padding: 18px 2px; }
/* One solid full-width input bar with the send button embedded on the right */
.text-mode #chatPanel .composer {
  padding: 6px 6px 6px 4px; margin: 8px 0 6px; gap: 6px; align-items: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.text-mode #chatPanel .composer:focus-within {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}
.text-mode #chatPanel #input {
  background: transparent; border: none; border-radius: 12px; padding: 12px 14px;
}
.text-mode #chatPanel #input:focus { border: none; outline: none; }
.text-mode #chatPanel .send-btn {
  flex: none; width: 44px; height: 44px; padding: 0; border-radius: 12px; font-size: 17px;
}

/* In text mode the pill is just Skip + End (no mic, no chat toggle) */
.text-mode #micBtn, .text-mode #chatToggle { display: none; }
