/* Shiba Dev — premium bilingual landing (visual rebuild)
   Brand: cream #F5D6C6 · brown #6B4A3A · blush #F2A9B0 · halo pastels */

:root {
  --shiba-cream: #F5D6C6;
  --warm-brown: #6B4A3A;
  --soft-blush: #F2A9B0;
  --jet: #111111;
  --soft-black: #1A1A1A;
  --cool-gray: #8A8A8A;
  --light-gray: #EDEDED;
  --white: #FFFFFF;
  --bg: #FAF7F4;
  --bg-elevated: #FFFFFF;
  --ink: var(--jet);
  --ink-soft: #3D3530;
  --muted: var(--cool-gray);
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.14);
  --halo: linear-gradient(120deg, #FF9A9E 0%, #FAD0C4 14%, #A1C4FD 28%, #C2E9FB 42%, #D4FC79 56%, #96E6A1 70%, #FCCB90 85%, #E0C3FC 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 14px 40px rgba(17, 17, 17, 0.06);
  --shadow-lift: 0 8px 28px rgba(17, 17, 17, 0.1);
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --header-h: 4.25rem;
  --font: "Inter", "Noto Sans TC", "Noto Sans HK", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(242, 169, 176, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { opacity: 0.88; }
button { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); }

html[lang="en"] .lang-zh,
html[lang="zh-Hant"] .lang-en { display: none !important; }

.skip { position: absolute; left: -9999px; z-index: 200; }
.skip:focus {
  left: 1rem; top: 1rem; background: var(--jet); color: var(--white);
  padding: 0.55rem 0.85rem; border-radius: 8px; text-decoration: none;
}

.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }

/* Ambient */
.ambient { pointer-events: none; position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.ambient-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.42;
  will-change: transform; transition: transform 0.6s var(--ease);
}
.ambient-blob--a {
  width: min(58vw, 520px); height: min(58vw, 520px); top: -12%; right: -8%;
  background: radial-gradient(circle, #E0C3FC 0%, #A1C4FD 45%, transparent 70%);
}
.ambient-blob--b {
  width: min(48vw, 440px); height: min(48vw, 440px); top: 28%; left: -12%;
  background: radial-gradient(circle, #FF9A9E 0%, #FAD0C4 40%, transparent 70%); opacity: 0.32;
}
.ambient-blob--c {
  width: min(40vw, 360px); height: min(40vw, 360px); bottom: 8%; right: 18%;
  background: radial-gradient(circle, #D4FC79 0%, #C2E9FB 50%, transparent 70%); opacity: 0.28;
}

.cursor-glow {
  display: none; position: fixed; width: 280px; height: 280px; margin: -140px 0 0 -140px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(245, 214, 198, 0.45) 0%, rgba(242, 169, 176, 0.12) 40%, transparent 70%);
  mix-blend-mode: multiply;
}
body.has-cursor-glow .cursor-glow { display: block; }

/* Progress dots */
.progress-nav {
  position: fixed; right: 1rem; top: 50%; transform: translateY(-50%);
  z-index: 60; display: none; flex-direction: column; gap: 0.65rem;
}
@media (min-width: 1100px) { .progress-nav { display: flex; } }
.progress-nav a {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(17,17,17,0.15); text-decoration: none; opacity: 1;
  transition: transform 0.25s var(--ease), background 0.25s;
  display: grid; place-items: center;
}
.progress-nav a span { display: none; }
.progress-nav a.is-active {
  background: var(--warm-brown); transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(245, 214, 198, 0.9);
}
.progress-nav a:hover { background: var(--soft-blush); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(250, 247, 244, 0.82);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 600;
}
.brand:hover { opacity: 1; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 4px 14px rgba(107, 74, 58, 0.18);
}
.brand-text { letter-spacing: -0.02em; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--light-gray); border: 1px solid var(--line);
}
.lang-toggle button {
  border: 0; background: transparent; padding: 0.35rem 0.7rem; border-radius: 999px;
  cursor: pointer; color: var(--muted); font-size: 0.8125rem; font-weight: 600;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--white); color: var(--jet); box-shadow: var(--shadow);
}
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 0.9375rem;
  text-decoration: none; border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
  cursor: pointer; position: relative;
}
.btn:hover { opacity: 1; }
.btn-primary {
  background: var(--jet); color: var(--white);
  box-shadow: 0 8px 24px rgba(17,17,17,0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(17,17,17,0.22), 0 0 0 4px rgba(242, 169, 176, 0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.65); border-color: var(--line-strong); color: var(--ink);
}
.btn-ghost:hover { background: var(--white); border-color: var(--warm-brown); }
.magnetic-inner { display: inline-flex; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1828 / 860;
  min-height: 320px;
  padding: 0;
  background: #fff;
}
.hero--banner { display: grid; }
.hero-banner,
.hero-overlay {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}
.hero-banner { z-index: 0; position: relative; }
.hero-banner-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  display: block;
}
.hero-overlay {
  z-index: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: clamp(1.25rem, 4vw, 3.5rem) 0;
  pointer-events: none;
  background: transparent;
}
.hero-overlay .hero-copy { pointer-events: auto; }
.hero-overlay-inner {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
  display: flex;
  align-items: center;
  height: 100%;
}
.hero-copy {
  width: min(36rem, 48%);
  max-width: 48%;
  margin: 0;
  padding: 0;
  background: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--muted); font-weight: 500; margin: 0 0 0.85rem;
}
.iri-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--halo);
  box-shadow: 0 0 12px rgba(224, 195, 252, 0.8);
}
.hero h1 {
  font-size: clamp(1.35rem, 3.4vw, 2.65rem); line-height: 1.18;
  letter-spacing: -0.03em; margin: 0 0 0.85rem; font-weight: 700; max-width: 16ch;
}
.iri-rule {
  border: 0; height: 3px; width: 72px; border-radius: 999px; background: var(--halo); margin: 0 0 1rem;
}
.hero-lead {
  color: var(--ink-soft); max-width: 36ch; margin: 0 0 1rem;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
}
.studio-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: rgba(245, 214, 198, 0.78); border: 1px solid rgba(107, 74, 58, 0.12);
  font-weight: 600; font-size: clamp(0.8rem, 1.2vw, 0.9375rem); color: var(--warm-brown); margin-bottom: 0.65rem;
}
.studio-pill .star { background: var(--halo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meta-line { color: var(--muted); font-size: clamp(0.8rem, 1.2vw, 0.9375rem); margin: 0; }
.hero .btn-row { margin-top: 0.85rem; flex-wrap: wrap; gap: 0.65rem; }
.hero .btn { font-size: clamp(0.8rem, 1.2vw, 0.95rem); padding: 0.7rem 1.1rem; }

.hero-shiba-float {
  grid-column: 1;
  grid-row: 1;
  z-index: 3;
  justify-self: start;
  align-self: end;
  margin: 0 0 1rem 1.25rem;
  width: clamp(40px, 6vw, 64px);
  height: clamp(40px, 6vw, 64px);
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 30px rgba(17,17,17,0.12);
  display: grid;
  place-items: center;
  animation: floaty 6s ease-in-out infinite;
}
.hero-shiba-float img { width: 78%; height: auto; }

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

@media (max-width: 899px) {
  .hero-banner-img { object-position: 72% center; }
  .hero h1 { font-size: clamp(1.35rem, 6vw, 1.85rem); max-width: 100%; }
  .hero-lead {
    font-size: 0.9rem;
    max-width: 100%;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .meta-line { display: none; }
}

@media (max-width: 520px) {
  .hero--banner > .hero-banner {
    height: min(58vw, 240px);
    min-height: 180px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .hero-shiba-float { animation: none; }
}

/* Sections */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
section.hero { padding: 0; }
.section-label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--warm-brown); margin: 0 0 0.65rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.25;
  margin: 0 0 1rem; max-width: 24ch;
}
.section-intro { color: var(--ink-soft); max-width: 52ch; margin: 0 0 2rem; }
.demo-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem;
  color: var(--muted); font-size: 0.875rem; margin: -0.5rem 0 1rem;
}
.badge-demo {
  display: inline-flex; padding: 0.2rem 0.55rem; border-radius: 6px;
  background: var(--shiba-cream); color: var(--warm-brown); font-weight: 700; font-size: 0.75rem;
}

.section-head-split {
  display: grid; gap: 1.75rem; margin-bottom: 2.25rem; align-items: center;
}
@media (min-width: 860px) {
  .section-head-split { grid-template-columns: 1.1fr 0.9fr; }
}
.ops-photo {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--shiba-cream);
  transform-style: preserve-3d;
}
.ops-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.ops-photo figcaption {
  padding: 0.65rem 1rem; font-size: 0.8125rem; color: var(--warm-brown); background: rgba(255,255,255,0.85);
}

.grid { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245, 214, 198, 0.55); color: var(--warm-brown); margin-bottom: 0.85rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.05rem; margin: 0 0 0.45rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

/* Demo gallery */
.demo-gallery {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.5rem;
}
@media (min-width: 720px) { .demo-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .demo-gallery { grid-template-columns: repeat(6, 1fr); } }

.demo-card-shell {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-radius: var(--radius);
  min-width: 0;
}
.demo-card-shell.is-selected .demo-card {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px #111, 0 0 0 5px rgba(242, 169, 176, 0.55), var(--shadow-lift);
}
.demo-card {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  width: 100%;
  font: inherit;
  color: inherit;
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.demo-card img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  opacity: 0.92; transition: transform 0.45s var(--ease), opacity 0.2s;
}
.demo-card:hover img { transform: scale(1.04); opacity: 1; }
.demo-card.is-selected {
  box-shadow: none; /* selection shown on shell */
}
.demo-badge {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.45rem; border-radius: 999px; background: rgba(17,17,17,0.75); color: #fff;
}
.demo-meta {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.55rem 0.65rem 0.7rem;
}
.demo-meta .tab-num { font-size: 0.65rem; opacity: 0.8; letter-spacing: 0.04em; }
.demo-meta .tab-name { font-size: 0.8rem; font-weight: 700; letter-spacing: -0.01em; }
.demo-preview-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), opacity 0.15s;
}
.demo-preview-cta:hover { background: #000; opacity: 1; transform: translateY(-1px); }
.demo-card-shell.is-selected .demo-preview-cta {
  background: linear-gradient(120deg, #6B4A3A, #111);
  border-color: transparent;
}

.demo-stage {
  display: grid; gap: 1.25rem;
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1rem; box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .demo-stage { grid-template-columns: 1.35fr 0.85fr; padding: 1.15rem; }
}
.demo-stage-visual {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #1a1a1a;
  min-height: 220px;
}
.demo-stage-visual img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10;
  animation: stageIn 0.45s var(--ease);
}
@keyframes stageIn {
  from { opacity: 0.4; transform: scale(1.02); }
  to { opacity: 1; transform: none; }
}
.stage-demo-label {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.3rem 0.6rem; border-radius: 8px; font-size: 0.75rem; font-weight: 700;
  background: rgba(255,255,255,0.92); color: var(--warm-brown);
}
.demo-stage-side { display: flex; flex-direction: column; gap: 1rem; }
.stage-cat { margin: 0; font-size: 0.8125rem; color: var(--warm-brown); font-weight: 600; }
.stage-info h3 { margin: 0.2rem 0 0.4rem; font-size: 1.35rem; letter-spacing: -0.02em; }
.stage-blurb { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

.mock-chat {
  flex: 1; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; min-height: 280px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.mock-chat-head {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line); background: rgba(245,214,198,0.35);
}
.chat-avatar { border-radius: 50%; }
.mock-chat-head strong { display: block; font-size: 0.875rem; }
.online { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--muted); }
.online i { width: 7px; height: 7px; border-radius: 50%; background: #6BBF8A; display: inline-block; }
.mock-chat-body {
  flex: 1; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.55rem;
  overflow-y: auto; max-height: 320px; background: linear-gradient(#faf7f4, #fff);
}
.mock-chat-foot {
  padding: 0.5rem 0.85rem; font-size: 0.7rem; color: var(--muted);
  border-top: 1px solid var(--line); background: #fff;
}
.bubble {
  max-width: 92%; padding: 0.65rem 0.85rem; border-radius: 14px;
  font-size: 0.875rem; line-height: 1.45; opacity: 0; transform: translateY(8px);
  animation: bubbleIn 0.35s var(--ease) forwards;
}
.bubble-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.bubble-user { align-self: flex-end; background: rgba(242,169,176,0.35); color: var(--ink); border: 1px solid rgba(242,169,176,0.45); }
.bubble-typing {
  align-self: flex-start; background: #fff; border: 1px solid var(--line);
  display: inline-flex; gap: 4px; padding: 0.75rem 0.95rem;
}
.bubble-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cool-gray);
  animation: blink 1s infinite ease-in-out;
}
.bubble-typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }

/* Why */
.why-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 1.5rem; min-height: 220px; box-shadow: var(--shadow);
}
.why-banner-img {
  width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: center;
  filter: brightness(0.72) saturate(0.95);
}
.why-banner-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: linear-gradient(transparent 20%, rgba(17,17,17,0.72));
  color: #fff;
}
.why-banner-overlay .section-label { color: var(--shiba-cream); }
.why-banner-overlay .section-title { color: #fff; max-width: 22ch; margin-bottom: 0; }

.why-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-card {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: var(--shadow);
}
.why-card .mark {
  width: 28px; height: 4px; border-radius: 999px; background: var(--halo); margin-bottom: 0.85rem;
}
.why-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

/* Say / Avoid */
.compare-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--light-gray);
  border: 1px solid var(--line); margin-bottom: 1.25rem; gap: 2px;
}
.compare-toggle button {
  border: 0; background: transparent; padding: 0.45rem 1rem; border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: 0.875rem; color: var(--muted);
}
.compare-toggle button[aria-pressed="true"] {
  background: var(--white); color: var(--jet); box-shadow: var(--shadow);
}

.compare-flip { perspective: 1200px; }
.flip-inner {
  position: relative; transform-style: preserve-3d; transition: transform 0.65s var(--ease);
  min-height: 280px;
}
.compare-flip[data-view="avoid"] .flip-inner { transform: rotateY(180deg); }
.flip-face {
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  position: absolute; inset: 0;
}
.flip-back { transform: rotateY(180deg); }
.compare-side-by-side { display: none; gap: 1rem; }
@media (min-width: 800px) {
  .flip-inner { display: none; }
  .compare-side-by-side { display: grid; grid-template-columns: 1fr 1fr; }
  .compare-toggle { display: none; }
}

.compare-panel {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; box-shadow: var(--shadow); height: 100%;
}
.compare-panel.say { border-top: 3px solid #96E6A1; }
.compare-panel.avoid { border-top: 3px solid #F2A9B0; }
.compare-panel h3 { margin: 0 0 0.75rem; }
.compare-panel ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.compare-panel li { margin-bottom: 0.45rem; }

/* Scope */
.scope-frame {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.scope-path {
  font-size: 1.05rem; font-weight: 700; color: var(--warm-brown); margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.scope-note { color: var(--ink-soft); margin: 0 0 1.25rem; max-width: 60ch; }
.scope-steps {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: grid; gap: 0.75rem;
}
@media (min-width: 720px) { .scope-steps { grid-template-columns: 1fr 1fr; } }
.scope-steps li {
  padding: 0.9rem 1rem; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.55);
}
.scope-steps strong { display: block; margin-bottom: 0.25rem; font-size: 0.9rem; }
.scope-steps span { display: block; color: var(--ink-soft); font-size: 0.85rem; line-height: 1.45; }
.scope-list {
  display: grid; gap: 0.45rem 1.25rem; margin: 0 0 1.25rem; padding-left: 1.1rem;
  color: var(--ink-soft);
}
@media (min-width: 720px) { .scope-list { grid-template-columns: 1fr 1fr; } }
.scope-aside { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* CTA */
.cta-band {
  text-align: center; padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: var(--radius-lg); background:
    linear-gradient(135deg, rgba(245,214,198,0.65), rgba(242,169,176,0.28), rgba(224,195,252,0.35));
  border: 1px solid rgba(107,74,58,0.1); box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 0.85rem; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.02em; }
.cta-band p { margin: 0 auto 0.5rem; max-width: 48ch; color: var(--ink-soft); }
.cta-band .btn-row { justify-content: center; }
.cta-note { font-size: 0.8125rem; color: var(--muted) !important; margin-top: 1rem !important; }

/* Footer */
.site-footer {
  position: relative; padding: 3rem 0 6rem; border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-watermark {
  position: absolute; right: -2%; bottom: -10%; opacity: 0.08; pointer-events: none;
  width: min(280px, 40vw);
}
.footer-watermark img { width: 100%; height: auto; }
.footer-inner {
  position: relative; display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.5rem; font-weight: 700; margin-bottom: 0.35rem;
}
.footer-mark { width: 28px; height: 28px; border-radius: 50%; }
.footer-iri {
  display: block; width: 64px; height: 3px; border-radius: 999px; background: var(--halo); margin-top: 0.85rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.85rem 1.25rem; }
.footer-links a { text-decoration: none; font-size: 0.9375rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--warm-brown); }

/* Mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 0.75rem var(--pad) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(250,247,244,0.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); display: flex; justify-content: center;
}
.mobile-cta .btn { width: min(100%, 420px); }
@media (min-width: 720px) { .mobile-cta { display: none; } }

/* FAB chat */
.fab-wrap {
  position: fixed; right: 1rem; bottom: calc(4.5rem + env(safe-area-inset-bottom));
  z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 0.65rem;
}
@media (min-width: 720px) {
  .fab-wrap { bottom: 1.5rem; right: 1.5rem; }
}
.fab-btn {
  display: flex; align-items: center; gap: 0.45rem;
  border: 0; padding: 0.35rem 0.85rem 0.35rem 0.35rem; border-radius: 999px;
  background: var(--jet); color: #fff; cursor: pointer;
  box-shadow: 0 10px 30px rgba(17,17,17,0.25), 0 0 0 3px rgba(242,169,176,0.35);
  transition: transform 0.25s var(--ease);
}
.fab-btn:hover { transform: translateY(-2px); }
.fab-btn img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.fab-label { font-size: 0.8125rem; font-weight: 600; padding-right: 0.25rem; }
.fab-panel {
  width: min(340px, calc(100vw - 2rem));
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.fab-panel[hidden] { display: none !important; }
.fab-head {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.75rem;
  background: rgba(245,214,198,0.45); border-bottom: 1px solid var(--line);
}
.fab-head img { border-radius: 50%; }
.fab-head strong { display: block; font-size: 0.9rem; }
.fab-head span { font-size: 0.75rem; color: var(--muted); }
.fab-close {
  margin-left: auto; border: 0; background: transparent; font-size: 1.35rem;
  cursor: pointer; line-height: 1; color: var(--muted); padding: 0.2rem 0.4rem;
}
.fab-body {
  padding: 0.75rem; min-height: 140px; max-height: 220px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.45rem; background: #faf7f4;
}
.fab-prompts {
  display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.65rem 0.75rem;
  border-top: 1px solid var(--line);
}
.fab-prompts button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.35rem 0.7rem; font-size: 0.75rem; cursor: pointer; color: var(--ink-soft);
}
.fab-prompts button:hover { border-color: var(--soft-blush); background: rgba(242,169,176,0.15); }
.fab-disclaimer {
  margin: 0; padding: 0 0.75rem 0.65rem; font-size: 0.68rem; color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}


/* Capability positioning revamp */
.product-proof-grid .why-card {
  position: relative;
  overflow: hidden;
}
.proof-kicker {
  font-size: .72rem;
  letter-spacing: .16em;
  font-weight: 700;
  opacity: .58;
  margin-bottom: .65rem;
}
.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.proof-tags span,
.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .3rem .65rem;
  border: 1px solid rgba(29, 26, 24, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  font-size: .75rem;
  font-weight: 600;
}
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(29, 26, 24, .1);
  border-radius: 18px;
  background: rgba(255,255,255,.42);
}
.architecture-stack {
  max-width: 920px;
  margin: 2rem auto 0;
}
.architecture-layer {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(29, 26, 24, .12);
  border-radius: 20px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 12px 40px rgba(34, 26, 22, .05);
}
.architecture-layer--accent {
  background: linear-gradient(135deg, rgba(245,214,198,.9), rgba(255,255,255,.75));
  border-color: rgba(196,123,88,.28);
}
.architecture-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(29,26,24,.92);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.architecture-layer strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.architecture-layer small {
  display: block;
  line-height: 1.55;
  opacity: .67;
}
.architecture-arrow {
  text-align: center;
  padding: .35rem 0;
  font-size: 1.25rem;
  opacity: .35;
}
.architecture-callout {
  max-width: 920px;
  margin: 1.4rem auto 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid currentColor;
  font-size: 1rem;
}
@media (max-width: 720px) {
  .architecture-layer {
    grid-template-columns: 42px 1fr;
    padding: 1rem;
  }
  .proof-strip {
    padding: .8rem;
  }
}


/* --- Technology proof panels --- */
.tech-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.tech-proof {
  border: 1px solid rgba(29,26,24,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 20px 60px rgba(39,29,24,.06);
  padding: 1.25rem;
  overflow: hidden;
}
.tech-proof--wide {
  grid-column: 1 / -1;
}
.tech-proof-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tech-proof-head h3 {
  margin: .2rem 0 0;
  max-width: 760px;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.1;
}
.tech-version {
  font-size: .72rem;
  opacity: .55;
  letter-spacing: .04em;
  white-space: nowrap;
}
.tech-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: .24rem .55rem;
  margin-bottom: .65rem;
  border-radius: 999px;
  border: 1px solid rgba(29,26,24,.12);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
  background: rgba(255,255,255,.62);
}
.tech-status--active::before,
.tech-status--candidate::before,
.tech-status--foundation::before,
.tech-status--build::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: .4rem;
  opacity: .65;
}
.tech-footnote {
  margin: .9rem 0 0;
  font-size: .76rem;
  line-height: 1.55;
  opacity: .58;
}

/* ShibaOS workflow */
.os-demo {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: #171615;
  color: #f7f2ed;
}
.os-query,
.os-result {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255,255,255,.035);
}
.os-query {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .8rem;
  align-items: start;
}
.os-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f2d6c7;
  color: #201a17;
  font-weight: 800;
}
.os-label {
  display: block;
  margin-bottom: .3rem;
  font-size: .62rem;
  letter-spacing: .14em;
  opacity: .52;
}
.os-query strong,
.os-result strong {
  display: block;
  font-size: .98rem;
  line-height: 1.35;
}
.os-query small,
.os-result p {
  display: block;
  margin: .45rem 0 0;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
  font-size: .78rem;
}
.os-workflow {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.os-step {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: .7rem;
  align-items: center;
  padding: .75rem .8rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.os-step > span {
  font-size: .62rem;
  opacity: .38;
}
.os-step strong,
.os-step small {
  display: block;
}
.os-step strong {
  font-size: .82rem;
}
.os-step small {
  margin-top: .18rem;
  font-size: .68rem;
  opacity: .5;
}
.os-step b {
  text-align: center;
  font-size: .78rem;
  opacity: .45;
}
.os-step.is-complete {
  background: rgba(255,255,255,.055);
}
.os-step.is-complete b {
  opacity: 1;
}
.os-step.is-running {
  border-color: rgba(242,214,199,.35);
  background: rgba(242,214,199,.09);
}
.os-result {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.os-approval {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .55rem .8rem;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.55);
  font: inherit;
  font-size: .7rem;
}

/* Voice proof */
.voice-demo {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-radius: 20px;
  padding: 1.1rem;
  background: linear-gradient(145deg, rgba(24,23,22,.98), rgba(42,37,34,.96));
  color: #fff;
}
.voice-orb {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.voice-orb span {
  width: 5px;
  border-radius: 999px;
  background: rgba(246,220,207,.9);
  animation: shiba-wave 1.15s ease-in-out infinite;
}
.voice-orb span:nth-child(1) { height: 16px; animation-delay: -.3s; }
.voice-orb span:nth-child(2) { height: 34px; animation-delay: -.15s; }
.voice-orb span:nth-child(3) { height: 50px; }
.voice-orb span:nth-child(4) { height: 34px; animation-delay: -.15s; }
.voice-orb span:nth-child(5) { height: 16px; animation-delay: -.3s; }
@keyframes shiba-wave {
  0%,100% { transform: scaleY(.65); opacity: .55; }
  50% { transform: scaleY(1.05); opacity: 1; }
}
.voice-copy {
  text-align: center;
}
.voice-copy strong,
.voice-copy small {
  display: block;
}
.voice-copy strong {
  font-size: 1rem;
}
.voice-copy small {
  margin-top: .35rem;
  font-size: .7rem;
  color: rgba(255,255,255,.53);
}
.voice-pipeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  align-items: center;
}
.voice-pipeline span {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .35rem .55rem;
  font-size: .65rem;
  background: rgba(255,255,255,.05);
}
.voice-pipeline i {
  font-style: normal;
  opacity: .28;
}

/* Compute proof */
.node-demo {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(25,23,22,.96);
  color: #fff;
}
.node-card {
  flex: 1 1 0;
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.035);
}
.node-card b,
.node-card small {
  display: block;
}
.node-card b {
  font-size: .75rem;
  letter-spacing: .12em;
}
.node-card small {
  margin-top: .35rem;
  line-height: 1.45;
  font-size: .66rem;
  opacity: .52;
}
.node-card--head {
  border-color: rgba(242,214,199,.28);
}
.node-card--worker {
  background: rgba(242,214,199,.08);
}
.node-link {
  opacity: .28;
  font-size: .9rem;
}
.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .7rem;
}
.node-tags span {
  padding: .3rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(29,26,24,.1);
  font-size: .64rem;
}

/* ArtistAgent proof */
.artist-demo {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 315px;
  border-radius: 20px;
  overflow: hidden;
  background: #151414;
  color: #fff;
}
.artist-sidebar {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}
.artist-sidebar strong {
  margin-bottom: .6rem;
  font-size: .8rem;
}
.artist-sidebar span {
  padding: .55rem .65rem;
  border-radius: 10px;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
}
.artist-sidebar span.is-active {
  background: rgba(242,214,199,.11);
  color: #fff;
}
.artist-main {
  padding: 1rem;
}
.artist-topline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .7rem;
  align-items: center;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.artist-topline span {
  font-size: .63rem;
  letter-spacing: .14em;
  opacity: .55;
}
.artist-topline b {
  font-size: .78rem;
}
.artist-topline small {
  font-size: .64rem;
  opacity: .45;
}
.artist-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .75rem;
  margin-top: .85rem;
}
.artist-cards > div {
  min-height: 96px;
  padding: .85rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.artist-cards small,
.artist-cards strong,
.artist-cards span {
  display: block;
}
.artist-cards small {
  font-size: .58rem;
  letter-spacing: .12em;
  opacity: .42;
}
.artist-cards strong {
  margin-top: .38rem;
  font-size: .8rem;
}
.artist-cards span {
  margin-top: .45rem;
  font-size: .66rem;
  opacity: .48;
}
.tech-principles {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: .75rem;
  margin-top: 1.2rem;
}
.tech-principles > div {
  padding: .85rem .9rem;
  border-radius: 16px;
  border: 1px solid rgba(29,26,24,.1);
  background: rgba(255,255,255,.5);
}
.tech-principles strong,
.tech-principles span {
  display: block;
}
.tech-principles strong {
  font-size: .76rem;
}
.tech-principles span {
  margin-top: .25rem;
  font-size: .68rem;
  line-height: 1.45;
  opacity: .55;
}
@media (prefers-reduced-motion: reduce) {
  .voice-orb span { animation: none; }
}
@media (max-width: 900px) {
  .tech-proof-grid { grid-template-columns: 1fr; }
  .tech-proof--wide { grid-column: auto; }
  .os-demo { grid-template-columns: 1fr; }
  .os-workflow { grid-row: auto; }
  .artist-demo { grid-template-columns: 1fr; }
  .artist-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .tech-principles { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .tech-proof { padding: .9rem; border-radius: 18px; }
  .tech-proof-head { display: block; }
  .tech-version { display: block; margin-top: .6rem; white-space: normal; }
  .os-result { display: block; }
  .os-approval { margin-top: .8rem; }
  .node-demo { flex-direction: column; align-items: stretch; }
  .node-link { text-align: center; transform: rotate(90deg); }
  .artist-cards { grid-template-columns: 1fr; }
  .tech-principles { grid-template-columns: 1fr; }
}


/* --- Proof screenshots --- */
.proof-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(29,26,24,.1);
  background: #121110;
}
.proof-shot picture,
.proof-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.proof-shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.proof-shot figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
  background: #1a1817;
}

/* --- Live concept demos --- */
.live-demo-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 980px) {
  .live-demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.live-demo-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(29,26,24,.12);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 50px rgba(39,29,24,.06);
  scroll-margin-top: 5.5rem;
}
.live-demo-card.is-spotlight {
  outline: 2px solid rgba(242,169,176,0.55);
  box-shadow: 0 22px 60px rgba(39,29,24,.1);
}
.live-demo-head .proof-kicker { margin: 0.55rem 0 0.2rem; }
.live-demo-head h3 { margin: 0 0 0.45rem; font-size: 1.2rem; }
.live-demo-head p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; }
.live-demo-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.field-label {
  display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--warm-brown); margin-bottom: 0.4rem;
}
.obj-lab-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.obj-lab-row input {
  flex: 1 1 180px; min-width: 0;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.7rem 0.85rem; font: inherit; background: #fff;
}
.obj-stages {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #171615; color: #f7f2ed; border-radius: 16px; padding: 0.75rem;
}
.obj-stages li {
  display: grid; grid-template-columns: 34px 1fr 28px; gap: 0.55rem; align-items: center;
  padding: 0.65rem 0.7rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025);
  transition: background .25s ease, border-color .25s ease;
}
.obj-stages li > span { font-size: 0.62rem; opacity: 0.4; }
.obj-stages strong { display: block; font-size: 0.8rem; }
.obj-stages small { display: block; margin-top: 0.15rem; font-size: 0.68rem; opacity: 0.5; }
.obj-stages b { text-align: center; font-size: 0.75rem; opacity: 0.4; }
.obj-stages li.is-running {
  border-color: rgba(242,214,199,.35); background: rgba(242,214,199,.09);
}
.obj-stages li.is-complete { background: rgba(255,255,255,.055); }
.obj-stages li.is-complete b { opacity: 1; }
.obj-result {
  padding: 0.9rem 1rem; border-radius: 14px;
  border: 1px solid rgba(29,26,24,.1); background: #171615; color: #f7f2ed;
}
.obj-result .os-label { color: rgba(255,255,255,.55); }
.obj-result strong { display: block; margin: 0.25rem 0; font-size: 0.95rem; }
.obj-result p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.demo-toast {
  padding: 0.7rem 0.85rem; border-radius: 12px;
  background: rgba(150,230,161,0.22); border: 1px solid rgba(150,230,161,0.45);
  color: var(--ink); font-size: 0.85rem; font-weight: 600;
}

.live-chat {
  display: flex; flex-direction: column; min-height: 320px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.live-chat-head {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line);
  background: rgba(245,214,198,0.35);
}
.live-chat-head img { border-radius: 50%; }
.live-chat-head strong { display: block; font-size: 0.9rem; }
.live-chat-head .online { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: var(--muted); }
.live-chat-head .online i {
  width: 7px; height: 7px; border-radius: 50%; background: #6ecf7a; display: inline-block;
}
.live-chat-body {
  flex: 1; padding: 0.85rem; overflow-y: auto; max-height: 240px;
  display: flex; flex-direction: column; gap: 0.55rem;
  background: linear-gradient(180deg, #faf7f4, #fff);
}
.live-chat-body .bubble { max-width: 92%; font-size: 0.85rem; }
.live-chat-intents {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0.7rem 0.85rem; border-top: 1px solid var(--line);
  background: rgba(250,247,244,0.9);
}
.live-chat-intents button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.4rem 0.7rem; font: inherit; font-size: 0.75rem; cursor: pointer;
  color: var(--ink-soft);
}
.live-chat-intents button:hover { border-color: var(--warm-brown); color: var(--warm-brown); }
.live-chat-intents button:disabled { opacity: 0.45; cursor: default; }

.intake-form label {
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.8rem; font-weight: 600; color: var(--warm-brown);
}
.intake-form input,
.intake-form select,
.intake-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.65rem 0.8rem; background: #fff;
}
.intake-form textarea { resize: vertical; min-height: 96px; }
.intake-fields {
  display: grid; gap: 0.75rem;
}
.intake-full { grid-column: 1 / -1; }
.field-error { margin: 0; color: #b33a4a; font-size: 0.8rem; font-weight: 600; }
.intake-success {
  display: flex; flex-direction: column; gap: 0.65rem;
  padding: 1rem; border-radius: 14px;
  background: rgba(150,230,161,0.16); border: 1px solid rgba(150,230,161,0.4);
}
.intake-success strong { font-size: 1rem; }
.intake-success p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }

@media (prefers-reduced-motion: reduce) {
  .obj-stages li { transition: none; }
  .live-demo-card.is-spotlight { transition: none; }
}

@media (max-width: 720px) {
  .obj-lab-row .btn { width: 100%; }
  .live-demo-card { padding: 1rem; }
}



/* --- Launchable demo world tiles --- */
.stage-launch {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem;
  margin-top: 0.85rem;
}
.world-launch-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.25rem 0 0.5rem;
}
@media (min-width: 720px) {
  .world-launch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .world-launch-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.world-launch-tile {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.world-launch-tile:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lift);
}
.world-launch-tile img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
}
.world-launch-tile .wlt-meta {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.65rem 0.7rem;
}
.world-launch-tile strong {
  font-size: 0.82rem; letter-spacing: -0.01em;
}
.world-launch-tile small {
  font-size: 0.7rem; color: var(--warm-brown); font-weight: 600;
}


/* === Mobile responsive polish (v=mobile1) === */
html, body { max-width: 100%; }
img, video, canvas, svg { max-width: 100%; height: auto; }
section[id], [id].live-demo-card, .demo-card-shell {
  scroll-margin-top: calc(var(--header-h, 4.25rem) + 0.75rem);
}

.intake-form input,
.intake-form select,
.intake-form textarea,
.obj-lab-row input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.lang-toggle button {
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.85rem;
}
.fab-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
}

@media (max-width: 768px) {
  :root { --pad: clamp(1rem, 4vw, 1.25rem); }
  body { font-size: 1rem; }
  section { padding: clamp(2.25rem, 6vw, 3.5rem) 0; }
  section.hero { padding: 0; }

  .demo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .demo-preview-cta {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.85rem;
    font-size: 0.8rem;
  }
  .demo-meta .tab-name { font-size: 0.78rem; }
  .world-launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .fab-wrap {
    right: 0.75rem;
    left: 0.75rem;
    align-items: stretch;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  .fab-btn { align-self: flex-end; min-height: 48px; }
  .fab-panel {
    width: 100%;
    max-width: none;
    max-height: min(70vh, 520px);
    display: flex;
    flex-direction: column;
    border-radius: 18px 18px 14px 14px;
  }
  .fab-body { max-height: none; flex: 1 1 auto; min-height: 120px; }

  .intake-fields { grid-template-columns: 1fr; }
  .live-demo-actions .btn,
  .stage-launch .btn,
  .btn-row .btn { min-height: 44px; }
  .live-demo-actions { width: 100%; }
  .live-demo-actions .btn { flex: 1 1 auto; }

  .header-inner { gap: 0.5rem; }
  .brand-text { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .demo-gallery { grid-template-columns: 1fr; }
  .world-launch-grid { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.35rem, 6.5vw, 1.75rem); }
  .card { padding: 1rem; }
  .demo-stage { padding: 0.85rem; }
  .why-banner { min-height: 180px; }
  .architecture-layer { padding: 0.85rem; }
  .fab-label { display: none; }
  .fab-btn { padding: 0.3rem; }
  .mobile-cta .btn { min-height: 48px; }
}

@media (max-width: 768px) {
  .hero-banner-img { object-fit: cover; }
}


/* --- Mobile overflow guards (titles + CTAs) --- */
.demo-preview-cta,
.world-launch-tile,
.studio-pill,
.price-pill,
.section-title,
.hero h1,
.btn,
.nav-cta {
  max-width: 100%;
  box-sizing: border-box;
}
.demo-card-shell,
.demo-card,
.world-launch-tile,
.live-demo-card,
.card {
  min-width: 0;
  max-width: 100%;
}
.demo-preview-cta {
  white-space: normal !important;
  line-height: 1.3;
  padding-inline: 0.75rem;
}
.world-launch-tile {
  overflow: hidden;
}
.world-launch-tile .wlt-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}
.section-title {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.header-actions {
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}
.site-header .btn,
.site-header .nav-cta {
  max-width: 100%;
}

@media (max-width: 899px) {
  /* Match critical: stacked hero in stylesheet too */
  .hero.hero--banner {
    display: flex !important;
    flex-direction: column;
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .hero--banner > .hero-banner {
    position: relative;
    width: 100%;
    height: min(52vw, 280px);
    min-height: 200px;
  }
  .hero--banner > .hero-overlay {
    position: relative;
    height: auto;
    background: #fff;
    padding: 1.25rem 0 1.75rem;
    align-items: flex-start;
  }
  .hero--banner .hero-overlay-inner {
    height: auto;
    width: min(var(--max), 100% - 2 * var(--pad));
  }
  .hero--banner .hero-copy {
    width: 100%;
    max-width: 100%;
  }
  .hero-shiba-float {
    position: absolute;
    right: 0.85rem;
    left: auto;
    top: calc(min(52vw, 280px) - 28px);
    bottom: auto;
    margin: 0;
  }
  .demo-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .demo-preview-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .demo-gallery { grid-template-columns: 1fr; }
  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn { width: 100%; }
  .header-actions .nav-cta span {
    font-size: 0.8rem;
  }
}


.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.fab-form {
  display: flex; gap: 0.45rem; padding: 0.65rem 0.75rem 0.35rem;
  border-top: 1px solid rgba(60, 40, 30, 0.08);
  background: #fff;
}
.fab-input {
  flex: 1; min-width: 0;
  border: 1px solid rgba(60, 40, 30, 0.15);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font: inherit; font-size: 0.875rem;
  background: #faf7f4;
  color: var(--ink, #2a1f18);
}
.fab-input:focus {
  outline: 2px solid rgba(196, 149, 106, 0.55);
  outline-offset: 1px;
  background: #fff;
}
.fab-send {
  flex: 0 0 auto;
  border: 0; border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font: inherit; font-size: 0.8125rem; font-weight: 650;
  background: var(--warm-brown, #8b5e3c); color: #fff;
  cursor: pointer;
}
.fab-send:disabled {
  opacity: 0.55; cursor: wait;
}
.fab-panel .fab-body {
  max-height: min(42vh, 320px);
  overflow-y: auto;
  padding: 0.75rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.fab-prompts {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding: 0 0.75rem 0.5rem;
}
.fab-prompts button {
  border: 1px solid rgba(60, 40, 30, 0.12);
  background: #faf7f4;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font: inherit; font-size: 0.75rem;
  cursor: pointer; color: var(--ink-soft, #5a4638);
  max-width: 100%;
  white-space: normal; text-align: left;
}
.fab-prompts button:hover { background: #fff; border-color: rgba(139, 94, 60, 0.35); }
.bubble-typing {
  opacity: 0.7; font-style: italic; font-size: 0.85rem;
}
.fab-disclaimer { font-size: 0.68rem; line-height: 1.35; padding: 0 0.85rem 0.75rem; color: var(--muted, #8a7a6c); margin: 0; }
@media (max-width: 520px) {
  .fab-panel {
    width: min(100vw - 1.25rem, 380px);
    max-height: min(78vh, 560px);
  }
  .fab-form { padding-bottom: 0.55rem; }
}

/* === Mobile header + sticky CTA clearance (v=mobile3) === */
@media (max-width: 719px) {
  :root { --header-h: 3.5rem; }

  .site-header {
    height: auto;
    min-height: var(--header-h);
    overflow: visible;
  }
  .header-inner {
    height: auto;
    min-height: var(--header-h);
    padding-block: 0.4rem;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
  .brand-text {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions {
    flex-wrap: nowrap !important;
    flex-shrink: 0;
    gap: 0.4rem;
  }
  /* Keep Discovery out of the slim header on phones — sticky bar owns it */
  .site-header .nav-cta { display: none !important; }

  .lang-toggle { flex-shrink: 0; }
  .lang-toggle button {
    min-height: 36px;
    min-width: 36px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
  }

  /* Keep hero primary buttons clear of fixed bottom Discovery bar */
  .hero.hero--banner > .hero-overlay {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Sticky Discovery bar deferred while hero CTAs are in view */
.mobile-cta {
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.mobile-cta.is-deferred {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 719px) {
  body.mobile-cta-deferred .fab-wrap {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}
