:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef5ff;
  --ink: #172033;
  --muted: #5d6b82;
  --line: #dbe5f2;
  --primary: #1456d9;
  --primary-dark: #0d347f;
  --accent: #10b8a6;
  --accent-soft: #e7fbf8;
  --warning-soft: #fff7e6;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(20, 47, 92, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid #087b70;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9), 0 0 0 8px rgba(8, 123, 112, 0.35);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(20, 86, 217, 0.16);
  background: #ffffff;
}
.brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
}
.nav-links a.active,
.nav-links a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--ink);
}
.section { padding: 72px 0; }
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
  max-width: 100%;
}
.hero {
  background: linear-gradient(135deg, #09224d 0%, #1456d9 58%, #10b8a6 100%);
  color: #ffffff;
  padding: 92px 0 74px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero .eyebrow { color: #a8fff4; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 16px; }
h1, h2, h3, p, .lead, .list li { overflow-wrap: anywhere; }
h1 { font-size: 46px; max-width: 760px; }
.hero-title-part { display: inline; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--muted); }
.hero .lead { color: rgba(255, 255, 255, 0.88); }
.hero .card { color: var(--ink); }
.hero .card p,
.hero .card .lead,
.hero .card .list li {
  color: var(--muted);
}
.hero .card .eyebrow { color: #087b70; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #052a30; }
.btn-secondary { background: #ffffff; color: var(--primary-dark); }
.btn-outline { border-color: var(--line); color: var(--primary); background: var(--surface); }
.grid { display: grid; gap: 20px; min-width: 0; }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 26px rgba(16, 42, 84, 0.06);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.container a:not(.btn),
.card a:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.container a:not(.btn):hover,
.card a:not(.btn):hover {
  color: var(--primary-dark);
}
.hero .card a:not(.btn) { color: var(--primary); }
.hero .card a:not(.btn):hover { color: var(--primary-dark); }
.card.highlight { background: var(--surface-strong); }
.brand-media {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.brand-media strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}
.brand-media span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.hero-logo,
.contact-logo {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 8px;
}
.tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #087b70;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.notice {
  background: var(--warning-soft);
  border: 1px solid #f3d59b;
  color: #6b4a0d;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(16, 42, 84, 0.05);
}
.faq-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
}
.dark-band { background: #0b1d3f; color: #ffffff; }
.dark-band .lead,
.dark-band p { color: rgba(255, 255, 255, 0.78); }
.list { padding-left: 20px; margin: 0; }
.list li { margin: 8px 0; }
.footer {
  background: #081832;
  color: rgba(255, 255, 255, 0.82);
  padding: 34px 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 7px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.footer strong { color: #ffffff; }
.hero a:not(.btn),
.dark-band a:not(.btn),
.footer a:not(.btn) {
  color: #a8fff4;
  text-decoration: underline;
}
.hero a:not(.btn):hover,
.dark-band a:not(.btn):hover,
.footer a:not(.btn):hover {
  color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 820px) {
  .nav { min-height: 64px; }
  .brand { max-width: calc(100vw - 96px); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero { padding: 64px 0 56px; }
  .hero-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  .hero h1 {
    font-size: 28px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
  .hero,
  .hero .container,
  .hero-grid,
  .hero-grid > *,
  .hero .card {
    min-width: 0;
  }
  .hero .lead,
  .hero .card p,
  .hero .card .list li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
  .hero-title-part { display: block; }
  h2 { font-size: 26px; }
  .section { padding: 52px 0; }
}
@media (max-width: 600px) {
  .container {
    width: calc(100vw - 32px);
    max-width: 358px;
    margin-left: 16px;
    margin-right: 16px;
  }
  .hero .container {
    width: calc(100vw - 32px);
    max-width: 358px;
    margin-left: 16px;
    margin-right: 16px;
  }
  .card {
    padding: 20px;
  }
  .brand-media {
    align-items: flex-start;
  }
  .hero-logo,
  .contact-logo {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
  .hero-grid,
  .hero-grid > *,
  .grid,
  .grid > *,
  .notice,
  .hero .lead,
  .hero .card {
    max-width: 100%;
  }
}
