/* Cyphra — industrial control-room marketing system. No remote fonts, imagery, or trackers. */
:root {
  --void: #050b12;
  --void-2: #081421;
  --ink: #101722;
  --steel: #4f5d6d;
  --steel-light: #93a1af;
  --paper: #f4f1e9;
  --paper-2: #e9e6de;
  --white: #fffef9;
  --line: #c8c5bc;
  --line-dark: rgba(221, 232, 240, .18);
  --signal: #ff6933;
  --signal-dark: #d94512;
  --ice: #98e9ff;
  --success: #1a7f4d;
  --error: #b42318;
  --shell: 1320px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: "Arial", "Helvetica Neue", Helvetica, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.75rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--void); background: var(--signal); }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-weight: 400;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(3.4rem, 7vw, 7.35rem); line-height: .92; }
h2 { font-size: clamp(2.75rem, 5.5vw, 5.75rem); line-height: .94; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.08; letter-spacing: -.025em; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--signal-dark); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(6rem, 10vw, 10rem); }
.eyebrow, .panel-label, .footer-label {
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow { color: #39516a; }
.eyebrow.light { color: #9ab2c8; }
.large-copy { max-width: 42rem; color: var(--steel); font-size: clamp(1.15rem, 1.65vw, 1.42rem); line-height: 1.55; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .8rem 1rem;
  color: var(--void);
  background: var(--signal);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }

/* Navigation */
.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  color: var(--white);
  background: rgba(5, 11, 18, .94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}
.nav-shell { width: min(100%, 1440px); min-height: 4.5rem; margin: auto; display: flex; align-items: stretch; }
.brand {
  min-height: 4.5rem;
  padding-inline: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: inherit;
  text-decoration: none;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.025em;
}
.brand:hover { color: inherit; }
.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  color: var(--void);
  background: var(--signal);
  border: 1px solid var(--signal);
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: -.08em;
}
.site-nav { display: flex; margin-left: auto; }
.site-nav a {
  min-height: 4.5rem;
  padding: 0 1.15rem;
  display: flex;
  align-items: center;
  color: #c3cfda;
  border-left: 1px solid transparent;
  text-decoration: none;
  font-size: .9rem;
}
.site-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .035); }
.site-nav .nav-cta {
  min-width: 205px;
  justify-content: space-between;
  color: var(--void);
  background: var(--signal);
  border-left-color: var(--signal);
  font-weight: 700;
}
.site-nav .nav-cta:hover { color: var(--void); background: #ff8053; }
.menu-button { display: none; margin-left: auto; min-width: 4.5rem; min-height: 4.5rem; color: var(--white); background: transparent; border: 0; }
.menu-icon, .menu-icon::before, .menu-icon::after { width: 22px; height: 1px; display: block; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(152, 233, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152, 233, 255, .045) 1px, transparent 1px),
    radial-gradient(circle at 71% 18%, rgba(21, 77, 101, .32), transparent 33%),
    var(--void);
  background-size: 64px 64px, 64px 64px, auto, auto;
}
.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, var(--void) 0, transparent 32%, transparent 74%, var(--void) 100%);
}
.hero-grid {
  position: relative;
  min-height: calc(100svh - 4.5rem);
  padding-block: clamp(5rem, 9vw, 9rem);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, .78fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.status-dot { width: .48rem; height: .48rem; display: inline-block; margin-right: .55rem; background: var(--signal); box-shadow: 0 0 0 5px rgba(255, 105, 51, .12); border-radius: 50%; }
.hero h1 { max-width: 900px; margin-bottom: 2rem; }
.hero-lede { max-width: 690px; margin-bottom: 2.15rem; color: #bac8d5; font-size: clamp(1.14rem, 1.7vw, 1.42rem); line-height: 1.5; }
.hero-actions { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.button {
  min-height: 3.65rem;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.button.primary { color: var(--void); background: var(--signal); }
.button.primary:hover { color: var(--void); background: #ff8053; }
.button:disabled { cursor: not-allowed; opacity: .58; }
.text-link { display: inline-flex; gap: .65rem; align-items: center; font-weight: 700; text-decoration-thickness: 1px; }
.light-link { color: #d7e2eb; }
.light-link:hover { color: var(--signal); }
.hero-note { margin: 2.1rem 0 0; color: #7e92a5; font-family: var(--mono); font-size: .73rem; letter-spacing: .02em; }

/* Operational hero artifact */
.control-plane {
  position: relative;
  z-index: 2;
  margin: 0;
  border: 1px solid rgba(152, 233, 255, .22);
  background: rgba(4, 14, 24, .88);
  box-shadow: 0 35px 85px rgba(0, 0, 0, .38);
}
.control-plane::before { position: absolute; top: -1px; left: 0; width: 22%; height: 3px; content: ""; background: var(--signal); }
.control-plane figcaption { padding: 1.2rem 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line-dark); }
.control-plane figcaption span, .plane-status, .node-index, .plane-footer { font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.control-plane figcaption span { color: #7991a4; }
.control-plane figcaption strong { font-size: .82rem; letter-spacing: .02em; }
.plane-status { padding: .72rem 1.35rem; display: flex; justify-content: space-between; color: #71889a; background: rgba(152, 233, 255, .025); border-bottom: 1px solid var(--line-dark); }
.plane-status span:first-child { color: #a9bac8; }
.plane-status i { width: .42rem; height: .42rem; display: inline-block; margin-right: .4rem; background: #36c584; border-radius: 50%; box-shadow: 0 0 10px rgba(54, 197, 132, .7); }
.workflow-route { position: relative; padding: 1.2rem 1.35rem 1.3rem 3.35rem; display: grid; gap: .7rem; }
.route-line { position: absolute; top: 2.65rem; bottom: 2.7rem; left: 2.05rem; width: 1px; overflow: hidden; background: rgba(152, 233, 255, .25); }
.route-line::before { position: absolute; top: 0; left: -3px; width: 7px; height: 7px; content: ""; background: var(--signal); border-radius: 50%; }
.route-signal { position: absolute; top: 0; left: -1px; width: 3px; height: 30%; background: linear-gradient(transparent, var(--ice), transparent); animation: route-scan 4.5s ease-in-out infinite; }
.route-node {
  position: relative;
  min-height: 5.35rem;
  padding: .82rem 5.75rem .82rem 1rem;
  display: grid;
  align-content: center;
  border: 1px solid rgba(152, 233, 255, .12);
  background: rgba(255, 255, 255, .025);
}
.route-node::before { position: absolute; top: 50%; left: -1.55rem; width: .58rem; height: .58rem; content: ""; background: var(--void-2); border: 1px solid #6d8799; transform: translateY(-50%) rotate(45deg); }
.route-node strong { margin: .2rem 0 .08rem; font-size: .93rem; }
.route-node small { color: #7f94a5; font-size: .74rem; }
.node-index { color: #698194; }
.node-state { position: absolute; top: 50%; right: .9rem; padding: .25rem .45rem; color: #8da4b6; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); font-family: var(--mono); font-size: .56rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transform: translateY(-50%); }
.route-node.is-exception { border-color: rgba(255, 105, 51, .55); background: rgba(255, 105, 51, .07); }
.route-node.is-exception::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 15px rgba(255, 105, 51, .65); }
.route-node.is-exception .node-state { color: #ffb89d; border-color: rgba(255, 105, 51, .35); }
.route-node.is-human { background: rgba(152, 233, 255, .055); }
.route-node.is-human .node-state { color: var(--ice); }
.route-node.is-target::before { background: #35ba7e; border-color: #35ba7e; }
.plane-footer { padding: .75rem 1.35rem; display: flex; justify-content: space-between; color: #657c8d; border-top: 1px solid var(--line-dark); }
@keyframes route-scan { 0% { transform: translateY(-50%); opacity: 0; } 12% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translateY(340%); opacity: 0; } }

.signal-band { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); background: rgba(8, 20, 33, .96); }
.signal-grid { margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.signal-grid li { min-height: 5.6rem; margin: 0; padding: 1rem 1.2rem; display: flex; align-items: center; gap: .8rem; color: #b6c4d0; border-left: 1px solid var(--line-dark); font-size: .82rem; }
.signal-grid li:last-child { border-right: 1px solid var(--line-dark); }
.signal-grid span { color: var(--signal); font-family: var(--mono); font-size: .63rem; }

/* Problem / handoff map */
.friction-section { background: var(--paper); }
.editorial-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(4rem, 9vw, 9rem); align-items: start; }
.section-intro h2 { max-width: 700px; margin-bottom: 2rem; }
.handoff-map { margin: 0; border-top: 1px solid var(--ink); }
.handoff-map figcaption { padding-block: 1rem; display: flex; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; }
.handoff-map figcaption span { color: var(--steel); }
.map-stage { min-height: 610px; padding-block: 2rem; display: grid; grid-template-columns: 1fr 1.18fr 1fr; grid-template-rows: repeat(3, 1fr); gap: .8rem; }
.system-node, .manual-zone, .cyphra-zone { position: relative; padding: 1.1rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .3); }
.system-node span, .manual-zone span, .cyphra-zone span { color: var(--steel); font-family: var(--mono); font-size: .61rem; letter-spacing: .06em; }
.system-node strong, .manual-zone strong, .cyphra-zone strong { margin: .45rem 0 .1rem; font-size: 1rem; }
.system-node small, .manual-zone small, .cyphra-zone small { color: var(--steel); }
.system-email { grid-column: 1; grid-row: 1; }
.system-pdf { grid-column: 1; grid-row: 2; }
.system-portal { grid-column: 1; grid-row: 3; }
.manual-zone { grid-column: 2; grid-row: 1 / 3; color: var(--white); background: var(--void-2); border-color: var(--void-2); }
.manual-zone span, .manual-zone small { color: #8fa4b6; }
.manual-zone strong { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -.035em; }
.manual-zone::before { position: absolute; top: 1rem; right: 1rem; content: "×"; color: var(--signal); font-family: var(--mono); }
.cyphra-zone { grid-column: 2; grid-row: 3; color: var(--void); background: var(--signal); border-color: var(--signal); }
.cyphra-zone span, .cyphra-zone small { color: #4f1a08; }
.system-tms { grid-column: 3; grid-row: 1 / 4; background: var(--white); }
.system-tms::before { position: absolute; top: 50%; left: -.82rem; width: .82rem; height: 1px; content: ""; background: var(--ink); }
.map-note { margin: 0; padding-top: 1rem; color: var(--steel); border-top: 1px solid var(--line); font-size: .78rem; }

/* Workflows */
.workflow-section { color: var(--white); background: var(--void-2); }
.workflow-section::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(90deg, rgba(152, 233, 255, .035) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.workflow-layout { position: relative; display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(4rem, 9vw, 9rem); }
.sticky-intro { position: sticky; top: 8rem; align-self: start; }
.sticky-intro h2 { max-width: 580px; margin-bottom: 1.7rem; }
.sticky-intro > p:not(.eyebrow) { max-width: 430px; margin-bottom: 2rem; color: #91a3b4; font-size: 1.1rem; }
.workflow-index { border-top: 1px solid var(--line-dark); }
.workflow-index article { min-height: 12rem; padding: 1.6rem 0; display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1.2rem; align-items: start; border-bottom: 1px solid var(--line-dark); transition: padding .25s ease, background .25s ease; }
.workflow-index article:hover { padding-inline: 1rem; background: rgba(255, 255, 255, .035); }
.workflow-number, .workflow-type, .workflow-signal { font-family: var(--mono); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.workflow-number { color: var(--signal); }
.workflow-type { margin-bottom: .8rem; color: #70889b; }
.workflow-index h3 { margin-bottom: .7rem; }
.workflow-index article div > p:last-child { max-width: 680px; margin: 0; color: #9dafbd; }
.workflow-signal { padding: .35rem .5rem; color: #95aaba; border: 1px solid var(--line-dark); white-space: nowrap; }

/* Services */
.services-section { background: var(--white); }
.section-heading { display: grid; grid-template-columns: .34fr 1fr .55fr; gap: 2rem; align-items: end; margin-bottom: 4.5rem; }
.section-heading > p:last-child { max-width: 420px; margin: 0 0 .45rem; color: var(--steel); font-size: 1.08rem; }
.service-track { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service-track article { min-height: 570px; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.service-track article:last-child { border-right: 0; }
.service-track .service-primary { color: var(--white); background: var(--void-2); }
.service-top { margin-bottom: 4rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--steel); font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; }
.service-primary .service-top { color: #8fa5b7; }
.service-top b { color: inherit; font-weight: 500; }
.service-track h3 { min-height: 5.5rem; margin-bottom: 1.5rem; }
.service-track article > p { color: var(--steel); }
.service-primary > p { color: #a8b8c5; }
.service-track ul { margin: auto 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-primary ul { border-color: var(--line-dark); }
.service-track li { position: relative; padding: .42rem 0 .42rem 1.2rem; }
.service-track li::before { position: absolute; left: 0; content: "—"; color: var(--signal); }
.commercial-note { margin-top: 1rem; padding: 1.1rem 1.3rem; display: grid; grid-template-columns: .45fr 1fr; gap: 2rem; background: var(--paper-2); border-left: 3px solid var(--signal); }
.commercial-note span { color: var(--steel); }

/* Operating model */
.approach-section { overflow: hidden; color: var(--white); background: var(--void); }
.approach-section::after { position: absolute; top: -20%; right: -8%; width: 42rem; height: 42rem; pointer-events: none; content: ""; border: 1px solid rgba(152, 233, 255, .12); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(152, 233, 255, .018), 0 0 0 14rem rgba(152, 233, 255, .012); }
.approach-heading { position: relative; z-index: 2; display: grid; grid-template-columns: .35fr 1fr; gap: 2rem; margin-bottom: 5rem; }
.approach-heading h2 { max-width: 950px; }
.operating-steps { position: relative; z-index: 2; margin: 0 auto; padding: 0; border-top: 1px solid var(--line-dark); list-style: none; }
.operating-steps li { min-height: 10.5rem; display: grid; grid-template-columns: .35fr 1fr; border-bottom: 1px solid var(--line-dark); }
.step-number { padding-top: 1.5rem; color: var(--signal); font-family: var(--mono); font-size: .72rem; }
.operating-steps li > div { padding: 1.45rem 0 1.6rem; display: grid; grid-template-columns: .2fr 1fr .58fr; gap: 2rem; align-items: start; }
.operating-steps p { color: #8298aa; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; }
.operating-steps h3 { margin: 0; }
.operating-steps div > span { color: #8ea1b2; }

/* Trust */
.trust-section { background: var(--paper-2); }
.trust-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(4rem, 9vw, 9rem); align-items: start; }
.trust-copy { position: sticky; top: 8rem; }
.trust-copy h2 { margin-bottom: 2rem; }
.truth-note { max-width: 610px; margin-top: 3rem; padding-top: 1.3rem; color: var(--steel); border-top: 1px solid var(--ink); }
.truth-note strong { color: var(--ink); }
.authority-board { color: var(--white); background: var(--void-2); border: 1px solid var(--void-2); }
.authority-board table { width: 100%; border-collapse: collapse; }
.authority-board tr { min-height: 7.4rem; padding: 1rem 1.15rem; display: grid; grid-template-columns: 1.2fr .65fr .9fr; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line-dark); }
.authority-board .authority-header { min-height: auto; color: #6f879a; background: rgba(255, 255, 255, .025); font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.authority-board th { color: inherit; text-align: left; }
.authority-board tbody th { font-size: .95rem; }
.authority-board td { color: #97a9b8; font-size: .86rem; }
.authority-board td, .authority-board th { padding: 0; }
.authority-board .allow, .authority-board .assist, .authority-board .deny { width: fit-content; padding: .28rem .45rem; border: 1px solid; font-family: var(--mono); font-size: .61rem !important; letter-spacing: .05em; text-transform: uppercase; }
.authority-board .allow { color: #77e3ad !important; border-color: rgba(119, 227, 173, .4); }
.authority-board .assist { color: var(--ice) !important; border-color: rgba(152, 233, 255, .35); }
.authority-board .deny { color: #ff9a75 !important; border-color: rgba(255, 105, 51, .4); }
.authority-footer { padding: 1rem 1.15rem; display: flex; justify-content: space-between; gap: 1rem; color: #70879a; font-family: var(--mono); font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; }

/* Contact and form */
.contact-section { color: var(--white); background: #0c2038; }
.contact-section::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(90deg, rgba(152, 233, 255, .04) 1px, transparent 1px); background-size: calc(100% / 8) 100%; }
.contact-grid { position: relative; display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; }
.contact-copy { position: sticky; top: 8rem; }
.contact-copy h2 { margin-bottom: 2rem; }
.contact-copy > p:not(.eyebrow, .contact-policy) { max-width: 560px; color: #b8c6d2; font-size: 1.15rem; }
.contact-prompt { max-width: 560px; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .28); }
.contact-prompt span { color: var(--signal); font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; }
.contact-prompt p { margin: .8rem 0 0; color: #d0dae3; }
.contact-policy { margin-top: 2rem; color: #748ca0; font-family: var(--mono); font-size: .67rem; }
.lead-form { padding: clamp(1.4rem, 3vw, 2.5rem); color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.form-head { margin: calc(-1 * clamp(1.4rem, 3vw, 2.5rem)); margin-bottom: 2rem; padding: 1rem clamp(1.4rem, 3vw, 2.5rem); display: flex; justify-content: space-between; gap: 1rem; color: var(--white); background: var(--void); font-family: var(--mono); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.form-head span { color: var(--signal); }
.form-head strong { font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { margin-bottom: .42rem; display: flex; justify-content: space-between; font-size: .76rem; font-weight: 700; }
.optional { color: var(--steel); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: .75rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #6d7680;
  border-radius: 0;
  outline: 0;
}
.field input { min-height: 3rem; }
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--signal-dark); box-shadow: 0 2px 0 var(--signal-dark); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 2px 0 var(--error); }
.field-error { display: block; min-height: 1.1rem; color: var(--error); font-size: .72rem; }
.hint { display: block; margin-top: .38rem; color: #66717d; font-size: .71rem; line-height: 1.45; }
.checkbox-field { position: relative; margin: 1.2rem 0; padding-left: 2rem; }
.checkbox-field input { position: absolute; top: .15rem; left: 0; width: 1.2rem; height: 1.2rem; accent-color: var(--signal-dark); }
.checkbox-field label { font-size: .8rem; }
.checkbox-field .field-error { margin-left: -2rem; }
.turnstile-wrap { min-height: 66px; margin-top: 1rem; }
.form-status { min-height: 1.6rem; margin: .7rem 0; font-size: .82rem; }
.form-status.error { color: var(--error); }
.form-status.success { color: var(--success); }
.submit-button { width: 100%; margin-top: .4rem; border-color: var(--signal); }
.form-footnote { margin: .8rem 0 0; color: #66717d; font-size: .69rem; }
.error-summary { margin-bottom: 1.25rem; padding: 1rem; color: #7a180f; background: #fff1ef; border-left: 3px solid var(--error); }
.error-summary strong { display: block; }
.error-summary a { margin-right: .75rem; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Footer */
.site-footer { padding-top: clamp(4rem, 8vw, 8rem); color: #aab9c6; background: #02070d; }
.footer-lead { padding-bottom: clamp(4rem, 7vw, 7rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.footer-lead p { margin: 0; color: var(--white); font-size: clamp(2.7rem, 6vw, 6rem); line-height: .9; letter-spacing: -.055em; }
.footer-button { color: var(--white); border-color: #415266; }
.footer-button:hover { color: var(--void); background: var(--signal); border-color: var(--signal); }
.footer-grid { padding-block: 2rem 4rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; border-top: 1px solid var(--line-dark); }
.footer-brand { min-height: 0; padding: 0; color: var(--white); }
.footer-grid > div:first-child p { max-width: 340px; margin-top: 1rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.footer-grid a { color: #b5c3cf; }
.footer-grid a:hover { color: var(--signal); }
.footer-label { margin: 0 0 .5rem; color: #6f8395; }
.footer-bottom { padding-block: 1.2rem 2rem; display: flex; justify-content: space-between; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: .65rem; }

/* Legal pages */
.legal-main { background: var(--paper); }
.legal-hero { padding-block: clamp(5rem, 9vw, 9rem); color: var(--white); background: var(--void-2); }
.legal-hero h1 { margin-bottom: 1.5rem; }
.legal-hero > .shell > p:last-child { color: #8fa3b4; font-family: var(--mono); font-size: .75rem; }
.legal-layout { padding-block: clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.legal-layout aside { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.legal-layout aside a { color: var(--steel); }
.legal-copy section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.legal-copy h2 { margin-bottom: 1.2rem; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.03em; }
.legal-copy p { color: var(--steel); font-size: 1.06rem; line-height: 1.7; }
.site-nav.legal-nav { display: flex; }

/* Content is immediately visible; motion is reserved for workflow-state feedback. */
.reveal { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .control-plane { width: min(100%, 720px); }
  .editorial-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-intro, .trust-copy, .contact-copy { position: static; }
  .section-heading { grid-template-columns: .25fr 1fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .service-track article { min-height: 530px; }
}

@media (max-width: 900px) {
  .menu-button { display: flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 4.5rem; left: 0; right: 0; display: none; flex-direction: column; color: var(--white); background: var(--void); border-top: 1px solid var(--line-dark); }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 3.75rem; border-bottom: 1px solid var(--line-dark); }
  .site-nav .nav-cta { min-width: 0; }
  .site-nav.legal-nav { position: static; display: flex; flex-direction: row; border: 0; }
  .site-nav.legal-nav a { border: 0; }
  .hero-grid { min-height: auto; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid li:nth-child(2) { border-right: 1px solid var(--line-dark); }
  .workflow-layout { grid-template-columns: 1fr; }
  .sticky-intro { position: static; }
  .workflow-index article { grid-template-columns: 2.5rem 1fr; }
  .workflow-signal { grid-column: 2; width: fit-content; }
  .service-track { grid-template-columns: 1fr; }
  .service-track article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-track article:last-child { border-bottom: 0; }
  .service-top { margin-bottom: 2.5rem; }
  .service-track h3 { min-height: 0; }
  .service-track ul { margin-top: 2rem; }
  .approach-heading { grid-template-columns: 1fr; }
  .operating-steps li, .operating-steps li > div { grid-template-columns: 4rem 1fr; }
  .operating-steps li > div p { grid-column: 1; }
  .operating-steps li > div h3 { grid-column: 2; }
  .operating-steps li > div > span { grid-column: 2; }
  .commercial-note { grid-template-columns: 1fr; gap: .4rem; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-layout aside { position: static; }
}

@media (max-width: 650px) {
  :root { --gutter: 1rem; }
  html { scroll-padding-top: 4rem; }
  .site-header, .nav-shell, .brand, .menu-button { min-height: 4rem; }
  .site-nav { top: 4rem; }
  .brand { padding-inline: 1rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.65rem); }
  h2 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .hero-grid { padding-block: 4.5rem; gap: 4rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .control-plane { margin-inline: 0; }
  .control-plane figcaption { align-items: flex-start; flex-direction: column; }
  .plane-status span:last-child, .plane-footer span:last-child { display: none; }
  .workflow-route { padding: 1rem 1rem 1rem 2.65rem; }
  .route-line { left: 1.55rem; }
  .route-node { min-height: 6.2rem; padding: .75rem .75rem 2rem; }
  .route-node::before { left: -1.45rem; }
  .node-state { top: auto; right: auto; bottom: .55rem; left: .75rem; transform: none; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid li { min-height: 4.35rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
  .editorial-grid { gap: 3rem; }
  .handoff-map figcaption { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .map-stage { min-height: 780px; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 1fr); }
  .system-email { grid-column: 1; grid-row: 1; }
  .system-pdf { grid-column: 2; grid-row: 1; }
  .system-portal { grid-column: 1 / -1; grid-row: 2; }
  .manual-zone { grid-column: 1 / -1; grid-row: 3; }
  .cyphra-zone { grid-column: 1 / -1; grid-row: 4; }
  .system-tms { grid-column: 1 / -1; grid-row: 5; }
  .system-tms::before { display: none; }
  .workflow-index article { min-height: auto; padding-block: 1.5rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1.5rem; }
  .approach-heading { margin-bottom: 3rem; }
  .operating-steps li { padding-block: 1.4rem; display: grid; grid-template-columns: 2.7rem 1fr; }
  .operating-steps li > div { padding: 0; display: block; }
  .operating-steps li > div p { margin-bottom: .65rem; }
  .operating-steps li > div h3 { margin-bottom: .8rem; }
  .authority-board table, .authority-board tbody { display: block; }
  .authority-board thead { display: none; }
  .authority-board tr { min-height: 9rem; grid-template-columns: 1fr 1fr; }
  .authority-board tbody th { grid-column: 1 / -1; }
  .authority-footer { align-items: flex-start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .lead-form { margin-inline: calc(-1 * var(--gutter)); }
  .form-head { align-items: flex-start; flex-direction: column; }
  .footer-lead { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { gap: .6rem; flex-direction: column; }
  .site-nav.legal-nav .nav-cta { min-width: auto; }
  .site-nav.legal-nav a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.reveal-pending { opacity: 1; transform: none; }
}
