:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --text: #111827;
  --muted: #4B5563;
  --line: #E5E7EB;
  --panel: #FFFFFF;
  --ink: #0B1B3D;
  --primary: #0B1B3D;
  --secondary: #0066CC;
  --accent: #C5A880;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 247, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav-primary { color: var(--accent) !important; font-weight: 700; }

.messages { max-width: 1120px; margin: 18px auto 0; padding: 0 20px; }
.message { padding: 12px 14px; border: 1px solid var(--line); background: white; border-radius: 8px; }

.hero {
  min-height: clamp(560px, 72vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 6vw, 84px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 8vw, 92px); line-height: 1; margin-bottom: 18px; letter-spacing: 0; }
h2 { font-size: 26px; line-height: 1.2; }
h3 { font-size: 18px; }
.lead { max-width: 720px; font-size: 20px; color: #333942; }

.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--accent); color: white; border-color: var(--accent); }
.button.primary:hover { background: var(--accent-strong); }
.button.secondary { background: white; color: var(--text); }

.hero-panel, .card, .panel, .form-card, .risk-document, .contact-box, .download-row, .locked {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hero-panel { padding: 22px; box-shadow: 0 18px 45px rgba(12, 31, 42, 0.08); }
.status-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row span { color: var(--muted); }
.status-row strong { text-align: right; }

.band, .notice-band, .page-title, .form-shell, .auth-shell, .dashboard-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 20px;
}
.band.narrow { max-width: 860px; }
.section-head { max-width: 720px; margin-bottom: 24px; }
.section-head p, .page-title p { color: var(--muted); }
.page-title { padding-bottom: 28px; }
.page-title h1 { font-size: clamp(36px, 6vw, 70px); }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 22px; min-height: 160px; }
.card p { color: var(--muted); margin-bottom: 0; }

.notice-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  max-width: none;
  padding-left: clamp(20px, 6vw, 84px);
  padding-right: clamp(20px, 6vw, 84px);
}
.risk-list { display: flex; flex-wrap: wrap; gap: 10px; }
.risk-list span, .pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.risk-document, .form-card, .locked { padding: 26px; }
.risk-document p { color: #3e454d; }

.form-shell, .auth-shell { display: flex; justify-content: center; }
.form-card { width: min(100%, 760px); }
.form-card.compact { width: min(100%, 440px); }
.field { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: #fbfcfa;
}
.field input[type="checkbox"] { width: auto; }
.field em { color: var(--warn); font-style: normal; font-size: 13px; }
.form-note { margin: 16px 0 0; color: var(--muted); }
.form-note a { color: var(--accent); font-weight: 800; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.panel { padding: 22px; }
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.list-row span { color: var(--muted); display: block; }
.empty { color: var(--muted); }
code { background: #eef2ef; padding: 2px 6px; border-radius: 6px; }

.contact-box { display: grid; gap: 14px; margin-bottom: 20px; padding: 20px; }
.contact-box div { display: flex; justify-content: space-between; gap: 18px; }
.contact-box span { color: var(--muted); }

.download-row { display: flex; justify-content: space-between; gap: 20px; padding: 20px; margin-bottom: 14px; }
.locked { text-align: center; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer p { max-width: 680px; margin-bottom: 0; }
.footer-contact { display: grid; gap: 4px; text-align: right; white-space: nowrap; }

@media (max-width: 820px) {
  .site-header, .footer { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .grid.three, .grid.two, .dashboard-grid { grid-template-columns: 1fr; }
  .download-row, .status-row, .contact-box div { flex-direction: column; }
  .status-row strong, .footer-contact { text-align: left; }
  .nav { gap: 10px; }
}
/* Corporate Theme Resets */
body.corporate-theme {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header */
.brand-sub { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px; margin-left: 4px; padding-left: 8px; border-left: 1px solid var(--line); }
.nav-link { font-weight: 500; font-size: 14px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 4px; font-weight: 600; font-size: 14px;
  transition: all 0.2s ease; border: 1px solid transparent; cursor: pointer;
}
.primary-btn { background-color: var(--primary); color: #FFF !important; }
.primary-btn:hover { background-color: var(--secondary); }
.secondary-btn { background-color: transparent; color: var(--primary) !important; border-color: var(--primary); }
.secondary-btn:hover { background-color: var(--bg-alt); }
.large-btn { padding: 16px 32px; font-size: 16px; }
.small { padding: 8px 16px; font-size: 13px; }

/* Hero */
.corporate-hero { background-color: #FFF; padding: 120px 24px 80px; border-bottom: 1px solid var(--line); }
.hero-container-corp { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto; }
.security-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 2px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.5px; margin-bottom: 24px; }
.hero-copy-corp h1 { font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 24px; color: var(--text); }
.text-primary { color: var(--primary); }
.lead-corp { font-size: 18px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; max-width: 540px; }
.hero-actions-corp { display: flex; gap: 16px; }

/* Diagram */
.tech-diagram { background: var(--bg-alt); border: 1px solid var(--line); padding: 40px; border-radius: 4px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.diagram-layer { width: 100%; background: #FFF; border: 1px solid var(--line); padding: 20px; font-weight: 600; font-size: 14px; letter-spacing: 1px; color: var(--muted); box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.diagram-layer.engine { background: var(--primary); color: #FFF; border-color: var(--primary); box-shadow: 0 10px 20px rgba(11, 27, 61, 0.15); }
.diagram-arrow { font-size: 12px; color: var(--secondary); font-weight: 600; letter-spacing: 0.5px; }

/* Trust Banner */
.trust-banner { background: var(--primary); color: #FFF; padding: 48px 24px; }
.trust-text { opacity: 0.8; font-size: 14px; margin-bottom: 32px; letter-spacing: 1px; text-transform: uppercase; }
.trust-metrics { display: flex; justify-content: center; gap: 48px; align-items: center; flex-wrap: wrap; }
.t-metric { text-align: center; font-size: 14px; opacity: 0.9; }
.t-metric strong { font-size: 36px; display: block; margin-bottom: 8px; color: var(--accent); line-height: 1; }
.t-metric.divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* General Section */
.section-corp { padding: 96px 24px; }
.bg-light { background-color: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head-corp { max-width: 800px; margin: 0 auto 64px; }
.section-head-corp h2 { font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 16px; letter-spacing: -0.5px; }
.subtitle-corp { font-size: 18px; color: var(--muted); line-height: 1.6; }

/* Pillars Grid */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.pillar-card { background: #FFF; border: 1px solid var(--line); padding: 40px; transition: box-shadow 0.3s; }
.pillar-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.p-icon { width: 48px; height: 48px; color: var(--secondary); margin-bottom: 24px; }
.pillar-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.pillar-card p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* Specs Table */
.table-container { max-width: 1200px; margin: 0 auto; background: #FFF; border: 1px solid var(--line); overflow: hidden; }
.specs-table { width: 100%; border-collapse: collapse; text-align: left; }
.specs-table th, .specs-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.specs-table th { background: var(--bg-alt); font-weight: 600; color: var(--muted); font-size: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.specs-table td { font-size: 15px; color: var(--text); }
.highlight-col { background: rgba(0, 102, 204, 0.03); color: var(--primary) !important; font-weight: 600; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.specs-table tbody tr:last-child td { border-bottom: none; }

/* Process Steps */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.process-step { border-top: 2px solid var(--line); padding-top: 24px; }
.step-num { font-size: 12px; font-weight: 800; color: var(--secondary); margin-bottom: 16px; letter-spacing: 1px; }
.process-step h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.process-step p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Corporate Footer */
.corporate-footer { padding: 64px 24px 32px; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-bottom: 1px solid var(--line); padding-bottom: 48px; margin-bottom: 32px; }
.footer-contact { text-align: left; }
.footer-brand strong { font-size: 18px; color: var(--primary); display: block; margin-bottom: 16px; }
.footer-brand p, .footer-links p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer-links h4, .footer-contact h4 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-contact span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.footer-bottom p { text-align: center; color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-container-corp, .pillars-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-metrics { flex-direction: column; gap: 24px; }
  .t-metric.divider { width: 40px; height: 1px; }
  .specs-table { display: block; overflow-x: auto; white-space: nowrap; }
}
/* V2 Grid & Layout System */
.section-xl { padding: 120px 24px; border-bottom: 1px solid var(--line); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; align-items: start; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Editorial Typography */
.editorial-title { font-size: 40px; font-weight: 700; color: var(--primary); letter-spacing: -1px; line-height: 1.1; margin-bottom: 24px; font-family: 'Playfair Display', 'Noto Serif SC', serif; }
.editorial-lead { font-size: 20px; color: var(--muted); line-height: 1.7; font-weight: 400; }
.section-label { display: block; font-size: 13px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }

/* List Styles */
.feature-list { list-style: none; padding: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.feature-list li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.feature-list h4 { font-size: 18px; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.feature-list p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; padding-left: 36px; }
.f-icon { width: 24px; height: 24px; color: var(--secondary); }

/* Blueprint Box */
.blueprint-box { background: var(--bg-alt); border: 1px solid var(--line); padding: 48px; position: relative; }
.blueprint-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20px 20px; opacity: 0.3; pointer-events: none; }
.bp-content { position: relative; z-index: 1; }
.bp-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 16px 0; }
.bp-row:last-child { border-bottom: none; }
.bp-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.bp-value { font-size: 15px; font-weight: 700; color: var(--primary); font-family: monospace; }

@media (max-width: 900px) {
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}


.text-center { text-align: center !important; }
.justify-center { justify-content: center !important; }

.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; }
.nav-auth { display: flex; align-items: center; gap: 16px; margin-left: 16px; }
