/* ═══════════════════════════════════════════════════════════
   Polis Landing — light theme, 2026
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ink / neutrals (DESIGN.md) */
  --ink-900: #18181b;
  --ink-700: #3f3f46;
  --ink-500: #6b6b76;
  --ink-400: #8a8a94;
  --canvas: #ffffff;
  --surface: #f8f8f9;
  --surface-2: #f2f2f4;
  --surface-3: #eaeaed;
  --hairline: #ececef;
  --hairline-strong: #dcdce1;

  /* accent */
  --accent-700: #2a3fb8;
  --accent-600: #3651de;
  --accent-500: #5b72f0;
  --accent-100: #e3e9fd;
  --accent-50: #f2f5fe;

  /* semantic */
  --success: #12805c;
  --success-50: #e9f6f0;
  --warning: #9c6400;
  --warning-50: #fbf3e3;
  --danger: #c0362b;
  --danger-50: #fceded;
  --seal: #c8402a;
  --seal-text: #a8321f;

  /* radii */
  --r-btn: 10px;
  --r-card: 16px;
  --r-lg: 24px;

  /* shadows */
  --shadow-sm: 0 1px 3px rgba(24, 24, 27, 0.06), 0 1px 2px -1px rgba(24, 24, 27, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(24, 24, 27, 0.08), 0 2px 6px -2px rgba(24, 24, 27, 0.05);
  --shadow-lg: 0 12px 32px -8px rgba(24, 24, 27, 0.14), 0 4px 12px -4px rgba(24, 24, 27, 0.08);
  --shadow-xl: 0 24px 56px -12px rgba(24, 24, 27, 0.2), 0 8px 24px -8px rgba(24, 24, 27, 0.1);
  --shadow-action: 0 1px 2px rgba(24, 24, 27, 0.24), 0 1px 1px rgba(24, 24, 27, 0.12);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.num { font-variant-numeric: tabular-nums; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.btn-lg { height: 50px; padding: 0 28px; font-size: 15px; border-radius: 12px; }
.btn-primary { background: var(--ink-900); color: #fff; box-shadow: var(--shadow-action); }
.btn-primary:hover { background: #2b2b31; transform: translateY(-1px); }
.btn-secondary { background: var(--canvas); color: var(--ink-900); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline-strong); }
.btn-secondary:hover { background: var(--surface); }
.btn-ghost { color: var(--ink-700); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-inverse { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-md); }
.btn-inverse:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.text-link { color: var(--accent-600); font-weight: 600; font-size: 14px; }
.text-link:hover { color: var(--accent-700); }

/* ─── Chips ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-info { background: var(--accent-100); color: var(--accent-700); }
.chip-neutral { background: var(--surface-2); color: var(--ink-700); }

.ai-spark { color: var(--accent-500); }

/* ─── Seal mark ─── */
.seal-mark {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--seal);
  color: var(--seal-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.seal-lg { height: 32px; padding: 0 14px; font-size: 13px; }

/* ═══════════ Nav ═══════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-logo-mark img { width: 20px; height: 20px; }
.nav-logo-name { font-size: 17px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink-900); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }

/* ═══════════ Hero ═══════════ */
.hero { position: relative; padding: 148px 0 40px; overflow: hidden; }
.hero-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 44% at 78% 6%, rgba(91, 114, 240, 0.16), transparent 70%),
    radial-gradient(46% 40% at 12% 22%, rgba(54, 81, 222, 0.1), transparent 70%),
    radial-gradient(30% 26% at 55% 60%, rgba(200, 64, 42, 0.045), transparent 70%);
}
.hero-inner { position: relative; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), var(--shadow-sm);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-600); box-shadow: 0 0 0 3px var(--accent-100); }

.hero-title {
  margin: 28px 0 20px;
  font-size: clamp(44px, 7.2vw, 84px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--ink-900) 55%, #43436b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-500); max-width: 640px; margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ─── Hero mockup ─── */
.hero-mock { position: relative; max-width: 920px; margin: 72px auto 0; }
.mock-window {
  background: var(--canvas);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xl), inset 0 0 0 1px var(--hairline);
  overflow: hidden;
  text-align: left;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.mock-url { font-size: 12px; color: var(--ink-500); }

.mock-body { padding: 24px 28px 28px; }
.mock-flow-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 18px;
}

/* flow track */
.flow-track { display: flex; align-items: flex-start; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 76px; text-align: center; }
.flow-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.flow-node.done .flow-pin { background: var(--success-50); color: var(--success); box-shadow: inset 0 0 0 1.5px var(--success); }
.flow-node.current .flow-pin {
  background: var(--accent-600);
  box-shadow: 0 0 0 4px var(--accent-100);
}
.flow-node.future .flow-pin { background: var(--canvas); box-shadow: inset 0 0 0 1.5px var(--hairline-strong); }
.flow-name { font-size: 12px; font-weight: 600; color: var(--ink-900); }
.flow-node.future .flow-name { color: var(--ink-500); font-weight: 500; }
.flow-meta { font-size: 11px; color: var(--ink-500); }
.flow-line { flex: 1; height: 2px; margin-top: 10px; border-radius: 2px; min-width: 24px; }
.flow-line.solid { background: var(--success); opacity: 0.5; }
.flow-line.dashed { background: repeating-linear-gradient(90deg, var(--hairline-strong) 0 6px, transparent 6px 12px); }

/* task queue */
.mock-queue { margin-top: 22px; border-top: 1px solid var(--hairline); }
.task-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px 13px 12px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.task-row:last-child { border-bottom: none; }
.task-row.urgent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 2px;
  background: var(--danger);
}
.task-tag {
  flex: none;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--ink-700);
}
.task-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.task-title { font-size: 14px; font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-title b { font-weight: 600; color: var(--ink-900); }
.task-meta { font-size: 12px; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-actions { display: flex; gap: 8px; flex: none; }
.mini-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 7px;
  background: var(--canvas);
  color: var(--ink-700);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), 0 1px 2px rgba(24, 24, 27, 0.05);
}
.mini-btn.dark { background: var(--ink-900); color: #fff; box-shadow: var(--shadow-action); }

/* floating cards */
.mock-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--hairline);
  text-align: left;
}
.mock-ai {
  width: 250px;
  right: -56px;
  top: 46px;
  padding: 14px 16px;
  animation: floaty 7s ease-in-out infinite;
}
.mock-ai-head { font-size: 13px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.mock-ai p { font-size: 12px; line-height: 1.6; color: var(--ink-700); }
.mock-ai-foot { margin-top: 8px; font-size: 11px; color: var(--ink-500); }
.mock-seal {
  left: -48px;
  bottom: 38px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 8s 1.2s ease-in-out infinite;
}
.mock-seal div { display: flex; flex-direction: column; }
.mock-seal b { font-size: 13px; color: var(--ink-900); }
.mock-seal span:last-child { font-size: 11px; color: var(--ink-500); }

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

/* ═══════════ Stats strip ═══════════ */
.strip { padding: 44px 0 8px; }
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}
.strip-item { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.strip-item b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.strip-item span { font-size: 13px; color: var(--ink-500); }
.strip-sep { width: 1px; height: 34px; background: var(--hairline-strong); }

/* ═══════════ Sections ═══════════ */
.section { padding: 108px 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 620px; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-600);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin-bottom: 16px;
}
.section-head p { font-size: 16px; color: var(--ink-500); }

/* ═══════════ Bento ═══════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento-card {
  grid-column: span 2;
  background: var(--canvas);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bento-card:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--hairline-strong); transform: translateY(-2px); }
.bento-md { grid-column: span 3; }
.bento-lg { grid-column: span 4; flex-direction: row; align-items: center; background: linear-gradient(135deg, var(--accent-50), var(--canvas) 55%); }
.bento-lg .bento-copy { flex: 1; }
.bento-lg .bento-visual { flex: 1.1; }
.bento-wide { grid-column: span 4; flex-direction: row; align-items: center; background: linear-gradient(315deg, var(--accent-50), var(--canvas) 60%); }
.bento-wide .bento-copy { flex: 1; }
.bento-wide .bento-visual { flex: 1; }

.bento-copy h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); margin-bottom: 8px; }
.bento-copy p { font-size: 14px; line-height: 1.7; color: var(--ink-500); }
.bento-copy .text-link { display: inline-block; margin-top: 10px; }

.bento-visual { margin-top: auto; }

/* bv: workbench */
.bv-kpis { display: flex; gap: 10px; margin-bottom: 12px; }
.bv-kpi {
  flex: 1;
  background: var(--canvas);
  border-radius: 12px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.bv-kpi span { font-size: 11px; color: var(--ink-500); }
.bv-kpi b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-900); line-height: 1.2; }
.bv-kpi i { font-style: normal; font-size: 11px; color: var(--ink-500); }
.bv-kpi i.up { color: var(--accent-600); }
.bv-rows { display: flex; flex-direction: column; gap: 6px; }
.bv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--canvas);
  border-radius: 10px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  padding: 8px 12px;
}
.bv-bar { width: 3px; height: 16px; border-radius: 2px; background: var(--hairline-strong); flex: none; }
.bv-bar.danger { background: var(--danger); }
.bv-bar.warn { background: var(--warning); }
.bv-text { font-size: 12px; font-weight: 500; color: var(--ink-900); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-pill { font-size: 11px; font-weight: 600; background: var(--ink-900); color: #fff; padding: 3px 9px; border-radius: 6px; flex: none; }

/* bv: flow */
.bv-flow { display: flex; flex-direction: column; gap: 12px; }
.bv-flowline { display: flex; align-items: center; }
.bv-flowline i { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--canvas); box-shadow: inset 0 0 0 1.5px var(--hairline-strong); }
.bv-flowline i.done { background: var(--success-50); box-shadow: inset 0 0 0 1.5px var(--success); }
.bv-flowline i.cur { background: var(--accent-600); box-shadow: 0 0 0 4px var(--accent-100); }
.bv-flowline em { flex: 1; height: 2px; background: var(--success); opacity: 0.5; }
.bv-flowline em.dash { background: repeating-linear-gradient(90deg, var(--hairline-strong) 0 5px, transparent 5px 10px); opacity: 1; }
.bv-flownote { font-size: 12px; color: var(--ink-500); background: var(--surface-2); align-self: flex-start; padding: 4px 10px; border-radius: 6px; }

/* bv: trace */
.bv-trace { display: flex; flex-direction: column; gap: 10px; }
.bv-diff { font-size: 14px; font-weight: 600; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.bv-diff .del { text-decoration: line-through; color: var(--ink-400); font-weight: 500; }
.bv-diff .add { border-bottom: 2px solid var(--success); color: var(--success); }
.bv-log { font-size: 12px; color: var(--ink-500); background: var(--surface-2); padding: 6px 10px; border-radius: 6px; }

/* bv: perm */
.bv-field {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bv-field > span:first-child { font-size: 11px; color: var(--ink-500); }
.bv-field b { font-size: 14px; letter-spacing: 0.04em; color: var(--ink-900); }
.bv-eye { font-size: 11px; color: var(--accent-600); font-weight: 600; }

/* bv: ai */
.bv-chat { display: flex; flex-direction: column; gap: 8px; }
.bv-msg { font-size: 12.5px; line-height: 1.6; padding: 9px 13px; border-radius: 12px; max-width: 92%; }
.bv-msg.user { align-self: flex-end; background: var(--ink-900); color: #fff; border-bottom-right-radius: 4px; }
.bv-msg.ai { align-self: flex-start; background: var(--canvas); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline); color: var(--ink-700); border-bottom-left-radius: 4px; }
.bv-plan {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-700);
  background: var(--accent-50);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: inset 0 0 0 1px var(--accent-100);
}

/* bv: insight */
.bv-insight { display: flex; flex-direction: column; gap: 12px; }
.bv-bars { display: flex; align-items: flex-end; gap: 7px; height: 74px; }
.bv-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--accent-100); }
.bv-bars i.hot { background: var(--accent-500); }

/* ═══════════ Product introduction ═══════════ */
.intro { scroll-margin-top: 64px; }
.intro-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.intro-player { max-width: 980px; margin: 0 auto; }
.intro-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--hairline);
}
.intro-player video:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 4px; }
.intro-player figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-500);
}

/* ═══════════ Screenshots ═══════════ */
.shot { margin: 0; }
.shot-frame {
  background: var(--canvas);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--hairline);
}
.shot-frame img { width: 100%; }
.shot figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-500); text-align: center; }
.shot-main { max-width: 980px; margin: 0 auto 28px; }
.shot-main .shot-frame { box-shadow: var(--shadow-xl), inset 0 0 0 1px var(--hairline); }
.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  max-width: 980px;
  margin: 0 auto;
}

/* ═══════════ AI steps ═══════════ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--canvas);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  padding: 24px 20px;
  position: relative;
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-50);
  color: var(--accent-600);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.step-no.no-seal { background: #fdf1ee; color: var(--seal-text); box-shadow: inset 0 0 0 1.5px var(--seal); }
.step h3 { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; letter-spacing: -0.01em; }
.step p { font-size: 13px; line-height: 1.65; color: var(--ink-500); }

.ai-note {
  margin-top: 32px;
  background: var(--accent-50);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--accent-100);
  padding: 22px 28px;
  font-size: 15px;
  color: var(--ink-700);
}
.ai-note b { color: var(--ink-900); }

/* ═══════════ Modules ═══════════ */
.mod-base {
  background: var(--canvas);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  padding: 28px 32px;
  margin-bottom: 20px;
}
.mod-base-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mod-base-head h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); }
.mod-base-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-base-tags span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 6px 14px;
}

.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod-card {
  background: var(--canvas);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.mod-card:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--hairline-strong); transform: translateY(-2px); }
.mod-ico { font-size: 22px; display: inline-block; margin-bottom: 12px; }
.mod-card h4 { font-size: 16px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.mod-card p { font-size: 13px; line-height: 1.65; color: var(--ink-500); }

/* ═══════════ Deploy ═══════════ */
.deploy-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.deploy-grid .section-head { margin-bottom: 0; }
.deploy-list { list-style: none; display: flex; flex-direction: column; }
.deploy-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.deploy-list li:first-child { padding-top: 6px; }
.deploy-list li:last-child { border-bottom: none; }
.deploy-list b { font-size: 16px; font-weight: 700; color: var(--ink-900); }
.deploy-list span { font-size: 14px; line-height: 1.7; color: var(--ink-500); }

/* ═══════════ CTA ═══════════ */
.cta { position: relative; background: var(--ink-900); overflow: hidden; padding: 104px 0; }
.cta-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 80% 0%, rgba(91, 114, 240, 0.28), transparent 70%),
    radial-gradient(44% 52% at 10% 100%, rgba(54, 81, 222, 0.22), transparent 70%);
}
.cta-inner { position: relative; text-align: center; }
.cta .seal-mark { background: transparent; }
.cta h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 24px 0 16px;
}
.cta p { font-size: 17px; color: rgba(255, 255, 255, 0.64); margin-bottom: 8px; }

/* ═══════════ Footer ═══════════ */
.footer { background: var(--ink-900); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .nav-logo-mark { background: rgba(255, 255, 255, 0.1); }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.4; }
.footer-brand b { font-size: 15px; color: #fff; }
.footer-brand span { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.footer-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255, 255, 255, 0.6); transition: color 0.15s ease; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ═══════════ Reveal ═══════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-ai, .mock-seal { animation: none; }
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1100px) {
  .mock-ai { right: 8px; }
  .mock-seal { left: 8px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card, .bento-md, .bento-lg, .bento-wide { grid-column: span 2; }
  .bento-lg, .bento-wide { flex-direction: column; align-items: stretch; }
  .steps { grid-template-columns: 1fr 1fr; }
  .mod-grid { grid-template-columns: 1fr 1fr; }
  .deploy-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .hero { padding-top: 120px; }
  .br-desktop { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-md, .bento-lg, .bento-wide { grid-column: span 1; }
  .shot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: 1fr; }
  .mock-float { display: none; }
  .mock-body { padding: 18px 16px 20px; }
  .flow-track { overflow-x: auto; padding-bottom: 6px; }
  .task-meta { white-space: normal; }
  .task-actions { flex-direction: column; align-items: flex-end; }
  .strip-sep { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { margin-left: 0; }
}
