:root {
  color: #10223d;
  background: #f6f9fc;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --blue: #0757dd;
  --muted: #52647a;
  --shell: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #20accd; outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - 112px)); margin-inline: auto; }

.site-header { background: #f8fafc; }
.nav { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; color: #0949bd; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand img { border-radius: 8px; }
.nav-features { color: #344963; font-weight: 600; text-decoration: none; }
.nav-features:hover { color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #0046bc; }
.nav-admin { min-height: 44px; padding-inline: 20px; }
.outline { background: #112d49; color: #fff; border-color: #8398af; }
.outline:hover { background: #21476a; border-color: #d4e6f8; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #071b34; color: white; }
.hero-shell { position: relative; display: flex; align-items: center; min-height: clamp(610px, 50vw, 730px); padding-block: 60px 100px; pointer-events: none; }
.hero-copy { width: min(48%, 565px); pointer-events: auto; }
.eyebrow { color: #a8e9f1; font-size: 15px; font-weight: 700; letter-spacing: .09em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(58px, 6.3vw, 94px); font-weight: 900; line-height: 1.08; letter-spacing: -.055em; }
.hero h1 span { color: #54dbdc; }
.intro { max-width: 425px; margin-top: 24px; color: #e0ebfa; font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-visual { position: absolute; z-index: -1; width: min(76%, 1180px); aspect-ratio: 3 / 2; right: 0; top: 50%; translate: 0 -50%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #071b34 0%, rgb(7 27 52 / 88%) 15%, transparent 51%), linear-gradient(0deg, #071b34 0%, transparent 18%); pointer-events: none; }
.hero-photo, .route-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; }
.route-stop { position: absolute; z-index: 1; translate: -50% -100%; padding: 6px 11px; background: #0b2741; border: 1px solid #9bd9ee; border-radius: 8px; color: white; font-size: 13px; font-weight: 700; white-space: nowrap; }

.workflow { padding-block: 55px 70px; text-align: center; }
h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; letter-spacing: -.035em; }
.section-intro { color: var(--muted); margin-top: 12px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; text-align: left; }
.steps li { background: white; padding: 22px; border: 1px solid #e1eaf4; border-top: 3px solid #2778dc; border-radius: 10px; }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.scan-section { background: #e8f2ff; padding-block: 52px; }
.scan-layout { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.scan-entry { color: var(--muted); line-height: 1.65; }
.site-footer { background: #071b34; color: #c9d8e8; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px 30px; padding-block: 26px; line-height: 1.8; }
.footer-links { display: flex; gap: 20px; flex-shrink: 0; }
.footer-links a { text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero-shell { min-height: 560px; }
  .hero-copy { width: 54%; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .nav { min-height: 62px; gap: 12px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .nav-features { display: none; }
  .nav-admin { min-height: 42px; padding-inline: 12px; font-size: 14px; }
  .hero-shell { min-height: auto; padding-block: 42px 20px; }
  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: 14px; font-size: 13px; }
  .hero h1 { font-size: clamp(46px, 11vw, 68px); }
  .intro { margin-top: 14px; font-size: 16px; }
  .hero-actions { margin-top: 22px; gap: 8px; }
  .hero-actions .button { min-height: 46px; padding-inline: 12px; font-size: 14px; }
  .hero-visual { position: relative; width: 100%; right: auto; top: auto; translate: none; margin-top: -8px; }
  .hero-visual::after { background: linear-gradient(180deg, #071b34, transparent 24%), linear-gradient(0deg, #071b34, transparent 20%); }
  .hero { display: flex; flex-direction: column; }
  .hero-visual { order: 1; }
  .route-stop { padding: 3px 6px; font-size: 11px; }
  .workflow { padding-block: 42px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
  .steps li { padding: 13px; }
  .scan-layout, .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.scan-entry { text-align: center; }
.scan-image { display: block; width: 220px; max-width: 100%; margin-inline: auto; padding: 8px; border: 1px solid #d2deec; border-radius: 12px; background: white; }
.scan-image img { display: block; width: 100%; height: auto; }
.scan-entry p { margin-top: 12px; font-size: 14px; }
.scan-entry details { margin-top: 8px; }
.scan-entry summary { color: #0849af; cursor: pointer; font-size: 14px; }
.scan-entry summary:focus-visible { outline: 3px solid #20accd; outline-offset: 4px; }
.scan-entry details .scan-image { margin-top: 12px; }
@media (max-width: 700px) {
  .scan-entry { align-self: center; }
}
