:root {
  --blue: #114abf;
  --blue-2: #2f7cff;
  --cyan: #39d5ff;
  --red: #e32828;
  --ink: #f5f8ff;
  --muted: #a8b4c6;
  --dark: #070b12;
  --dark-2: #0d1320;
  --panel: rgba(14, 21, 34, 0.82);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(160, 182, 215, 0.18);
  --line-strong: rgba(57, 213, 255, 0.36);
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(90deg, rgba(57, 213, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 213, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #05070c 0%, #0a1220 45%, #070b12 100%);
  background-size: 58px 58px, 58px 58px, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(17, 74, 191, 0.22), transparent 32%),
    linear-gradient(250deg, rgba(227, 40, 40, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 8px);
  opacity: 0.28;
  mix-blend-mode: screen;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 10, 17, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1240px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 170px;
  min-width: 170px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(17, 74, 191, 0.28);
}

.brand img {
  width: 148px;
  height: 35px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #dce7fb;
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  border-color: rgba(57, 213, 255, 0.24);
  background: rgba(17, 74, 191, 0.28);
}

.nav-action,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn::after,
.nav-action::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: transform 0.55s ease;
}

.btn:hover::after,
.nav-action:hover::after {
  transform: translateX(120%) skewX(-20deg);
}

.nav-action,
.btn.primary {
  border-color: rgba(57, 213, 255, 0.42);
  background: linear-gradient(135deg, var(--blue), #0c63ff);
  color: var(--white);
}

.btn:hover,
.nav-action:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 18px 42px rgba(17, 74, 191, 0.35);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  cursor: pointer;
}

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

.container,
.hero-inner,
.hero-metrics {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 106px 0;
  position: relative;
}

.section.compact {
  padding: 60px 0;
}

.band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%),
    rgba(255,255,255,0.035);
}

.dark-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(17, 74, 191, 0.16), transparent 42%),
    rgba(3, 6, 10, 0.58);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--cyan);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 50px;
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.22;
}

.lead {
  color: #c3ccda;
  font-size: 20px;
  line-height: 1.58;
}

.muted {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: auto;
  padding: 70px 0 34px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.95) 0%, rgba(7, 11, 18, 0.78) 42%, rgba(7, 11, 18, 0.28) 72%, rgba(7, 11, 18, 0.88) 100%),
    linear-gradient(180deg, rgba(17, 74, 191, 0.14), transparent 52%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scan-line 4.8s linear infinite;
  z-index: 4;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.hero-title span {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(57, 213, 255, 0.28);
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  z-index: 3;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 9% 2% 14% 10%;
  border: 1px solid rgba(57, 213, 255, 0.2);
  transform: skewX(-8deg);
  background:
    linear-gradient(90deg, rgba(57, 213, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 213, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(17, 74, 191, 0.22), rgba(255,255,255,0.02)),
    rgba(6, 12, 22, 0.72);
  background-size: 34px 34px, 34px 34px, auto, auto;
  backdrop-filter: blur(12px);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 38px 38px rgba(0, 0, 0, 0.46));
  transform: translateX(0);
  animation: machine-drift 7s ease-in-out infinite;
}

.hero-chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-chipline span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(57, 213, 255, 0.24);
  border-radius: 999px;
  color: #d7efff;
  background: rgba(255,255,255,0.055);
  font-size: 12px;
  font-weight: 850;
}

.hero-metrics {
  position: relative;
  z-index: 4;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(16px);
}

.metric {
  min-height: 124px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 42px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-head > p,
.section-head .lead {
  max-width: 560px;
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.insight-card,
.panel,
.metric-card,
.contact-panel,
.image-frame,
.product-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.product-card:hover,
.insight-card:hover,
.panel:hover,
.metric-card:hover,
.contact-panel:hover,
.image-frame:hover,
.product-section:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28), 0 0 0 1px rgba(57, 213, 255, 0.08) inset;
  background: rgba(16, 25, 40, 0.92);
}

.product-card,
.insight-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-media {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(57, 213, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 213, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(17, 74, 191, 0.2), rgba(255,255,255,0.025)),
    rgba(6, 12, 22, 0.78);
  background-size: 30px 30px, 30px 30px, auto, auto;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card:hover .product-media img,
.insight-card:hover img,
.image-frame:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.card-body,
.panel {
  padding: 24px;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card-body p,
.panel p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.tag {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(57, 213, 255, 0.24);
  border-radius: 999px;
  background: rgba(17, 74, 191, 0.16);
  color: #cdefff;
  font-size: 12px;
  font-weight: 850;
}

.card-link {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 950;
  transition: color 0.2s ease, transform 0.2s ease;
}

.card-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 46px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(57, 213, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 213, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(17, 74, 191, 0.18), rgba(255,255,255,0.025)),
    rgba(6, 12, 22, 0.78);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.image-frame.contain img {
  object-fit: contain;
  padding: 26px;
}

.process-list {
  display: grid;
  gap: 14px;
  counter-reset: process;
}

.process-item {
  position: relative;
  padding: 22px 22px 22px 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.055);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.process-item:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  background: rgba(17, 74, 191, 0.18);
}

.process-item::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  color: var(--cyan);
  font-weight: 950;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.metric-card {
  min-height: 158px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 38px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
}

.mini-table,
.spec-table {
  width: 100%;
  border-collapse: collapse;
  color: #dce6f6;
  background: rgba(255,255,255,0.035);
}

.mini-table th,
.mini-table td,
.spec-table th,
.spec-table td {
  padding: 14px 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mini-table th,
.spec-table th {
  color: var(--cyan);
  background: rgba(17, 74, 191, 0.14);
}

.mini-table th {
  width: 34%;
}

.page-hero {
  padding: 56px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(17, 74, 191, 0.18), transparent 48%),
    rgba(255,255,255,0.03);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.98;
}

.page-hero .lead {
  max-width: 820px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #dfe9f8;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: var(--blue);
  color: var(--white);
}

.product-section {
  scroll-margin-top: 98px;
  padding: 30px;
  margin-bottom: 24px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 32px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--cyan);
  background: rgba(255,255,255,0.055);
  color: #dce6f6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.insight-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.insight-card img[src*="-cutout"],
.article-hero img[src*="-cutout"] {
  object-fit: contain;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(57, 213, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 213, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(17, 74, 191, 0.2), rgba(255,255,255,0.025)),
    rgba(6, 12, 22, 0.78);
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.insight-card .card-body h2,
.insight-card .card-body h3 {
  font-size: 22px;
  line-height: 1.28;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.article {
  max-width: 900px;
  margin: 0 auto;
}

.article-hero {
  width: min(1080px, calc(100% - 36px));
  margin: 42px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
}

.article-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  color: #d9e4f5;
  font-size: 18px;
}

.article-content h2 {
  margin-top: 44px;
  font-size: 32px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content img {
  width: 100%;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--cyan);
  font-size: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #dfe9f8;
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(57, 213, 255, 0.14);
  background: rgba(255,255,255,0.09);
}

.field textarea {
  min-height: 142px;
  resize: vertical;
}

.map-panel {
  min-height: 260px;
  display: grid;
  place-items: center;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(57, 213, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 213, 255, 0.08) 1px, transparent 1px),
    rgba(255,255,255,0.04);
  background-size: 28px 28px;
  color: #dce6f6;
  text-align: center;
  padding: 28px;
}

.footer {
  padding: 58px 0 30px;
  color: #dce5f6;
  border-top: 1px solid var(--line);
  background: #05070c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 26px;
}

.footer img {
  width: 132px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 7px;
  background: rgba(255,255,255,0.92);
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: #dce5f6;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer h3 {
  color: #fff;
  font-size: 16px;
}

.footer p {
  color: var(--muted);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.slide-left {
  transform: translateX(-38px);
}

.reveal.slide-right {
  transform: translateX(38px);
}

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

@keyframes scan-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes machine-drift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(0) translateY(-10px); }
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 42px;
  }

  .page-hero h1 {
    font-size: 58px;
  }

  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 140px;
    height: 33px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 12px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-visual img {
    width: 100%;
    transform: translateX(0);
  }

  .hero-metrics,
  .value-grid,
  .grid.four,
  .grid.three,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2),
  .metric-card:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2),
  .metric-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split,
  .product-detail,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 72px 0;
  }

  .section.compact {
    padding: 52px 0;
  }

  .container,
  .hero-inner,
  .hero-metrics,
  .article-hero {
    width: min(100% - 28px, 1240px);
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .page-hero h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .lead {
    font-size: 17px;
  }

  .section-head {
    display: block;
  }

  .hero-metrics,
  .value-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .blog-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child,
  .metric-card:last-child {
    border-bottom: 0;
  }

  .product-media {
    height: 220px;
  }

  .product-section {
    padding: 22px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
  }
}
