:root {
  --ink: #11120f;
  --ink-soft: #272923;
  --paper: #f3f4ef;
  --white: #fff;
  --muted: #5d6158;
  --line: #c9ccc2;
  --line-dark: #3d4038;
  --accent: #ff6542;
  --accent-dark: #d94425;
  --success: #31715a;
  --content: 1180px;
  --pad: 28px;
  --sans: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--sans); text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; color: var(--white); background: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.nav-inner, .section-inner, .footer-inner { width: min(100% - (var(--pad) * 2), var(--content)); margin: 0 auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); }
.nav-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 19px; font-weight: 700; }
.brand-mark { position: relative; display: inline-block; width: 22px; height: 22px; border: 2px solid currentColor; }
.brand-mark::before, .brand-mark span { content: ""; position: absolute; width: 7px; height: 7px; background: var(--accent); }
.brand-mark::before { top: -4px; right: -4px; }
.brand-mark span { bottom: -4px; left: -4px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-links a, .footer-links a { position: relative; }
.nav-links a::after, .footer-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right 180ms ease; }
.nav-links a:hover::after, .footer-links a:hover::after { right: 0; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.nav-cta { justify-self: end; padding: 10px 0 7px; font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--accent); }
.language-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.42); border-radius: 4px; overflow: hidden; }
.language-switch button { width: 48px; height: 32px; padding: 0; color: rgba(255,255,255,.74); background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; }
.language-switch button + button { border-left: 1px solid rgba(255,255,255,.42); }
.language-switch button:hover { color: var(--white); }
.language-switch button.is-active { color: var(--ink); background: var(--white); }
.language-switch-dark { border-color: var(--line); }
.language-switch-dark button { color: var(--muted); }
.language-switch-dark button + button { border-left-color: var(--line); }
.language-switch-dark button:hover { color: var(--ink); }
.language-switch-dark button.is-active { color: var(--white); background: var(--ink); }

.hero { position: relative; height: 92svh; min-height: 650px; max-height: 860px; overflow: hidden; color: var(--white); background: #0d0f0f url("assets/catalog-inspection-hero.png") center/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: rgba(5,7,7,.25); }
.hero-inner { position: relative; z-index: 1; width: min(100% - (var(--pad) * 2), var(--content)); height: 100%; margin: 0 auto; display: flex; align-items: flex-end; padding: 150px 0 72px; }
.hero-copy { max-width: 660px; animation: hero-enter 720ms cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0 0 22px; color: var(--accent-dark); font: 700 12px/1.3 var(--mono); text-transform: uppercase; }
.hero-eyebrow, .eyebrow-light { color: #ff8064; }
.hero h1 { margin: 0; font-size: 96px; line-height: .96; letter-spacing: 0; font-weight: 750; }
.hero-promise { margin: 24px 0 0; font-size: 31px; line-height: 1.12; font-weight: 650; }
.hero-body { max-width: 610px; margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 4px; font-weight: 750; cursor: pointer; transition: transform 160ms ease, background-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #1a0d09; background: var(--accent); }
.button-primary:hover { background: #ff8064; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; font-weight: 700; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateY(3px); }
.text-link-light { color: var(--white); }
.hero-note { margin: 19px 0 0; color: rgba(255,255,255,.58); font: 12px var(--mono); }
.hero-caption { position: absolute; right: 28px; bottom: 22px; z-index: 1; margin: 0; writing-mode: vertical-rl; color: rgba(255,255,255,.5); font: 10px var(--mono); text-transform: uppercase; }

.scope-band { border-bottom: 1px solid var(--line); background: var(--white); }
.scope-inner { width: min(100% - (var(--pad) * 2), var(--content)); min-height: 76px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.scope-inner p { margin: 0; padding: 0 20px; color: var(--muted); font: 11px var(--mono); text-align: center; text-transform: uppercase; border-left: 1px solid var(--line); }
.scope-inner p:first-child { border-left: 0; }

.section { padding: 128px 0; }
.section-heading { max-width: 700px; margin-bottom: 58px; }
.section-heading h2, .process-intro h2, .standards-copy h2, .contact-copy h2 { margin: 0; font-size: 52px; line-height: 1.04; letter-spacing: 0; }
.section-heading > p:last-child, .process-intro > p:last-child, .split-heading > p, .contact-copy > p { margin: 22px 0 0; color: var(--muted); font-size: 18px; }

.audit-workspace { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.audit-toolbar { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.audit-title { margin: 0; font-size: 19px; font-weight: 750; }
.audit-meta { margin: 5px 0 0; color: var(--muted); font: 11px var(--mono); }
.filter-group { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.filter-button { min-height: 40px; padding: 0 14px; color: var(--muted); background: transparent; border: 0; border-left: 1px solid var(--line); cursor: pointer; }
.filter-button:first-child { border-left: 0; }
.filter-button:hover, .filter-button.is-active { color: var(--white); background: var(--ink); }
.audit-row { display: grid; grid-template-columns: 1.1fr .6fr 1.25fr .9fr; gap: 24px; min-height: 76px; align-items: center; border-bottom: 1px solid var(--line); transition: background-color 170ms ease; }
.audit-row:not(.audit-head):hover { background: rgba(255,255,255,.62); }
.audit-row.is-hidden { display: none; }
.audit-row > span { min-width: 0; }
.audit-row > span:first-child { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.audit-head { min-height: 48px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.audit-head > span:first-child { font-weight: 400; }
.severity { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); }
.severity-high { background: var(--accent); }
.severity-medium { border: 2px solid var(--accent-dark); background: transparent; }
.severity-low { background: var(--success); }
.audit-footnote { margin: 0; padding: 16px 0 18px; color: var(--muted); font: 10px var(--mono); }
.empty-state { padding: 28px 0; color: var(--muted); }

.process-section { color: var(--white); background: var(--ink); }
.process-layout { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(520px,1.4fr); gap: 90px; }
.process-intro { position: sticky; top: 42px; align-self: start; }
.process-intro > p:last-child, .process-step p { color: #b9bcb3; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.process-step { display: grid; grid-template-columns: 52px 1fr 150px; gap: 26px; padding: 42px 0 48px; border-bottom: 1px solid var(--line-dark); }
.step-number, .step-output { font: 11px var(--mono); }
.step-number { color: var(--accent); }
.process-step h3 { margin: 0 0 12px; font-size: 26px; }
.process-step p { margin: 0; }
.step-output { text-align: right; }

.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .7fr; align-items: end; gap: 80px; }
.split-heading > p { margin-bottom: 6px; }
.service-table { border-top: 2px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 1.15fr .9fr 1.1fr .65fr; gap: 28px; min-height: 102px; align-items: center; border-bottom: 1px solid var(--line); }
.service-row > * { min-width: 0; }
.service-row strong { display: block; font-size: 18px; }
.service-row small { display: block; margin-top: 5px; color: var(--muted); }
.service-head { min-height: 48px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }

.standards-section { border-top: 1px solid var(--line); background: var(--white); }
.standards-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.standards-points { border-top: 2px solid var(--ink); }
.standard-point { display: grid; grid-template-columns: 44px 180px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.standard-point > span { color: var(--accent-dark); font: 11px var(--mono); }
.standard-point h3, .standard-point p { margin: 0; }
.standard-point h3 { font-size: 17px; }
.standard-point p { color: var(--muted); }

.contact-section { padding: 126px 0; color: var(--white); background: var(--ink-soft); }
.contact-layout { display: grid; grid-template-columns: 1fr .85fr; gap: 110px; }
.contact-copy > p { max-width: 580px; color: #c6c9c0; }
.contact-email { display: inline-block; margin-top: 26px; color: var(--accent); font: 14px var(--mono); border-bottom: 1px solid currentColor; }
.audit-form { padding-top: 4px; }
.form-field { margin-bottom: 24px; }
.form-field label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #d8dad3; font-size: 13px; font-weight: 700; }
.form-field label span { color: #858a80; font-weight: 400; }
.form-field input, .form-field textarea { width: 100%; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid #686c63; border-radius: 0; outline: 0; }
.form-field input { min-height: 48px; }
.form-field textarea { padding: 12px 0; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--accent); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #858a80; }
.form-field .is-invalid { border-bottom-color: var(--accent); }
.field-error { display: block; min-height: 18px; margin-top: 5px; color: #ff9a83; font-size: 12px; }
.form-submit { width: 100%; }
.form-note, .form-status { margin: 12px 0 0; color: #92968d; font: 10px var(--mono); }
.form-status { min-height: 16px; color: #ff9a83; }

.site-footer { padding: 46px 0; background: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.2fr 1.5fr; align-items: center; gap: 34px; }
.brand-dark { color: var(--ink); }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; color: var(--muted); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.privacy-header { color: var(--ink); border-bottom: 1px solid var(--line); background: var(--white); }
.privacy-header .nav-inner { grid-template-columns: 1fr auto; }
.privacy-back { color: var(--ink); }
.privacy-main { min-height: calc(100svh - 77px); padding: 110px var(--pad); }
.privacy-main article { width: min(100%,760px); margin: 0 auto; }
.privacy-main h1 { margin: 0 0 28px; font-size: 58px; line-height: 1; }
.privacy-lede { margin-bottom: 66px; color: var(--muted); font-size: 20px; }
.privacy-main h2 { margin: 42px 0 12px; font-size: 22px; }
.privacy-main p { color: var(--muted); }
.privacy-main a { color: var(--accent-dark); border-bottom: 1px solid currentColor; }
.privacy-updated { margin-top: 68px; font: 11px var(--mono); }

@media (max-width: 980px) {
  :root { --pad: 22px; }
  .hero h1 { font-size: 76px; }
  .hero-promise { font-size: 28px; }
  .section-heading h2, .process-intro h2, .standards-copy h2, .contact-copy h2 { font-size: 44px; }
  .scope-inner { grid-template-columns: repeat(3,1fr); padding: 18px 0; row-gap: 18px; }
  .scope-inner p:nth-child(4) { border-left: 0; }
  .process-layout, .standards-layout, .contact-layout { grid-template-columns: 1fr; gap: 64px; }
  .process-intro { position: static; max-width: 680px; }
  .split-heading { grid-template-columns: 1fr; gap: 12px; }
  .audit-row { grid-template-columns: 1fr .5fr 1fr; }
  .audit-row > span:last-child { display: none; }
  .service-row { grid-template-columns: 1fr .85fr .85fr; }
  .service-row > *:nth-child(3) { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > p { display: none; }
}

@media (max-width: 720px) {
  .nav-inner { min-height: 68px; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-actions { gap: 12px; }
  .nav-actions .nav-cta { display: none; }
  .language-switch button { width: 44px; }
  .hero { height: 91svh; min-height: 650px; max-height: 780px; background-position: 62% center; }
  .hero-shade { background: rgba(5,7,7,.54); }
  .hero-inner { padding: 118px 0 52px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 52px; }
  .hero-promise { margin-top: 20px; font-size: 25px; }
  .hero-body { max-width: 520px; font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 28px; }
  .hero-caption { display: none; }
  .scope-inner { grid-template-columns: 1fr 1fr; }
  .scope-inner p:nth-child(3), .scope-inner p:nth-child(5) { border-left: 0; }
  .scope-inner p:nth-child(4) { border-left: 1px solid var(--line); }
  .section, .contact-section { padding: 88px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .process-intro h2, .standards-copy h2, .contact-copy h2 { font-size: 36px; }
  .section-heading > p:last-child, .process-intro > p:last-child, .split-heading > p, .contact-copy > p { font-size: 16px; }
  .audit-toolbar { align-items: flex-start; flex-direction: column; padding: 24px 0; }
  .filter-group { width: 100%; overflow-x: auto; }
  .filter-button { flex: 1 0 auto; padding: 0 12px; font-size: 12px; }
  .audit-row { grid-template-columns: 1fr auto; gap: 15px; min-height: 70px; }
  .audit-row > span:nth-child(3), .audit-row > span:nth-child(4) { display: none; }
  .audit-head { min-height: 42px; }
  .process-step { grid-template-columns: 36px 1fr; gap: 15px; padding: 34px 0; }
  .step-output { grid-column: 2; text-align: left; }
  .service-head { display: none; }
  .service-row { grid-template-columns: 1fr auto; gap: 16px; min-height: 110px; }
  .service-row > *:nth-child(2), .service-row > *:nth-child(3) { display: none; }
  .standard-point { grid-template-columns: 36px 1fr; }
  .standard-point p { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .privacy-main { padding-top: 80px; }
  .privacy-main h1 { font-size: 44px; }
}

@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; }
}
