:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #1d4ed8;
  --accent-soft: #eff6ff;
  --emerald: #047857;
  --emerald-soft: #ecfdf5;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.06);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
}

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

.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 500;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 9px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: #1e293b;
  color: #ffffff;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 64px 0 56px;
  background: radial-gradient(1200px 460px at 85% -10%, rgba(29, 78, 216, 0.08), transparent 65%),
              radial-gradient(900px 380px at 10% 0%, rgba(4, 120, 87, 0.06), transparent 60%),
              linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.hero h1 {
  margin: 18px 0 8px;
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
}

.hero-en-name {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-secondary);
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--ink-secondary);
  max-width: 580px;
}

.hero-lead-en {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--muted);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e293b;
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--surface-soft);
  border-color: #94a3b8;
  color: var(--ink);
}

/* Summary Card */
.entity-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
}

.entity-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.entity-card-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid #a7f3d0;
  color: var(--emerald);
  font-size: 11.5px;
  font-weight: 600;
}

.kv-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.kv-item {
  display: grid;
  gap: 2px;
}

.kv-item dt {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.kv-item dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* Sections */
.section {
  padding: 58px 0;
}

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

.section-head {
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

/* Product Showcase */
.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.product-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.product-brand h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.product-brand span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.product-desc {
  margin: 0 0 10px;
  color: var(--ink-secondary);
}

.product-desc-en {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-visual {
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.product-visual img {
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  max-height: 360px;
  width: auto;
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.pillar-card h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
}

.pillar-card .pillar-en {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
}

.pillar-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* Credentials Table */
.credentials-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.credentials-table {
  width: 100%;
  border-collapse: collapse;
}

.credentials-table th,
.credentials-table td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.credentials-table tr:last-child th,
.credentials-table tr:last-child td {
  border-bottom: 0;
}

.credentials-table th {
  width: 34%;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.credentials-table td {
  font-size: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.sub-line {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink);
}

.contact-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
  overflow-wrap: anywhere;
}

.contact-value {
  display: block;
  margin-bottom: 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

/* Legal subpages */
.legal-main {
  padding: 48px 0 64px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.legal-card h1 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.25;
}

.legal-meta {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

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

.legal-card p,
.legal-card li {
  color: var(--ink-secondary);
  font-size: 14.5px;
}

.legal-card ul {
  padding-left: 20px;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 12.5px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-row a {
  color: var(--muted);
}

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

.police-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.police-link img {
  width: 15px;
  height: 17px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero-grid,
  .product-card {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-bar {
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 42px 0 38px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .credentials-table th,
  .credentials-table td {
    display: block;
    width: 100%;
    padding: 10px 16px;
  }
  .credentials-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  .legal-card {
    padding: 24px 20px;
  }
}
