/* ==========================================================================
   socai v2 — Inkwell Airy Warmth × Notion Playful Clarity × Cliento Scroll
   80% visual breathing room & product storytelling, 20% razor-sharp copy.
   ========================================================================== */

:root {
  /* Luminous Warm Cream & Paper Surface (Inkwell-inspired) */
  --bg: #FCFBF8;
  --bg-soft: #F6F4EE;
  --bg-surface: #FFFFFF;
  --bg-pill: #F1EFE8;

  /* Crisp Charcoal Ink */
  --ink: #181816;
  --ink-2: #57554E;
  --ink-3: #8C887F;

  /* Warm Ochre Gold Accent (Inkwell) + Soft Highlight */
  --gold: #C28A2A;
  --gold-soft: #F9F1E0;
  --xhs-red: #FF2442;
  --xhs-soft: #FFF1F3;

  /* Featherlight Borders & Ambient Depth (No heavy AI shadows) */
  --border: rgba(24, 24, 22, 0.08);
  --border-strong: rgba(24, 24, 22, 0.14);
  --shadow-soft: 0 2px 6px rgba(24, 24, 22, 0.03), 0 18px 44px rgba(24, 24, 22, 0.05);
  --shadow-float: 0 8px 28px rgba(24, 24, 22, 0.07), 0 1px 2px rgba(24, 24, 22, 0.04);

  /* Fonts (Explicitly NO Inter) */
  --font-sans: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Newsreader", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-silk: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

ul,
ol,
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

.p-dot {
  display: inline-block;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--p-color, var(--ink));
  flex-shrink: 0;
}

/* ==========================================================================
   Pills & Buttons (Inkwell Pill Silhouette)
   ========================================================================== */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.28s var(--ease-silk),
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn-pill-sm {
  height: 36px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-pill-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
}

.btn-pill-dark {
  background-color: var(--ink);
  color: #FCFBF8;
  border: 1px solid var(--ink);
}

.btn-pill-dark:hover {
  background-color: #2B2A26;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(24, 24, 22, 0.12);
}

.btn-pill-dark:hover .arrow-shift {
  transform: translateX(3px);
}

.arrow-shift {
  transition: transform 0.25s var(--ease-silk);
}

.btn-pill-light {
  background-color: var(--bg-surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-pill-light:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost-text {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 12px;
  transition: color 0.18s ease;
}

.btn-ghost-text:hover {
  color: var(--ink);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background-color: rgba(252, 251, 248, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-logo-icon {
  display: block;
  flex-shrink: 0;
  color: var(--ink);
}

.brand-wordmark {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
}

.brand-wordmark-sm {
  font-size: 16.5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.ext-arrow {
  font-size: 12px;
  opacity: 0.65;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 16px;
  height: 1.6px;
  background-color: var(--ink);
}

.mobile-drawer {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-inner {
  padding-block: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 8px;
}

/* ==========================================================================
   HERO: Centered Visual Poetry + Floating Collage Stage
   ========================================================================== */

.hero {
  padding-top: clamp(46px, 6.5vw, 82px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: var(--gold-soft);
  color: #8A611C;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 24px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-title-line {
  display: block;
}

/* Notion-style Inline Highlight Pill inside H1 */
.title-inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 16px 4px 14px;
  margin-inline: 4px;
  border-radius: 999px;
  background-color: var(--xhs-soft);
  color: var(--ink);
  font-weight: 700;
  vertical-align: baseline;
  border: 0;
}

.pill-xhs-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--xhs-red);
  flex-shrink: 0;
  transform: translateY(1px);
}

/* Inkwell-style Warm Amber Gold Headline Accent */
.title-accent-gold {
  color: var(--gold);
}

.hero-subtitle {
  margin-top: 20px;
  max-width: 540px;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.7;
  color: var(--ink-2);
}

.hero-cta-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Visual-First Hero Collage Stage (Inkwell Composition) */
.hero-stage-wrap {
  margin-top: clamp(46px, 6vw, 72px);
}

.hero-stage {
  position: relative;
  padding: clamp(54px, 5.5vw, 68px) clamp(20px, 4vw, 56px) clamp(62px, 6.5vw, 84px);
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, #F6F3EC 82%);
  border: 1px solid var(--border);
}

/* Notion-Style Minimalist Hand-Drawn Peeker */
.notion-peeker {
  position: absolute;
  top: -4px;
  right: clamp(48px, 14%, 158px);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.6s var(--ease-silk);
}

.hero-stage:hover .notion-peeker {
  transform: translateY(-4px) rotate(1.5deg);
}

/* Main Airy Product Window */
.hero-window {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.win-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-soft);
}

.win-dots,
.float-win-dots {
  display: inline-flex;
  gap: 6px;
}

.win-dots span,
.float-win-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.win-dots span:nth-child(1),
.float-win-dots span:nth-child(1) { background: #F07167; }
.win-dots span:nth-child(2),
.float-win-dots span:nth-child(2) { background: #F4C467; }
.win-dots span:nth-child(3),
.float-win-dots span:nth-child(3) { background: #7EC882; }

.win-address {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.win-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.win-export-btn:hover {
  border-color: var(--ink);
}

.win-prompt-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-surface);
}

.win-prompt-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: var(--bg-pill);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.win-prompt-text {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* 3 Clean Spacious Result Cards */
.win-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px;
}

.res-card {
  text-align: left;
  padding: 16px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.25s var(--ease-silk), box-shadow 0.25s ease;
}

.res-card:hover {
  background-color: var(--bg-surface);
  transform: translateY(-2px);
}

.res-card.is-active {
  background-color: var(--bg-surface);
  border-color: var(--ink);
  box-shadow: 0 6px 20px rgba(24, 24, 22, 0.06);
}

.res-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.res-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: var(--bg-pill);
  color: var(--ink-2);
}

.res-tag-gold {
  background-color: var(--gold-soft);
  color: #8A611C;
}

.res-ref-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

.res-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.res-angle {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Clean Single-Line Live Trace Strip (No heavy table wall!) */
.win-trace-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--ink-2);
  flex-wrap: wrap;
}

.trace-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.trace-note-name {
  font-weight: 500;
  color: var(--ink);
}

.trace-metrics {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  display: inline-flex;
  gap: 12px;
}

/* Floating Collage Cards Around Hero Window (Inkwell Signature!) */
.float-card {
  position: absolute;
  z-index: 4;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-float);
  will-change: transform;
  transition: box-shadow 0.25s ease;
}

.float-xhs-note {
  left: 16px;
  bottom: -24px;
  width: 210px;
  padding: 10px;
  transform: rotate(-2.5deg);
}

.mini-xhs-body {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-xhs-cover {
  height: 82px;
  border-radius: 7px;
  padding: 10px;
  background: linear-gradient(135deg, #FBF2E4 0%, #F7E8EA 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-xhs-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  color: #FFFFFF;
  background-color: var(--xhs-red);
  padding: 1px 6px;
  border-radius: 4px;
}

.mini-xhs-cover-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.mini-xhs-caption {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.mini-xhs-stats {
  margin-top: 4px;
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}

.float-cloud-pill {
  top: 18px;
  left: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
}

.float-cloud-pill strong {
  color: var(--ink);
  font-weight: 600;
}

.scan-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2E8B57;
  box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.16);
}

.float-comment-card {
  right: 16px;
  bottom: -22px;
  width: 246px;
  padding: 13px 15px;
  transform: rotate(1.8deg);
}

.float-comment-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--gold-soft);
  color: #8A611C;
  font-size: 11.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.comment-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.comment-sub {
  font-size: 11px;
  color: var(--ink-3);
}

.comment-bubble {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}

/* Notion-Style Platform Logo Strip */
.platforms-bar {
  margin-top: clamp(54px, 6.5vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.platforms-lead {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.platforms-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
}

.plat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 5px 10px;
  border-radius: 999px;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.plat-chip.is-flagship {
  color: var(--ink);
  background-color: transparent;
  padding: 5px 14px;
  font-weight: 600;
}

/* ==========================================================================
   SHOWCASE: Cliento-Style Silky Continuous Scroll Narrative
   ========================================================================== */

.showcase {
  padding-block: clamp(80px, 10vw, 136px);
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.heading-muted {
  color: var(--ink-3);
  font-weight: 600;
}

.showcase-intro {
  max-width: 680px;
  margin-bottom: clamp(44px, 5.5vw, 72px);
}

.scroll-story {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.story-nav-col {
  display: flex;
  flex-direction: column;
}

.story-chapter {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 28px 22px;
  border-left: 2px solid var(--border);
  cursor: pointer;
  opacity: 0.34;
  transform: translateX(0);
  transition: opacity 0.45s var(--ease-silk),
    border-color 0.45s var(--ease-silk),
    transform 0.45s var(--ease-silk);
}

.story-chapter:last-child {
  padding-bottom: 64px;
}

.story-chapter:hover {
  opacity: 0.7;
}

.story-chapter.is-active {
  opacity: 1;
  border-left-color: var(--ink);
  transform: translateX(4px);
}

.chapter-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 10px;
}

.chapter-title {
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.chapter-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 340px;
}

.mobile-visual-slot {
  display: none;
  margin-top: 22px;
}

/* Sticky Silky Stage */
.story-stage-col {
  position: relative;
}

.stage-sticky-shell {
  position: sticky;
  top: clamp(92px, 13vh, 132px);
  border-radius: 18px;
  background: linear-gradient(180deg, #F8F6F0 0%, #F3F0E7 100%);
  border: 1px solid var(--border);
  padding: 28px 28px 22px;
  overflow: hidden;
}

.stage-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: rgba(24, 24, 22, 0.05);
}

.stage-progress-fill {
  height: 100%;
  width: 25%;
  background-color: var(--gold);
  transition: width 0.5s var(--ease-silk);
}

.stage-layers {
  position: relative;
  min-height: 496px;
}

.stage-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(22px) scale(0.975);
  pointer-events: none;
  transition: opacity 0.55s var(--ease-silk), transform 0.6s var(--ease-silk);
}

.stage-layer.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.stage-layer.is-past {
  opacity: 0;
  transform: translateY(-20px) scale(0.975);
}

.stage-bottom-dots {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.s-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: rgba(24, 24, 22, 0.16);
  transition: width 0.35s var(--ease-silk), background-color 0.25s ease;
}

.s-dot.is-active {
  width: 26px;
  background-color: var(--ink);
}

/* ==========================================================================
   Visual Stage Cards (Pitch-Deck Grade, Airy, High Visual Appeal)
   ========================================================================== */

.vis-canvas {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
}

.vis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.vis-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.vis-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* Scene 01 Visual: Review Clusters + Floating Quote Bubbles */
.review-bars-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.r-bar-btn {
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.r-bar-btn:hover {
  background-color: var(--bg-surface);
}

.r-bar-btn.is-active {
  background-color: var(--bg-surface);
  border-color: var(--ink);
}

.r-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 7px;
}

.r-bar-name {
  font-weight: 600;
  color: var(--ink);
}

.r-bar-stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.r-track {
  height: 6px;
  border-radius: 999px;
  background-color: var(--bg-pill);
  overflow: hidden;
}

.r-fill {
  height: 100%;
  border-radius: 999px;
  background-color: var(--ink);
  transition: width 0.5s var(--ease-silk), background-color 0.25s ease;
}

.r-bar-btn.is-active .r-fill {
  background-color: var(--gold);
}

.quote-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.q-bubble {
  padding: 14px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.q-bubble-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

.q-bubble-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-3);
}

/* Scene 02 Visual: Existing Content vs Comment Gap Visual Lens */
.lens-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lens-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
}

.lens-muted-label {
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 3px;
}

.lens-gold-label {
  font-size: 11px;
  font-weight: 600;
  color: #8A611C;
  margin-bottom: 3px;
}

.lens-main {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.lens-sub {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
}

.lens-arrow {
  text-align: center;
  color: var(--gold);
  font-weight: 600;
}

/* Scene 03 Visual: North America IG Creators Pitch-Deck Cards */
.sort-pills {
  display: inline-flex;
  gap: 6px;
}

.s-pill {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background-color: var(--bg-pill);
  color: var(--ink-2);
  transition: all 0.2s ease;
}

.s-pill.is-active {
  background-color: var(--ink);
  color: #FCFBF8;
}

.creator-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.c-row {
  display: grid;
  grid-template-columns: 1.3fr auto auto 1.4fr;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
}

.c-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.c-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.c-handle {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-niche {
  font-size: 11.5px;
  color: var(--ink-3);
}

.c-stat {
  text-align: right;
  white-space: nowrap;
}

.c-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

.c-stat span {
  font-size: 10.5px;
  color: var(--ink-3);
}

.c-ad-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: #EBF5EE;
  color: #1F6B43;
  white-space: nowrap;
}

.c-ad-pill.is-warm {
  background-color: var(--gold-soft);
  color: #8A611C;
}

.c-reason {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}

.vis-foot-bar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}

.link-btn {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Scene 04 Visual: Clean Bulk Export Sheet */
.bulk-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.b-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 9px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12.5px;
}

.b-text {
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b-url {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #8A611C;
  background-color: var(--gold-soft);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.export-bar-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fmt-pills {
  display: inline-flex;
  gap: 6px;
}

/* ==========================================================================
   HOW IT WORKS: Visual Storyboard Cards
   ========================================================================== */

.how-section {
  padding-block: clamp(76px, 9vw, 124px);
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-header {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.how-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 20px 26px;
  display: flex;
  flex-direction: column;
}

.how-visual {
  height: 184px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

/* Mini Visual 01 */
.mini-ui-prompt {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-ui-bar {
  display: flex;
  gap: 5px;
}

.mini-ui-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mini-ui-input {
  font-size: 12px;
  color: var(--ink);
  background: var(--bg-soft);
  padding: 9px 10px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.type-caret {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  background-color: var(--gold);
  animation: blink 1.1s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.mini-ui-chips {
  display: flex;
  gap: 6px;
}

.mini-ui-chips span {
  font-size: 10.5px;
  color: var(--ink-3);
  background: var(--bg-pill);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Mini Visual 02 */
.mini-ui-connect {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.conn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 12px;
}

.conn-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: var(--ink);
}

.conn-state {
  font-size: 11px;
  font-weight: 600;
  color: #1F6B43;
}

.conn-state-off {
  font-size: 11px;
  color: var(--ink-3);
}

/* Mini Visual 03 */
.mini-ui-result {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.res-line-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.res-dot-gold,
.res-dot-ink {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.res-dot-gold { background: var(--gold); }
.res-dot-ink { background: var(--ink); }

.res-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.res-lines i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: var(--border-strong);
}

.res-lines i.short {
  width: 62%;
}

.res-link-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #8A611C;
  background: var(--gold-soft);
  padding: 2px 7px;
  border-radius: 5px;
}

.res-export-pill {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bg-surface);
  background: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
}

.how-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.how-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
}

.how-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.how-desc {
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink-2);
}

/* Bottom Strip: Read-only Pill + Light Multi-Client Switcher */
.how-bottom-strip {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.readonly-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-2);
}

.client-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.client-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background-color: var(--bg-soft);
}

.c-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.c-tab.is-active {
  background-color: var(--bg-surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(24, 24, 22, 0.07);
}

.client-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  flex-wrap: wrap;
}

.cli-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  background-color: var(--ink);
  color: #FCFBF8;
  font-family: var(--font-mono);
  font-size: 12px;
}

.cli-copy {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #E7C888;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 8px;
}

/* ==========================================================================
   Closing CTA & Minimalist Footer
   ========================================================================== */

.closing-section {
  padding-block: clamp(84px, 11vw, 148px);
}

.closing-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-doodle {
  margin-bottom: 18px;
}

.closing-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 28px;
}

.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--ink-3);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-2);
}

.footer-nav a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Scroll Reveal Utility (Smooth Cliento Entrance)
   ========================================================================== */

.has-reveal .reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-silk), transform 0.75s var(--ease-silk);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Modal & Toast
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(24, 24, 22, 0.42);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 84vh;
  overflow-y: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-float);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
}

.modal-close:hover {
  background-color: var(--bg-soft);
  color: var(--ink);
}

.modal-body {
  padding: 20px 24px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.modal-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.modal-opt:hover {
  background-color: var(--bg-surface);
  border-color: var(--ink);
}

.modal-opt strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.modal-opt span {
  font-size: 12.5px;
  color: var(--ink-3);
}

.csv-box {
  margin: 12px 0 16px;
  padding: 14px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
}

.modal-foot-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-q {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 120;
  padding: 10px 18px;
  border-radius: 999px;
  background-color: var(--ink);
  color: #FCFBF8;
  font-size: 13px;
  box-shadow: var(--shadow-float);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .float-card,
  .notion-peeker {
    display: none;
  }

  .hero-stage {
    padding: 18px;
  }

  .win-cards {
    grid-template-columns: 1fr;
  }

  .scroll-story {
    grid-template-columns: 1fr;
  }

  .story-stage-col {
    display: none;
  }

  .story-chapter {
    min-height: auto;
    opacity: 1;
    border-left: none;
    padding: 28px 0;
    cursor: default;
    transform: none !important;
  }

  .mobile-visual-slot {
    display: block;
  }

  .how-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav,
  .header-actions .btn-ghost-text,
  .header-actions .btn-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .title-inline-pill {
    padding: 1px 12px 2px 10px;
  }

  .quote-duo,
  .lens-card {
    grid-template-columns: 1fr;
  }

  .lens-arrow {
    display: none;
  }

  .c-row {
    grid-template-columns: 1fr auto;
  }

  .c-reason {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-up,
  .stage-layer {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* Preview completion: preserve the supplied design while keeping controls usable. */
.demo-caption { margin: 28px auto 0; color: var(--ink-3); text-align: center; font-size: 12px; }
.skip-link { position: fixed; z-index: 150; top: 12px; left: 16px; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:is(a, button, [tabindex]):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.mobile-drawer[hidden], .toast[hidden] { display: none; }
.stage-layer[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.modal-opt { width: 100%; text-align: left; font: inherit; color: inherit; }
.modal-card { max-height: min(84vh, calc(100dvh - 40px)); overscroll-behavior: contain; }
.modal-opt span, .client-detail, .cli-pill { min-width: 0; overflow-wrap: anywhere; }
@media(max-width: 480px) {
  .hero-title { font-size: clamp(25px, 7.8vw, 34px); letter-spacing: -.045em; }
  .hero-title-line { white-space: nowrap; }
  .title-inline-pill { gap: 5px; margin-inline: 2px; padding: 1px 8px 2px 6px; }
  .pill-xhs-dot { width: 8px; height: 8px; }
  .hero-eyebrow-pill { font-size: 11px; padding-inline: 10px; }
  .scroll-story { grid-template-columns: minmax(0, 1fr); }
  .story-nav-col, .story-chapter, .mobile-visual-slot, .vis-canvas { min-width: 0; max-width: 100%; }
  .vis-canvas { padding: 18px 14px; }
  .vis-title { min-width: 0; flex-wrap: wrap; overflow-wrap: anywhere; }
  .c-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-inline: 10px; }
  .b-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .b-url { justify-self: start; }
  .vis-foot-bar { flex-wrap: wrap; gap: 8px; }
  .win-topbar { gap: 8px; padding: 12px; }
  .win-topbar .win-dots { display: none; }
  #heroExportBtn { flex-shrink: 0; white-space: nowrap; padding: 6px 10px; }
  .modal-backdrop { padding: 12px; }
  .modal-head { padding: 16px; }
  .modal-body { padding: 16px; }
  .client-detail { flex-wrap: wrap; }
  .cli-pill { max-width: 100%; }
  .footer-nav { gap: 14px 18px; }
}

/* Website feedback — official assets, preferences and lighter storytelling. */
.platform-icon { display:inline-block; width:18px; height:18px; object-fit:contain; vertical-align:middle; flex-shrink:0; }
.title-inline-pill .platform-icon { width:.65em; height:.65em; }
.ui-icon { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; flex-shrink:0; }
.ui-icon svg { width:100%; height:100%; }
.nav-link, .mobile-nav-link, .footer-nav a { align-items:center; gap:6px; }
.nav-link:has(.ui-icon), .mobile-nav-link:has(.ui-icon), .footer-nav a:has(.ui-icon) { display:inline-flex; }
.language-select { width:79px; min-height:36px; border:0; border-radius:8px; color:var(--ink-2); background:var(--bg); font:inherit; font-size:12px; cursor:pointer; }
.theme-toggle { display:grid; place-items:center; width:34px; height:36px; border:1px solid var(--border); border-radius:50%; flex-shrink:0; }
.theme-toggle:hover { background:var(--bg-pill); }
.c-avatar img { display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.readonly-pill { font-size:11px; opacity:.8; }
.story-chapter, .story-chapter.is-active { border-left:0; padding-left:0; }
.story-chapter .chapter-num { display:inline-flex; align-items:center; gap:12px; }
.story-chapter .chapter-num::after { content:''; width:0; height:1px; background:var(--gold); transition:width .6s var(--ease-silk); }
.story-chapter.is-active .chapter-num::after { width:42px; }
.story-chapter.is-active .chapter-title { transform:translateY(-3px); }
.chapter-title { transition:transform .6s var(--ease-silk); }
.modal-opt { gap:14px; text-align:left; width:100%; }
.modal-opt > div { flex:1; }
.modal-opt .access-icon { width:30px; height:30px; padding:5px; color:var(--gold); }
.modal-install { margin-top:20px; padding-top:16px; border-top:1px solid var(--border); display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.modal-install p { width:100%; font-size:12px; }
.modal-install code { width:100%; display:block; padding:12px; border-radius:8px; background:var(--bg-soft); color:var(--ink-2); overflow-wrap:anywhere; font:11px/1.6 var(--font-mono); }
.modal-install a { font-size:12px; text-decoration:underline; text-underline-offset:3px; }
html[lang="en"] .hero-title { font-size:clamp(35px,4.7vw,65px); }
html[lang="en"] .hero-title-line { white-space:normal; }
html[lang="en"] .hero-title .title-inline-pill { white-space:nowrap; }
html[lang="en"] .vis-title { white-space:normal; }
html[lang="en"] .header-inner { gap:16px; }
html[lang="en"] .site-nav { gap:20px; }
html[lang="en"] .res-card { overflow-wrap:anywhere; }
:root[data-theme="light"] { color-scheme:light; }
:root[data-theme="dark"] {
 color-scheme:dark; --bg:#171816; --bg-soft:#20221e; --bg-surface:#252722; --bg-pill:#2c2e27;
 --ink:#f1efe7; --ink-2:#cbc8bc; --ink-3:#a8a597; --gold:#e0b262; --gold-soft:#352c1d;
 --xhs-soft:#38232a; --border:rgba(240,238,224,.1); --border-strong:rgba(240,238,224,.2);
 --shadow-soft:0 2px 6px #0003,0 18px 44px #0004; --shadow-float:0 8px 28px #0005;
}
[data-theme="dark"] .site-header { background:rgba(23,24,22,.9); }
[data-theme="dark"] .hero-stage, [data-theme="dark"] .stage-sticky-shell { background:radial-gradient(ellipse at top,#2e3028,#20221d); }
[data-theme="dark"] .btn-pill-dark, [data-theme="dark"] .s-pill.is-active { color:#171816; }
[data-theme="dark"] .btn-pill-dark:hover { background:#dedbcf; }
[data-theme="dark"] .s-dot { background:#77796b; }
[data-theme="dark"] .s-dot.is-active { background:var(--gold); }
[data-theme="dark"] :is(.hero-eyebrow-pill,.res-tag-gold,.lens-gold-label,.c-ad-pill.is-warm,.res-export-pill) { color:var(--gold); }
[data-theme="dark"] .c-ad-pill { background:#23372c; color:#a0d8b5; }
[data-theme="dark"] .conn-state { color:#a0d8b5; }
[data-theme="dark"] .mini-xhs-cover { background:linear-gradient(135deg,#493b2d,#3c2b31); }
[data-theme="dark"] :is(.notion-peeker,.closing-doodle) { filter:invert(.85) hue-rotate(180deg); }
[data-theme="dark"] .platform-icon[src$="x.png"] { filter:invert(1); }
@media (max-width:1100px) { .site-nav { gap:16px; } .header-inner { gap:14px; } .header-actions > .btn-ghost-text { display:none; } }
@media (max-width:600px) {
 .header-actions { gap:5px; } .header-inner { gap:8px; } .header-actions > [data-open-modal="access"] { display:none; }
 .language-select { width:69px; } .brand { gap:6px; } .theme-toggle { width:32px; height:32px; }
 html[lang="en"] .hero-title { font-size:clamp(29px,7.6vw,44px); line-height:1.35; }
 html[lang="en"] .hero-cta-row { flex-wrap:wrap; }
 html[lang="en"] .hero-cta-row .btn-pill-lg { font-size:13px; }
 .modal-body { padding:16px; } .modal-head { padding:16px; } .modal-opt { padding:12px; gap:8px; }
 .modal-opt strong { font-size:13px; } .modal-opt span { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { .story-chapter .chapter-num::after,.chapter-title { transition:none; } .story-chapter.is-active .chapter-title { transform:none; } }
.stage-bottom-dots { gap:10px; }
.s-dot, .s-dot.is-active { display:grid; place-items:center; width:30px; height:30px; border-radius:8px; background:transparent; color:var(--ink-3); }
.s-dot.is-active { background:var(--bg-surface); color:var(--gold); box-shadow:0 1px 3px var(--border); }
[data-theme="dark"] .s-dot { background:transparent; }
[data-theme="dark"] .s-dot.is-active { background:var(--bg-surface); }
html[lang="en"] .hero-title { font-size:clamp(34px,4.2vw,56px); }
@media (max-width:600px) { html[lang="en"] .hero-title { font-size:clamp(28px,7.5vw,42px); } }

.modal-install code { white-space:pre-wrap; }

/* Align navigation to the page center and complete the hero platform pair. */
.header-inner { position:relative; }
.site-nav { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }
.hero-title .hero-douyin-icon { width:.72em; height:.72em; vertical-align:-.04em; margin-right:.16em; }

.download-os-icon { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; flex-shrink:0; color:var(--ink); }

/* A centered magnetic CTA, with restrained warm light rather than extra controls. */
.hero-cta-row { width:100%; justify-content:center; }
.hero-primary-cta {
 position:relative; isolation:isolate; overflow:visible; flex-shrink:0;
 --pointer-x:50%; --pointer-y:50%; --magnetic-x:0px; --magnetic-y:0px;
 translate:var(--magnetic-x) var(--magnetic-y);
 box-shadow:0 6px 20px rgba(24,24,22,.12),0 0 22px rgba(194,138,42,.14);
 animation:cta-glow 4.8s ease-in-out infinite;
 transition:translate .2s var(--ease-silk),transform .2s var(--ease-silk),background-color .22s ease;
}
.hero-primary-cta > span { position:relative; z-index:1; }
.hero-primary-cta .cta-surface::before {
 content:''; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
 background:radial-gradient(circle 120px at var(--pointer-x) var(--pointer-y),rgba(245,204,128,.38),transparent 72%);
 opacity:0; transition:opacity .25s ease;
}
.hero-primary-cta[data-pointer-active="true"] .cta-surface::before, .hero-primary-cta:focus-visible .cta-surface::before { opacity:1; }
.hero-primary-cta .cta-surface::after {
 content:''; position:absolute; top:-40%; bottom:-40%; left:0; width:38%; pointer-events:none;
 background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);
 animation:cta-sheen 6s ease-in-out infinite;
}
.hero-primary-cta:active { transform:scale(.98); }
[data-theme="dark"] .hero-primary-cta .cta-surface::after { background:linear-gradient(90deg,transparent,rgba(194,138,42,.35),transparent); }
@keyframes cta-glow {
 0%,100% { box-shadow:0 6px 20px rgba(24,24,22,.12),0 0 18px rgba(194,138,42,.12); }
 50% { box-shadow:0 8px 24px rgba(24,24,22,.14),0 0 30px rgba(194,138,42,.27); }
}
@keyframes cta-sheen {
 0%,60% { transform:translateX(-180%) skewX(-20deg); opacity:0; }
 72% { opacity:.8; }
 90%,100% { transform:translateX(350%) skewX(-20deg); opacity:0; }
}
.c-avatar { position:relative; width:32px; height:32px; min-width:32px; min-height:32px; flex:0 0 32px; aspect-ratio:1; overflow:hidden; border-radius:50%; }
.c-avatar img { position:absolute; inset:0; width:100%; height:100%; min-width:0; min-height:0; object-fit:cover; border-radius:50%; }
@media (prefers-reduced-motion:reduce) {
 .hero-primary-cta, .hero-primary-cta .cta-surface::after { animation:none; transition:none; }
 .hero-primary-cta { translate:none; }
 .hero-primary-cta .cta-surface::after { display:none; }
}
@media (prefers-reduced-motion:reduce) {
 .hero-primary-cta, .hero-primary-cta:hover, .hero-primary-cta:active { transform:none; translate:none; }
}

/* Shared 7:3 entry choices; the cat belongs only to the hero's primary link. */
.hero-cta-row, .closing-actions {
 display:grid; grid-template-columns:minmax(0,7fr) minmax(0,3fr);
 width:min(560px,100%); gap:12px; margin-inline:auto; align-items:center;
}
.hero-cta-row { margin-top:76px; }
.hero-cta-row > a, .closing-actions > a {
 min-width:0; width:100%; height:52px; padding-inline:8px;
 text-align:center; white-space:normal; line-height:1.25;
}
.hero-cta-row .cta-secondary-entry, .closing-actions .cta-secondary-entry { font-size:13px; }
.hero-primary-cta .cta-surface {
 position:absolute; inset:0; z-index:0; border-radius:inherit;
 overflow:hidden; pointer-events:none;
}
.hero-primary-cta .cta-cat {
 position:absolute; width:92px; height:70px; left:50%; top:-54px;
 transform:translateX(-50%); z-index:2; pointer-events:none;
}
.cta-cat svg { display:block; width:100%; height:100%; overflow:visible; animation:cat-breathe 4.8s ease-in-out infinite; }
.cat-blink { transform-box:fill-box; transform-origin:center; animation:cat-blink 6s ease-in-out infinite; }
.cat-gaze { transform:translate(var(--cat-look-x,0px),var(--cat-look-y,0px)); transition:transform .12s ease-out; }
@keyframes cat-breathe { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-2.5px); } }
@keyframes cat-blink { 0%,43%,47%,100% { scale:1 1; } 45% { scale:1 .12; } }
@media (max-width:480px) {
 .hero-cta-row, .closing-actions { gap:10px; }
 .hero-cta-row .cta-secondary-entry, .closing-actions .cta-secondary-entry { font-size:11.5px; padding-inline:5px; }
 .hero-primary-cta .cta-cat { width:80px; height:61px; top:-47px; }
 .hero-cta-row { margin-top:66px; }
}
@media (prefers-reduced-motion:reduce) {
 .cta-cat svg, .cat-blink { animation:none; }
 .cat-gaze { transform:none; transition:none; }
}
@media (max-width:480px) {
 html[lang="en"] .hero-cta-row .cta-secondary-entry { font-size:11.5px; }
}
