:root {
  --radius: 16px;
  --radius-lg: 22px;
  --font-sans: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  --header-h: 68px;
}

/* 夜间 */
html[data-theme="dark"],
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg-deep: #081018;
  --bg-elevated: #101a28;
  --bg-card: #121d2c;
  --border: rgba(186, 210, 240, 0.14);
  --text: #edf3fb;
  --text-muted: #9aadc4;
  --accent: #4ee0c8;
  --accent-2: #7aa7ff;
  --gradient: linear-gradient(120deg, #5eead4 0%, #60a5fa 100%);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
  --header-bg: rgba(8, 16, 24, 0.86);
  --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --noise-opacity: 0.035;
  --hero-grad-1: rgba(96, 165, 250, 0.2);
  --hero-grad-2: rgba(78, 224, 200, 0.1);
  --hero-glow: rgba(96, 165, 250, 0.22);
  --surface-1: transparent;
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-4: rgba(255, 255, 255, 0.1);
  --surface-5: rgba(255, 255, 255, 0.16);
  --surface-invert: rgba(0, 0, 0, 0.22);
  --surface-code: rgba(0, 0, 0, 0.35);
  --pill-bg: rgba(78, 224, 200, 0.12);
  --pill-border: rgba(78, 224, 200, 0.32);
  --pill-color: #7ef0dc;
  --queue-bg: rgba(78, 224, 200, 0.1);
  --queue-border: rgba(78, 224, 200, 0.22);
  --feature-hover: rgba(78, 224, 200, 0.45);
  --icon-bg: rgba(96, 165, 250, 0.14);
  --icon-color: #8eb6ff;
  --security-local: rgba(78, 224, 200, 0.4);
  --cta-grad: rgba(96, 165, 250, 0.16);
  --btn-bg: #2dd4bf;
  --btn-fg: #06211c;
  --btn-shadow: 0 10px 24px rgba(45, 212, 191, 0.22);
  --btn-shadow-hover: 0 14px 30px rgba(96, 165, 250, 0.28);
  --logo-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  --stat-color: #7ef0dc;
  --theme-toggle-bg: #edf3fb;
  --theme-toggle-fg: #081018;
  --theme-toggle-border: transparent;
  --mock-panel: #0c1622;
}

/* 日间 */
html[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #eef2f6;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(18, 32, 51, 0.12);
  --text: #122033;
  --text-muted: #526277;
  --accent: #0f766e;
  --accent-2: #1d4ed8;
  --gradient: linear-gradient(120deg, #0f766e 0%, #1d4ed8 100%);
  --shadow: 0 16px 36px rgba(18, 32, 51, 0.08);
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-shadow: 0 8px 24px rgba(18, 32, 51, 0.06);
  --noise-opacity: 0;
  --hero-grad-1: rgba(29, 78, 216, 0.1);
  --hero-grad-2: rgba(15, 118, 110, 0.1);
  --hero-glow: rgba(29, 78, 216, 0.1);
  --surface-1: transparent;
  --surface-2: #ffffff;
  --surface-4: rgba(18, 32, 51, 0.1);
  --surface-5: rgba(18, 32, 51, 0.16);
  --surface-invert: #e4ebf3;
  --surface-code: #e7eef5;
  --pill-bg: #d5efe9;
  --pill-border: transparent;
  --pill-color: #0f766e;
  --queue-bg: #d7f0ea;
  --queue-border: transparent;
  --feature-hover: rgba(15, 118, 110, 0.4);
  --icon-bg: #dce8f8;
  --icon-color: #1d4ed8;
  --security-local: rgba(15, 118, 110, 0.4);
  --cta-grad: rgba(29, 78, 216, 0.08);
  --btn-bg: #0f766e;
  --btn-fg: #ffffff;
  --btn-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
  --btn-shadow-hover: 0 14px 28px rgba(15, 118, 110, 0.26);
  --logo-shadow: none;
  --stat-color: #0f766e;
  --theme-toggle-bg: #122033;
  --theme-toggle-fg: #ffffff;
  --theme-toggle-border: transparent;
  --mock-panel: #f3f6fa;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.2s ease;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  transition: background-color 0.25s ease, box-shadow 0.2s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(var(--logo-shadow));
}

.brand-logo-sm {
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav a {
  position: relative;
}

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

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--btn-fg);
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
  box-shadow: var(--btn-shadow-hover);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface-2);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.header-inner .btn-primary,
.header-cta {
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-fg);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(18, 32, 51, 0.16);
  transition: transform 0.15s, filter 0.15s;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

.nav + .theme-toggle {
  margin-left: 0;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, var(--hero-grad-1), transparent),
    radial-gradient(ellipse 50% 40% at 10% 20%, var(--hero-grad-2), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.eyebrow.center {
  justify-content: center;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pill-color);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 34em;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 1.05rem;
  color: var(--stat-color);
  font-weight: 700;
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Mock UI — 对齐客户端首页 */
.hero-visual {
  position: relative;
}

.mock-window {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 340px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ws-side {
  width: 104px;
  flex-shrink: 0;
  padding: 10px 6px;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
}

.ws-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 6px 10px;
  padding-bottom: 8px;
}

.ws-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.ws-brand strong {
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.ws-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ws-side li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px 5px 8px;
  border-radius: 7px;
  font-size: 0.64rem;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.ws-side svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ws-side li.on {
  color: var(--accent-2);
  font-weight: 650;
  background: color-mix(in srgb, var(--accent-2) 12%, transparent);
}

.ws-side li.on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent-2);
}

.ws-main {
  flex: 1;
  min-width: 0;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.ws-top strong {
  font-size: 0.92rem;
}

.ws-top span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.ws-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ws-metrics div {
  padding: 8px 8px 7px;
  border-radius: 10px;
  background: var(--mock-panel);
  border: 1px solid var(--border);
}

.ws-metrics b {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.ws-metrics span {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.ws-split {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 10px;
  min-height: 0;
}

.ws-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 650;
}

.ws-films {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ws-films article {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ws-films .cover {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: var(--mock-panel);
}

.ws-films .c1 {
  background: linear-gradient(160deg, #7dd3c7, #1d4ed8);
}

.ws-films .c2 {
  background: linear-gradient(160deg, #f6c177, #0f766e);
}

.ws-films .c3 {
  background: linear-gradient(160deg, #93c5fd, #122033);
}

.ws-films span {
  font-size: 0.66rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-queue {
  padding: 10px;
  border-radius: 12px;
  background: var(--queue-bg);
  border: 1px solid var(--queue-border);
}

.ws-live {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text);
}

.ws-sub {
  margin: 8px 0 0;
  font-size: 0.66rem;
  color: var(--text-muted);
}

.ws-stage {
  position: relative;
  height: 214px;
}

.ws-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ws-screen.on {
  opacity: 1;
  transform: none;
}

.ws-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-rows li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 10px;
  background: var(--mock-panel);
  border: 1px solid var(--border);
}

.ws-rows .cover,
.ws-rows .av {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.ws-rows .av {
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-style: normal;
  color: #fff;
  background: var(--accent-2);
}

.ws-rows b,
.ws-panel b {
  display: block;
  font-size: 0.75rem;
}

.ws-rows span,
.ws-panel span,
.ws-panel em,
.ws-rows em {
  font-size: 0.66rem;
  font-style: normal;
  color: var(--text-muted);
}

.ws-rows em {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.ws-rows em.ok {
  color: var(--accent);
  border-color: transparent;
  background: var(--queue-bg);
}

.ws-job {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--mock-panel);
  border: 1px solid var(--border);
}

.ws-job .cover {
  height: 118px;
  border-radius: 10px;
}

.ws-job span {
  display: block;
  margin-top: 4px;
}

.ws-panel {
  padding: 14px;
  border-radius: 12px;
  background: var(--mock-panel);
  border: 1px solid var(--border);
}

.ws-panel span {
  display: block;
  margin-top: 4px;
}

.ws-bar {
  height: 6px;
  margin: 12px 0 8px;
  border-radius: 99px;
  background: var(--border);
  overflow: hidden;
}

.ws-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@media (prefers-reduced-motion: reduce) {
  .ws-screen {
    transition: none;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-glow {
  position: absolute;
  inset: 20% -10% -20% 10%;
  background: radial-gradient(circle, var(--hero-glow), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* Trust bar */
.logos-trust {
  position: relative;
  z-index: 1;
  background: transparent;
}

.trust-inner {
  padding: 28px 0;
  text-align: center;
}

.trust-inner > p {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-card);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.section-alt {
  background: var(--alt-bg, transparent);
}

html[data-theme="dark"] .section-alt,
:root:not([data-theme="light"]) .section-alt {
  --alt-bg: #0c1622;
}

html[data-theme="light"] .section-alt {
  --alt-bg: #e6ebf1;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0 auto;
  max-width: 32em;
  color: var(--text-muted);
}

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

.feature-card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

html[data-theme="light"] .feature-card,
html[data-theme="light"] .steps li,
html[data-theme="light"] .cta-card,
html[data-theme="light"] .mock-window {
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-color: var(--feature-hover);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin: 16px 0 8px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.steps li {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--queue-bg);
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.security-copy h2 {
  margin: 8px 0 16px;
  font-size: 1.85rem;
}

.security-copy p {
  color: var(--text-muted);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.diagram {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  background: var(--surface-invert);
  text-align: center;
}

.diagram-node {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.diagram-node strong {
  display: block;
  margin-bottom: 6px;
}

.diagram-node span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.diagram-node.local {
  border-color: var(--security-local);
}

.diagram-arrow {
  margin: 16px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.section-cta {
  padding-bottom: 64px;
}

.cta-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top right, var(--cta-grad), transparent 55%),
    var(--bg-card);
  text-align: center;
}

.cta-copy h2 {
  margin: 0 0 12px;
  font-size: 1.85rem;
}

.cta-copy p {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.cta-note {
  font-size: 0.88rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 16px;
}

.cta-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cta-meta code {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-code);
  font-size: 0.85em;
}

/* FAQ */
.faq-wrap {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::after {
  content: "+";
  color: var(--text-muted);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.section-tight {
  padding-top: 56px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advantage-card {
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.advantage-card.highlight {
  border-color: color-mix(in srgb, var(--accent-2) 35%, var(--border));
  background: color-mix(in srgb, var(--bg-card) 88%, var(--accent-2) 4%);
}

.adv-tag {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.advantage-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.advantage-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.module-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.module-card:hover {
  border-color: var(--feature-hover);
  transform: translateY(-2px);
}

.module-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: var(--accent-2);
}

.module-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.workflow-note {
  margin: 28px auto 0;
  max-width: 40em;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.story-list {
  display: grid;
  gap: 16px;
}

.story {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 8px;
  row-gap: 8px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.story-kicker {
  grid-row: 1 / span 2;
  margin: 4px 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.story h3,
.story p:last-child {
  grid-column: 2;
}

.story h3 {
  margin: 0;
  font-size: 1.2rem;
}

.story p:last-child {
  margin: 0;
  max-width: 46em;
  color: var(--text-muted);
}

.scene-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.contact-lead {
  margin: 12px 0 0;
  text-align: left;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-card a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-2);
}

.contact-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 24px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-brand strong {
  display: block;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  margin: 0;
  text-align: right;
}

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

.footer-top {
  color: var(--accent);
}

.footer-top:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    order: 0;
  }

  .hero-visual {
    order: 1;
  }

  .ws-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .ws-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .section {
    padding: 48px 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    z-index: 40;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .header-inner .header-cta {
    display: none;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .nav {
    margin-left: 0;
  }

  .nav + .theme-toggle {
    margin-left: auto;
  }

  .theme-toggle {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
    margin-left: 0;
  }

  .feature-grid,
  .module-grid,
  .advantage-grid,
  .steps,
  .scene-grid,
  .contact-grid,
  .footer-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .story-kicker,
  .story h3,
  .story p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .footer-copy {
    text-align: left;
  }

  .hero {
    padding: 28px 0 44px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-visual {
    width: 100%;
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem);
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .hero-lead strong {
    font-weight: 600;
  }

  .hero-cta {
    flex-direction: column;
    margin-bottom: 28px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero-stats li {
    flex-direction: column;
    gap: 4px;
  }

  .hero-stats span {
    text-align: left;
    line-height: 1.45;
  }

  .mock-window {
    width: 100%;
    max-width: 100%;
    min-height: 288px;
    box-sizing: border-box;
  }

  .ws-side {
    width: 46px;
    padding: 8px 4px;
  }

  .ws-brand {
    justify-content: center;
    margin: 0 0 8px;
    padding-bottom: 6px;
  }

  .ws-brand strong {
    display: none;
  }

  .ws-side li span {
    display: none;
  }

  .ws-side li {
    justify-content: center;
    padding: 7px 4px;
  }

  .ws-side svg {
    width: 16px;
    height: 16px;
  }

  .ws-main {
    min-width: 0;
    padding: 10px 10px 8px;
  }

  .ws-top strong {
    font-size: 0.88rem;
  }

  .ws-top span {
    font-size: 0.62rem;
  }

  .ws-metrics span {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .ws-films {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ws-films span {
    font-size: 0.6rem;
    white-space: normal;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ws-stage {
    height: 248px;
  }

  .ws-queue .ws-live {
    font-size: 0.68rem;
  }

  .ws-job {
    grid-template-columns: 72px 1fr;
    gap: 8px;
    padding: 8px;
  }

  .ws-job .cover {
    height: 96px;
    min-height: 0;
  }

  .ws-rows li {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 6px;
  }

  .ws-rows b {
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ws-rows span {
    font-size: 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cta-card {
    padding: 32px 20px;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .btn {
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .brand-sub {
    display: none;
  }
}