:root {
  --ink: #10151d;
  --ink-soft: #19212c;
  --paper: #f3f5f4;
  --white: #ffffff;
  --orange: #f26b38;
  --orange-dark: #be4419;
  --mint: #62d9c8;
  --mint-dark: #11796d;
  --steel: #9ba8b5;
  --line: #ccd2d4;
  --muted: #52606d;
  --danger: #9b2c20;
  --shadow: 0 24px 70px rgb(4 10 16 / 22%);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--mint);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

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

.site-header {
  min-height: 5rem;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand > span > span {
  color: var(--orange);
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  fill: var(--orange);
}

.brand-mark .brand-spark {
  fill: var(--mint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--mint);
}

.nav-cta {
  padding: 0.65rem 0.95rem;
  color: var(--ink);
  background: var(--orange);
  border: 1px solid var(--orange);
}

.nav-cta:hover {
  background: #ff8457;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgb(98 217 200 / 7%) 1px, transparent 1px) 0 0 / 4rem 4rem,
    linear-gradient(rgb(98 217 200 / 7%) 1px, transparent 1px) 0 0 / 4rem 4rem,
    var(--ink);
}

.hero::before {
  content: "ORIGIN / RELEASE / VERIFY / HANDOFF";
  position: absolute;
  right: -3rem;
  bottom: 1.5rem;
  color: rgb(255 255 255 / 3%);
  font-family: var(--mono);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(92vw, 1240px);
  min-height: 42rem;
  margin: 0 auto;
  padding: 5.5rem 0 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 2.1rem;
  height: 1.6rem;
  place-items: center;
  border: 1px solid currentColor;
}

.eyebrow.dark {
  color: var(--orange-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  font-weight: 860;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lede {
  max-width: 42rem;
  margin: 0;
  color: #c8d0d8;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.offer-strip {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 4%);
}

.offer-strip > div {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.offer-strip > div + div {
  border-left: 1px solid rgb(255 255 255 / 16%);
}

.offer-strip strong {
  color: var(--white);
  font-family: var(--mono);
  font-size: 1.35rem;
}

.offer-strip span {
  color: var(--steel);
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.button {
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

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

.button-primary,
.button-accent {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}

.button-primary:hover,
.button-accent:hover {
  background: #ff8457;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: #26313e;
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  background: var(--mint);
  border-color: var(--mint);
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.text-link {
  color: var(--mint);
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

.light-link {
  color: var(--white);
}

.boundary-list {
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.76rem;
  list-style: none;
}

.boundary-list li::before {
  content: "+ ";
  color: var(--mint);
}

.checker-shell {
  box-shadow: var(--shadow);
  transform: rotate(0.5deg);
}

.checker-cap {
  padding: 0.6rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  background: var(--mint);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.checker-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #2c3743;
  transform: rotate(-0.5deg);
}

.panel-label {
  margin: 0 0 1rem;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checker-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.checker-card > p:not(.panel-label):not(.microcopy) {
  color: var(--muted);
}

.checker-card form {
  margin-top: 1.5rem;
}

.checker-card label,
.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.inline-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  border: 2px solid var(--ink);
}

.prompt {
  padding: 0 0.8rem;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: #e9efed;
  font-family: var(--mono);
  font-weight: 900;
}

.inline-form input {
  min-width: 0;
  padding: 0.8rem 0.25rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: #e9efed;
  font-family: var(--mono);
  font-size: 0.92rem;
}

.inline-form .button {
  min-height: 3.35rem;
  border: 0;
}

.check-option {
  margin-top: 0.9rem;
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

.check-option input,
.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--orange-dark);
}

.microcopy {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.6rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--mint-dark);
}

.check-result {
  margin-top: 0.5rem;
  padding: 1rem;
  border-left: 5px solid var(--steel);
  background: #eef1f2;
}

.check-result.present {
  border-color: var(--mint-dark);
  background: #e6f7f3;
}

.check-result.opportunity {
  border-color: var(--orange);
  background: #fff1ea;
}

.check-result h3 {
  margin: 0.2rem 0 0.5rem;
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.check-result p {
  margin: 0.4rem 0;
  color: #34414d;
  font-size: 0.84rem;
}

.check-result .result-badge {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.result-meta,
.result-boundary {
  font-size: 0.76rem !important;
}

.result-boundary {
  padding-top: 0.5rem;
  border-top: 1px solid rgb(16 21 29 / 14%);
}

.result-links {
  margin: 0.7rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.result-links a,
.result-action {
  color: #075e55;
  font-size: 0.78rem;
  font-weight: 800;
}

.result-action {
  display: inline-block;
  margin-top: 0.4rem;
}

.signal-bar {
  min-height: 4.25rem;
  padding: 0.8rem 4vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  color: var(--ink);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.signal-bar p {
  margin: 0;
}

.signal-bar a {
  font-weight: 900;
  text-underline-offset: 0.2rem;
}

.signal-light {
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.45rem;
  display: inline-block;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgb(16 21 29 / 15%);
  border-radius: 50%;
}

.section {
  width: min(92vw, 1180px);
  margin: 0 auto;
  padding: 6.5rem 0;
}

.section-heading {
  margin-bottom: 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  align-items: end;
  gap: 3rem;
}

.section-heading.compact {
  display: block;
}

.section-heading h2,
.sample-band h2,
.process h2,
.boundary-section h2,
.inquiry-section h2,
.subpage-hero h1,
.legal-heading h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 850;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.handoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.handoff-card {
  min-height: 16rem;
  padding: 1.7rem;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.handoff-card.key-card {
  color: var(--white);
  background: var(--ink-soft);
}

.card-code {
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.key-card .card-code {
  color: var(--mint);
}

.handoff-card h3 {
  margin: 3rem 0 0.8rem;
  font-size: 1.45rem;
}

.handoff-card p {
  margin: 0;
  color: var(--muted);
}

.key-card p {
  color: #c7d0d9;
}

.scope-lock {
  padding: 1.1rem 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  color: var(--white);
  background: var(--ink);
}

.scope-lock > span {
  padding: 0.2rem 0.4rem;
  color: var(--ink);
  background: var(--orange);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
}

.scope-lock p {
  margin: 0;
  color: #c5ced6;
  font-size: 0.9rem;
}

.scope-lock strong {
  color: var(--white);
}

.sample-band {
  padding: 6rem max(4vw, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  color: var(--white);
  background: var(--ink-soft);
}

.sample-band > div > p:not(.eyebrow) {
  max-width: 38rem;
  color: #bdc8d1;
}

.terminal-diagram {
  border: 1px solid #4b5968;
  background: #0c1117;
  box-shadow: var(--shadow);
}

.terminal-head {
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid #303b47;
}

.terminal-head span {
  width: 0.6rem;
  height: 0.6rem;
  background: #495765;
  border-radius: 50%;
}

.terminal-head span:first-child {
  background: var(--orange);
}

.terminal-head em {
  margin-left: 0.5rem;
  color: #8997a5;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: normal;
}

.terminal-diagram ol {
  margin: 0;
  padding: 1rem;
  list-style: none;
}

.terminal-diagram li {
  padding: 0.9rem 0.75rem;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px dashed #2f3944;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.terminal-diagram li:last-child {
  border-bottom: 0;
}

.terminal-diagram li > span {
  color: #617180;
}

.terminal-diagram li > b {
  color: var(--mint);
  font-size: 0.7rem;
}

.terminal-diagram li > b.stop {
  color: var(--orange);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.fit-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.fit-card h3 {
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
}

.fit-card h3 span {
  margin-right: 0.45rem;
  color: var(--mint-dark);
  font-family: var(--mono);
}

.fit-no h3 span {
  color: var(--orange-dark);
}

.fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-card li {
  padding: 0.65rem 0 0.65rem 1.35rem;
  border-top: 1px solid #e0e4e5;
  position: relative;
}

.fit-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--orange-dark);
  font-family: var(--mono);
}

.fit-note {
  max-width: 54rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.process {
  padding: 6.5rem max(4vw, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
  color: var(--white);
  background: var(--ink);
}

.process-copy > p:not(.eyebrow) {
  color: #b9c4ce;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  border-top: 1px solid #34404c;
}

.process-list > li > span {
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 900;
}

.process-list strong {
  font-size: 1.05rem;
}

.process-list p {
  margin: 0.25rem 0 0;
  color: #aebac5;
}

.boundary-section {
  padding: 6rem max(4vw, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  background: var(--mint);
}

.boundary-copy {
  padding-left: 2rem;
  border-left: 2px solid rgb(16 21 29 / 35%);
}

.boundary-copy p {
  margin-top: 0;
  font-size: 1.05rem;
}

.boundary-copy p:last-child {
  margin-bottom: 0;
  font-weight: 850;
}

.inquiry-section {
  width: min(92vw, 1180px);
  margin: 0 auto;
  padding: 7rem 0;
  display: grid;
  grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.inquiry-intro > p:not(.eyebrow):not(.private-warning) {
  color: var(--muted);
}

.price-stamp {
  width: 12rem;
  margin: 2rem 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--ink);
  border-left: 6px solid var(--orange);
}

.price-stamp span,
.price-stamp small {
  color: #b7c2cd;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.price-stamp strong {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 2.4rem;
  line-height: 1.1;
}

.private-warning {
  padding: 1rem;
  color: #5b321f;
  background: #ffeadf;
  border-left: 4px solid var(--orange);
  font-size: 0.84rem;
}

.inquiry-form {
  padding: clamp(1.5rem, 4vw, 2.8rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 var(--ink);
}

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

.field {
  margin-bottom: 1rem;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid #929da5;
  border-radius: 0;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(50% - 0.1rem),
    calc(100% - 0.8rem) calc(50% - 0.1rem);
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 2px rgb(98 217 200 / 25%);
  outline: 0;
}

.trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.consent {
  margin: 0.5rem 0 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
}

.consent a {
  color: var(--mint-dark);
  font-weight: 800;
}

.submit-button {
  width: 100%;
}

.site-footer {
  padding: 3rem 4vw 1.5rem;
  color: #bbc5ce;
  background: #0b0f14;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-top {
  padding-bottom: 2rem;
  border-bottom: 1px solid #2a333d;
}

.footer-top p {
  max-width: 35rem;
  margin: 0;
  text-align: right;
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.outcome-note {
  margin: 1.5rem 0 0;
  color: #7f8d9a;
  font-size: 0.72rem;
}

/* Subpages */
.subpage {
  background: #eef1f1;
}

.subpage-header {
  position: relative;
}

.subpage-hero {
  padding: 5rem max(4vw, calc((100vw - 1120px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 0 71%, rgb(242 107 56 / 18%) 71% 72%, transparent 72%),
    var(--ink);
}

.subpage-hero p:not(.eyebrow) {
  max-width: 46rem;
  color: #bdc7d0;
  font-size: 1.08rem;
}

.sample-layout,
.templates-layout,
.legal-layout {
  width: min(92vw, 1120px);
  margin: 0 auto;
  padding: 4rem 0 6rem;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 4rem;
}

.document-index {
  position: sticky;
  top: 1rem;
  align-self: start;
  padding: 1.25rem;
  background: var(--white);
  border-top: 5px solid var(--orange);
}

.document-index > p {
  margin: 0 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.document-index ol {
  margin: 0;
  padding-left: 1.3rem;
}

.document-index a {
  text-underline-offset: 0.2rem;
}

.document-body {
  min-width: 0;
}

.document-section,
.template-card,
.legal-copy {
  margin-bottom: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
}

.document-section h2,
.template-card h2,
.legal-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.doc-label,
.template-label {
  margin-bottom: 1rem;
  color: var(--orange-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-section pre {
  max-width: 100%;
  padding: 1.25rem;
  overflow-x: auto;
  color: #d7e1e9;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
}

.evidence-table,
.validation-table {
  border: 1px solid var(--line);
}

.evidence-row,
.validation-row {
  padding: 0.8rem 1rem;
  display: grid;
  grid-template-columns: minmax(10rem, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.evidence-row:last-child,
.validation-row:last-child {
  border-bottom: 0;
}

.evidence-row strong,
.validation-row strong {
  font-family: var(--mono);
  font-size: 0.8rem;
}

.evidence-row span,
.validation-row span {
  color: var(--muted);
}

.doc-note,
.template-note {
  padding: 0.85rem 1rem;
  color: var(--muted);
  background: #edf2f1;
  border-left: 4px solid var(--mint-dark);
  font-size: 0.84rem;
}

.owner-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.owner-steps li {
  padding: 0.8rem 0;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
}

.owner-steps span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 900;
}

.owner-steps p {
  margin: 0;
}

.template-card {
  position: relative;
}

.template-meta {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.template-meta span {
  padding: 0.2rem 0.5rem;
  color: #27423f;
  background: #dff3ef;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.download-link {
  color: var(--mint-dark);
  font-weight: 850;
  text-underline-offset: 0.2rem;
}

.legal-layout {
  grid-template-columns: minmax(15rem, 0.45fr) minmax(0, 1.55fr);
}

.legal-heading {
  align-self: start;
}

.legal-heading .eyebrow {
  color: var(--orange-dark);
}

.legal-heading h1 {
  color: var(--ink);
}

.legal-heading > p:last-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.legal-copy section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  font-size: 1.45rem;
}

.legal-copy p,
.legal-copy li {
  color: #384651;
}

.compact-footer {
  padding-top: 1.5rem;
}

@media (max-width: 940px) {
  .hero-grid,
  .sample-band,
  .process,
  .boundary-section,
  .inquiry-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 4rem;
  }

  h1 {
    max-width: 14ch;
  }

  .checker-shell {
    width: min(100%, 42rem);
    transform: none;
  }

  .checker-card {
    transform: none;
  }

  .signal-bar {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

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

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

  .sample-layout,
  .templates-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .document-index {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 1rem 4vw;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-grid {
    min-height: 0;
    padding: 3.5rem 0 4rem;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .offer-strip,
  .form-row,
  .fit-grid,
  .handoff-grid {
    grid-template-columns: 1fr;
  }

  .offer-strip > div + div {
    border-top: 1px solid rgb(255 255 255 / 16%);
    border-left: 0;
  }

  .inline-form {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .inline-form .button {
    grid-column: 1 / -1;
  }

  .scope-lock {
    grid-template-columns: 1fr;
  }

  .section,
  .inquiry-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .sample-band,
  .process,
  .boundary-section,
  .subpage-hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .terminal-diagram li {
    grid-template-columns: 2rem 1fr;
  }

  .terminal-diagram li > b {
    grid-column: 2;
  }

  .boundary-copy {
    padding-left: 0;
    padding-top: 1.5rem;
    border-top: 2px solid rgb(16 21 29 / 35%);
    border-left: 0;
  }

  .inquiry-form {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top p {
    text-align: left;
  }

  .evidence-row,
  .validation-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

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