:root {
  --ink: #11121a;
  --muted: #626779;
  --line: #dfe3ed;
  --soft: #f4f6f9;
  --white: #ffffff;
  --violet: #6d38ff;
  --violet-dark: #4e21d9;
  --cyan: #00aecd;
  --green: #a9f400;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Manrope", sans-serif;
  --shadow: 0 20px 70px rgba(45, 34, 100, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; scroll-margin-top: 84px; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 10px 16px; color: #fff; background: var(--violet);
}
.skip-link:focus { top: 16px; }
.mono, .kicker { font-family: var(--mono); }
.kicker {
  display: inline-block; margin-bottom: 20px; color: var(--violet);
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 830px; margin-bottom: 28px; font-size: clamp(46px, 6.8vw, 92px);
  line-height: .98; letter-spacing: -.065em;
}
h2 { margin-bottom: 0; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
h3 { line-height: 1.25; letter-spacing: -.02em; }
.section-head {
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px;
  margin-bottom: 52px;
}
.section-head > p { margin-bottom: 2px; color: var(--muted); font-size: 17px; }
.section-head.compact { align-items: start; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(223,227,237,.9);
  background: rgba(255,255,255,.92); backdrop-filter: blur(18px);
}
.header-trace {
  position: absolute; inset: auto 0 -1px; width: 24%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan));
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand strong { display: block; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; }
.brand small { display: block; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.brand-mark { position: relative; width: 33px; height: 33px; border: 2px solid var(--ink); }
.brand-mark i { position: absolute; display: block; background: var(--violet); }
.brand-mark i:first-child { width: 16px; height: 2px; top: 8px; left: 6px; }
.brand-mark i:nth-child(2) { width: 2px; height: 15px; top: 8px; left: 15px; }
.brand-mark i:last-child { width: 8px; height: 8px; right: -5px; bottom: -5px; background: var(--green); border: 2px solid #fff; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a, .mobile-nav a {
  position: relative; padding: 26px 0 23px; color: #555a69; font-size: 13px; font-weight: 700;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--violet); transition: right .25s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); }
.desktop-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 20px; padding: 3px; }
.lang-btn {
  width: 34px; height: 28px; padding: 0; border: 0; border-radius: 14px;
  color: var(--muted); background: transparent; font: 600 11px var(--mono); cursor: pointer;
}
.lang-btn.active { color: #fff; background: var(--ink); }
.menu-toggle {
  display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line);
  background: #fff; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 76px 0 0; padding: 40px 24px; background: #fff; }
.mobile-nav a { display: block; border-bottom: 1px solid var(--line); font-size: 18px; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 76px); padding: 100px 0 76px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 7%; right: -10%; width: 44vw; height: 44vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,56,255,.10), rgba(109,56,255,0) 68%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(#edf0f6 1px, transparent 1px), linear-gradient(90deg, #edf0f6 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}
.hero-layout { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-layout, .hero-copy, .scope-console { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(169,244,0,.18); }
.hero-lead { max-width: 760px; margin-bottom: 34px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17,18,26,.13); }
.btn-primary { color: #fff; background: var(--violet); border-color: var(--violet); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-ghost { background: rgba(255,255,255,.75); }
.hero-meta { display: flex; margin-top: 54px; border-top: 1px solid var(--line); }
.hero-meta div { min-width: 132px; padding: 18px 28px 0 0; }
.hero-meta span { display: block; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.hero-meta strong { display: block; margin-top: 3px; font: 600 14px var(--mono); }
.scope-console { position: relative; background: rgba(255,255,255,.92); border: 1px solid #cfd4df; box-shadow: var(--shadow); }
.scope-console::before {
  content: ""; position: absolute; width: 56px; height: 10px; left: 20px; top: -6px;
  background: repeating-linear-gradient(90deg, var(--violet) 0 5px, transparent 5px 9px);
}
.console-head {
  padding: 24px 22px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 800;
}
.console-head .mono { color: var(--muted); font-size: 10px; }
.wave-panel { padding: 16px; background: #fafbfc; border-bottom: 1px solid var(--line); }
.grid-line { fill: none; stroke: #e4e8ee; stroke-width: 1; }
.wave { fill: none; vector-effect: non-scaling-stroke; }
.wave-a { stroke: var(--violet); stroke-width: 2.5; }
.wave-b { stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 5 6; }
.signal-list { list-style: none; padding: 0; margin: 0; }
.signal-list li { display: grid; grid-template-columns: 58px 1fr; border-bottom: 1px solid var(--line); }
.signal-list li > b {
  display: grid; place-items: center; color: var(--violet); background: var(--soft);
  border-right: 1px solid var(--line); font: 600 12px var(--mono);
}
.signal-list li span { padding: 13px 16px; }
.signal-list strong, .signal-list small { display: block; }
.signal-list strong { font-size: 13px; }
.signal-list small { color: var(--muted); font-size: 11px; }
.console-note { display: flex; gap: 10px; padding: 14px 18px; background: #f3ffdc; }
.console-note span { flex: 0 0 20px; height: 20px; border-radius: 50%; color: #253600; background: var(--green); text-align: center; font: 600 13px/20px var(--mono); }
.console-note p { margin: 0; color: #485231; font-size: 11px; }
.notice-strip { border-block: 1px solid var(--line); background: var(--soft); }
.notice-inner { min-height: 100px; padding-block: 23px; display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 36px; }
.notice-inner p { margin: 0; color: #515668; font-size: 13px; }
.tag { width: max-content; padding: 7px 10px; color: var(--violet); border: 1px solid var(--violet); font-size: 10px; font-weight: 600; letter-spacing: .1em; }

/* Directions */
.direction-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.direction-card { position: relative; min-height: 350px; padding: 30px 26px; border-right: 1px solid var(--line); overflow: hidden; transition: background .25s, transform .25s; }
.direction-card:last-child { border-right: 0; }
.direction-card::after {
  content: ""; position: absolute; right: -35px; bottom: -35px; width: 110px; height: 110px;
  border: 1px solid currentColor; border-radius: 50%; opacity: .15;
}
.direction-card:hover { transform: translateY(-8px); background: var(--soft); }
.direction-card.violet { color: var(--violet); }
.direction-card.cyan { color: #007f99; }
.direction-card.green { color: #5d8500; }
.direction-card.graphite { color: #373b49; }
.card-code { font: 600 10px var(--mono); letter-spacing: .08em; }
.circuit-icon { display: block; margin: 45px 0 20px; font: 38px var(--mono); }
.direction-card h3 { min-height: 58px; margin-bottom: 15px; color: var(--ink); font-size: 18px; }
.direction-card p { color: var(--muted); font-size: 13px; }
.card-link { position: absolute; bottom: 28px; left: 26px; font-size: 11px; font-weight: 800; }

/* Module sections */
.module-section { border-top: 1px solid var(--line); }
.split-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.split-layout.reverse { grid-template-columns: 1.1fr .9fr; }
.module-copy > p { max-width: 670px; color: var(--muted); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 35px 0; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 22px; width: 9px; height: 9px;
  background: var(--green); box-shadow: 0 0 0 4px #edffc4;
}
.text-link { color: var(--violet); font-size: 13px; font-weight: 800; }
.module-visual { max-width: 430px; }
.board-label { display: block; padding: 9px 14px; color: #fff; background: var(--ink); font: 10px var(--mono); }
.board {
  position: relative; height: 360px; border: 1px solid #c8ced9; overflow: hidden;
  background-image: radial-gradient(#c7ccd7 1px, transparent 1px); background-size: 14px 14px;
}
.chip {
  position: absolute; z-index: 2; display: grid; place-items: center; color: #fff; background: var(--violet);
  border: 8px solid #f0ecff; font: 600 11px var(--mono); box-shadow: 0 0 0 1px var(--violet);
}
.chip-a { width: 90px; height: 90px; left: 60px; top: 55px; }
.chip-b { width: 70px; height: 50px; right: 55px; top: 85px; background: var(--cyan); border-color: #e5faff; box-shadow: 0 0 0 1px var(--cyan); }
.chip-c { width: 55px; height: 55px; left: 175px; bottom: 48px; color: #243400; background: var(--green); border-color: #f3ffd8; box-shadow: 0 0 0 1px #7bab00; }
.trace { position: absolute; display: block; border-color: var(--violet); border-style: solid; border-width: 0; }
.t1 { left: 0; top: 100px; width: 65px; height: 80px; border-top-width: 2px; border-right-width: 2px; }
.t2 { left: 150px; top: 100px; width: 110px; height: 104px; border-bottom-width: 2px; border-right-width: 2px; }
.t3 { right: 0; top: 108px; width: 62px; border-top-width: 2px; border-color: var(--cyan); }
.t4 { left: 202px; bottom: 0; height: 52px; border-left-width: 2px; border-color: #86bd00; }
.pale-section { background: var(--soft); }
.data-rows { margin-top: 35px; }
.data-rows > div { display: grid; grid-template-columns: 45px 1fr; padding: 13px 0; border-bottom: 1px solid #d8dce5; }
.data-rows > div > span { color: var(--violet); font: 600 11px var(--mono); }
.data-rows p, .data-rows small { margin: 0; }
.data-rows strong, .data-rows small { display: block; }
.data-rows strong { font-size: 13px; }
.data-rows small { color: var(--muted); font-size: 12px; }
.measurement-panel { border: 1px solid #cdd2dd; background: #fff; box-shadow: 14px 14px 0 #e4e7ed; }
.measure-head { display: flex; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.measure-head b { color: var(--violet); font: 600 12px var(--mono); }
.measure-object { position: relative; height: 250px; margin: 26px; border: 1px dashed #abb2c1; }
.measure-object::before {
  content: ""; position: absolute; inset: 52px 65px; border: 2px solid var(--ink);
  background: linear-gradient(135deg, transparent 45%, #e8ebf1 45%, #e8ebf1 55%, transparent 55%);
}
.measure-object span { position: absolute; background: var(--violet); }
.measure-object span:nth-child(1), .measure-object span:nth-child(2) { top: 26px; width: 2px; height: 196px; }
.measure-object span:nth-child(1) { left: 48px; }.measure-object span:nth-child(2) { right: 48px; }
.measure-object span:nth-child(3), .measure-object span:nth-child(4) { left: 23px; width: calc(100% - 46px); height: 2px; }
.measure-object span:nth-child(3) { top: 38px; }.measure-object span:nth-child(4) { bottom: 38px; }
.measurement-panel > p { margin: 0; padding: 0 26px 25px; color: var(--muted); font-size: 12px; }

/* Wholesale */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec-grid article { position: relative; min-height: 220px; padding: 32px 25px; background: var(--soft); border-top: 3px solid var(--ink); }
.spec-pin { display: block; width: 12px; height: 12px; margin-bottom: 38px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 5px #dffaff; }
.spec-grid h3 { font-size: 16px; }
.spec-grid p { color: var(--muted); font-size: 13px; }
.trace-section {
  position: relative; color: #fff; background: #171823;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.trace-section::after { content: ""; position: absolute; right: 8%; top: 0; width: 2px; height: 50%; background: linear-gradient(var(--cyan), transparent); }
.trace-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.trace-copy > p { color: #bbc0ce; font-size: 17px; }
.inline-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.inline-tags span { padding: 8px 12px; color: #dbff86; border: 1px solid #536622; font: 11px var(--mono); }
.trace-copy .small-note { color: #858b9c; font-size: 12px; }

/* Builder */
.builder-section { background: linear-gradient(180deg, #fff 0, #f0edff 100%); }
.builder-shell {
  display: grid; grid-template-columns: 1.25fr .75fr; border: 1px solid #ccd1dd;
  background: #fff; box-shadow: var(--shadow);
}
.builder-form { padding: 38px; }
.builder-form fieldset { margin: 0 0 30px; padding: 0; border: 0; }
.builder-form legend { margin-bottom: 15px; font-size: 13px; }
.builder-form legend span, .builder-inputs label > span > b { margin-right: 8px; color: var(--violet); font: 600 11px var(--mono); }
.radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-grid label { cursor: pointer; }
.radio-grid input { position: absolute; opacity: 0; }
.radio-grid label > span { min-height: 84px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); transition: .2s; }
.radio-grid input:checked + span { border-color: var(--violet); background: #f3efff; box-shadow: inset 3px 0 var(--violet); }
.radio-grid b { font-size: 12px; }
.radio-grid small { color: var(--violet); font: 10px var(--mono); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.builder-inputs { grid-template-columns: 1fr; }
.form-grid label { display: block; }
.form-grid label > span { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; }
input, textarea, select {
  width: 100%; padding: 13px 14px; color: var(--ink); background: #fafbfc;
  border: 1px solid #cfd4de; border-radius: 0; outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(109,56,255,.1); }
.generate-btn { margin-top: 24px; }
.builder-output { display: flex; flex-direction: column; padding: 30px; color: #fff; background: #181923; }
.output-head { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid #373945; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status-led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.builder-output pre {
  flex: 1; margin: 25px 0; min-height: 270px; color: #d5d8e1; white-space: pre-wrap;
  overflow-wrap: anywhere; font: 12px/1.75 var(--mono);
}
.output-actions { display: flex; gap: 8px; }
.btn-small { min-height: 40px; padding: 0 13px; color: #fff; background: transparent; border-color: #555866; font-size: 10px; }
.btn-small:disabled, .btn-mail[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.output-note { margin: 18px 0 0; color: #898e9f; font-size: 10px; }

/* Content data patterns */
.label-board { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.label-sample { position: relative; padding: 36px; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--green); }
.label-sample .corner { position: absolute; right: 0; top: 0; padding: 7px 10px; color: #fff; background: var(--violet); font: 10px var(--mono); }
.label-sample > strong { display: block; margin-bottom: 28px; font-size: 15px; }
.label-sample dl { margin: 0; }
.label-sample dl div { display: grid; grid-template-columns: 95px 1fr; padding: 10px 0; border-top: 1px solid var(--line); }
.label-sample dt { color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.label-sample dd { margin: 0; font-size: 12px; }
.ident-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ident-list article { display: grid; grid-template-columns: 42px 1fr; gap: 10px; }
.ident-list article > b { color: var(--violet); font: 600 11px var(--mono); }
.ident-list h3 { margin-bottom: 7px; font-size: 15px; }
.ident-list p { color: var(--muted); font-size: 12px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d4d8e1; }
.compare-grid article { padding: 38px; }
.compare-grid article + article { border-left: 1px solid #d4d8e1; }
.compare-grid article > span { display: inline-block; padding: 4px 8px; font: 600 10px var(--mono); text-transform: uppercase; }
.avoid > span { color: #862e4b; background: #ffe6ee; }
.prefer > span { color: #385300; background: #e7ffaf; }
.compare-grid blockquote { min-height: 76px; margin: 30px 0 18px; font-size: 18px; font-weight: 600; line-height: 1.45; }
.compare-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.safety-section { color: #fff; background: var(--violet); }
.safety-section .kicker { color: var(--green); }
.safety-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.safety-layout > div:first-child p { margin-top: 28px; color: #ded6ff; }
.safety-steps > div { display: grid; grid-template-columns: 50px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.safety-steps span { color: var(--green); font: 600 11px var(--mono); }
.safety-steps p { margin: 0; font-size: 13px; }
.doc-track { display: grid; grid-template-columns: repeat(4, 1fr); }
.doc-track article { min-height: 230px; padding: 30px 26px; border: 1px solid var(--line); border-right: 0; }
.doc-track article:last-child { border-right: 1px solid var(--line); }
.doc-track article > span { color: var(--violet); font: 600 11px var(--mono); }
.doc-track h3 { margin-top: 55px; font-size: 16px; }
.doc-track p { color: var(--muted); font-size: 12px; }

/* Process / use */
.process-section { background: #f7f8fa; }
.process-line { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0; margin: 75px 0 0; }
.process-line::before { content: ""; position: absolute; left: 5%; right: 5%; top: 17px; height: 1px; background: #cdd2dc; }
.process-line li { position: relative; padding-right: 30px; }
.process-line li > span {
  position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px;
  color: #fff; background: var(--ink); font: 10px var(--mono);
}
.process-line li:nth-child(3) > span { color: #233400; background: var(--green); }
.process-line li div { padding-top: 25px; }
.process-line h3 { font-size: 14px; }
.process-line p { color: var(--muted); font-size: 11px; }
.use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.use-grid article { padding: 34px; background: #fff; }
.use-grid article > span { color: var(--violet); font: 600 10px var(--mono); }
.use-grid h3 { margin: 24px 0 8px; font-size: 16px; }
.use-grid p { margin: 0; color: var(--muted); font-size: 12px; }

/* Registry */
.registry-section { color: #fff; background: #11121a; }
.registry-section .kicker { color: var(--green); }
.registry-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.registry-head p { margin-top: 18px; color: #9ca1b0; }
.registered-badge { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid #383b47; }
.registered-badge > span { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.registered-badge small, .registered-badge strong { display: block; }
.registered-badge small { color: #8b909e; font: 9px var(--mono); text-transform: uppercase; }
.registered-badge strong { font-size: 12px; }
.registry-grid { display: grid; grid-template-columns: 1.25fr .75fr; border: 1px solid #333541; }
.registry-main { border-right: 1px solid #333541; }
.registry-grid dl { margin: 0; }
.registry-grid dl > div { padding: 18px 22px; border-bottom: 1px solid #333541; }
.registry-grid dl > div:last-child { border-bottom: 0; }
.registry-grid dt { margin-bottom: 5px; color: #7e8391; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.registry-grid dd { margin: 0; font-size: 13px; }
.registry-grid dd small { color: #9297a5; }
.activity-table { margin-top: 26px; border: 1px solid #333541; }
.activity-row { display: grid; grid-template-columns: 110px 1fr 120px; border-bottom: 1px solid #333541; }
.activity-row:last-child { border-bottom: 0; }
.activity-row > * { padding: 16px 20px; }
.activity-row > * + * { border-left: 1px solid #333541; }
.activity-row b { color: var(--green); font: 600 11px var(--mono); }
.activity-row span { color: #c7cad3; font-size: 12px; }
.activity-row em { color: #969baa; font: normal 10px var(--mono); }
.activity-header { color: #838896; background: #191a24; font: 9px var(--mono); text-transform: uppercase; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.people-grid article { min-height: 250px; padding: 28px 24px; border-right: 1px solid var(--line); }
.people-grid article:last-child { border: 0; }
.role { display: block; min-height: 42px; color: var(--violet); font: 600 9px/1.5 var(--mono); text-transform: uppercase; }
.people-grid h3 { margin: 50px 0 12px; font-size: 16px; }
.people-grid p { color: var(--muted); font-size: 12px; }

/* FAQ / Contact */
.faq-section { background: var(--soft); }
.faq-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 90px; }
.faq-layout > div:first-child p { margin-top: 20px; color: var(--muted); }
.accordion details { border-top: 1px solid #cfd4de; }
.accordion details:last-child { border-bottom: 1px solid #cfd4de; }
.accordion summary { position: relative; padding: 21px 50px 21px 0; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 10px; color: var(--violet); font: 22px var(--mono); }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { padding: 0 50px 22px 0; margin: 0; color: var(--muted); font-size: 13px; }
.contact-section { position: relative; overflow: hidden; }
.contact-section::before {
  content: ""; position: absolute; left: -100px; bottom: -100px; width: 320px; height: 320px;
  border: 1px solid #dfe2e9; border-radius: 50%; box-shadow: 0 0 0 40px #f7f8fa, 0 0 0 41px #dfe2e9;
}
.contact-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.contact-copy > p { margin-top: 25px; color: var(--muted); }
.contact-email { display: inline-block; margin: 20px 0; color: var(--violet); font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -.04em; border-bottom: 2px solid var(--green); }
.contact-copy .contact-note { font-size: 12px; }
.address-chip { display: flex; gap: 12px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); }
.address-chip span { color: var(--violet); }
.address-chip p { margin: 0; color: var(--muted); font-size: 12px; }
.contact-form { padding: 36px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.contact-form .full { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 19px 0; color: var(--muted); font-size: 10px; }
.consent input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--violet); }
.form-status { min-height: 22px; margin: 13px 0 0; color: #4e6b00; font-size: 11px; }

/* Footer */
.site-footer { color: #cdd0da; background: #11121a; }
.footer-top { min-height: 155px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; border-bottom: 1px solid #30323d; }
.footer-brand .brand-mark { border-color: #fff; }
.footer-links { display: flex; gap: 24px; font-size: 11px; }
.footer-links a:hover { color: var(--green); }
.footer-mail { justify-self: end; color: #fff; font: 600 12px var(--mono); }
.footer-bottom { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 50px; color: #7f8391; font-size: 9px; }
.footer-bottom p { margin: 0; }
.footer-bottom p:nth-child(2) { text-align: center; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-layout { grid-template-columns: 1fr; }
  .scope-console { max-width: 700px; }
  .direction-grid { grid-template-columns: 1fr 1fr; }
  .direction-card:nth-child(2) { border-right: 0; }
  .direction-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-layout, .split-layout.reverse { gap: 55px; }
  .builder-shell { grid-template-columns: 1fr; }
  .builder-output pre { min-height: 180px; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .people-grid article:nth-child(2) { border-right: 0; }
  .people-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 640px); }
  .section { padding: 76px 0; }
  .section-head, .trace-layout, .safety-layout, .contact-layout, .faq-layout, .label-board { grid-template-columns: 1fr; gap: 30px; }
  .section-head { align-items: start; }
  .hero { padding-top: 65px; }
  .hero-meta { flex-wrap: wrap; }
  .split-layout, .split-layout.reverse { grid-template-columns: 1fr; }
  .split-layout.reverse .module-copy { order: 2; }
  .module-visual { width: 100%; }
  .spec-grid, .doc-track { grid-template-columns: 1fr 1fr; }
  .spec-grid article { min-height: 190px; }
  .doc-track article:nth-child(2) { border-right: 1px solid var(--line); }
  .doc-track article:nth-child(-n+2) { border-bottom: 0; }
  .process-line { grid-template-columns: 1fr; margin-top: 30px; }
  .process-line::before { left: 17px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .process-line li { display: grid; grid-template-columns: 55px 1fr; padding: 0; }
  .process-line li div { padding: 4px 0 28px; }
  .registry-head { align-items: start; flex-direction: column; }
  .registry-grid { grid-template-columns: 1fr; }
  .registry-main { border-right: 0; border-bottom: 1px solid #333541; }
  .activity-row { grid-template-columns: 75px 1fr; }
  .activity-row > em { display: none; }
  .activity-row > * { padding: 14px 12px; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 0; gap: 25px; }
  .footer-mail { justify-self: start; }
  .footer-bottom { grid-template-columns: 1fr; padding: 25px 0; gap: 12px; }
  .footer-bottom p:nth-child(2) { text-align: left; }
}

@media (max-width: 560px) {
  h1 { max-width: 100%; font-size: 43px; overflow-wrap: break-word; }
  h2 { font-size: 34px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 7px; }
  .header-inner { height: 68px; }
  .brand small { max-width: 150px; }
  .mobile-nav { inset: 68px 0 0; }
  .hero { min-height: auto; }
  .hero-grid { background-size: 44px 44px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-meta div { min-width: 50%; }
  .notice-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .direction-grid, .spec-grid, .radio-grid, .ident-list, .compare-grid, .doc-track, .use-grid, .people-grid, .form-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 310px; border-right: 0; border-bottom: 1px solid var(--line); }
  .direction-card:last-child { border-bottom: 0; }
  .direction-card:nth-child(3) { border-bottom: 1px solid var(--line); }
  .module-visual { max-width: none; }
  .board { height: 300px; }
  .measurement-panel { box-shadow: 7px 7px 0 #e4e7ed; }
  .builder-form, .builder-output, .contact-form { padding: 24px 18px; }
  .compare-grid article + article { border-left: 0; border-top: 1px solid #d4d8e1; }
  .compare-grid blockquote { min-height: auto; }
  .doc-track article, .doc-track article:nth-child(2) { border-right: 1px solid var(--line); border-bottom: 0; }
  .doc-track article:last-child { border-bottom: 1px solid var(--line); }
  .people-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .people-grid article:nth-child(3) { border-bottom: 1px solid var(--line); }
  .contact-form .full { grid-column: auto; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .brand small { display: none; }
  .brand strong { font-size: 12px; }
  .brand-mark { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
