:root {
  --ink: #07111f;
  --ink-soft: #112238;
  --paper: #f5f7f8;
  --white: #ffffff;
  --muted: #607083;
  --line: #d9e0e5;
  --cyan: #00e6c3;
  --cyan-dark: #007d6b;
  --orange: #ff8a3d;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(7, 17, 31, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 3px 12px 3px 3px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover { color: var(--white); }

.primary-nav .nav-cta {
  min-height: 42px;
  padding: 9px 17px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 15%, rgba(40, 120, 255, 0.18), transparent 35%),
    radial-gradient(circle at 20% 90%, rgba(0, 230, 195, 0.08), transparent 30%),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 88%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 72px;
  align-items: center;
  min-height: 690px;
  padding: 96px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: currentColor;
}

.eyebrow-light { color: var(--cyan); }

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-lede {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--cyan);
}

.button-primary:hover { background: #35f3d7; }

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-accent {
  width: 100%;
  color: var(--white);
  background: var(--orange);
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.circuit-panel {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #0b1929;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.3);
  isolation: isolate;
}

.circuit-panel::before {
  position: absolute;
  z-index: -1;
  inset: 14px;
  border: 1px solid rgba(0, 230, 195, 0.13);
  content: "";
}

.circuit-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.8;
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 230, 195, 0.16), transparent 23%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.trace {
  position: absolute;
  display: block;
  background: var(--cyan);
  opacity: 0.42;
}

.trace-a { top: 31%; right: 0; width: 36%; height: 1px; }
.trace-b { top: 31%; right: 34%; width: 1px; height: 24%; }
.trace-c { bottom: 21%; left: 0; width: 43%; height: 1px; }

.node {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cyan);
}

.node-a { top: 30%; right: 18%; }
.node-b { top: 53%; right: 33.2%; }
.node-c { bottom: 20.2%; left: 21%; }
.node-d { top: 18%; left: 28%; }

.panel-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.signal {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
}

.signal i {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}

.panel-core {
  display: grid;
  min-height: 330px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.panel-code {
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--cyan);
  background: rgba(0, 230, 195, 0.08);
  border: 1px solid rgba(0, 230, 195, 0.24);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.panel-core strong {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.panel-core p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.panel-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.panel-readout div {
  padding: 15px 10px;
  background: #0c1a2a;
}

.panel-readout span,
.panel-readout strong { display: block; }

.panel-readout span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-readout strong {
  color: rgba(255, 255, 255, 0.86);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.trust-grid > div:last-child { border-right: 1px solid var(--line); }

.trust-grid span {
  color: var(--cyan-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.trust-grid p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.section { padding: 112px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.company-story h2,
.process-intro h2,
.rfq-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading > p,
.company-story > p,
.process-intro > p,
.rfq-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 510px;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #becbd3;
  box-shadow: var(--shadow);
}

.product-card-featured {
  color: var(--white);
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-index {
  color: var(--cyan-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.product-card-featured .product-index { color: var(--cyan); }

.product-category {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-featured .product-category { color: rgba(255, 255, 255, 0.5); }

.board-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  height: 176px;
  margin-bottom: 25px;
  place-items: center;
  background-color: #e7edf0;
  background-image:
    linear-gradient(rgba(7, 17, 31, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: 4px;
}

.board-visual::before,
.board-visual::after {
  position: absolute;
  width: 45%;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.28;
}

.board-visual::before { left: 0; top: 34%; }
.board-visual::after { right: 0; bottom: 30%; }

.board-visual .chip {
  display: grid;
  width: 72px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border: 8px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 28px rgba(7, 17, 31, 0.25);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.board-visual i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.65);
}

.board-visual i:nth-of-type(1) { top: 26px; left: 28px; }
.board-visual i:nth-of-type(2) { top: 28px; right: 38px; }
.board-visual i:nth-of-type(3) { bottom: 28px; left: 36px; }
.board-visual i:nth-of-type(4) { right: 26px; bottom: 24px; }

.board-visual-io { color: #007d6b; background-color: #d8f1ec; }
.board-visual-control { color: #2878ff; background-color: #dee8fb; }
.board-visual-digital { color: #7464e8; background-color: #e9e5fb; }
.board-visual-power { color: #e36a22; background-color: #fae6d9; }
.board-visual-signal { color: #ba3f75; background-color: #f4dfe8; }
.board-visual-comms { color: #11809a; background-color: #dceff3; }

.sku {
  overflow-wrap: anywhere;
  margin: 0 0 8px;
  color: var(--cyan-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-card-featured .sku { color: var(--cyan); }

.product-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.product-card > p:not(.sku) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.product-card-featured > p:not(.sku) { color: rgba(255, 255, 255, 0.58); }

.text-button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.text-button span,
.text-link span { color: var(--cyan-dark); }

.product-card-featured .text-button { color: var(--white); }

.classification-note {
  display: grid;
  grid-template-columns: 0.65fr 1fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-top: 22px;
  padding: 24px 28px;
  background: #e8edef;
  border-left: 4px solid var(--cyan-dark);
}

.classification-note span,
.classification-note strong { display: block; }

.classification-note span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.classification-note strong {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
}

.classification-note p,
.classification-note small { margin: 0; }

.classification-note p {
  font-size: 13px;
  font-weight: 700;
}

.classification-note small {
  color: var(--muted);
  font-size: 11px;
}

.process-section {
  color: var(--white);
  background: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 120px;
}

.process-intro > p {
  max-width: 490px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.56);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list > li > span {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.company-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 86px;
  align-items: center;
}

.company-story > p {
  max-width: 560px;
  margin-top: 26px;
}

.company-story .text-link { margin-top: 30px; }

.legal-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.legal-card-heading {
  padding: 28px;
  color: var(--white);
  background: var(--ink-soft);
}

.legal-card-heading span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.legal-card-heading h3 {
  margin: 8px 0 0;
  font-size: 28px;
}

.legal-card dl {
  margin: 0;
  padding: 0 28px;
}

.legal-card dl > div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.legal-card dl > div:last-child { border-bottom: 0; }

.legal-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legal-card dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.rfq-section {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0, rgba(0, 230, 195, 0.1), transparent 30%),
    var(--ink-soft);
}

.rfq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 84px;
  align-items: start;
}

.rfq-copy {
  position: sticky;
  top: 120px;
}

.rfq-copy > p {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.58);
}

.contact-status {
  margin-top: 32px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--orange);
}

.contact-status strong,
.contact-status span { display: block; }

.contact-status strong {
  margin-bottom: 3px;
  font-size: 12px;
}

.contact-status span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.rfq-panel {
  min-width: 0;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border-radius: 7px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  color: #34465a;
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f7f9fa;
  border: 1px solid #cbd5dc;
  border-radius: 4px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 3px rgba(0, 140, 120, 0.13);
  outline: 0;
}

.field [aria-invalid="true"] {
  border-color: #c93b3b;
  box-shadow: 0 0 0 3px rgba(201, 59, 59, 0.1);
}

.form-error {
  margin: 0 0 16px;
  padding: 11px 13px;
  color: #842b2b;
  background: #fff0f0;
  border-left: 3px solid #c93b3b;
  font-size: 12px;
  font-weight: 700;
}

.form-privacy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.rfq-result { min-width: 0; }

.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.result-heading span {
  color: var(--cyan-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.result-heading h3 {
  margin: 3px 0 0;
  font-size: 26px;
}

.copy-button {
  min-height: 44px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.rfq-result pre {
  overflow: auto;
  max-width: 100%;
  min-height: 320px;
  margin: 0 0 18px;
  padding: 20px;
  color: #dce7ee;
  background: #0a1421;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  padding: 54px 0;
  color: rgba(255, 255, 255, 0.62);
  background: #030a12;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1fr;
  gap: 54px;
  align-items: start;
}

.brand-footer { color: var(--white); }

.footer-grid > div:first-child p {
  max-width: 340px;
  margin: 18px 0 0;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-legal { text-align: right; }

.footer-legal p {
  margin: 0 0 7px;
  font-size: 11px;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(40, 120, 255, 0.2), transparent 35%),
    var(--ink);
}

.error-card {
  width: min(680px, 100%);
  padding: clamp(30px, 7vw, 70px);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.error-card .eyebrow { margin-top: 70px; }

.error-card h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(48px, 10vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.error-card > p:not(.eyebrow) {
  margin: 25px 0 32px;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 980px) {
  .hero-grid,
  .process-grid,
  .company-grid,
  .rfq-grid { grid-template-columns: 1fr; }

  .hero-grid { gap: 52px; }
  .circuit-panel { min-height: 440px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
  .trust-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .process-grid,
  .company-grid,
  .rfq-grid { gap: 55px; }

  .process-intro,
  .rfq-copy { position: static; }

  .footer-grid { grid-template-columns: 1fr 0.5fr; }

  .footer-legal {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 20px 24px;
    background: rgba(7, 17, 31, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .primary-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 8px 10px;
  }

  .primary-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

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

  .hero-grid { padding: 74px 0 68px; }
  .hero h1 { font-size: clamp(45px, 13vw, 64px); }
  .hero-actions .button { width: 100%; }

  .circuit-panel {
    min-height: 380px;
    padding: 21px;
  }

  .panel-core { min-height: 260px; }
  .panel-readout { grid-template-columns: 1fr; }

  .panel-readout div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
  }

  .panel-readout span { margin: 0; }
  .section { padding: 82px 0; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading h2,
  .company-story h2,
  .process-intro h2,
  .rfq-copy h2 { font-size: clamp(38px, 11vw, 54px); }

  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }

  .classification-note {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .legal-card dl > div,
  .form-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-card dl > div { padding: 15px 0; }
  .rfq-panel { padding: 24px 18px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-legal { grid-column: auto; }
}

@media (max-width: 430px) {
  .brand-name { font-size: 12px; }
  .trust-grid { grid-template-columns: 1fr; }

  .trust-grid > div,
  .trust-grid > div:nth-child(2),
  .trust-grid > div:last-child { border-right: 1px solid var(--line); }

  .trust-grid > div:not(:first-child) { border-top: 1px solid var(--line); }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .result-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
