/* ==========================================================================
   TakeCut Editorial Warm-Paper Design System (Zero Dependencies)
   Warm Paper (#FAF8F2) + Crisp Ink (#121214) + Architectural 1px Dashed Grid
   Full Dark Ink Mode ([data-theme="dark"]) + Responsive Mobile/Desktop
   ========================================================================== */

:root {
  --paper: #faf8f2;
  --paper-2: #fffdf8;
  --card: #ffffff;
  --card-soft: rgba(255, 255, 255, 0.78);
  --ink: #121214;
  --ink-2: #363532;
  --muted: #66625a;
  --muted-2: #8e897f;
  --dark-cta: #141416;
  --dark-cta-hover: #26262a;
  --dark-cta-text: #ffffff;
  --line: #e6e1d5;
  --line-dash: #d6d0c2;

  /* Restrained Studio Accents */
  --accent-cyan: #0082a6;
  --accent-indigo: #4b55d6;
  --accent-coral: #d84b5a;
  --accent-emerald: #217a54;
  --accent-emerald-bg: #ecf6f0;
  --accent-amber: #b3730e;
  --accent-amber-bg: #fdf5e6;
  --accent-soft: rgba(75, 85, 214, 0.12);
  --selection-bg: #e3e7fa;

  --shadow-frame: 0 24px 60px -18px rgba(18, 18, 20, 0.18), 0 4px 14px rgba(18, 18, 20, 0.06);
  --shadow-card: 0 12px 32px -12px rgba(18, 18, 20, 0.09);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --maxw: 1180px;
  --pad: 32px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
  --paper: #0f1014;
  --paper-2: #15171d;
  --card: #181a21;
  --card-soft: rgba(24, 26, 33, 0.86);
  --ink: #f4f3ef;
  --ink-2: #c9c7c0;
  --muted: #a3a7b4;
  --muted-2: #8f98ac;
  --dark-cta: #f4f3ef;
  --dark-cta-hover: #ffffff;
  --dark-cta-text: #121214;
  --line: #272a34;
  --line-dash: #343846;

  --accent-cyan: #22d3ee;
  --accent-indigo: #818cf8;
  --accent-coral: #fb6f7c;
  --accent-emerald: #34d399;
  --accent-emerald-bg: rgba(52, 211, 153, 0.14);
  --accent-amber: #fbbf24;
  --accent-amber-bg: rgba(251, 191, 36, 0.14);
  --accent-soft: rgba(129, 140, 248, 0.18);
  --selection-bg: rgba(34, 211, 238, 0.25);

  --shadow-frame: 0 28px 70px -14px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
  overflow-x: clip;
}

main {
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 76px;
}

::selection {
  background: var(--selection-bg);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ==========================================================================
   Typography & Editorial Eyebrows
   ========================================================================== */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: inline-block;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-border-top {
  border-top: 1px dashed var(--line-dash);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.16;
  margin-top: 12px;
  font-weight: 500;
}

.section-lead {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   Sticky Frosted Editorial Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(135%) blur(14px);
  -webkit-backdrop-filter: saturate(135%) blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}

.brand-mark-img {
  display: block;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(13, 16, 28, 0.24);
}

.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.18s ease;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
}

.btn-ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover {
  border-color: var(--muted-2);
  color: var(--ink);
}

.btn-icon {
  width: 36px;
  padding: 0;
}

.btn-primary {
  background: var(--dark-cta);
  color: var(--dark-cta-text);
  border-color: var(--dark-cta);
}

.btn-primary:hover {
  background: var(--dark-cta-hover);
  transform: translateY(-1px);
}

.btn-lg {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 550;
}

/* ==========================================================================
   Hero Section & Bespoke Atmospheric Dawn Backdrop
   ========================================================================== */

.hero {
  position: relative;
  padding: 72px 0 64px;
  text-align: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-backdrop img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.72;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.92) 32%, rgba(0, 0, 0, 0.85) 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.92) 32%, rgba(0, 0, 0, 0.85) 68%, transparent 100%);
}

[data-theme="dark"] .hero-backdrop img {
  opacity: 0.22;
  filter: saturate(1.15) hue-rotate(-8deg);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.09;
  font-weight: 500;
  letter-spacing: -0.036em;
  max-width: 820px;
  margin: 18px auto 18px;
}

.gradient-word {
  background: linear-gradient(108deg, var(--accent-indigo) 0%, var(--accent-cyan) 48%, var(--accent-coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.hero-sub {
  max-width: 650px;
  margin: 0 auto 28px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

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

.hero-meta {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta span.sep {
  opacity: 0.45;
}

/* Constellation Hub linking TakeCut <-> Mainstream Domestic & Global Agents */
.constellation {
  margin: 40px auto 0;
  max-width: 780px;
  position: relative;
}

.constellation-grid {
  display: grid;
  grid-template-columns: 1fr 92px 1fr;
  align-items: center;
  gap: 16px;
}

.constellation-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.constellation-col.left {
  align-items: flex-end;
}

.constellation-col.right {
  align-items: flex-start;
}

.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 5px;
  background: var(--card-soft);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(18, 18, 20, 0.04);
  transition: transform 0.2s var(--ease), border-color 0.2s ease;
}

.agent-chip:hover {
  transform: translateY(-1px);
  border-color: var(--accent-cyan);
  color: var(--ink);
}

.agent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.hub-core {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  border-radius: 18px;
  background: #12141c;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(18, 20, 28, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hub-core-img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Framed Real App Showcase below Hero */
.hero-showcase {
  margin: 48px auto 0;
  max-width: 1040px;
}

.showcase-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.sw-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 4px;
  transition: all 0.18s ease;
}

.sw-btn.active {
  background: var(--dark-cta);
  color: var(--dark-cta-text);
}

.editorial-frame {
  position: relative;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.editorial-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: 0;
}

[data-theme="dark"] .editorial-frame-bg {
  opacity: 0.16;
}

.editorial-frame img.app-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: var(--shadow-frame);
  transition: opacity 0.24s ease;
}

/* ==========================================================================
   Dashed 6-Column Ecosystem Strip
   ========================================================================== */

.eco-strip {
  border-top: 1px dashed var(--line-dash);
  border-bottom: 1px dashed var(--line-dash);
  background: var(--paper-2);
}

.eco-caption {
  text-align: center;
  padding: 18px 16px 14px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line-dash);
}

.eco-cells {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.eco-cell {
  padding: 18px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-right: 1px dashed var(--line-dash);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.eco-cell:last-child {
  border-right: none;
}

.eco-cell small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
}

/* ==========================================================================
   Interactive Rough-Cut & Typo-Fix Playground
   ========================================================================== */

.playground-box {
  border: 1px dashed var(--line-dash);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px dashed var(--line-dash);
  background: var(--paper-2);
}

.pg-seg-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 5px;
}

.pg-pill {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 3px;
  transition: all 0.16s ease;
}

.pg-pill.active {
  background: var(--dark-cta);
  color: var(--dark-cta-text);
}

.pg-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.pg-transcript {
  padding: 20px;
  border-right: 1px dashed var(--line-dash);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pg-line {
  padding: 10px 12px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: all 0.25s var(--ease);
}

.pg-line.is-cut {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent-coral) 55%, var(--line));
  background: color-mix(in srgb, var(--accent-coral) 6%, var(--card));
  opacity: 0.72;
}

.pg-line.is-fixed {
  border-color: color-mix(in srgb, var(--accent-cyan) 55%, var(--line));
  background: color-mix(in srgb, var(--accent-cyan) 6%, var(--card));
}

.pg-line-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.pg-badge {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 99px;
}

.pg-badge.keep {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
}

.pg-badge.cut {
  background: color-mix(in srgb, var(--accent-coral) 14%, transparent);
  color: var(--accent-coral);
}

.pg-badge.fixed {
  background: var(--accent-amber-bg);
  color: var(--accent-amber);
}

.pg-line-text {
  font-size: 14px;
  color: var(--ink);
  font-weight: 480;
}

.pg-line.is-cut .pg-line-text {
  text-decoration: line-through;
  text-decoration-color: var(--accent-coral);
  color: var(--muted);
}

.pg-reason {
  font-size: 11.5px;
  color: var(--accent-coral);
  margin-top: 3px;
}

.pg-typo-diff {
  display: inline-block;
  margin-right: 6px;
  text-decoration: line-through;
  color: var(--muted-2);
  font-size: 12.5px;
}

.pg-visual {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--paper);
}

.pg-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pg-kpi {
  padding: 12px;
  border-radius: 7px;
  background: var(--card);
  border: 1px solid var(--line);
}

.pg-kpi-label {
  font-size: 11px;
  color: var(--muted);
}

.pg-kpi-val {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 650;
  margin-top: 4px;
  color: var(--ink);
}

.pg-kpi-val.emerald {
  color: var(--accent-emerald);
}

.pg-kpi-val.cyan {
  color: var(--accent-cyan);
}

.pg-tracks {
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #12141c;
  padding: 14px;
  color: #e6eaf2;
}

.pg-track-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pg-track-row:last-child {
  margin-bottom: 0;
}

.pg-track-code {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: #8f9bb3;
}

.pg-track-lane {
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  overflow: hidden;
}

.pg-block {
  height: 100%;
  border-radius: 3px;
  transition: all 0.38s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9.5px;
  overflow: hidden;
  white-space: nowrap;
}

.pg-block.sub {
  display: block;
  line-height: 18px;
  padding: 0 5px;
  text-align: left;
  text-overflow: ellipsis;
  background: rgba(251, 191, 36, 0.24);
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: #fde68a;
}

.pg-block.vid {
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.25), rgba(75, 85, 214, 0.35));
  border: 1px solid rgba(0, 224, 255, 0.55);
  color: #e0f9ff;
}

.pg-block.aud {
  background: linear-gradient(90deg, rgba(0, 224, 255, 0.45), rgba(40, 224, 152, 0.50));
}

.pg-block.cut-block {
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 89, 112, 0.35),
    rgba(255, 89, 112, 0.35) 4px,
    rgba(255, 89, 112, 0.14) 4px,
    rgba(255, 89, 112, 0.14) 8px
  );
  border: 1px solid rgba(255, 89, 112, 0.72);
  color: #ffc2ca;
}

.pg-block.collapsed {
  width: 0 !important;
  flex: 0 0 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-width: 0 !important;
  opacity: 0;
}

.pg-export-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pg-export-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
}

/* ==========================================================================
   Core Capabilities Accordion + Framed Real App Shots
   ========================================================================== */

.cap-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
}

.cap-list {
  border-top: 1px dashed var(--line-dash);
}

.cap-item {
  border-bottom: 1px dashed var(--line-dash);
}

.cap-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--ink);
}

.cap-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  width: 24px;
}

.cap-title {
  font-size: 16px;
  font-weight: 550;
  flex: 1;
  letter-spacing: -0.015em;
}

.cap-sign {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--muted-2);
}

.cap-panel {
  display: none;
  padding: 0 0 22px 38px;
}

.cap-item.active .cap-panel {
  display: block;
}

.cap-item.active .cap-num,
.cap-item.active .cap-sign {
  color: var(--accent-cyan);
}

.cap-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.cap-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cap-checks li {
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cap-checks li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 700;
}

.cap-stage {
  position: sticky;
  top: 86px;
}

.cap-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.cap-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: none;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  padding: 0;
  transition: all 0.22s var(--ease);
}

.cap-dot.active {
  width: 24px;
  background: var(--dark-cta);
}

.cap-shot-caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   4-Step Workflow Strip + 14-Agent Config Preview
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px dashed var(--line-dash);
  border-bottom: 1px dashed var(--line-dash);
}

.step-card {
  padding: 28px 22px;
  border-right: 1px dashed var(--line-dash);
}

.step-card:last-child {
  border-right: none;
}

.step-card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 560;
  margin-bottom: 8px;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* 14-Agent Interactive Selector Strip */
.agent-hub-card {
  margin-top: 34px;
  border: 1px dashed var(--line-dash);
  border-radius: 10px;
  background: var(--card);
  padding: 22px 24px;
}

.agent-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.agent-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.agent-select-pill {
  padding: 6px 11px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.16s ease;
}

.agent-select-pill.active {
  background: var(--dark-cta);
  color: var(--dark-cta-text);
  border-color: var(--dark-cta);
}

.agent-snippet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  overflow-x: auto;
}

/* ==========================================================================
   Workflow Comparison Table
   ========================================================================== */

.compare-scroll-hint {
  display: none;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.compare-wrap {
  border: 1px dashed var(--line-dash);
  border-radius: 10px;
  background: var(--card);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px dashed var(--line-dash);
  border-right: 1px dashed var(--line-dash);
  font-size: 13.5px;
  vertical-align: top;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: none;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table thead th {
  font-size: 13px;
  font-weight: 600;
  background: var(--paper-2);
  color: var(--ink);
}

.compare-table th.col-takecut,
.compare-table td.col-takecut {
  background: color-mix(in srgb, var(--accent-emerald) 6%, var(--card));
}

.tag-yes {
  color: var(--accent-emerald);
  font-weight: 600;
}

.tag-no {
  color: var(--muted-2);
}

/* ==========================================================================
   Pricing Split (FREE ¥0 vs PRO Early-Bird ¥99)
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px dashed var(--line-dash);
  border-bottom: 1px dashed var(--line-dash);
}

.price-col {
  padding: 40px 38px;
}

.price-col:first-child {
  border-right: 1px dashed var(--line-dash);
}

.price-col.pro {
  background: var(--card);
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.early-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--dark-cta);
  color: var(--dark-cta-text);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.price-num {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-orig {
  font-size: 18px;
  color: var(--muted-2);
  text-decoration: line-through;
}

.price-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}

.price-desc {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 24px;
  min-height: 44px;
}

.price-cta {
  width: 100%;
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.price-features li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 700;
}

/* ==========================================================================
   Use Cases & Architecture + FAQ + Dawn Bottom CTA + Footer
   ========================================================================== */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px dashed var(--line-dash);
  border-bottom: 1px dashed var(--line-dash);
}

.quote-card {
  padding: 26px 22px;
  border-right: 1px dashed var(--line-dash);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.quote-card:last-child {
  border-right: none;
}

.uc-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.uc-title {
  font-size: 16px;
  font-weight: 620;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}

.quote-text {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.72;
  margin: 0;
}

.quote-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.quote-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 4px;
}

.faq-list {
  border-top: 1px dashed var(--line-dash);
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px dashed var(--line-dash);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 520;
  color: var(--ink);
}

.faq-a {
  display: none;
  padding: 0 28px 20px 0;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  display: block;
}

/* Atmospheric Bottom CTA Band */
.bottom-cta {
  position: relative;
  border-top: 1px dashed var(--line-dash);
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}

.bottom-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.88) 24%, rgba(0, 0, 0, 0.88) 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.88) 24%, rgba(0, 0, 0, 0.88) 76%, transparent 100%);
}

[data-theme="dark"] .bottom-cta-bg {
  opacity: 0.20;
}

.bottom-cta-inner {
  position: relative;
  z-index: 2;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 36px;
  background: var(--paper-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
}

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

.footer-bottom {
  padding-top: 22px;
  border-top: 1px dashed var(--line-dash);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ==========================================================================
   Modal (Download & Early-Bird Pro Activation)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 16, 20, 0.56);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-frame);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 22px;
}

.modal-step {
  padding: 12px 14px;
  border-radius: 7px;
  border: 1px dashed var(--line-dash);
  background: var(--paper-2);
  font-size: 13px;
  color: var(--ink-2);
}

.modal-step strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

/* Dual-Region Checkout Cards & Self-Service Order Claim */
.modal-card {
  max-width: 568px;
}

.pay-channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-channel-card {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.pay-channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pay-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
}

.pay-badge.cn {
  background: color-mix(in srgb, var(--accent-emerald) 16%, transparent);
  color: var(--accent-emerald);
}

.pay-badge.global {
  background: color-mix(in srgb, var(--accent-indigo) 16%, transparent);
  color: var(--accent-indigo);
}

.pay-price {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pay-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.claim-box {
  margin-top: 12px;
  border: 1px dashed var(--line-dash);
  border-radius: 9px;
  padding: 11px 13px;
  background: var(--paper-2);
}

.claim-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}

.claim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.claim-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 12.5px;
  font-family: inherit;
}

.claim-result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  border: 1px solid var(--line);
  background: var(--card);
}

.claim-key-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent-emerald) 14%, transparent);
  color: var(--accent-emerald);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.modal-legal-strip {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

.modal-legal-strip a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Standalone Legal Pages (Terms / Privacy / Refund) */
.legal-shell {
  padding: 96px 0 72px;
}

.legal-title {
  margin: 10px 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.025em;
}

.legal-meta {
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: var(--shadow-frame);
}

.legal-card h2 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: var(--ink);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-2);
}

.legal-card a {
  color: var(--accent-indigo);
  text-decoration: underline;
}

.legal-nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px;
}

.legal-nav-links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .pay-channel-grid,
  .claim-row {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 20px;
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

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

@media (max-width: 980px) {
  .main-nav { display: none; }
  .section-head,
  .cap-grid,
  .pg-body,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid,
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-card:nth-child(2n),
  .quote-card:nth-child(2n) {
    border-right: none;
  }
  .step-card:nth-child(-n+2),
  .quote-card:nth-child(-n+2) {
    border-bottom: 1px dashed var(--line-dash);
  }
  .eco-cells {
    grid-template-columns: repeat(3, 1fr);
  }
  .eco-cell:nth-child(3n) {
    border-right: none;
  }
  .eco-cell {
    border-bottom: 1px dashed var(--line-dash);
  }
  .eco-cell:nth-last-child(-n+3) {
    border-bottom: none;
  }
  .pg-transcript,
  .price-col:first-child {
    border-right: none;
    border-bottom: 1px dashed var(--line-dash);
  }
  .cap-stage { position: static; }
}

@media (max-width: 760px) {
  .compare-scroll-hint {
    display: block;
  }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }
  .section { padding: 60px 0; }
  .eyebrow {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.5;
  }
  .hero-ctas .btn-lg {
    width: 100%;
    max-width: 320px;
  }
  .constellation-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .constellation-col.left,
  .constellation-col.right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .eco-cells {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-cell:nth-child(3n) {
    border-right: 1px dashed var(--line-dash);
  }
  .eco-cell:nth-child(2n) {
    border-right: none;
  }
  .eco-cell:nth-last-child(-n+3) {
    border-bottom: 1px dashed var(--line-dash);
  }
  .eco-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .steps-grid,
  .quotes-grid { grid-template-columns: 1fr; }
  .step-card, .quote-card {
    border-right: none;
    border-bottom: 1px dashed var(--line-dash);
  }
  .step-card:last-child,
  .quote-card:last-child {
    border-bottom: none;
  }
  .agent-snippet-bar {
    flex-wrap: wrap;
  }
  .agent-snippet-bar code {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
  }
  .modal-card {
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px;
  }
  .price-col { padding: 28px 20px; }
}
