:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --bg-alt: #f0f2f5;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --accent: #0d9488;
  --accent-dim: #0f766e;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Code", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --bg-alt: #111827;
    --surface: #151f32;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --accent: #2dd4bf;
    --accent-dim: #5eead4;
    --shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  box-shadow: var(--shadow);
}

.logo-mark--sm {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 6px;
}

.logo-text {
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--accent);
}

main {
  overflow-x: hidden;
}

.hero {
  padding: 3.5rem 1.5rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #94a3b8;
}
.dot--ok {
  background: #22c55e;
  box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 35%, transparent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-accent {
  color: var(--accent);
}

.hero-lead {
  max-width: 44rem;
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent);
}
.btn--primary:hover {
  box-shadow: 0 6px 22px color-mix(in srgb, var(--accent) 50%, transparent);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--accent);
}

.hero-metrics dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero-metrics dd {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--mono);
}

.hero-metrics .unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font);
}

.section {
  padding: 3.5rem 1.5rem;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--trust {
  padding: 2rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0 0 2rem;
  max-width: 48rem;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

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

.card-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stats {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.stat {
  padding: 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--mono);
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 0.1em;
  color: var(--accent);
}

.stat-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.callout {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  font-size: 0.95rem;
  color: var(--text-muted);
}

.callout strong {
  color: var(--text);
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
  gap: 2rem;
}

.two-col p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.two-col a {
  color: var(--accent);
  font-weight: 600;
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.checklist li {
  margin-bottom: 0.4rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.trust-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border: 1px dashed var(--border);
  border-radius: 999px;
}

.site-footer {
  padding: 2rem 1.5rem 2.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--accent);
}

.footer-meta {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.page {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page h1 {
  margin-top: 0;
  font-size: 1.75rem;
}

.page .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.page h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.page p,
.page li {
  color: var(--text-muted);
}

.page a {
  color: var(--accent);
  font-weight: 600;
}

.status-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
}

.status-ok {
  color: #16a34a;
  font-weight: 700;
  font-size: 0.8rem;
}

@media (prefers-color-scheme: dark) {
  .status-ok {
    color: #4ade80;
  }
}

.announce {
  margin: 0;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-alt));
  border-bottom: 1px solid var(--border);
}

.announce-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.site-header--minimal .header-inner {
  justify-content: flex-start;
}

.nav--split {
  flex: 1;
  min-width: 0;
  max-width: 52rem;
  margin-left: auto;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
}

.nav-primary,
.nav-secondary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.1rem;
}

.nav-meta {
  font-size: 0.88rem;
}

.btn--header {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg) !important;
  border: none;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn--header:hover {
  opacity: 0.92;
  color: var(--bg) !important;
}

@media (prefers-color-scheme: dark) {
  .btn--header {
    background: #e2e8f0;
    color: #0f172a !important;
  }
}

.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent);
}

.page-meta {
  margin: -0.5rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

table.data th,
table.data td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.data th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--bg-alt) 70%, var(--surface));
}

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

.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
  color: var(--accent-dim);
}

.timeline {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--border);
}

.timeline li {
  position: relative;
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}

.timeline time {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
}

.logo-cloud span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  opacity: 0.92;
}

.arch-diagram {
  margin: 2rem 0;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.arch-diagram svg {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-card {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-static {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--bg-alt) 50%, var(--surface));
}

.form-static label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.form-static input,
.form-static textarea,
.form-static select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font: inherit;
  background: var(--surface);
  color: var(--text);
}

.form-static textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-static .form-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.page-error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.error-code {
  margin: 0;
  font-size: clamp(4rem, 14vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 55%, var(--text-muted));
}

.error-main h1 {
  margin: 1rem 0 0.75rem;
  font-size: 1.35rem;
}

.error-lead {
  color: var(--text-muted);
  line-height: 1.65;
}

.error-meta {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.error-id {
  font-family: var(--mono);
  font-size: 0.82rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
