/* ==========================================================================
   Hengyihui New Energy — reading-first site styles
   Palette: ink / paper / sand / signal red
   ========================================================================== */

:root {
  --ink: #0b0d10;
  --ink-2: #12161c;
  --paper: #ffffff;
  --sand: #f5f3ee;
  --line: #e3dfd5;
  --line-dark: #232a34;
  --muted: #5d636d;
  --muted-2: #8b919b;
  --red: #c8102e;
  --red-dark: #9d0b23;
  --gold: #d8b45a;
  --max: 1180px;
  --radius: 3px;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #1a1d22;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15rem; }
li { margin-bottom: 0.45em; }

strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.wrap.narrow { width: min(820px, calc(100% - 48px)); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.38); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0ece4; }
.btn--sm { padding: 10px 16px; font-size: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
}
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: 40px; height: 40px; object-fit: cover; border-radius: 2px; }
.brand-text {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.05;
  color: #fff;
}
.brand-text small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #8f96a1;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: #b7bdc6;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.is-active { color: #fff; border-bottom-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #b7bdc6;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 10px;
  border-radius: 2px;
}
.lang-switch:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform .2s, opacity .2s;
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 64px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 11, 0.92) 0%, rgba(6, 8, 11, 0.72) 46%, rgba(6, 8, 11, 0.28) 100%),
    linear-gradient(0deg, rgba(6, 8, 11, 0.92) 0%, rgba(6, 8, 11, 0) 55%);
}
.hero__in { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  max-width: 17ch;
  margin-bottom: 0.35em;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
}
.hero__lead {
  max-width: 58ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: #d3d7dd;
  margin-bottom: 1.8em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 880px;
}
.hero__stats dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f96a1;
  margin-bottom: 6px;
}
.hero__stats dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

/* --------------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  padding: 118px 0 68px;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(200, 16, 46, 0.22), transparent 70%),
    var(--ink);
  color: #fff;
}
.page-hero--short { padding: 96px 0 56px; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lede {
  max-width: 64ch;
  font-size: 1.06rem;
  color: #c3c8d0;
  margin-bottom: 0;
}
.page-hero--article { padding: 110px 0 60px; }

.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f8792;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: #4d545e; }
.breadcrumb a { color: #b7bdc6; }
.breadcrumb a:hover { color: #fff; text-decoration: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}
.eyebrow--light { color: var(--gold); }
.kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

/* ---------------------------------------------------------------- sections */
.section { padding: 92px 0; }
.section--tight { padding: 52px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #c9ced6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #a9b0ba; }

.section-head { max-width: 800px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0.5em; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--light p { color: #a9b0ba; }

.section-foot { margin-top: 36px; }
.section-foot--center { text-align: center; }

.split { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 64px; align-items: start; }
.split--media { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.split--wide { grid-template-columns: 1.5fr 0.7fr; }

.prose { max-width: 68ch; }
.prose .lead, .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2d3138;
}
.prose h2 { margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }

.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.fact-card h3 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.fact-card dl { margin: 0; }
.fact-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #efece4;
  font-size: 13px;
}
.fact-card dl > div:last-child { border-bottom: 0; }
.fact-card dt { color: var(--muted); flex-shrink: 0; }
.fact-card dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); }
.fact-card .check-list { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 14.5px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--red);
  font-weight: 700;
}

/* ------------------------------------------------------------ model cards */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.model-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.model-card:hover {
  transform: translateY(-3px);
  border-color: #cfc9bb;
  box-shadow: 0 18px 40px -24px rgba(11, 13, 16, 0.35);
}
.model-card__media { display: block; background: #0e1116; position: relative; }
.model-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}
.model-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.model-card__body h3 { margin-bottom: 0.15em; font-size: 1.25rem; }
.model-card__body h3 a { color: var(--ink); }
.model-card__body h3 a:hover { text-decoration: none; color: var(--red); }
.model-card__name { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.model-card__body > p:not(.kicker):not(.model-card__name) { font-size: 14px; color: var(--muted); }
.model-card__body .text-link { margin-top: auto; padding-top: 12px; }

.mini-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 0;
  border-top: 1px solid #efece4;
  border-bottom: 1px solid #efece4;
}
.mini-specs li { margin: 0; }
.mini-specs b { display: block; font-size: 0.95rem; color: var(--ink); }
.mini-specs span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ------------------------------------------------------------------ steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  padding-top: 4px;
}
.steps h3 { margin-bottom: 0.35em; font-size: 1.05rem; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }
.steps--article { margin-top: 8px; }

.media-frame { margin: 0; }
.media-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.media-frame figcaption {
  font-size: 12px;
  color: var(--muted);
  padding-top: 10px;
}

/* ----------------------------------------------------------------- tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #ece9e1; vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 0;
}
tbody th { font-weight: 700; color: var(--ink); font-size: 13.5px; }
td { font-size: 14px; color: #33373d; }
.compare-table { min-width: 720px; }
.compare-table .cmp-model { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; }
.compare-table--three { min-width: 680px; }
.spec-table th { width: 38%; background: #faf9f5; font-weight: 600; font-size: 13px; }
.spec-table td { font-weight: 600; color: var(--ink); }

/* ---------------------------------------------------------- applications */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.app-card:hover { text-decoration: none; border-color: var(--red); transform: translateY(-2px); }
.app-card h3 { font-size: 1.02rem; margin: 0; }
.app-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.app-card .text-link { margin-top: auto; padding-top: 8px; font-size: 13px; }

.app-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.app-section:last-child { border-bottom: 1px solid var(--line); }
.app-section__head h2 { font-size: 1.55rem; margin: 0; }
.app-section__head .eyebrow { margin-bottom: 12px; }
.app-section__body p { font-size: 1.02rem; color: #2d3138; max-width: 66ch; margin: 0; }

/* --------------------------------------------------------------- features */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.feature { border-top: 2px solid var(--red); padding-top: 20px; }
.feature h3 { margin-bottom: 0.4em; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }
.section--dark .feature p { color: #a9b0ba; }
.feature-grid--light .feature { border-top-color: var(--ink); }

.cert-band {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cert-band li { border-left: 2px solid var(--red); padding-left: 16px; margin: 0; }
.cert-band b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.cert-band span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex-shrink: 0;
  font-style: normal;
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 18px;
  line-height: 1;
  padding-top: 2px;
}
.faq-item summary i::before { content: "+"; }
.faq-item[open] summary i::before { content: "−"; }
.faq-a { padding: 0 40px 22px 0; }
.faq-a p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 72ch; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.4rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }

/* ------------------------------------------------------------------- CTA */
.cta-band { background: var(--red); color: #fff; padding: 64px 0; }
.cta-band__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 0.35em; }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 62ch; margin: 0; font-size: 15px; }
.cta-band .btn { flex-shrink: 0; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: #080a0d; color: #9aa1ab; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.footer-note { color: #6f7681; font-size: 12.5px !important; }
.footer-h {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f7681;
  margin-bottom: 16px;
}
.site-footer a { display: block; color: #c3c8cf; font-size: 13px; margin-bottom: 9px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer span { display: block; font-size: 13px; margin-bottom: 9px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding-top: 20px;
  font-size: 12px;
  color: #6f7681;
}

/* -------------------------------------------------------------- article */
.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 88px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 96px;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 9px; font-size: 12.5px; line-height: 1.45; }
.toc li::before { content: counter(toc) ". "; color: var(--muted-2); font-family: var(--font-mono); font-size: 10px; }
.toc a { color: #3a3f47; }
.toc a:hover { color: var(--red); text-decoration: none; }

.article-body { max-width: 760px; }
.article-body h2 { margin-top: 2em; margin-bottom: 0.6em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.article-body h3 { margin-top: 1.6em; }
.article-body p { font-size: 1.01rem; line-height: 1.75; color: #24282e; }
.article-body ul, .article-body ol { margin-bottom: 1.4em; }
.article-body li { font-size: 1rem; line-height: 1.7; }
.article-body .table-wrap { margin: 28px 0 36px; }
.article-note {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px !important;
  color: var(--muted) !important;
}
.fine-print { font-size: 12px; color: var(--muted); line-height: 1.6; }

.takeaways {
  background: var(--sand);
  border-left: 3px solid var(--red);
  padding: 26px 30px;
  margin-bottom: 44px;
}
.takeaways h2 {
  font-size: 0.8rem !important;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px !important;
}
.takeaways ul { margin: 0; padding-left: 18px; }
.takeaways li { font-size: 14.5px; margin-bottom: 8px; }

.formula {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  border-radius: 2px;
  overflow-x: auto;
}

.callout {
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: var(--radius);
  margin-top: 48px;
}
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--small { margin-top: 28px; padding: 24px; }
.callout--small h3 { font-size: 1rem; }
.callout--small ul { margin-bottom: 0; font-size: 14px; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.guide-card {
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 32px;
  background: #fff;
}
.guide-card h2 { font-size: 1.35rem; margin-bottom: 0.4em; }
.guide-card h2 a { color: var(--ink); }
.guide-card h2 a:hover { color: var(--red); text-decoration: none; }
.guide-card p { font-size: 14.5px; color: var(--muted); }

.decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.decision { border: 1px solid var(--line); padding: 28px; background: #fff; }
.decision-n { font-family: var(--font-mono); font-size: 11px; color: var(--red); display: block; margin-bottom: 12px; }
.decision h3 { font-size: 1.05rem; }
.decision p { font-size: 14px; color: var(--muted); margin: 0; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
  color: var(--ink);
}
.related-link:hover { border-color: var(--red); text-decoration: none; }
.related-link b { font-family: var(--font-head); font-size: 0.95rem; }
.related-link span { font-size: 12.5px; color: var(--muted); }

/* -------------------------------------------------------------- product */
.page-hero--product { padding: 104px 0 72px; }
.product-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.product-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.product-hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 0.5em;
}
.product-hero__media { margin: 0; }
.product-hero__media img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.model-section { padding: 56px 0; border-top: 1px solid var(--line); }
.model-section:last-child { border-bottom: 1px solid var(--line); }
.model-section__head { margin-bottom: 24px; }
.model-section__head h2 { font-family: var(--font-mono); font-size: 1.5rem; margin-bottom: 0.2em; }
.model-section__sub { color: var(--muted); font-size: 14px; margin: 0; }
.model-section__body { display: grid; grid-template-columns: 1.45fr 0.75fr; gap: 48px; align-items: start; }

/* --------------------------------------------------------------- contact */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { margin: 0 0 8px; }
.contact-list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.contact-list dd { margin: 0; font-size: 15px; font-weight: 600; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--red); }

.quote-form { background: #fff; border: 1px solid var(--line); padding: 36px; border-radius: var(--radius); }
.quote-form h2 { font-size: 1.35rem; margin-bottom: 1em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: #33373d; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d4ca;
  border-radius: 2px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}
.field textarea { resize: vertical; }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 4px; }
.field--check label { font-weight: 400; font-size: 12.5px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 11.5px; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-size: 13px; font-weight: 700; }
.form-status.is-ok { color: #1d7a44; }
.form-status.is-error { color: var(--red); }
.quote-form .btn { margin-top: 6px; }
.quote-form.is-sent .form-status::before { content: "✓ "; }

/* ---------------------------------------------------------------- misc */
.diagram { margin: 0; border: 1px solid var(--line); background: #fff; padding: 28px; border-radius: var(--radius); }
.diagram svg { width: 100%; height: auto; }

.section--dark .feature h3 { color: #fff; }
.section--dark .prose p, .section--dark .prose li { color: #a9b0ba; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .split, .split--media, .split--wide { grid-template-columns: 1fr; gap: 40px; }
  .article-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .model-section__body { grid-template-columns: 1fr; gap: 28px; }
  .product-hero { grid-template-columns: 1fr; gap: 36px; }
  .app-section { grid-template-columns: 220px 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px 24px;
  }
  .nav a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .nav a.is-active { border-bottom-color: rgba(255, 255, 255, 0.07); color: var(--gold); }
  .nav-toggle { display: block; }
  body.nav-open .nav { display: flex; }
  .header-actions .btn--sm { display: none; }
  .model-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .guide-grid, .decision-grid, .related-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; padding-top: 40px; }
  .toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .toc li { margin: 0; }
  .toc li::before { display: none; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 96px 0 56px; }
  .hero { min-height: 560px; padding: 130px 0 48px; }
  .app-section { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero__stats { gap: 18px 28px; }
  .hero__stats dd { font-size: 1.1rem; }
  .app-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 0; }
  .cert-band { gap: 18px 28px; }
  .cert-band li { flex: 1 1 40%; }
  .article-body p { font-size: 15.5px; }
  .faq-a { padding-right: 0; }
}

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