/* 寻迹书法 · site.css — SPEC v2 tokens */
:root {
  --ink: #1A1A1A;
  --ink-2: #3D3D3D;
  --muted: #6B6B6B;
  --muted-on-dark: #A3A3A3;
  --paper: #F5F0E8;
  --paper-2: #FAF8F5;
  --shell: #0F0E10;
  --shell-2: #1A181C;
  --seal: #C1272D;
  --seal-hover: #A31F24;
  --line: rgba(26, 26, 26, 0.08);
  --line-on-dark: rgba(245, 240, 232, 0.12);
  --elev: 0 12px 40px rgba(0, 0, 0, 0.18);

  --fs-hero: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.5rem, 3vw, 2rem);
  --fs-h3: 1.125rem;
  --fs-body: 1rem;
  --fs-cap: 0.8125rem;
  --lh: 1.6;
  --tracking-tight: -0.02em;

  --pad-x: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 10vw, 7.5rem);
  --radius: 14px;
  --radius-pill: 999px;
  --nav-h: 56px;
  --max: 1120px;
}

@media (min-width: 900px) {
  :root { --nav-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: system-ui, "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, video, svg { max-width: 100%; display: block; }
button { font: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--seal); color: #fff; padding: 8px 12px;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-seal { background: var(--seal); color: #fff; }
.btn-seal:hover { background: var(--seal-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-on-dark);
}
.btn-ghost-light:hover {
  border-color: rgba(245, 240, 232, 0.35);
  background: rgba(245, 240, 232, 0.06);
}
.btn-lg { min-height: 48px; padding: 0 1.5rem; }

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  background: rgba(250, 248, 245, 0.94);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
}
.brand-mark {
  font-weight: 650;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.nav-links {
  display: none;
  flex: 1;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}
.nav-right .company {
  display: none;
  font-size: var(--fs-cap);
  color: var(--muted);
}
.nav-right .company:hover { color: var(--ink); }
.nav-right .btn { min-height: 36px; padding: 0 14px; font-size: 0.8125rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer — opaque shell, no bleed */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity .2s ease;
}
.nav-drawer {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(320px, 88vw);
  background: var(--shell);
  color: var(--paper);
  opacity: 1;
  transform: translateX(100%);
  transition: transform .2s ease;
  padding: calc(var(--nav-h) + 12px) 1.25rem calc(24px + env(safe-area-inset-bottom));
  box-shadow: -8px 0 32px rgba(0,0,0,.35);
  overflow-y: auto;
}
.nav-drawer[hidden],
.nav-backdrop[hidden] { display: none !important; }
body.nav-open .nav-backdrop {
  display: block;
  opacity: 1;
}
body.nav-open .nav-drawer {
  transform: translateX(0);
}
.nav-drawer-inner { display: flex; flex-direction: column; gap: 0; }
.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-size: 1.0625rem;
  color: var(--paper);
  border-bottom: 1px solid var(--line-on-dark);
}
.nav-drawer a:hover { color: #fff; }
.nav-drawer .nav-drawer-cta {
  margin-top: 1.5rem;
  border: none;
  justify-content: center;
  color: #fff;
  background: var(--seal);
  border-radius: var(--radius-pill);
  min-height: 48px;
}
.nav-drawer .nav-drawer-cta:hover { background: var(--seal-hover); color: #fff; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-right .company { display: inline; }
  .nav-toggle { display: none; }
  .nav-drawer, .nav-backdrop { display: none !important; }
}

/* —— Hero —— */
.hero {
  position: relative;
  background: var(--shell);
  color: var(--paper);
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: clamp(0.85rem, 2.2vw, 1.5rem) 0 1rem;
  overflow: hidden; /* clip page edges; stage may peek right inside visual */
}
.hero-ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 40%, rgba(193, 39, 45, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(245, 240, 232, 0.05), transparent 50%);
  opacity: 0.9;
}
.hero-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 5vw, 2.75rem);
  align-items: start;
  width: min(var(--max), calc(100% - 2 * var(--pad-x)));
  margin-inline: auto;
  overflow: visible;
}
@media (min-width: 900px) {
  .hero {
    min-height: calc(100svh - var(--nav-h));
    padding: clamp(0.55rem, 1.5vw, 1.15rem) 0 0.95rem;
    align-items: stretch;
  }
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.25rem;
    align-items: center;
    min-height: inherit;
  }
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: var(--fs-cap);
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
  text-transform: none;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: var(--fs-hero);
  line-height: 1.12;
  letter-spacing: var(--tracking-tight);
  font-weight: 600;
  color: var(--paper);
}
.hero-sub {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  color: var(--muted-on-dark);
  max-width: 28em;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.hero-actions .btn { width: 100%; }
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    width: auto;
  }
  .hero-actions .btn { width: auto; }
}

/* Hero visual — multi-device collage stage */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  overflow: visible;
  /* Soft-stop left so peeking devices never cover hero copy */
  -webkit-mask-image: none;
  mask-image: none;

  margin-top: clamp(2.25rem, 7vw, 3.5rem);
}
@media (min-width: 900px) {
  .hero-visual {
    /* Bleed right past wrap padding for half-hidden cards */
    width: calc(100% + var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  min-height: 0;
  overflow: visible;
  /* CTAs ↔ mockups breathing room */
  padding-top: clamp(0.5rem, 2vw, 1rem);
}
@media (min-width: 900px) {
  .hero-stage {
    min-height: min(62vh, 560px);
    align-items: center;
  }
}

.device-collage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.32s ease;
}
.device-collage.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
}
@media (min-width: 900px) {
  .device-collage {
    align-items: center;
  }
  .device-collage.is-active {
    height: 100%;
    min-height: inherit;
  }
}

.device-collage[hidden] {
  display: none !important;
}

/* —— Shared modern thin metal bezel (Pro Max–like) —— */
.dev-frame {
  position: relative;
  margin: 0;
  z-index: 1;
  flex: 0 0 auto;
  rotate: 0deg; /* no tilt */
}
.dev-bezel {
  width: 100%;
  position: relative;
  /* ~2–3px visual chrome + metallic edge highlight */
  padding: 2.5px;
  border: none;
  background:
    linear-gradient(
      145deg,
      #f0f0f2 0%,
      #c4c4c8 14%,
      #7a7a80 32%,
      #3a3a3e 48%,
      #1c1c1e 55%,
      #6e6e74 72%,
      #d8d8dc 88%,
      #a0a0a6 100%
    );
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}
.bezel-phone {
  border-radius: 18px;
  padding: 2.5px;
}
.bezel-narrow {
  border-radius: 16px;
  padding: 2.5px;
}
.bezel-land {
  border-radius: 14px;
  padding: 2.5px;
}
.bezel-fold {
  border-radius: 14px;
  padding: 2.5px;
}
.dev-screen {
  position: relative;
  overflow: hidden;
  background: #0a0a0b;
  border-radius: 15.5px; /* tight to thin chrome */
}
.bezel-land .dev-screen { border-radius: 11.5px; }
.bezel-fold .dev-screen { border-radius: 11.5px; }
.bezel-narrow .dev-screen { border-radius: 13.5px; }
.dev-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.bezel-phone .dev-screen,
.bezel-narrow .dev-screen {
  aspect-ratio: 9 / 19.5;
}
.bezel-land .dev-screen {
  aspect-ratio: 19.5 / 9;
}
.bezel-land .dev-screen img {
  object-fit: cover;
  object-position: center 18%;
}

/* Full-device mockup PNGs later: drop CSS chrome, keep outer shadow only */
.dev-frame[data-frame="borderless"] .dev-bezel,
.dev-frame.has-device-art .dev-bezel,
.device-silhouette[data-frame="borderless"] .sil-chrome,
.device-silhouette.has-device-art .sil-chrome {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.dev-frame[data-frame="borderless"] .dev-screen,
.dev-frame.has-device-art .dev-screen,
.device-silhouette[data-frame="borderless"] .sil-screen,
.device-silhouette.has-device-art .sil-screen {
  border-radius: 0;
  background: transparent;
}
.dev-frame[data-frame="borderless"],
.dev-frame.has-device-art,
.device-silhouette[data-frame="borderless"],
.device-silhouette.has-device-art {
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.5));
}

/* Focus glow / light-flow on active frame */
.dev-frame.is-focus,
.device-silhouette.is-focus {
  z-index: 8;
}
.dev-frame.is-focus .dev-bezel,
.device-silhouette.is-focus .sil-chrome {
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(245, 240, 232, 0.1),
    0 0 28px 2px rgba(196, 58, 50, 0.35),
    0 0 48px 6px rgba(245, 200, 160, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.dev-frame[data-frame="borderless"].is-focus,
.dev-frame.has-device-art.is-focus,
.device-silhouette[data-frame="borderless"].is-focus,
.device-silhouette.has-device-art.is-focus {
  filter:
    drop-shadow(0 22px 44px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 22px rgba(196, 58, 50, 0.4));
}
.dev-frame.is-focus .dev-bezel::before,
.device-silhouette.is-focus .sil-chrome::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    120deg,
    rgba(196, 58, 50, 0.05),
    rgba(245, 220, 180, 0.85),
    rgba(196, 58, 50, 0.75),
    rgba(245, 240, 232, 0.35),
    rgba(196, 58, 50, 0.05)
  );
  background-size: 280% 280%;
  animation: focusFlow 2.8s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.dev-frame[data-frame="borderless"].is-focus .dev-bezel::before,
.dev-frame.has-device-art.is-focus .dev-bezel::before,
.device-silhouette[data-frame="borderless"].is-focus .sil-chrome::before,
.device-silhouette.has-device-art.is-focus .sil-chrome::before {
  display: none;
}
@keyframes focusFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes focusPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.frame-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
  text-align: center;
}

/* —— iPhone: mobile-first two-tier ——
   Top: 3 portraits, breathing gap, shared mid/row baseline.
   Bottom: 1 landscape centered / left-weighted under them.
   <360px: hide landscape, keep 3 portraits. No tilt. */
.iphone-collage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(10px, 1.8vw, 16px);
  width: 100%;
  max-width: none;
  /* 按竖屏高度占位，旋转不改变文档流高度 → 下方 tabs 不抖 */
  min-height: calc(clamp(118px, 32vw, 158px) * 19.5 / 9 + 8px);
  padding: 0 0 2px 2px;
  overflow: visible;
}
.iphone-collage-stable { /* marker */ }
.iphone-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end; /* shared baseline within the row */
  width: 100%;
  overflow: visible;
}
.iphone-row-portraits {
  justify-content: flex-start;
  gap: clamp(14px, 3.2vw, 28px);
}
.iphone-row-land { display: none !important; /* removed from product */
  justify-content: flex-start; /* left-weighted under portraits */
  padding-left: clamp(4px, 2vw, 18px);
}
.iphone-land {
  width: min(72%, 300px);
  max-width: 340px;
  z-index: 2;
  flex-shrink: 0;
}
.iphone-land .dev-screen { aspect-ratio: 19.5 / 9; }
.iphone-p {
  flex-shrink: 0;
}
.iphone-p .dev-screen { aspect-ratio: 9 / 19.5; }
/* iPhone：两侧小、中间大；流光固定在中间（.is-focus） */
.iphone-p1,
.iphone-p2,
.iphone-p3 {
  margin-right: 0;
  transform: none;
  opacity: 1;
  flex: 0 0 auto;
  transition: width 0.35s ease, opacity 0.35s ease;
}
.iphone-p1,
.iphone-p3 {
  width: clamp(88px, 24vw, 118px);
  z-index: 4;
  opacity: 0.92;
}
.iphone-p2 {
  width: clamp(118px, 32vw, 158px);
  z-index: 8;
}
.iphone-row-portraits {
  justify-content: flex-start;
  align-items: flex-end;
  overflow: visible;
  margin-left: 0;
  transform: none;
}

@media (min-width: 640px) {
  .iphone-p1,
  .iphone-p3 { width: clamp(100px, 14vw, 124px); }
  .iphone-p2 { width: clamp(132px, 19vw, 168px); }
  .iphone-row-portraits { gap: 22px; }
  .iphone-land { width: min(58%, 320px); }
}
@media (min-width: 900px) {
  .iphone-collage {
    gap: 18px;
    margin-left: 0;
  }
  .iphone-row-portraits { gap: 26px; }
  .iphone-p1,
  .iphone-p3 { width: clamp(112px, 11.5vw, 132px); }
  .iphone-p2 { width: clamp(148px, 15vw, 184px); }
  .iphone-land { width: 320px; }
  .iphone-row-land { padding-left: 12px; }
}
/* Very small phones: drop landscape, keep 3 portraits readable */
@media (max-width: 359px) {
  .iphone-row-land { display: none; }
  .iphone-p1,
  .iphone-p3 { width: min(26vw, 88px); }
  .iphone-p2 { width: min(34vw, 112px); }
  .iphone-row-portraits { gap: 12px; }
}

/* —— iPad: only 2 devices, enlarged, both fully visible —— */
.ipad-overlap {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(12px, 2.5vw, 28px);
  width: max-content;
  max-width: 100%;
  min-height: 0;
  overflow: visible;
  padding: 0 0 2px 2px;
}
.device-silhouette {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  rotate: 0deg;
}
.sil-chrome {
  width: 100%;
  position: relative;
  padding: 3px;
  border: none;
  background:
    linear-gradient(
      145deg,
      #f0f0f2 0%,
      #c4c4c8 14%,
      #7a7a80 32%,
      #3a3a3e 48%,
      #1c1c1e 55%,
      #6e6e74 72%,
      #d8d8dc 88%,
      #a0a0a6 100%
    );
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}
.sil-screen {
  background:
    linear-gradient(145deg, #FAF8F5 0%, #F5F0E8 55%, #EDE6DA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sil-hint {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.55;
  padding: 0.5rem;
}
.ipad-portrait {
  width: clamp(150px, 42vw, 260px);
  z-index: 3;
}
.ipad-portrait .sil-chrome {
  border-radius: 16px;
  padding: 3px;
}
.ipad-portrait .sil-screen {
  aspect-ratio: 3 / 4;
  border-radius: 13px;
}
.ipad-landscape {
  width: clamp(190px, 52vw, 360px);
  z-index: 2;
  margin-right: 0; /* fully visible — gentle overlap ok via negative only on large */
}
.ipad-landscape .sil-chrome {
  border-radius: 14px;
  padding: 3px;
}
.ipad-landscape .sil-screen {
  aspect-ratio: 4 / 3;
  border-radius: 11px;
}
@media (min-width: 640px) {
  .ipad-portrait { width: clamp(200px, 28vw, 280px); }
  .ipad-landscape { width: clamp(260px, 38vw, 400px); }
  .ipad-overlap { gap: 20px; }
}
@media (min-width: 900px) {
  .ipad-overlap {
    gap: 28px;
    margin-left: 0;
  }
  .ipad-portrait { width: 280px; }
  .ipad-landscape {
    width: 400px;
    margin-right: -40px; /* slight right peek only; still mostly readable */
  }
}
@media (max-width: 639px) {
  .ipad-overlap {
    gap: 10px;
    /* allow slight right overflow but keep both largely on-screen */
    max-width: none;
  }
  .ipad-portrait { width: min(46vw, 168px); }
  .ipad-landscape { width: min(56vw, 220px); margin-right: -12px; }
  .sil-hint { font-size: 0.75rem; }
}

/* —— iPhone Duo: two-tier ——
   Top: 外屏 (narrow) + 内屏分屏
   Bottom: 内屏全屏 (wide) fills width underneath */
.duo-collage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(10px, 1.8vw, 16px);
  width: 100%;
  max-width: none;
  min-height: 0;
  overflow: visible;
  padding: 0 0 2px 2px;
}
.duo-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  width: 100%;
  overflow: visible;
}
.duo-row-top {
  justify-content: flex-start;
  gap: clamp(10px, 2.2vw, 20px);
}
.duo-row-bottom {
  justify-content: flex-start;
  padding-left: 0;
}
.duo-outer {
  width: clamp(64px, 18vw, 110px);
  z-index: 3;
  flex-shrink: 0;
}
.duo-split {
  width: clamp(180px, 58vw, 340px);
  z-index: 2;
  flex-shrink: 0;
}
.duo-full {
  width: min(92%, 420px);
  max-width: 460px;
  z-index: 3;
  flex-shrink: 0;
  margin-right: 0;
}
.bezel-fold .dev-screen {
  aspect-ratio: 4 / 3.2;
}
.fold-split-screen {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  aspect-ratio: 4 / 3.2;
  padding: 0 !important;
  border-radius: 11.5px;
  overflow: hidden;
}
.fold-pane {
  min-width: 0;
  overflow: hidden;
  background: #0a0a0b;
}
.fold-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fold-pane-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, #FAF8F5 0%, #F5F0E8 55%, #EDE6DA 100%);
}
.fold-hinge {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(245, 240, 232, 0.22) 20%,
    rgba(245, 240, 232, 0.35) 50%,
    rgba(245, 240, 232, 0.22) 80%,
    transparent
  );
}
@media (min-width: 640px) {
  .duo-outer { width: clamp(80px, 12vw, 118px); }
  .duo-split { width: clamp(240px, 42vw, 340px); }
  .duo-full { width: min(78%, 440px); }
  .duo-row-top { gap: 18px; }
}
@media (min-width: 900px) {
  .duo-collage {
    gap: 18px;
    margin-left: 0;
  }
  .duo-row-top { gap: 24px; }
  .duo-outer { width: 112px; }
  .duo-split { width: 340px; }
  .duo-full { width: 420px; margin-right: -48px; }
}

/* —— Tabs BELOW stage (segment control) —— */
.hero .device-tabs {
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 400px;
  align-self: center;
  box-sizing: border-box;
}
.hero .device-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted-on-dark);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.3rem;
  min-height: 40px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex: 1 1 0;
  text-align: center;
}
@media (min-width: 640px) {
  .hero .device-tab {
    font-size: 0.875rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.hero .device-tab:hover { color: var(--paper); }
.hero .device-tab.is-active { color: var(--paper); }
.hero .device-tab.is-active::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 6px;
  height: 2px;
  border-radius: 1px;
  background: var(--seal);
}
.hero .device-tab:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 2px;
}
.hero .device-tab-desc {
  margin: 0.65rem 0 0;
  font-size: var(--fs-cap);
  color: var(--muted-on-dark);
  text-align: center;
  min-height: 1.25em;
  letter-spacing: 0.04em;
  align-self: center;
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  .device-collage {
    transition: none !important;
  }
  .dev-frame.is-focus .dev-bezel::before,
  .device-silhouette.is-focus .sil-chrome::before {
    animation: none !important;
    background: rgba(196, 58, 50, 0.45);
  }
  .dev-frame.is-focus .dev-bezel,
  .device-silhouette.is-focus .sil-chrome {
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(196, 58, 50, 0.35);
  }
}

.hero-glyph-char {
  font-family: "Songti SC", "Noto Serif SC", "STSong", serif;
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
  user-select: none;
}
.traj-dot {
  fill: var(--seal);
  opacity: 0.55;
  animation: trajPulse 5s ease-in-out infinite;
}
.traj-dot:nth-child(2) { animation-delay: 0.8s; }
.traj-dot:nth-child(3) { animation-delay: 1.6s; }
.traj-dot:nth-child(4) { animation-delay: 2.4s; }
@keyframes trajPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/* —— Trust —— */
.trust {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 16px 0 18px;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: flex-start;
  align-items: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--fs-cap);
  color: var(--muted);
  white-space: nowrap;
}

/* —— Sections —— */
.section { padding: var(--section-y) 0; }
.section-head { margin-bottom: 2rem; max-width: 36em; }
.section-head h2,
.fonts-teaser-copy h2 {
  margin: 0 0 0.5rem;
  font-size: var(--fs-h2);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  font-weight: 600;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* —— Bento —— */
.features { background: var(--paper); }
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
  }
  .bento-playback { grid-column: span 7; grid-row: span 2; }
  .bento-stele { grid-column: span 5; }
  .bento-ask { grid-column: span 5; }
  .bento-plan { grid-column: span 4; }
  .bento-pencil { grid-column: span 4; }
  .bento-archive { grid-column: span 4; }
}
.bento-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  }
}
.bento-card h3 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-h3);
  color: var(--ink);
  font-weight: 600;
}
.bento-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.bento-art {
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  min-height: 120px;
}
.bento-playback .bento-art { min-height: 200px; flex: 1; }
.slot-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.625rem;
  color: var(--muted);
  background: rgba(250, 248, 245, 0.92);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
  letter-spacing: 0.02em;
  z-index: 2;
}

/* Skeleton / shimmer placeholders */
.skel {
  background: linear-gradient(110deg, #EDE6DA 25%, #F7F3EC 40%, #EDE6DA 55%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Playback art */
.art-playback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.faux-player {
  width: 100%;
  max-width: 320px;
  background: var(--shell-2);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--line-on-dark);
}
.faux-stage {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: var(--paper);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.faux-stage .char {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 3.5rem;
  color: var(--ink);
  line-height: 1;
}
.faux-stage svg {
  position: absolute;
  inset: 10%;
  width: 80%;
  height: 80%;
}
.faux-bar {
  margin-top: 10px;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 240, 232, 0.15);
  overflow: hidden;
}
.faux-bar > i {
  display: block;
  height: 100%;
  width: 42%;
  background: var(--seal);
  border-radius: 2px;
}

/* Stele art */
.art-stele {
  display: flex;
  align-items: stretch;
  min-height: 110px !important;
  padding: 0;
}
.stele-banner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(26, 26, 26, 0.03) 11px,
      rgba(26, 26, 26, 0.03) 12px
    ),
    linear-gradient(180deg, #EDE6DA, #F5F0E8);
}
.stele-banner span {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 1.5rem;
  color: var(--ink-2);
  opacity: 0.85;
}

/* Ask art */
.art-ask {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 0.6875rem;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.ask-q {
  font-size: 0.8125rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}
.ask-a {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0 4px;
}

/* Small arts */
.art-mini {
  min-height: 88px !important;
  display: grid;
  place-items: center;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 2rem;
  color: var(--ink);
  background: linear-gradient(160deg, #FAF8F5, #EDE6DA);
}
.art-pencil-shape {
  width: 64%;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ink) 70%, var(--seal) 70%);
  position: relative;
}
.art-pencil-shape::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--seal);
}
.art-archive-rows {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.art-archive-rows i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.12);
}
.art-archive-rows i:nth-child(2) { width: 80%; }
.art-archive-rows i:nth-child(3) { width: 55%; }

/* —— Demo band (text steps only; device wall lives in Hero) —— */
.demo-section {
  background: var(--paper-2);
  padding-block: clamp(3rem, 7vw, 5.25rem);
}
.demo-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 800px) {
  .demo-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 2rem;
  }
}
.demo-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
}
.demo-points .num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: var(--fs-cap);
  color: var(--seal);
  font-weight: 600;
}
.demo-points strong {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}
.demo-points span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Legacy single-frame helpers (subpages may still use) */
.device-frame {
  margin: 0 auto;
  width: min(100%, 280px);
  background: var(--shell);
  border-radius: 28px;
  padding: 12px;
  border: 1px solid #2a282c;
  box-shadow: var(--elev);
}
.device-notch {
  width: 36%;
  height: 6px;
  margin: 4px auto 10px;
  border-radius: 4px;
  background: #2a282c;
}
.device-screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 18px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.device-screen-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background:
    radial-gradient(circle at 50% 40%, #FAF8F5, #E8E0D4);
}
.device-screen-inner .big {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 4.5rem;
  color: var(--ink);
  line-height: 1;
}
.device-screen-inner .tag {
  font-size: 0.6875rem;
  color: var(--muted);
}
.device-home {
  height: 4px;
  width: 32%;
  margin: 10px auto 4px;
  border-radius: 2px;
  background: #2a282c;
}

/* —— Download —— */
.download-section { background: var(--paper); }
.qr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .qr-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.qr-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.qr-card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  color: var(--ink);
}
.qr-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.qr-box {
  width: 148px;
  height: 148px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.qr-svg { width: 112px; height: 112px; color: var(--ink); opacity: 0.55; }
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: left;
}
.store-badge small { display: block; opacity: 0.75; font-size: 0.625rem; }
.qr-note {
  font-size: 0.6875rem;
  color: var(--muted);
}

/* —— Fonts teaser (optional) —— */
.fonts-section { background: var(--paper-2); padding-top: 0; }
.fonts-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fonts-teaser:hover {
  border-color: rgba(26, 26, 26, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.fonts-teaser strong { font-size: 1rem; }
.fonts-teaser .muted { color: var(--muted); font-size: 0.875rem; margin-left: 0.5rem; }
.fonts-teaser .link { color: var(--seal); font-size: 0.875rem; font-weight: 500; }

/* —— Footer —— */
.footer {
  background: var(--shell);
  color: var(--muted-on-dark);
  padding: 48px var(--pad-x) calc(32px + env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-cap);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  /* mobile: brand full-width, then 产品 | 支持 两列横排 */
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.25rem;
  width: min(var(--max), 100%);
  margin-inline: auto;
}
.footer-brand {
  grid-column: 1 / -1;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-brand {
    grid-column: auto;
  }
}
.footer strong {
  display: block;
  color: var(--paper);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.footer a {
  display: block;
  color: var(--muted-on-dark);
  padding: 0.2rem 0;
  min-height: 28px;
}
.footer a:hover { color: var(--paper); }
.footer-brand p {
  margin: 0 0 0.5rem;
  max-width: 28em;
  line-height: 1.65;
}
.footer-icp { opacity: 0.8; }
.footer-bottom {
  width: min(var(--max), 100%);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-on-dark);
  color: var(--muted-on-dark);
}

/* —— Inner pages (keep workable) —— */
.page-hero { padding: 2.5rem 0 1rem; }
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: var(--fs-h2);
  color: var(--ink);
}
.page-hero .lead { color: var(--muted); margin: 0; }
.prose { max-width: 720px; color: var(--ink-2); }
.prose h2 { color: var(--ink); margin-top: 2rem; }
.prose a { color: var(--seal); text-decoration: underline; text-underline-offset: 2px; }

/* Legacy slot — muted caption, never primary UI */
.slot {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Reveal (optional JS) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .traj-dot { animation: none !important; opacity: 0.65; }
  .skel { animation: none; }
}

/* —— Subpage helpers (download QR grid etc.) —— */
.qrs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .qrs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.qr {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.qr-ph {
  width: 148px;
  height: 148px;
  margin: 0 auto 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
  opacity: 0.55;
}
.qr-ph svg { width: 112px; height: 112px; }
.ph-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #FAF8F5, #EDE6DA);
  max-width: 420px;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: var(--fs-cap);
}

/* —— Extended inner-page content (SPEC v2 tokens) —— */
.eyebrow-page {
  margin: 0 0 0.5rem;
  font-size: var(--fs-cap);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: none;
}
.section-soft { background: var(--paper); }
.prose-wide { max-width: 960px; }
.cap-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--seal);
  background: rgba(193, 39, 45, 0.04);
  font-size: 0.875rem;
  color: var(--ink-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 800px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
.feature-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-block h2 {
  margin: 0.25rem 0 0;
  font-size: var(--fs-h3);
  color: var(--ink);
}
.feature-block > p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.feature-visual {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.feature-visual.art-playback { min-height: 200px; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.feature-visual.art-stele,
.feature-visual.art-ask { min-height: 160px; }
.feature-list {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-2);
  font-size: 0.875rem;
}
.feature-list li { margin: 0.25rem 0; }

.feature-visual-jizi {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #FAF8F5, #E8E0D4);
}
.jizi-sheet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: 0.12em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.steps li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.steps-num {
  display: block;
  font-size: var(--fs-cap);
  color: var(--seal);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.steps strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.steps p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .principle-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.principle {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.principle h2 {
  margin: 0 0 0.5rem;
  font-size: var(--fs-h3);
  color: var(--ink);
}
.principle p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.fonts-banner {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(135deg, #1A181C 0%, #2C2420 55%, #3D2A28 100%);
  min-height: 220px;
}
.fonts-banner-inner {
  padding: clamp(2rem, 6vw, 3.5rem);
  color: var(--paper);
}
.fonts-sample {
  display: block;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.2em;
}
.fonts-sample-sub {
  display: block;
  margin-top: 0.75rem;
  font-size: var(--fs-cap);
  color: var(--muted-on-dark);
  letter-spacing: 0.08em;
}
.fonts-banner .slot-label {
  background: rgba(15, 14, 16, 0.75);
  color: var(--muted-on-dark);
  border-color: var(--line-on-dark);
}

.timeline {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-2);
}
.timeline li { margin: 0.4rem 0; }

.about-license { margin-top: 1.5rem; }

.hero-sub { max-width: 28em; }

/* Duo waiting for real fold mockups */
.duo-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(280px, 40vh);
  padding: 2rem 1.25rem;
  text-align: center;
  border: 1px dashed rgba(245, 240, 232, 0.18);
  border-radius: 20px;
  background: rgba(245, 240, 232, 0.03);
  max-width: 420px;
  margin: 0 auto;
}
.duo-waiting-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.duo-waiting-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted-on-dark);
  line-height: 1.65;
}
