:root {
  --ink: #13201d;
  --ink-soft: #3f4c49;
  --paper: #f5f7f5;
  --white: #ffffff;
  --line: #d9dfdc;
  --green: #1c7a5a;
  --green-dark: #11513d;
  --coral: #d35d4a;
  --amber: #d79a2b;
  --night: #101816;
  --night-soft: #18231f;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; letter-spacing: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 96px 0; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--white); color: var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; padding: 12px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.site-header.scrolled { color: var(--ink); background: rgba(255,255,255,.96); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 10px;
}
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 17px; }
.brand-copy small { font-size: 11px; opacity: .72; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: var(--amber); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: inherit; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 86svh; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--night); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(5, 13, 11, .32); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.eyebrow, .section-kicker, .product-code { margin: 0 0 16px; font-size: 12px; font-weight: 700; color: var(--amber); }
.hero h1 { margin: 0; font-size: clamp(54px, 8vw, 112px); line-height: .98; font-weight: 760; }
.hero-lead { max-width: 590px; margin: 26px 0 0; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid rgba(255,255,255,.4); font-weight: 700; }
.button.primary { color: var(--night); background: var(--white); border-color: var(--white); }
.button.quiet { color: var(--white); background: rgba(16,24,22,.46); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.hero-next { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 13px; }
.hero-next span { margin-left: 8px; color: var(--amber); }

h2 { margin: 0; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.18; }
h3 { margin: 0; font-size: 22px; line-height: 1.3; }
p { margin-top: 0; }
.mission { background: var(--white); }
.mission-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.mission h2 { max-width: 720px; }
.mission-copy { padding-top: 34px; color: var(--ink-soft); font-size: 17px; }
.mission-copy p:last-child { margin-bottom: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 38px; }
.section-heading > p { max-width: 430px; margin-bottom: 4px; color: var(--ink-soft); }
.product-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.product-card { border: 1px solid var(--line); border-radius: 6px; background: var(--white); overflow: hidden; }
.product-visual { position: relative; min-height: 280px; background: var(--night-soft); }
.product-visual img { width: 100%; height: 280px; object-fit: cover; object-position: center 18%; }
.product-status { position: absolute; top: 14px; right: 14px; padding: 6px 10px; color: var(--white); background: var(--green); font-size: 12px; font-weight: 700; }
.product-body { padding: 26px; }
.product-body p:not(.product-code), .direction-card p:not(.product-code) { color: var(--ink-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 5px 9px; border: 1px solid var(--line); font-size: 12px; }
.direction-card { min-height: 100%; padding: 28px; display: flex; flex-direction: column; border-top: 4px solid var(--green); }
.direction-card.coral { border-top-color: var(--coral); }
.direction-index { font-size: 54px; line-height: 1; font-weight: 750; color: #cfd7d3; }
.direction-card .product-code { margin-top: 58px; }
.direction-card h3 { font-size: 27px; }
.direction-note { margin-top: auto; padding-top: 26px; color: var(--green-dark); font-size: 13px; font-weight: 700; }

.capabilities { color: var(--white); background: var(--night); }
.section-heading.light > p { color: #bac5c1; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #39433f; }
.process-list li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid #39433f; }
.process-list li > span { color: var(--amber); font-weight: 700; }
.process-list h3 { font-size: 20px; }
.process-list p { margin: 5px 0 0; color: #acb9b4; }

.about { background: #e8eeeb; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.about-heading h2 { font-size: clamp(32px, 4vw, 50px); }
.about-lead { max-width: 620px; font-size: 22px; line-height: 1.55; }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #bdc8c3; border-left: 1px solid #bdc8c3; }
.principle-grid article { padding: 22px; border-right: 1px solid #bdc8c3; border-bottom: 1px solid #bdc8c3; }
.principle-grid strong { display: block; margin-bottom: 7px; }
.principle-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.contact { background: var(--coral); color: var(--white); }
.contact .section-kicker { color: #ffe0a5; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.contact-grid > div > p:last-child { max-width: 600px; margin: 18px 0 0; font-size: 17px; }
.contact-link { display: grid; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); }
.contact-link span, .contact-link small { opacity: .8; }
.contact-link strong { overflow-wrap: anywhere; margin: 7px 0; font-size: clamp(20px, 2.5vw, 30px); }

.site-footer { padding: 58px 0 24px; color: #cad3cf; background: #0c1210; }
.footer-grid { display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.footer-brand { color: var(--white); }
.footer-grid p { margin: 18px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; font-size: 14px; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-legal a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #29312e; font-size: 12px; }

.legal-page { background: var(--white); }
.legal-header { position: sticky; color: var(--ink); background: var(--white); border-color: var(--line); }
.legal-main { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 140px 0 90px; }
.legal-main h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.1; }
.legal-meta { margin: 14px 0 44px; color: var(--ink-soft); }
.legal-main h2 { margin: 38px 0 12px; font-size: 24px; }
.legal-main h3 { margin: 24px 0 8px; font-size: 18px; }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.legal-main a { color: var(--green-dark); text-decoration: underline; }
.legal-main li { margin-bottom: 8px; }
.legal-note { padding: 20px; border-left: 4px solid var(--green); background: var(--paper); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .section { padding: 72px 0; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 12px 18px 22px; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .mission-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .mission-copy { padding-top: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .featured { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; }
  .product-visual, .product-visual img { height: 100%; min-height: 300px; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { min-height: 68px; padding: 10px 14px; }
  .site-nav { top: 68px; }
  .brand-copy small { display: none; }
  .hero { min-height: 82svh; }
  .hero-media { object-position: 58% center; }
  .hero-shade { background: rgba(5,13,11,.52); }
  .hero-content { padding-top: 60px; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 20px; max-width: 92%; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 320px); }
  .hero-next { bottom: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .featured { grid-column: auto; display: block; }
  .product-visual, .product-visual img { min-height: 260px; height: 260px; }
  .direction-card { min-height: 330px; }
  .process-list li { grid-template-columns: 52px 1fr; gap: 12px; }
  .principle-grid { grid-template-columns: 1fr; }
  .footer-links { display: grid; gap: 12px; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

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

.police-record { display: inline-flex; align-items: center; gap: 6px; }
.police-record img { width: 16px; height: 16px; object-fit: contain; flex: none; }