/* Pressure Boundary Integrity Services — pbintegrity.com
   Brand: deep navy, inspection blue, brushed silver. */

:root {
  --navy-950: #06111f;
  --navy-900: #0a1a2e;
  --navy-800: #10253f;
  --navy-700: #183457;
  --blue-700: #174c9c;
  --blue-600: #1d5fbf;
  --blue-500: #2b7de9;
  --blue-400: #5aa2ff;
  --blue-300: #8ab8f5;
  --silver-50: #f6f8fb;
  --silver-100: #eef1f5;
  --silver-200: #dde2e9;
  --silver-300: #c3cad4;
  --silver-400: #a7b0bd;
  --silver-500: #8b95a3;
  --silver-600: #5f6b7a;
  --ink: #0d1b2a;
  --ink-soft: #3c4a5c;
  --sheet: #0a1c33;
  --metal: linear-gradient(135deg, #f4f6f9 0%, #b9c1cd 42%, #eef1f5 60%, #96a0ae 100%);

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--silver-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 3.3vw, 2.85rem); }
h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.005em; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: #fff; color: var(--navy-950);
  font-weight: 600; border-radius: var(--radius); transition: top .15s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--blue-300); }

.metal {
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 14px 24px;
  font: 600 .95rem/1.2 var(--font-body);
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn span { transition: transform .18s; }
.btn:hover span { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--blue-500); }
.btn-ghost { color: var(--silver-100); border-color: rgba(195, 202, 212, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: var(--silver-300); }
.btn-silver { background: var(--metal); color: var(--navy-950); box-shadow: 0 10px 30px -12px rgba(6, 17, 31, .6); }
.btn-silver:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(6, 17, 31, .84);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(195, 202, 212, .12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-family: var(--font-display); font-stretch: 120%; font-weight: 750;
  font-size: 1.12rem; line-height: 1; letter-spacing: .05em; text-transform: uppercase;
  color: #fff;
}
.brand-sub {
  font-family: var(--font-mono); font-size: .58rem; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--silver-400);
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.site-nav a:not(.btn) {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: .92rem; font-weight: 500; text-decoration: none;
  color: var(--silver-200); transition: color .18s;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--blue-400); transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid rgba(195, 202, 212, .3); border-radius: 2px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; margin-inline: auto; background: var(--silver-100);
  transition: transform .2s, background-color .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--silver-200);
  background:
    radial-gradient(900px 520px at 80% 18%, rgba(43, 125, 233, .24), transparent 62%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(195, 202, 212, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 202, 212, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero > * { position: relative; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.1vw, 4.3rem);
  font-stretch: 114%; line-height: 1.01; letter-spacing: -0.022em;
  color: #fff;
}
.lead { max-width: 56ch; margin-top: 26px; font-size: 1.14rem; color: var(--silver-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Inner-page hero (About) */
.page-hero .container { padding-block: clamp(64px, 9vw, 120px); }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { max-width: 62ch; }

/* Drawing sheet */
.sheet {
  position: relative; padding: 14px 14px 0;
  background: var(--sheet);
  border: 1px solid rgba(195, 202, 212, .3);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 6px rgba(10, 28, 51, .5);
}
.sheet-svg { width: 100%; height: auto; }
.sheet-svg text { font-family: var(--font-mono); }

.eq { fill: none; stroke: #c9d0da; stroke-width: 1.5; stroke-linejoin: round; }
.eq-thin { stroke-width: .9; opacity: .6; }
.eq-solid { fill: var(--sheet); }
.pipe-outer { fill: none; stroke: #c9d0da; stroke-width: 11; }
.pipe-inner { fill: none; stroke: var(--sheet); stroke-width: 8; }

.note path { fill: none; stroke: var(--blue-300); stroke-width: 1; }
.note text { fill: var(--blue-300); font-size: 10px; font-weight: 500; letter-spacing: .1em; }

.tag path { fill: none; stroke: var(--blue-400); stroke-width: 1; }
.tag rect { fill: rgba(43, 125, 233, .18); stroke: var(--blue-400); stroke-width: 1; }
.tag text { fill: #dbe9ff; font-size: 11px; font-weight: 500; letter-spacing: .08em; }

.readout rect { fill: rgba(6, 17, 31, .88); stroke: rgba(138, 184, 245, .6); stroke-width: 1; }
.readout-leader { fill: none; stroke: var(--blue-400); stroke-width: 1; stroke-dasharray: 3 3; }
.readout-title { fill: var(--silver-500); font-size: 8.5px; font-weight: 500; letter-spacing: .08em; }
.readout-base { stroke: rgba(195, 202, 212, .3); stroke-width: .8; }
.readout-gate { stroke: var(--silver-300); stroke-width: 1.5; }
.readout-trace { fill: none; stroke: var(--blue-400); stroke-width: 1.4; stroke-linejoin: round; }
.readout-value { fill: #f4f6f9; font-size: 12px; font-weight: 500; }

.cml circle {
  fill: var(--navy-950); stroke: var(--blue-400); stroke-width: 1.6; opacity: 0;
  animation: fade .4s ease forwards var(--d, 0s), cml-pulse 3.6s ease-in-out infinite calc(var(--d, 0s) + .4s);
}

.draw {
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: draw 1.4s cubic-bezier(.6, .1, .2, 1) forwards var(--d, 0s);
}
.fade { opacity: 0; animation: fade .6s ease forwards var(--d, 0s); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes cml-pulse {
  0%, 100% { stroke: var(--blue-400); fill: var(--navy-950); }
  50% { stroke: #dbe9ff; fill: var(--blue-600); }
}

.sheet { container-type: inline-size; }
.sheet-title {
  display: grid; grid-template-columns: 1fr auto auto auto;
  margin: 10px -14px 0;
  border-top: 1px solid rgba(195, 202, 212, .3);
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--silver-400);
}
.sheet-title span { padding: 10px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-title span + span { border-left: 1px solid rgba(195, 202, 212, .3); }
@container (max-width: 560px) {
  .sheet-title { grid-template-columns: 1fr auto; }
  .sheet-title span:nth-child(2), .sheet-title span:nth-child(4) { display: none; }
}
@container (max-width: 430px) {
  .sheet-title { grid-template-columns: 1fr; }
  .sheet-title span:nth-child(3) { display: none; }
}

/* Proof strip */
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(195, 202, 212, .16);
}
.proof li { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 30px; }
.proof li:first-child { padding-left: 0; }
.proof li + li { border-left: 1px solid rgba(195, 202, 212, .16); }
.proof-key {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-300);
}
.proof-val { font-size: .98rem; line-height: 1.4; color: var(--silver-100); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro { margin-top: 18px; max-width: 60ch; font-size: 1.12rem; color: var(--ink-soft); }

.section-dark {
  color: var(--silver-300);
  background:
    radial-gradient(800px 400px at 12% 0%, rgba(43, 125, 233, .14), transparent 60%),
    var(--navy-950);
}
.section-dark h2 { color: #fff; }
.section-dark .section-intro { color: var(--silver-400); }

.section-silver {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #eef1f5, #d5dbe3 55%, #e6eaf0);
  border-block: 1px solid var(--silver-300);
}

/* ---------- API code cards ---------- */
.codes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.code-card {
  position: relative; padding: 34px 30px 32px;
  background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.code-card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px;
  background: var(--metal); border-radius: var(--radius) var(--radius) 0 0;
  transition: background .25s;
}
.code-card:hover { transform: translateY(-4px); border-color: var(--silver-300); box-shadow: 0 28px 50px -30px rgba(13, 27, 42, .45); }
.code-card:hover::before { background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); }

.code-card-head { display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.code-num {
  font-family: var(--font-display); font-stretch: 122%; font-weight: 750;
  font-size: 2.1rem; line-height: 1; letter-spacing: -0.01em; color: var(--navy-900);
}
.code-ico { width: 68px; height: 68px; margin: -8px -6px 0 0; fill: none; stroke: var(--blue-600); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.code-desc { margin-top: 8px; color: var(--ink-soft); font-size: .98rem; }

.ticks { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--silver-200); display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 22px; font-size: .96rem; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 5px;
  border-left: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
  transform: rotate(-45deg);
}

.also { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: baseline; }
.also-label {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--silver-600); white-space: nowrap;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 14px; font-size: .88rem; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--silver-300); border-radius: 2px;
}

/* ---------- NDT methods ---------- */
.methods {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(195, 202, 212, .16); border: 1px solid rgba(195, 202, 212, .16);
}
.methods li {
  display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 30px;
  background: var(--navy-900); transition: background-color .2s;
}
.methods li:hover { background: var(--navy-800); }
.m-abbr {
  align-self: flex-start; margin-bottom: 10px;
  font-family: var(--font-display); font-stretch: 122%; font-weight: 750;
  font-size: 1.9rem; line-height: 1; letter-spacing: .01em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.methods li:hover .m-abbr { background: linear-gradient(135deg, var(--blue-300), var(--blue-500)); -webkit-background-clip: text; background-clip: text; }
.m-name { font-weight: 600; font-size: .98rem; color: #fff; }
.m-desc { font-size: .9rem; line-height: 1.5; color: var(--silver-400); }

.methods-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px;
  margin-top: 28px; font-size: .95rem; color: var(--silver-400);
}
.methods-foot strong { color: var(--silver-100); font-weight: 600; }
.rt-note { display: flex; align-items: center; gap: 10px; }
.rt-badge {
  padding: 2px 7px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em;
  color: var(--silver-400); border: 1px solid var(--silver-600); text-decoration: line-through;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; padding: 30px 32px 0 0; border-top: 1px solid var(--silver-300); }
.steps li::before {
  content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; background: var(--blue-600);
}
.step-num { display: block; margin-bottom: 14px; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .12em; color: var(--blue-600); }
.steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.why-lead p:not(.eyebrow) { margin-top: 20px; color: var(--ink-soft); font-size: 1.1rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.why-list li { padding-top: 18px; border-top: 2px solid var(--navy-900); }
.why-list p { margin-top: 8px; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Industries / engagement ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); }
.split h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin-bottom: 28px; }
@media (min-width: 821px) { .split h2 { min-height: 2.12em; } }

.index-list li {
  display: flex; align-items: baseline; gap: 20px; padding: 17px 0;
  border-bottom: 1px solid var(--silver-200);
  font-family: var(--font-display); font-stretch: 110%; font-weight: 600; font-size: 1.3rem; line-height: 1.2;
}
.index-list li:first-child { border-top: 1px solid var(--silver-200); }
.index-list span { font-family: var(--font-mono); font-weight: 400; font-size: .78rem; letter-spacing: .1em; color: var(--blue-600); }

.engage { display: grid; gap: 26px; }
.engage li { padding-left: 20px; border-left: 2px solid var(--silver-300); transition: border-color .2s; }
.engage li:hover { border-left-color: var(--blue-600); }
.engage h3 { font-size: 1.1rem; }
.engage h3 a { text-decoration: none; }
.engage h3 a:hover { color: var(--blue-600); }
.section-silver .index-list li { border-color: var(--silver-400); }
.section-silver .engage li { border-left-color: var(--silver-500); }
.section-silver .engage li:hover { border-left-color: var(--blue-600); }
.engage p { margin-top: 6px; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Inspector band ---------- */
.band {
  padding-block: clamp(56px, 7vw, 88px); color: #e7f0ff;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 56px),
    linear-gradient(120deg, var(--blue-700), var(--blue-600) 55%, var(--blue-500));
}
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.band p:not(.eyebrow) { margin-top: 14px; max-width: 62ch; }
.band .eyebrow { color: #cfe2ff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 1.1rem; color: var(--silver-300); }
.contact-list { margin-top: 36px; border-top: 1px solid rgba(195, 202, 212, .16); }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(195, 202, 212, .16); }
.contact-list dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); padding-top: 4px; }
.contact-list dd { color: var(--silver-100); }
.contact-list a { text-decoration-color: var(--blue-400); text-underline-offset: 4px; }
.contact-list a:hover { color: #fff; }

.form {
  display: grid; gap: 18px; padding: clamp(24px, 3.2vw, 40px);
  color: var(--ink); background: var(--silver-50);
  border-top: 4px solid transparent; border-image: var(--metal) 1;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.role { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role legend, .field label {
  display: block; margin-bottom: 7px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft);
}
.role-opt { position: relative; cursor: pointer; }
.role-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-opt span {
  display: block; padding: 12px 14px; font-size: .92rem; font-weight: 500; text-align: center;
  background: #fff; border: 1px solid var(--silver-300); border-radius: 2px;
  transition: background-color .15s, border-color .15s, color .15s;
}
.role-opt input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.role-opt input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: .98rem; color: var(--ink);
  background: #fff; border: 1px solid var(--silver-300); border-radius: 2px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(43, 125, 233, .2);
}
.field .is-invalid { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field ::placeholder { color: var(--silver-500); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { flex: 1 1 240px; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.form-status.is-error { color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; color: var(--silver-500); background: #040c17; border-top: 1px solid rgba(195, 202, 212, .12); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-sub { margin-top: 5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a { font-size: .9rem; text-decoration: none; color: var(--silver-300); }
.footer-nav a:hover { color: #fff; }
.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(195, 202, 212, .12); display: grid; gap: 8px; font-size: .8rem; line-height: 1.55; }
.footer-legal p { max-width: 96ch; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.codes .reveal:nth-child(2), .steps .reveal:nth-child(2), .why-list .reveal:nth-child(2) { transition-delay: .08s; }
.codes .reveal:nth-child(3), .steps .reveal:nth-child(3), .why-list .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4), .why-list .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (min-width: 1021px) and (max-width: 1240px) {
  .site-header .brand-sub { display: none; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--navy-950); border-bottom: 1px solid rgba(195, 202, 212, .16);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid rgba(195, 202, 212, .1); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; }

  .hero-grid { grid-template-columns: 1fr; }
  .codes { grid-template-columns: 1fr; }
  .methods { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof li:nth-child(n + 3) { border-top: 1px solid rgba(195, 202, 212, .16); }
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .also { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-sub { display: none; }
  .methods { grid-template-columns: 1fr 1fr; }
  .methods li { padding: 22px 18px 24px; }
  .steps, .why-list, .field-row, .role { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .proof li { padding: 18px 0; }
  .proof li + li { border-left: 0; border-top: 1px solid rgba(195, 202, 212, .16); }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer-brand .brand-sub { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw { animation: none; stroke-dashoffset: 0; }
  .fade, .cml circle { animation: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn span, .code-card { transition: none; }
}
