:root {
  --ink: #12213b;
  --ink-soft: #43516a;
  --muted: #6d7a92;
  --line: #dfe8f5;
  --paper: #ffffff;
  --bg: #f4f8fe;
  --blue: #2f6be4;
  --blue-deep: #1f4fb8;
  --mint: #1fa985;
  --amber: #b66a00;
  --amber-bg: #fff7e8;
  --shadow: 0 24px 60px rgba(20, 45, 90, 0.1);
  --radius: 22px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

img,
svg {
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.preview-banner {
  padding: 10px 24px;
  background: var(--amber-bg);
  border-bottom: 1px solid #f2d7ab;
  color: var(--amber);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 248, 254, 0.92);
  border-bottom: 1px solid rgba(223, 232, 245, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(20, 45, 90, 0.14);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-en {
  color: var(--blue);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.93em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 14px;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue-deep);
}

.nav a[aria-current="page"] {
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: 64px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 86px;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.13;
  letter-spacing: -0.055em;
  font-weight: 750;
}

.lead {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(47, 107, 228, 0.24);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
}

.btn-quiet {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-quiet:hover {
  color: var(--blue-deep);
  box-shadow: 0 10px 24px rgba(20, 45, 90, 0.08);
}

.micro {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.hero-panel {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(47, 107, 228, 0.1);
  filter: blur(6px);
}

.demo-card {
  position: relative;
  width: min(100%, 360px);
  padding: 26px 24px 22px;
  border: 1px solid rgba(223, 232, 245, 0.9);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.demo-tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f5fb;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.demo-wave {
  height: 70px;
  margin: 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.demo-wave span {
  display: block;
  width: 6px;
  border-radius: 99px;
  background: linear-gradient(180deg, #78a7ff, #2f6be4);
  opacity: 0.9;
}

.demo-wave span:nth-child(1) { height: 18px; }
.demo-wave span:nth-child(2) { height: 34px; }
.demo-wave span:nth-child(3) { height: 52px; }
.demo-wave span:nth-child(4) { height: 28px; }
.demo-wave span:nth-child(5) { height: 60px; }
.demo-wave span:nth-child(6) { height: 42px; }
.demo-wave span:nth-child(7) { height: 22px; }
.demo-wave span:nth-child(8) { height: 48px; }
.demo-wave span:nth-child(9) { height: 34px; }
.demo-wave span:nth-child(10) { height: 16px; }

.demo-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f9;
}

.demo-score span {
  margin-right: auto;
  color: var(--muted);
  font-size: 13px;
}

.demo-score strong {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.demo-score small {
  color: var(--muted);
  font-size: 13px;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid #edf2f9;
}

.demo-metrics div {
  text-align: center;
}

.demo-metrics span,
.demo-issue span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.demo-metrics b {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.demo-issue {
  padding-top: 16px;
}

.demo-issue p {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.section {
  padding-top: 78px;
  padding-bottom: 78px;
}

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

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: var(--blue-deep);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: #f7faff;
  border: 1px solid #e5eefb;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.audience-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(31, 169, 133, 0.14);
  border: 5px solid #f4f8fe;
  box-shadow: 0 0 0 1px rgba(31, 169, 133, 0.4);
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 0 20px;
}

details[open] {
  border-color: #cbdaf2;
}

summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.cta {
  margin-top: 18px;
  padding: 38px 36px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 18%, rgba(120, 167, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #182d52, #12213b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h2 {
  font-size: clamp(24px, 3vw, 34px);
  color: #fff;
}

.cta p {
  margin: 8px 0 0;
  color: #c9d7ec;
  font-size: 14px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  flex: 0 0 auto;
}

.cta .btn-primary:hover {
  background: #edf4ff;
  color: var(--ink);
}

.site-footer {
  margin-top: 52px;
  padding: 46px 0 24px;
  background: #0d1930;
  color: #b9c8de;
  font-size: 13px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  padding-bottom: 34px;
}

.footer-brand-col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-brand-col .brand {
  color: #fff;
  flex-wrap: nowrap;
  align-items: center;
}

.footer-brand-col .brand-copy {
  flex: 0 0 auto;
}

.footer-sections {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding-top: 4px;
}

.footer-section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  text-align: left;
}

.footer-section h2 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.footer-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px 32px;
}

.footer-link-row a {
  color: #b9c8de;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-link-row a:hover {
  color: #fff;
}

.site-footer .brand {
  gap: 14px;
}

.site-footer .brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.site-footer .brand-name {
  color: #fff;
  font-size: 28px;
}

.site-footer .brand-en {
  color: #8ab4ff;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact {
  margin: 0;
  color: #8fa4c0;
  font-size: 12px;
  line-height: 1.6;
}

.footer-contact a {
  color: #b9c8de;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.phone-image {
  height: 12px;
  width: auto;
  max-width: 100%;
  display: inline-block;
  vertical-align: -1px;
}

.contact-item .phone-image {
  height: 12px;
  vertical-align: -1px;
}

.footer-legal {
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 5px 24px;
  text-align: right;
}

.footer-legal p {
  margin: 0;
  color: #8fa4c0;
  font-size: 12px;
  line-height: 1.6;
}

.footer-legal a {
  color: #b9c8de;
}

.footer-legal a:hover {
  color: #fff;
}

.doc-main {
  max-width: 860px;
  padding-top: 56px;
  padding-bottom: 70px;
}

.doc-hero {
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.doc-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.doc-hero p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.doc h2 {
  margin: 34px 0 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.doc h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.doc p,
.doc li {
  color: var(--ink-soft);
  font-size: 15px;
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.doc strong {
  color: var(--ink);
}

.notice {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f0f6ff;
  border: 1px solid #dbe8fb;
  color: var(--ink-soft);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.contact-item {
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.contact-item strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 15px;
  word-break: break-word;
}

.not-found {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.not-found .code {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.not-found h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.05em;
}

.not-found p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.not-found .hero-actions {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 50px;
    padding-bottom: 56px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-panel {
    min-height: 0;
    justify-content: flex-start;
  }

  .feature-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .audience {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-inner {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 10px;
    gap: 8px;
  }

  .nav {
    gap: 2px 16px;
    font-size: 13px;
  }

  .nav a {
    padding: 4px 0;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 19px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .demo-card {
    width: 100%;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .cta {
    padding: 28px 22px;
  }

  .site-footer {
    margin-top: 44px;
    padding: 32px 0 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 22px;
  }

  .footer-sections {
    gap: 12px;
    padding-top: 0;
  }

  .footer-section {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .footer-section h2 {
    font-size: 13px;
  }

  .footer-link-row {
    gap: 6px 18px;
  }

  .footer-link-row a {
    font-size: 12px;
  }

  .site-footer .brand {
    gap: 12px;
  }

  .site-footer .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .site-footer .brand-name {
    font-size: 24px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
  }

  .footer-legal {
    justify-content: flex-start;
    text-align: left;
    gap: 4px 16px;
  }

  .doc-main {
    padding-top: 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
