:root {
  --bg: #07080b;
  --bg-2: #0d1015;
  --panel: #121722;
  --panel-2: #181e29;
  --paper: #f2f4f7;
  --paper-2: #ffffff;
  --text: #eef2f6;
  --text-dark: #11151b;
  --muted: #9aa5b5;
  --muted-dark: #5d6672;
  --line: rgba(238, 242, 246, 0.14);
  --line-dark: rgba(17, 21, 27, 0.12);
  --red: #e21414;
  --red-dark: #9d1014;
  --red-on-light: #c20c10;
  --silver: #d7dde5;
  --blue: #18a6d9;
  --green: #42d99b;
  --shadow: 0 28px 76px rgba(0, 0, 0, 0.32);
  --shadow-light: 0 22px 60px rgba(17, 21, 27, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(226, 20, 20, 0.16), transparent 28%),
    rgba(7, 8, 11, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--silver), transparent);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(226, 20, 20, 0.24));
}

.brand span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.brand strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}

.brand small {
  color: rgba(238, 242, 246, 0.68);
  font-size: 12px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(238, 242, 246, 0.74);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav .mobile-portal-link {
  display: none;
}

.privacy-nav {
  margin-left: auto;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.language-switch button {
  min-width: 43px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  color: rgba(238, 242, 246, 0.68);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.language-switch button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.portal-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(226, 20, 20, 0.48);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(226, 20, 20, 0.16);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - var(--header-h) - 42px));
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(115deg, #050609 0%, #0a0d12 44%, #151923 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 9%;
  right: -12%;
  width: 62%;
  height: 92px;
  border-top: 2px solid rgba(226, 20, 20, 0.72);
  border-bottom: 1px solid rgba(215, 221, 229, 0.16);
  transform: skewX(-28deg);
  background: linear-gradient(90deg, transparent, rgba(226, 20, 20, 0.18), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 14px;
  background: linear-gradient(90deg, var(--red), var(--silver) 52%, transparent);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 58%, transparent 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
  gap: 52px;
  align-items: center;
  min-height: min(720px, calc(100svh - var(--header-h) - 42px));
  padding: 58px 0;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
  text-transform: uppercase;
}

.section-light .eyebrow,
.privacy-page .eyebrow,
.not-found-layout .eyebrow {
  color: var(--red-on-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2.85vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

html[lang="en"] .hero h1 {
  max-width: 620px;
  font-size: clamp(27px, 2.55vw, 38px);
  line-height: 1.12;
}

.hero h1 span {
  color: var(--silver);
}

.hero-lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(238, 242, 246, 0.78);
  font-size: 14.5px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 44px rgba(226, 20, 20, 0.28);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(238, 242, 246, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button-dark {
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 700px;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hero-metrics div {
  min-width: 0;
  padding: 15px 18px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(238, 242, 246, 0.62);
  font-size: 12.5px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 560px;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    #0c0f15;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--silver));
}

.visual-logo {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border-radius: 4px;
}

.visual-logo img {
  width: min(100%, 430px);
  max-height: 100%;
  object-fit: contain;
  opacity: 0.92;
  transform: scale(1.16);
  filter: drop-shadow(0 30px 48px rgba(226, 20, 20, 0.28));
}

.calibration-panel {
  position: relative;
  z-index: 1;
  padding: 14px;
  border: 1px solid rgba(238, 242, 246, 0.16);
  border-radius: var(--radius);
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(12px);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: rgba(238, 242, 246, 0.66);
  font-size: 12px;
  font-weight: 900;
}

.panel-header strong {
  color: var(--green);
}

.signal-lines {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 7px;
  height: 36px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.signal-lines span {
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--red));
}

.calibration-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calibration-panel li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: rgba(238, 242, 246, 0.86);
  font-size: 11.5px;
  line-height: 1.35;
}

.calibration-panel li span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(238, 242, 246, 0.16);
  border-radius: 50%;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.quick-band {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding-bottom: 52px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.quick-grid article {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line-dark);
}

.quick-grid article:last-child {
  border-right: 0;
}

.quick-grid span,
.card-index,
.process-grid span,
.product-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.quick-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.3;
}

.quick-grid p {
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
}

.section {
  padding: 86px 0;
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: var(--text);
  background:
    linear-gradient(180deg, #090b10, #111721);
}

.section-accent {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(226, 20, 20, 0.18), transparent 36%),
    linear-gradient(180deg, #11151d, #07080b);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 46px;
  align-items: start;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}

.section-heading-dark {
  border-bottom-color: var(--line);
}

.section-heading h2,
.hardware-copy h2,
.portal-copy h2,
.standards-layout h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.hardware-copy p,
.portal-copy p,
.standards-copy p,
.contact-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 15px;
}

.section-dark .hardware-copy p,
.section-accent .section-heading p:not(.eyebrow),
.section-dark .portal-copy p,
.section-dark .contact-copy p {
  color: rgba(238, 242, 246, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-rows: auto minmax(48px, auto) 1fr auto;
  align-content: start;
  min-width: 0;
  min-height: 342px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(226, 20, 20, 0.06), transparent 34%),
    #fff;
  box-shadow: 0 18px 50px rgba(17, 21, 27, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(226, 20, 20, 0.28);
  box-shadow: var(--shadow-light);
}

.service-card h3 {
  margin: 22px 0 12px;
  font-size: 20px;
  line-height: 1.24;
}

.service-card p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: nowrap;
  align-self: end;
  gap: 6px;
  width: 100%;
  margin-top: 24px;
}

.tag-row span,
.hardware-notes span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(226, 20, 20, 0.2);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(226, 20, 20, 0.06);
  font-size: 13px;
  font-weight: 850;
}

.service-card .tag-row span {
  flex: 0 1 auto;
  min-height: 30px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.hardware-copy h2 {
  max-width: 620px;
  font-size: clamp(30px, 3.05vw, 48px);
  line-height: 1.12;
}

html[lang="en"] .hardware-copy h2 {
  max-width: 660px;
  font-size: clamp(30px, 2.65vw, 42px);
}

.hardware-layout,
.portal-layout,
.standards-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.hardware-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hardware-notes span {
  border-color: rgba(238, 242, 246, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.blueprint {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b1018;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 166, 217, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 166, 217, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
}

.part {
  position: absolute;
  border: 2px solid var(--silver);
  box-shadow: 0 0 0 1px rgba(226, 20, 20, 0.34), 0 20px 46px rgba(0, 0, 0, 0.28);
}

.part-cooler {
  left: 13%;
  top: 22%;
  display: flex;
  gap: 10px;
  width: 44%;
  height: 88px;
  padding: 12px;
  background: linear-gradient(90deg, rgba(215, 221, 229, 0.12), rgba(24, 166, 217, 0.08));
}

.part-cooler span {
  flex: 1;
  border: 1px solid rgba(215, 221, 229, 0.34);
  background: linear-gradient(90deg, transparent, rgba(215, 221, 229, 0.22), transparent);
}

.part-pipe {
  right: 12%;
  top: 28%;
  width: 31%;
  height: 128px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 58px 0 0;
  transform: rotate(-12deg);
}

.part-intake {
  left: 18%;
  bottom: 20%;
  width: 38%;
  height: 58px;
  border-radius: 999px;
  transform: skewX(-12deg);
}

.part-spray {
  right: 18%;
  bottom: 18%;
  width: 86px;
  height: 118px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(66, 217, 155, 0.14), transparent);
}

.blueprint-label {
  position: absolute;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(24, 166, 217, 0.36);
  border-radius: 5px;
  color: var(--blue);
  background: rgba(7, 8, 11, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.label-a {
  left: 14%;
  top: 13%;
}

.label-b {
  right: 18%;
  top: 18%;
}

.label-c {
  right: 23%;
  bottom: 10%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.product-grid article,
.process-grid article {
  min-width: 0;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.product-grid article {
  display: grid;
  grid-template-rows: auto 58px 1fr;
  align-content: start;
}

.product-grid h3,
.process-grid h3 {
  margin: 22px 0 12px;
  color: #fff;
  font-size: 18px;
  line-height: 1.28;
}

.product-grid h3 {
  display: flex;
  align-items: start;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.product-grid p,
.process-grid p {
  margin: 0;
  color: rgba(238, 242, 246, 0.7);
  font-size: 14px;
}

.portal-section {
  background:
    linear-gradient(180deg, #f2f4f7 0%, #e8ecf1 100%);
}

.portal-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.portal-copy h2 {
  font-size: clamp(22px, 2vw, 28px);
}

.portal-copy p {
  font-size: 13.5px;
  line-height: 1.6;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.portal-actions .button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.portal-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.portal-routes article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
}

.portal-routes span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.portal-routes strong {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
}

.portal-routes p {
  margin: 8px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.55;
}

.portal-preview {
  border: 1px solid rgba(17, 21, 27, 0.16);
  border-radius: var(--radius);
  background: #0c1018;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(238, 242, 246, 0.1);
  color: rgba(238, 242, 246, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.preview-toolbar span:nth-child(2) {
  background: var(--silver);
}

.preview-toolbar span:nth-child(3) {
  background: var(--blue);
}

.preview-toolbar strong {
  margin-left: 8px;
}

.portal-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  opacity: 0.92;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.standards-layout {
  grid-template-columns: minmax(520px, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: start;
}

.standards-layout h2 {
  font-size: clamp(30px, 2.35vw, 36px);
  line-height: 1.14;
  white-space: nowrap;
}

html[lang="en"] .standards-layout h2 {
  max-width: 560px;
  white-space: normal;
  font-size: clamp(28px, 2.1vw, 34px);
}

.standards-copy {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 21, 27, 0.06);
}

.privacy-page {
  min-height: calc(100vh - var(--header-h));
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.privacy-layout h1 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 900;
}

.privacy-layout > div:first-child p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.7;
}

.not-found-page {
  display: grid;
  min-height: calc(100vh - var(--header-h));
  align-items: center;
}

.not-found-layout {
  max-width: 680px;
}

.not-found-layout h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 900;
}

.not-found-layout p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(238, 242, 246, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.standards-copy h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1.3;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(226, 20, 20, 0.14), transparent 32%),
    linear-gradient(180deg, #0f131a, #07080b);
}

.contact-layout {
  align-items: start;
}

.contact-copy,
.lead-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.contact-copy {
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.contact-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: rgba(238, 242, 246, 0.52);
  font-size: 13px;
}

.contact-list dd {
  margin: 0;
  color: #fff;
}

.contact-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(226, 20, 20, 0.48);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.contact-button-secondary {
  border-color: rgba(226, 20, 20, 0.48);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.lead-card {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.lead-card-head {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.lead-card-head span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.lead-card-head strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.lead-card label {
  display: grid;
  gap: 8px;
  color: rgba(238, 242, 246, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.lead-card input,
.lead-card textarea,
.lead-card select {
  width: 100%;
  border: 1px solid rgba(238, 242, 246, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(7, 8, 11, 0.58);
}

.lead-card input,
.lead-card select {
  height: 46px;
  padding: 0 14px;
}

.lead-card textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 14px;
}

.lead-card button {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  cursor: pointer;
  font-weight: 900;
}

.portal-checklist {
  display: grid;
  gap: 12px;
}

.portal-checklist div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(238, 242, 246, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 8, 11, 0.46);
}

.portal-checklist span {
  color: rgba(238, 242, 246, 0.58);
  font-size: 12px;
  font-weight: 850;
}

.portal-checklist strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.portal-submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-weight: 900;
}

.site-footer {
  color: rgba(238, 242, 246, 0.68);
  background: #050609;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
}

.footer-inner strong {
  display: block;
  color: #fff;
}

.footer-inner p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 8, 11, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .privacy-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: space-between;
    padding: 0 14px;
  }

  .privacy-nav a {
    min-height: 42px;
    justify-content: center;
    padding: 0 12px;
  }

  .hero-layout,
  .hardware-layout,
  .portal-layout,
  .standards-layout,
  .privacy-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .standards-layout h2 {
    white-space: normal;
  }

  .service-grid,
  .product-grid,
  .process-grid,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid article:nth-child(2),
  .product-grid article:nth-child(2),
  .process-grid article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    max-width: 150px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .language-switch button {
    min-width: 38px;
    height: 36px;
    padding: 0 6px;
  }

  .portal-chip {
    display: none;
  }

  .site-nav .mobile-portal-link {
    display: inline-flex;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
  }

  .site-nav {
    right: 14px;
    left: 14px;
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    gap: 32px;
    padding: 44px 0 64px;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.16;
  }

  html[lang="en"] .hero h1 {
    font-size: 23px;
    line-height: 1.16;
  }

  .hero-lead {
    font-size: 13.5px;
  }

  .hero-actions,
  .portal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .quick-grid,
  .service-grid,
  .product-grid,
  .process-grid,
  .portal-routes {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    gap: 10px;
    border: 0;
    background: transparent;
  }

  .hero-metrics div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
  }

  .quick-band {
    margin-top: 0;
    padding: 36px 0;
  }

  .quick-grid article,
  .quick-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .quick-grid article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .hardware-copy h2,
  .portal-copy h2,
  .standards-layout h2,
  .contact-copy h2 {
    font-size: 24px;
    line-height: 1.24;
  }

  .service-card,
  .product-grid article,
  .process-grid article {
    min-height: auto;
    padding: 22px;
  }

  .blueprint {
    min-height: 340px;
  }

  .part-cooler {
    left: 10%;
    width: 52%;
  }

  .part-pipe {
    right: 7%;
    width: 36%;
  }

  .portal-preview img {
    aspect-ratio: 1 / 1;
  }

  .contact-copy,
  .lead-card,
  .standards-copy {
    padding: 22px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    gap: 18px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
