/* ==========================================================================
   下班 下班 (XBXB) — Independent Brand Landing Page (V1.0 Terracotta Spec)
   Warm Off-White #F5F2EB × Terracotta #B9694C × Charcoal #30312D × Sand #DCCAB6 × Sage #8A947D
   ========================================================================== */
@font-face {
  font-family: "Glow Sans SC";
  src: url("/fonts/glow-sans-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glow Sans SC";
  src: url("/fonts/glow-sans-heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Smiley Sans";
  src: url("/fonts/smiley-sans.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("/fonts/misans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F5F2EB;
  --paper-deep: #ECE6DA;
  --white: #FFFFFF;
  --ink: #30312D;
  --ink-muted: #5F605A;
  --ink-faint: #84837A;
  --rule: #DFD8CC;

  --brand: #B9694C;
  --brand-deep: #944A34;
  --brand-hover: #7D3D29;
  --sand: #DCCAB6;
  --sand-soft: #EFE6DA;
  --sage: #8A947D;
  --sage-soft: #E5E9DF;

  /* Legacy alias variables for seamless rest-of-page token alignment */
  --olive: var(--brand-deep);
  --olive-hover: var(--brand-hover);
  --note: var(--sand);
  --note-soft: var(--sand-soft);

  --font-display-cn: "Glow Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif-en: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-en-head: "Bricolage Grotesque", "MiSans", sans-serif;
  --font-sans: "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: var(--font-display-cn);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], aside[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Ultra-subtle physical paper grain (barely perceptible tactile warmth) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button:focus-visible, a:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.serif {
  font-family: var(--font-serif);
}

/* ── Masthead ──────────────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 242, 235, 0.94);
  border-bottom: 1px solid var(--rule);
}
.masthead-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.wordmark-logo {
  width: 36px;
  height: 36px;
  display: block;
  transition: transform 0.25s ease;
}
.wordmark:hover .wordmark-logo {
  transform: rotate(-6deg);
}
.wordmark-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.wordmark-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-muted);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.12s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn-olive {
  background: var(--olive);
  color: #FFFFFF;
  border-color: var(--olive);
}
.btn-olive:hover {
  background: var(--olive-hover);
  border-color: var(--olive-hover);
}
.btn-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ink:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-quiet {
  background: transparent;
  color: var(--ink-muted);
  padding: 0 12px;
}
.btn-quiet:hover { color: var(--ink); }

/* ── Act I: Asymmetric Poster Hero ─────────────────────────────────────── */
.hero {
  padding: 58px 0 76px;
}
.hero-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: start;
}
.hero-kicker {
  font-size: 14px;
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.brush-wrap {
  position: relative;
  display: inline-block;
  color: var(--olive);
}
.brush-svg {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -6px;
  width: calc(100% + 8px);
  height: 12px;
  pointer-events: none;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 540px;
  margin: 0 0 34px;
}
.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

/* Tactile Paper Chat Starter */
.chat-starter {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 16px 18px 14px;
  box-shadow: 5px 5px 0 var(--sage-soft);
  max-width: 600px;
}
.chat-starter textarea {
  width: 100%;
  border: 0;
  resize: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  min-height: 54px;
  outline: none;
}
.chat-starter textarea::placeholder {
  color: var(--ink-faint);
}
.chat-starter-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  flex-wrap: wrap;
}
.chat-hint {
  font-size: 13px;
  color: var(--ink-faint);
}
.starter-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  max-width: 600px;
}
.prompt-link {
  background: none;
  border: 0;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink-muted);
  cursor: pointer;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
  text-align: left;
}
.prompt-link:hover {
  color: var(--olive);
  border-color: var(--olive);
}

/* Right Column: Offset Hand-inked IP + Rotated Sticky Note */
.hero-aside {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}
.ip-stage {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 24px 20px;
  position: relative;
}
.ip-stage-tag {
  position: absolute;
  top: 14px;
  left: 18px;
}
.ip-svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 12px auto 8px;
  cursor: pointer;
}
.ip-pupil {
  transition: transform 0.25s ease;
}
.ip-stage.is-alert .ip-pupil {
  transform: translate(-3px, -1px);
}
.ip-stage.is-alert .ip-lid {
  opacity: 0;
}
.ip-lid {
  transition: opacity 0.25s ease;
}
.ip-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Sticky Note Easter Egg */
.sticky-note {
  background: var(--note-soft);
  border: 1px solid #DFD09E;
  padding: 16px 20px;
  max-width: 280px;
  transform: rotate(-1.6deg);
  box-shadow: 2px 6px 18px rgba(41, 44, 38, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
}
.sticky-note:hover {
  transform: rotate(0deg);
}
.sticky-note-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(220, 216, 204, 0.7);
}
.sticky-note p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.sticky-note small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-muted);
}

/* ── Act II: Quiet Typographic Interlude ───────────────────────────────── */
.interlude {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 68px 0;
  background: rgba(255, 255, 255, 0.42);
}
.interlude-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: baseline;
}
.interlude-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.7vw, 31px);
  line-height: 1.65;
  margin: 0;
  color: var(--ink);
  max-width: 720px;
}
.interlude-quote span {
  color: var(--ink-muted);
}

/* ── Act III: 5 Real Life Moments (Editorial Index, NOT SaaS cards) ────── */
.scenarios {
  padding: 88px 0;
}
.scenarios-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 64px;
  align-items: start;
}
.scenarios-rail {
  position: sticky;
  top: 108px;
}
.scenarios-rail h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.32;
  margin: 10px 0 16px;
}
.scenarios-rail p {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 15px;
}
.margin-note {
  border-left: 2px solid var(--sage);
  padding-left: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.scenario-list {
  border-top: 1px solid var(--ink);
}
.scenario-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.scenario-num {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--olive);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.scenario-body h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}
.scenario-body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  max-width: 560px;
}
.scenario-try {
  font-size: 14px;
  font-weight: 600;
  color: var(--olive);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.scenario-try:hover {
  border-bottom-color: var(--olive);
}

/* ── Act IV: Asymmetric Desktop + Honest Credits Split (7:5) ───────────── */
.practical {
  padding: 76px 0 88px;
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
}
.practical-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 44px;
  align-items: start;
}
.desktop-sheet {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 38px 36px;
  position: relative;
}
.stamp {
  position: absolute;
  top: 26px;
  right: 28px;
  border: 1.5px solid var(--olive);
  color: var(--olive);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(3deg);
  border-radius: 3px;
}
.desktop-sheet h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin: 10px 0 12px;
  line-height: 1.3;
}
.desktop-sheet > p {
  margin: 0 0 26px;
  color: var(--ink-muted);
  max-width: 520px;
}
.dl-rows {
  border-top: 1px solid var(--rule);
}
.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.dl-row strong {
  display: block;
  font-size: 16px;
}
.dl-row small {
  color: var(--ink-muted);
  font-size: 13px;
}

/* Honest Credits Note Block */
.credits-note {
  background: var(--note-soft);
  border: 1px solid #DDD0A2;
  padding: 34px 30px;
  position: relative;
}
.credits-note h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 10px 0 12px;
}
.credits-note p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-muted);
}
.credits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.credits-list li {
  padding-left: 18px;
  position: relative;
}
.credits-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--olive);
}

/* ── Act V: 「下班宣言」 (Book Title Page / Letter) ────────────────────── */
.manifesto {
  padding: 120px 0 104px;
  background: var(--paper);
}
.manifesto-inner {
  max-width: 520px;
  margin: 0 auto;
}
.manifesto-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.manifesto-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.manifesto-title {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--olive);
  font-weight: 700;
  margin: 0;
}
.manifesto-body {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.3vw, 24px);
  line-height: 2.15;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.manifesto-body p {
  margin: 0 0 18px;
}
.manifesto-body .manifesto-pause {
  margin-top: 28px;
  font-weight: 700;
  color: var(--olive);
}
.manifesto-sign {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.8;
}
.manifesto-sign strong {
  color: var(--ink);
  font-weight: 700;
}
.manifesto-doodle {
  margin-top: 44px;
  display: flex;
  justify-content: flex-end;
}
.manifesto-doodle img {
  width: 142px;
  height: auto;
  opacity: 0.92;
}

/* ── Act VI: Colophon Footer ───────────────────────────────────────────── */
.colophon {
  border-top: 1px solid var(--rule);
  padding: 36px 0 48px;
  font-size: 14px;
  color: var(--ink-muted);
}
.colophon-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.colophon-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.colophon-links a:hover { color: var(--olive); }
.colophon-easter {
  text-align: right;
}
.colophon-easter p {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 8px;
}

/* ── Responsive (Tablet & Mobile 390/360) ──────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .scenarios-layout, .practical-grid, .interlude-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .scenarios-rail { position: static; }
  .hero-aside { align-items: flex-start; padding-top: 0; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 32px 0 52px; }
  .hero-meta-bar { margin-bottom: 24px; }
  .scenario-row { grid-template-columns: 44px 1fr; gap: 12px; }
  .scenario-try { grid-column: 2; justify-self: start; }
  .desktop-sheet, .credits-note { padding: 24px 20px; }
  .stamp { position: static; display: inline-block; margin-bottom: 12px; transform: none; }
  .manifesto { padding: 72px 0 64px; }
  .colophon-easter { text-align: left; }
  .wordmark-sub { display: none; }
  .btn { padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark-logo, .sticky-note, .ip-pupil, .ip-lid, .btn { transition: none; }
}

/* ==========================================================================
   V1.0 Brand Visual Update — Screen 1 Hero & Screen 2 Product Showcase
   ========================================================================== */
.wordmark-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.wordmark-title {
  font-family: var(--font-display-cn);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.btn-brand {
  background: var(--brand-deep);
  color: #FFFFFF;
  border-color: var(--brand-deep);
}
.btn-brand:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.btn-sand {
  background: transparent;
  color: var(--ink);
  border-color: var(--sand);
}
.btn-sand:hover {
  background: var(--sand-soft);
  border-color: var(--brand);
}

/* ── Screen 1: Brand Values Hero ───────────────────────────────────────── */
.hero {
  padding: 44px 0 72px;
}
.hero-meta-bar {
  margin-bottom: 36px;
}
.hero-statement {
  margin-bottom: 44px;
}
.hero-title {
  font-family: var(--font-display-cn);
  font-size: clamp(38px, 6.4vw, 88px);
  font-weight: 900;
  line-height: 1.09;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.hero-line {
  display: block;
}
.hero-live-more {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.02;
  color: var(--brand);
  letter-spacing: 0.005em;
  margin: 12px 0 0;
  padding-left: clamp(28px, 11vw, 154px);
}
.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 52px;
  align-items: start;
  padding-top: 34px;
  border-top: 1px solid var(--sand);
}
.hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 0 0 22px;
  max-width: 540px;
}
.hero-dl-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
.hero-dl-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hero-dl-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.hero-dl-head strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.hero-dl-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-dl-actions .btn {
  width: 100%;
  font-size: 14px;
}

/* ── Screen 2: Product Capabilities Showcase (Layered Desktop + Mobile) ── */
.showcase {
  padding: 76px 0 96px;
  border-top: 1px solid var(--rule);
  background: #EFECE3;
}
.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}
.showcase-eyebrow {
  font-family: var(--font-mono);
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
}
.showcase-title {
  font-family: var(--font-display-cn);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.showcase-desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-muted);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.sc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sc-tab .mono {
  font-size: 11px;
  color: var(--ink-faint);
}
.sc-tab:hover {
  border-color: var(--sand);
  color: var(--ink);
}
.sc-tab.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.sc-tab.active .mono {
  color: var(--sand);
}

/* Layered Desktop + Mobile Overlap Stage */
.showcase-stage {
  position: relative;
  padding-bottom: 42px;
}
.mock-desktop {
  width: min(940px, 88%);
  background: var(--white);
  border: 1px solid #D9D2C5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(48, 49, 45, 0.09);
}
.mock-topbar {
  height: 42px;
  padding: 0 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mock-dots {
  display: inline-flex;
  gap: 6px;
}
.mock-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
  display: block;
}
.mock-dots i:first-child { background: var(--brand); opacity: 0.7; }
.mock-dots i:last-child { background: var(--sage); opacity: 0.8; }
.mock-url {
  font-size: 11.5px;
  color: var(--ink-muted);
}
.mock-pill {
  font-size: 11px;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.mock-body {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  min-height: 390px;
}
.mock-sidebar {
  background: var(--paper);
  border-right: 1px solid var(--rule);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}
.mock-brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.mock-new {
  background: var(--brand-deep);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 7px;
  margin-bottom: 10px;
}
.mock-hist-title {
  font-size: 11px;
  color: var(--ink-faint);
  padding: 0 6px;
}
.mock-hist-item {
  font-size: 12.5px;
  color: var(--ink-muted);
  padding: 7px 8px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-hist-item.active {
  background: var(--sand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}

.mock-canvas {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #FCFAF6;
}
.mock-msg-user {
  align-self: flex-end;
  max-width: 82%;
  background: var(--sand-soft);
  border: 1px solid var(--sand);
  border-radius: 14px 14px 4px 14px;
  padding: 13px 16px;
}
.mock-attach-chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 8px;
}
.mock-msg-user p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.mock-msg-ai {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand);
  border-radius: 4px 14px 14px 14px;
  padding: 16px 18px;
}
.mock-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.mock-ai-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-deep);
}
.mock-steps {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-muted);
}
.mock-steps code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--paper);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--ink);
}
.mock-deliverable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 9px;
  flex-wrap: wrap;
}
.mock-deliverable strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}
.mock-deliverable small {
  font-size: 12px;
  color: var(--ink-muted);
}
.mock-try-btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

/* Foreground Overlapping Mobile Web Frame */
.mock-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 286px;
  background: var(--white);
  border: 1px solid #D3CABC;
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(48, 49, 45, 0.16);
  overflow: hidden;
  z-index: 4;
}
.mock-mobile-bar {
  padding: 11px 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mock-mobile-bar .mono {
  font-size: 10.5px;
  color: var(--ink-muted);
}
.mock-mobile-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--sand-soft);
  padding: 2px 7px;
  border-radius: 999px;
}
.mock-mobile-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FCFAF6;
}
.mock-m-bubble {
  font-size: 12.5px;
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: 12px;
}
.mock-m-bubble.user {
  align-self: flex-end;
  max-width: 88%;
  background: var(--sand-soft);
  color: var(--ink);
  border-bottom-right-radius: 4px;
}
.mock-m-bubble.ai {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 2.5px solid var(--sage);
  border-bottom-left-radius: 4px;
}
.mock-m-bubble.ai strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.mock-m-bubble.ai p {
  margin: 0 0 8px;
  color: var(--ink-muted);
}
.mock-m-file {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-deep);
  background: var(--paper);
  border: 1px solid var(--sand);
  padding: 3px 8px;
  border-radius: 6px;
}
.mock-mobile-foot {
  padding: 9px 14px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 11px;
  color: var(--ink-faint);
}

/* Responsive Breakpoints for Screen 1 & Screen 2 */
@media (max-width: 980px) {
  .hero-lower,
  .showcase-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mock-desktop {
    width: 100%;
  }
  .mock-mobile {
    position: relative;
    width: min(340px, 100%);
    margin: 20px auto 0;
  }
  .showcase-stage {
    padding-bottom: 0;
  }
}
@media (max-width: 720px) {
  .hero {
    padding: 30px 0 54px;
  }
  .hero-title {
    font-size: clamp(32px, 9.2vw, 44px);
    line-height: 1.14;
  }
  .hero-live-more {
    font-size: clamp(36px, 10vw, 48px);
    padding-left: 22px;
    margin-top: 8px;
  }
  .mock-body {
    grid-template-columns: 1fr;
  }
  .mock-sidebar {
    display: none;
  }
  .mock-canvas {
    padding: 16px;
  }
  .mock-msg-user {
    max-width: 100%;
  }
}

/* ==========================================================================
   V1.1 Editorial Enhancements: Hero Coastal Film Photo, OFF. Poster,
   Transparent Credits Table, Core FAQ, Manifesto Opener & Real CJK Webfonts
   ========================================================================== */
:root {
  --font-smiley: "Smiley Sans", "Glow Sans SC", "MiSans", sans-serif;
}
.wordmark-title {
  font-family: "Glow Sans SC", "MiSans", sans-serif;
  font-weight: 700;
}
.nav-links {
  font-family: var(--font-sans);
  gap: 24px;
}

/* ── Hero Split with Coastal Documentary Film Photo ────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
}
.hero-title {
  font-family: "Glow Sans SC", "MiSans", sans-serif;
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero-live-more {
  font-size: clamp(42px, 5.2vw, 72px);
  padding-left: clamp(20px, 6vw, 76px);
  margin: 8px 0 22px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-cta-row .btn {
  border-radius: 999px;
  padding: 0 22px;
}
.hero-photo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}
.hero-photo-frame {
  margin: 0;
  transform: rotate(1.3deg);
  transition: transform 0.35s ease;
}
.hero-photo-frame:hover {
  transform: rotate(0deg);
}
.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--sand);
  box-shadow: 0 20px 44px rgba(48, 49, 45, 0.10);
}
.hero-photo-frame figcaption {
  margin-top: 10px;
  text-align: right;
  font-size: 11px;
  color: var(--ink-faint);
}

/* ── Editorial Statement Band A: Dark Forest-Charcoal "OFF." Poster ────── */
.off-band {
  padding: 44px 0 24px;
}
.off-poster {
  background: #25342F;
  color: #F4F2EC;
  border-radius: 20px;
  padding: clamp(36px, 6vw, 68px) clamp(28px, 5vw, 64px);
  overflow: hidden;
}
.off-word {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(72px, 14vw, 176px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #F5F2EB;
  margin: 0 0 20px;
}
.off-cn {
  font-family: var(--font-smiley);
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #DCE5DF;
  margin: 0 0 24px;
}
.off-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 242, 235, 0.16);
  color: rgba(245, 242, 235, 0.72);
  font-size: 12px;
}

/* ── Transparent Credit Rate Table inside #credits ─────────────────────── */
.credit-table {
  margin: 16px 0 18px;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.ct-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px dashed var(--rule);
}
.ct-row:last-child { border-bottom: 0; }
.ct-row strong {
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Core FAQ Section ──────────────────────────────────────────────────── */
.faq-section {
  padding: 64px 0 72px;
  border-top: 1px solid var(--rule);
}
.faq-head {
  margin-bottom: 32px;
}
.faq-head h2 {
  font-family: "Glow Sans SC", "MiSans", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 8px 0 0;
  color: var(--ink);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px 24px;
}
.faq-item h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  font-family: "Glow Sans SC", "MiSans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.faq-item h3 .mono {
  color: var(--brand);
  font-weight: 500;
}
.faq-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ── Editorial Statement Band B: Manifesto Opener ("工作之外，还有人生。 Dear human,") ── */
.manifesto-opener {
  background: #E8E1D3;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 56px);
  margin-bottom: 48px;
}
.manifesto-opener-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  color: var(--ink-muted);
  font-size: 12px;
}
.manifesto-giant {
  font-family: "Glow Sans SC", "MiSans", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 7.6vw, 96px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}
.manifesto-giant span { display: block; }
.manifesto-indent { padding-left: clamp(24px, 9vw, 130px); }
.manifesto-dear {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  color: var(--brand);
  margin: 0;
}
.colophon-easter p {
  font-family: var(--font-smiley);
  font-size: 20px;
  letter-spacing: 0.03em;
}

@media (max-width: 980px) {
  .hero-split,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-photo-frame { transform: none; }
}
@media (max-width: 720px) {
  .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-live-more { font-size: clamp(36px, 10vw, 48px); padding-left: 14px; }
  .manifesto-indent { padding-left: 24px; }
}

/* ── Tactile 3-Photo Stacked Deck in Hero ──────────────────────────────── */
.photo-deck-wrap {
  padding: 6px 18px 0 14px;
}
.photo-deck {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  user-select: none;
  outline: none;
}
.photo-deck:focus-visible .deck-card[data-pos="0"] {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.deck-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 7px;
  background: #FFFDF9;
  border: 1px solid var(--sand);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(48, 49, 45, 0.11);
  transition: transform 0.45s cubic-bezier(.22, 1, .36, 1), opacity 0.35s ease, filter 0.35s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  pointer-events: none;
}
.deck-card[data-pos="0"] {
  z-index: 3;
  transform: translate(0, 0) rotate(0.8deg) scale(1);
  opacity: 1;
}
.deck-card[data-pos="0"]:hover {
  transform: translate(0, -3px) rotate(0deg) scale(1.008);
  box-shadow: 0 22px 44px rgba(48, 49, 45, 0.14);
}
.deck-card[data-pos="1"] {
  z-index: 2;
  transform: translate(18px, 12px) rotate(4.2deg) scale(0.96);
  opacity: 0.94;
  filter: brightness(0.96);
}
.deck-card[data-pos="1"]:hover {
  transform: translate(22px, 10px) rotate(5deg) scale(0.97);
}
.deck-card[data-pos="2"] {
  z-index: 1;
  transform: translate(-14px, 15px) rotate(-3.4deg) scale(0.93);
  opacity: 0.86;
  filter: brightness(0.93);
}
.deck-card[data-pos="2"]:hover {
  transform: translate(-18px, 13px) rotate(-4.2deg) scale(0.94);
}
.deck-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 0 2px;
}
.deck-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.deck-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--sand);
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.deck-btn:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #FFFFFF;
}
@media (max-width: 720px) {
  .photo-deck-wrap { padding: 4px 12px 0 10px; }
  .deck-card[data-pos="1"] { transform: translate(11px, 8px) rotate(3.2deg) scale(0.96); }
  .deck-card[data-pos="2"] { transform: translate(-9px, 10px) rotate(-2.6deg) scale(0.93); }
}

/* ── Free Codex Installer & Chinese Localization Pillars ────────────────── */
.codex-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  max-width: 620px;
}
.codex-pillar {
  background: var(--white, #FFFFFF);
  border: 1px solid var(--rule, #DFD8CC);
  border-top: 2px solid var(--brand, #B9694C);
  border-radius: 10px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.codex-pillar strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-deep, #944A34);
  line-height: 1.35;
}
.codex-pillar span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-muted, #63625B);
}
@media (max-width: 720px) {
  .codex-pillars {
    grid-template-columns: 1fr;
  }
}
