@font-face {
  font-family: Geist;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --brand-accent: #c8102e;
  --brand-accent-hover: #9c1429;
  --brand-ink: #19181b;
  --brand-muted: #626168;
  --brand-paper: #fff;
  --brand-wash: #f7f7f9;
  --brand-line: #e9e9ed;
  --brand-tint: #fcf3f5;
  --brand-accent-line: #efdbdf;
  --brand-body-font: Geist, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --brand-title-size: clamp(1.875rem, 1.55rem + 1.1vw, 2.5rem);
  --brand-section-size: clamp(1.25rem, 1.1rem + .65vw, 1.625rem);
  --brand-page-width: 1120px;
  --brand-gutter: clamp(18px, 3vw, 44px);
  --brand-section-space: clamp(34px, 4.6vw, 58px);
}

body.hzz-site {
  --paper: var(--brand-paper);
  --paper-2: var(--brand-wash);
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --line: var(--brand-line);
  --blue: var(--brand-accent);
  --blue-soft: var(--brand-tint);
  --red: var(--brand-accent);
  --shadow: 0 14px 36px rgb(17 17 20 / 7%);
  --home-red: var(--brand-accent-hover);
  --home-rule: var(--brand-line);
  --home-body: var(--brand-muted);
  --home-panel: var(--brand-wash);
  color: var(--brand-ink);
  background: var(--brand-paper);
  font-family: var(--brand-body-font);
  line-height: 1.65;
}

.hzz-site :is(h1, h2) {
  font-family: var(--brand-body-font);
  font-weight: 700;
  font-style: normal;
}
.hzz-site h1 { text-wrap: balance; }
.hzz-site button { font-family: var(--brand-body-font); }
.hzz-site :focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; }
.hzz-site [id] { scroll-margin-top: 83px; }
.hzz-site [hidden] { display: none !important; }
.hzz-site img { max-width: 100%; }
.hzz-site .btn {
  min-height: 41px;
  padding: 8px 14px;
  border-radius: 8px;
  font: 600 .88rem/1.45 var(--brand-body-font);
}
.hzz-site .btn-primary { color: #fff; background: var(--brand-accent); }
.hzz-site .btn-primary:hover { background: var(--brand-accent-hover); }
.hzz-site .btn-secondary { color: var(--brand-ink); border-color: var(--brand-line); background: #fff; }
.hzz-site .btn-secondary:hover { color: var(--brand-accent-hover); border-color: var(--brand-accent-line); }

.hzz-header {
  position: sticky;
  z-index: 45;
  top: 0;
  border-bottom: 1px solid var(--brand-line);
  background: #fff;
}
.hzz-header-inner {
  width: min(var(--brand-page-width), calc(100% - 2 * var(--brand-gutter)));
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.hzz-logo { flex: 0 0 auto; display: inline-flex; width: 193px; }
.hzz-logo img { display: block; width: 100%; height: auto; }
.hzz-nav { display: flex; align-items: center; gap: clamp(3px, .85vw, 14px); color: var(--brand-muted); font-size: 14px; font-weight: 600; }
.hzz-nav > a, .hzz-nav summary {
  display: flex;
  min-height: 36px;
  padding-inline: 8px;
  align-items: center;
  gap: .5em;
  border-radius: 7px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.hzz-nav a:hover, .hzz-nav summary:hover { color: var(--brand-ink); background: var(--brand-wash); }
.hzz-nav [aria-current="page"], .hzz-nav details:has([aria-current="page"]) summary {
  color: var(--brand-accent-hover);
  background: var(--brand-tint);
}
.hzz-nav .hzz-nav-contact {
  min-height: 34px;
  padding-inline: 11px;
  color: #fff;
  background: var(--brand-accent);
}
.hzz-nav .hzz-nav-contact:hover { color: #fff; background: var(--brand-accent-hover); }
.hzz-menu-group { position: relative; }
.hzz-menu-group summary { cursor: pointer; list-style: none; }
.hzz-menu-group summary::-webkit-details-marker { display: none; }
.hzz-menu-group summary::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  content: "";
}
.hzz-menu-group[open] summary::after { transform: translateY(1px) rotate(225deg); }
.hzz-menu-links {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 159px;
  display: grid;
  padding: 6px;
  border: 1px solid var(--brand-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow, 0 14px 30px rgb(15 23 42 / 12%));
}
.hzz-menu-links a { display: block; padding: 8px 11px; border-radius: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.hzz-menu-button { display: none; }
.hzz-footer-logo { display: inline-flex; width: 168px; }
.hzz-footer-logo img { display: block; width: 100%; height: auto; }

.hzz-site .site-footer, .hzz-site .editorial-footer {
  color: var(--brand-muted);
  border-top: 1px solid var(--brand-line);
  background: var(--brand-wash);
}
.hzz-site .site-footer a, .hzz-site .editorial-footer a { color: var(--brand-muted); }
.hzz-site .site-footer a:hover, .hzz-site .editorial-footer a:hover { color: var(--brand-accent-hover); }
.hzz-site .footer-title { color: var(--brand-ink); }
.hzz-site .footer-bottom { color: var(--brand-muted); border-color: var(--brand-line); }
.hzz-site .footer-copy { color: var(--brand-muted); }

.hzz-site.model-page .hero { padding-block: var(--brand-section-space); border-bottom: 1px solid var(--brand-line); }
.hzz-site.model-page .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 38px; }
.hzz-site.model-page .hero h1 { max-width: none; font-size: var(--brand-title-size); line-height: 1.2; letter-spacing: -.025em; }
.hzz-site.model-page .hero h1 span { margin-top: .35em; color: var(--brand-muted); line-height: 1.4; letter-spacing: 0; }
.hzz-site.model-page .hero-lede { font-size: 1rem; }
.hzz-site.model-page .section-head h2 { font-size: var(--brand-section-size); line-height: 1.35; letter-spacing: -.02em; }
.hzz-site .hero-media { border: 1px solid var(--brand-line); border-radius: 14px; }
.hzz-site :is(.price-card, .story-panel, .software-plan, .contact-band) { border-color: var(--brand-line); border-radius: 12px; }
.hzz-report-page {
  --color-navy-950: #1a1116;
  --color-navy-900: #2a1820;
  --color-navy-700: #63243b;
  --color-navy-600: #9c1429;
  --color-navy-500: #a92b47;
  --color-glow: #eb9dad;
  --color-glow-soft: #f5ccd5;
}
.hzz-report-page[data-accent] .dark-tech {
  background: radial-gradient(ellipse at 88% 0%, #572033, transparent 60%), #21151c;
}
.hzz-report-page .dark-tech .lead { color: #eadce2; }
.hzz-report-page .hzz-report-footer > :first-child {
  background: linear-gradient(90deg, #711b33, #b94255) !important;
}
.hzz-site.service-fieldnotes .editorial-footer { padding-block: 24px; }

@media (max-width: 890px) {
  .hzz-header-inner { min-height: 58px; }
  .hzz-logo { width: 177px; }
  .hzz-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding-inline: 10px;
    border: 1px solid var(--brand-line);
    border-radius: 7px;
    color: var(--brand-ink);
    background: #fff;
    font: 600 14px var(--brand-body-font);
    cursor: pointer;
  }
  .hzz-menu-button span {
    width: 14px;
    height: 10px;
    border-block: 1.5px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  }
  .hzz-nav {
    position: absolute;
    inset: 100% var(--brand-gutter) auto auto;
    width: min(100% - 2 * var(--brand-gutter), 340px);
    max-height: calc(100dvh - 76px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    overflow: auto;
    border: 1px solid var(--brand-line);
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 14px 30px rgb(15 23 42 / 12%);
  }
  .hzz-nav.is-open { display: flex; }
  .hzz-nav > a, .hzz-nav summary { min-height: 43px; padding-inline: 11px; }
  .hzz-nav .hzz-nav-contact { margin-top: 3px; }
  .hzz-menu-links { position: static; margin: 0 6px 4px; padding: 4px; border: none; background: var(--brand-wash); box-shadow: none; }
}

@media (max-width: 760px) {
  .hzz-site.model-page .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hzz-site.model-page .hero-media { order: 0; }
  .hzz-site [id] { scroll-margin-top: 73px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.hzz-site) { scroll-behavior: auto; }
  .hzz-site .btn { transition: none; }
  .hzz-site .btn:hover { transform: none; }
}
