:root {
  color-scheme: light;
  --ink: #172235;
  --muted: #5e6a79;
  --line: #e1e8f0;
  --blue: #2454b8;
  --pale: #f5f8fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #8db1ff; outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 9px; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 30px; }
.site-nav a { padding: 8px 0; color: #435166; font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

.hero { overflow: hidden; background: var(--pale); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; padding: 74px 0 78px; }
.hero-inner::after { content: ""; position: absolute; right: -90px; top: -180px; width: 390px; height: 390px; border-radius: 50%; border: 80px solid rgba(36, 84, 184, .055); pointer-events: none; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(36px, 5vw, 54px); line-height: 1.22; letter-spacing: -.035em; }
.lead { max-width: 735px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.section { padding: 72px 0; }
.section-heading { max-width: 740px; margin-bottom: 34px; }
h2 { margin-bottom: 14px; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.35; }
.section-heading p, .plain-copy p { color: var(--muted); font-size: 16px; }
.plain-copy p { margin-bottom: 18px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 56px; align-items: start; }
.fact-panel { padding: 30px 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--pale); }
.fact-panel h3 { margin-bottom: 20px; font-size: 18px; }
.fact-panel dl { margin: 0; }
.fact-panel dt { margin-top: 16px; color: var(--muted); font-size: 13px; }
.fact-panel dt:first-child { margin-top: 0; }
.fact-panel dd { margin: 3px 0 0; font-weight: 600; }
.soft-section { background: var(--pale); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.feature-number { display: inline-block; margin-bottom: 24px; color: var(--blue); font-size: 14px; font-weight: 700; }
.feature h3 { margin-bottom: 10px; font-size: 20px; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 36px; border-radius: 16px; color: #fff; background: #1d3767; }
.cta h2 { margin-bottom: 5px; font-size: 24px; }
.cta p { margin-bottom: 0; color: #dce6f5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 24px; border-radius: 8px; background: #fff; color: #1d3767; font-weight: 700; white-space: nowrap; }
.button:hover { background: #eaf1ff; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card { padding: 32px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(24, 43, 72, .04); }
.contact-card .label { margin-bottom: 22px; color: var(--blue); font-size: 14px; font-weight: 700; }
.contact-card h2 { margin-bottom: 8px; font-size: 23px; }
.contact-card p { color: var(--muted); margin-bottom: 20px; }
.contact-card a { color: var(--blue); font-size: clamp(18px, 2.5vw, 23px); font-weight: 700; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; }
.contact-note { max-width: 760px; }
.contact-note p { margin-bottom: 16px; color: var(--muted); }
.contact-note ul { margin: 0; padding-left: 22px; color: var(--muted); }
.contact-note li + li { margin-top: 8px; }
.text-link { color: var(--blue); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

.site-footer { padding: 36px 0; background: #172235; color: #dce4ef; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.site-footer p { margin-bottom: 7px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 22px; }

/* Homepage */
.hero-home .hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: center; gap: 48px; padding-top: 66px; padding-bottom: 66px; }
.hero-home .hero-inner::after { z-index: 0; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-home .lead { max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: #1b459c; }
.button-outline { background: transparent; color: var(--blue); border: 1px solid #b6c6e3; }
.button-outline:hover { background: #eaf1ff; }
.hero-visual { display: flex; justify-content: center; }
.hero-screen { display: block; width: min(255px, 100%); height: auto; border: 6px solid #fff; border-radius: 25px; box-shadow: 0 24px 55px rgba(24, 43, 72, .17); }
.home-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .85fr); gap: 70px; align-items: center; }
.scenario-panel { padding: 8px 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.scenario-panel > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding: 22px 0; }
.scenario-panel > div + div { border-top: 1px solid var(--line); }
.scenario-panel span { grid-row: span 2; padding-top: 2px; color: var(--blue); font-size: 13px; font-weight: 700; }
.scenario-panel strong { font-size: 18px; }
.scenario-panel p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tech-highlights { display: grid; grid-template-columns: .7fr repeat(3, 1fr); gap: 22px; margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.tech-highlights h3 { margin-bottom: 0; font-size: 20px; }
.tech-highlights strong { font-size: 15px; }
.tech-highlights p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.screenshot-card { min-width: 0; margin: 0; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--pale); text-align: center; }
.screenshot-card img { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 2373; object-fit: cover; border-radius: 10px; }
.screenshot-card figcaption { margin-top: 12px; color: #435166; font-size: 14px; font-weight: 600; }
.cta p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.cta-link { color: #fff; white-space: nowrap; font-weight: 600; }
.cta-link:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 16px 0; }
  .site-nav { gap: 4px 22px; }
  .hero-inner { padding: 56px 0 60px; }
  .hero-inner::after { right: -245px; }
  .section { padding: 52px 0; }
  .about-grid, .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 20px; }
  .cta, .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-home .hero-inner, .home-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-home .hero-inner { padding-top: 54px; padding-bottom: 54px; }
  .hero-screen { width: min(200px, 60vw); }
  .tech-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
  .tech-highlights h3 { grid-column: 1 / -1; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .site-nav { gap: 2px 14px; }
  .site-nav a { font-size: 14px; }
  .scenario-panel { padding-inline: 20px; }
  .tech-highlights { grid-template-columns: 1fr; }
  .screenshot-grid { gap: 10px; }
  .screenshot-card { padding: 6px 6px 10px; }
}
