:root {
  --ink: #10213b;
  --muted: #5c687a;
  --line: #d9e0e7;
  --surface: #f2f6f9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --blue: #0877df;
  --blue-dark: #075eae;
  --blue-soft: #e7f2fc;
  --coral: #ff684f;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.7; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffad33; outline-offset: 4px; border-radius: 5px; }
h1, h2, h3, p { margin-top: 0; }
[id] { scroll-margin-top: 92px; }

.shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 247, .96); border-bottom: 1px solid rgba(16, 33, 59, .1); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; text-decoration: none; }
.brand img { flex: 0 0 auto; }
.brand span { display: flex; min-width: 0; flex-direction: column; line-height: 1.35; }
.brand strong { font-size: 18px; letter-spacing: .02em; }
.brand small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav a, .back-link { position: relative; padding: 9px 0; color: #26354b; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .24s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="true"], .back-link:hover { color: var(--blue); }
.primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; }
.nav-toggle img { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }

.home-hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-layout { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: 48px; align-items: center; padding-block: 82px 72px; }
.hero-content { position: relative; z-index: 2; }
.hero-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.eyebrow, .section-kicker { margin-bottom: 14px; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.hero-labels .eyebrow { margin-bottom: 0; }
.platform-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border: 1px solid rgba(8, 119, 223, .3); border-radius: 5px; background: var(--blue-soft); color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.hero-content h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(50px, 4.5vw, 64px); line-height: 1.16; letter-spacing: -.05em; }
.hero-content h1 > span { display: block; }
.title-accent { display: inline-block; border-bottom: 4px solid var(--coral); }
.hero-copy { max-width: 630px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-width: 150px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid transparent; border-radius: 6px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 12px 28px rgba(8, 119, 223, .16); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: var(--blue); background: transparent; color: var(--blue); }
.button-secondary:hover { background: var(--blue-soft); }
.service-note { max-width: 610px; margin: 28px 0 0; padding-left: 14px; border-left: 3px solid var(--blue); color: #647184; font-size: 13px; line-height: 1.65; }
.hero-visual { margin: 0; }
.hero-visual > img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; animation: visual-float 7s ease-in-out infinite; }
.hero-visual figcaption { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.hero-visual figcaption span { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border-top: 1px solid var(--line); color: #3e4d60; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hero-visual figcaption img { width: 19px; height: 19px; }

.chapter { padding-block: 106px; border-bottom: 1px solid var(--line); }
.chapter-heading { display: grid; grid-template-columns: 102px minmax(0, 1fr); gap: 18px; align-items: start; }
.chapter-number { margin: 0; color: #dceaf7; font-size: clamp(64px, 7vw, 96px); font-weight: 900; line-height: .82; letter-spacing: -.08em; }
.chapter-heading h2 { margin-bottom: 20px; font-size: clamp(38px, 4vw, 58px); line-height: 1.22; letter-spacing: -.04em; }
.section-intro { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 18px; }

.product-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 68px 0 0 120px; padding: 34px 0 0; border-top: 3px solid var(--blue); list-style: none; }
.product-step { position: relative; min-height: 215px; padding: 20px 42px 0 0; }
.product-step + .product-step { padding-left: 42px; border-left: 1px solid var(--line); }
.step-number { position: absolute; top: -52px; left: 0; min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 0 8px; border: 4px solid var(--paper); border-radius: 999px; background: var(--blue); color: white; font-size: 12px; font-weight: 900; }
.product-step + .product-step .step-number { left: 42px; }
.step-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 20px; }
.step-icon img { width: 42px; height: 42px; }
.product-step h3 { margin-bottom: 9px; font-size: 24px; }
.product-step p { max-width: 280px; margin-bottom: 0; color: var(--muted); }

.about-chapter { background: #f8fafb; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 80px; align-items: center; }
.about-copy { padding-top: 16px; }
.about-copy p { color: var(--muted); font-size: 17px; }
.about-copy p:last-child { margin-bottom: 0; }
.trust-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 50px; align-items: center; margin-top: 58px; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.trust-list li { min-height: 190px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-list img { width: 36px; height: 36px; margin-bottom: 20px; }
.trust-list h3 { margin-bottom: 8px; font-size: 20px; }
.trust-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.trust-visual { margin: 0; }
.trust-visual img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; }

.contact-chapter { padding-block: 90px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 80px; align-items: center; }
.contact-details > p { max-width: 620px; margin-bottom: 26px; color: var(--muted); font-size: 17px; }
address { display: grid; gap: 0; font-style: normal; }
address a { display: flex; align-items: center; gap: 18px; min-height: 94px; padding-block: 14px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
address a:first-child { border-top: 1px solid var(--line); }
address a:hover { padding-left: 8px; color: var(--blue); }
.contact-icon { width: 54px; height: 54px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; background: var(--blue); }
.contact-icon img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
address a > span:last-child { min-width: 0; display: flex; flex-direction: column; }
address small { color: var(--muted); font-size: 13px; }
address strong { overflow-wrap: anywhere; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; }

.site-footer { padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, .08); background: #0c1b31; color: #eef4fb; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner p { margin: 4px 0 0; color: #aeb9c8; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a, .site-footer > .shell > a { color: #eef4fb; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-visible { opacity: 1; transform: none; }

.legal-main { min-height: calc(100vh - 82px); padding: 64px 0 88px; background: var(--surface); }
.legal-card { max-width: 840px; padding: 54px 60px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.legal-card h1 { margin-bottom: 8px; font-size: clamp(36px, 5vw, 52px); line-height: 1.2; }
.legal-date { padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-card section + section { margin-top: 34px; }
.legal-card h2 { margin-bottom: 12px; font-size: 23px; }
.legal-card p { color: #3e4b5c; }
.legal-card section p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--blue-dark); }

.error-main { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; background: var(--surface); }
.error-card { width: min(520px, 100%); padding: 52px 36px; border: 1px solid var(--line); border-radius: 14px; background: white; text-align: center; }
.error-card img { margin: 0 auto 24px; }
.error-card h1 { margin-bottom: 12px; font-size: clamp(34px, 7vw, 48px); }
.error-card > p:not(.section-kicker) { margin-bottom: 28px; color: var(--muted); }

@keyframes visual-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 42px; padding-top: 68px; }
  .hero-content { max-width: 780px; }
  .hero-visual { width: min(720px, 100%); margin-inline: auto; }
  .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .trust-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; }
  .chapter-heading { grid-template-columns: 88px minmax(0, 1fr); }
  .product-steps { margin-left: 106px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 1220px); }
  [id] { scroll-margin-top: 72px; }
  .site-header { backdrop-filter: none; }
  .header-inner { min-height: 70px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  .brand small { max-width: 218px; font-size: 10px; }
  .nav-toggle { display: inline-flex; flex: 0 0 auto; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }
  .primary-nav { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: 12px 15px 20px; border-bottom: 1px solid var(--line); background: var(--paper); transform: translateY(-130%); visibility: hidden; transition: transform .24s ease, visibility .24s ease; }
  .primary-nav a { min-height: 52px; display: flex; align-items: center; padding-inline: 10px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .nav-open .primary-nav { transform: translateY(0); visibility: visible; }

  .hero-layout { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding-block: 58px 48px; }
  .hero-content h1 { font-size: clamp(42px, 13.5vw, 58px); line-height: 1.18; }
  .hero-copy { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
  .button { min-width: 0; width: 100%; padding-inline: 14px; }
  .hero-visual figcaption { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .chapter { padding-block: 74px; }
  .chapter-heading { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .chapter-number { font-size: 58px; }
  .chapter-heading h2 { font-size: 36px; }
  .section-intro { font-size: 16px; }

  .product-steps { grid-template-columns: 1fr; gap: 0; margin: 48px 0 0 32px; padding: 0 0 0 40px; border-top: 0; border-left: 3px solid var(--blue); }
  .product-step { min-height: 0; padding: 0 0 48px; }
  .product-step + .product-step { padding: 0 0 48px; border-left: 0; }
  .product-step:last-child { padding-bottom: 0; }
  .step-number, .product-step + .product-step .step-number { top: 0; left: -61px; }
  .product-step p { max-width: none; }

  .about-intro { gap: 24px; }
  .about-copy { padding: 0 0 0 76px; }
  .trust-layout { grid-template-columns: 1fr; margin-top: 42px; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { min-height: 180px; padding: 22px; }
  .trust-visual { width: min(420px, 90%); margin: 0 auto; }

  .contact-layout { gap: 30px; }
  .contact-details { padding-left: 76px; }
  address strong { font-size: 20px; }
  .contact-icon { width: 48px; height: 48px; }

  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; gap: 12px 18px; }
  .legal-main { padding: 24px 0 56px; }
  .legal-card { padding: 30px 22px; }
}

@media (max-width: 460px) {
  .brand small { max-width: 180px; }
  .hero-actions { grid-template-columns: 1fr; }
  .chapter-heading { grid-template-columns: 54px minmax(0, 1fr); }
  .chapter-number { font-size: 48px; }
  .about-copy, .contact-details { padding-left: 0; }
  .trust-list { grid-template-columns: 1fr; }
  .contact-icon { width: 44px; height: 44px; }
  address a { gap: 13px; }
  address strong { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
