/* Data Licensing LLC — "stone" look.
   Stone ground, deep slate-teal ink, brass details. Newsreader + Instrument Sans (both OFL, self-hosted). */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/instrument-sans.woff2") format("woff2");
}

:root {
  --stone: #e4e2dd;      /* page ground */
  --stone-2: #d9d6cf;    /* toned sections */
  --surface: #f4f3f0;    /* raised panels, fields */
  --white: #fbfbf9;
  --ink: #132228;        /* text */
  --ink2: #34454b;
  --muted: #4c5b61;
  --teal: #1c3a43;       /* buttons, dark panels */
  --teal-2: #27505b;
  --teal-3: #234852;
  --on-teal: #edebe6;
  --on-teal-2: #b9c6c7;
  --brass: #c9a35e;      /* lines, glyphs, accents on dark */
  --brass-ink: #7a5719;  /* brass for text on light */
  --line: #c6c2b9;
  --line2: #d3cfc7;
  --field-line: #8a877f;
  --err: #8f2d1d;
  --err-bg: #f6e6e0;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1160px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--teal);
  color: var(--on-teal);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip:focus { left: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--ink);
}
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal-2); }

/* Kicker: italic serif with a short brass rule, not tracked caps. */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.3;
  color: var(--brass-ink);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.lead { font-size: 20px; line-height: 1.55; color: var(--ink2); max-width: 56ch; }
.muted { color: var(--muted); }
.section-title { font-size: clamp(32px, 3.8vw, 48px); max-width: 20ch; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--on-teal);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--teal-2); border-color: var(--teal-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn .arrow { color: var(--brass); font-size: 18px; line-height: 1; transition: transform .15s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: rgba(28, 58, 67, 0.07); border-color: var(--teal); }
.btn-brass { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #d6b373; border-color: #d6b373; }
.link {
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
  transition: color .15s;
}
.link:hover { color: var(--teal-2); }

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(228, 226, 221, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 rgba(19, 34, 40, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-llc {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-left: 2px;
  vertical-align: 2px;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; gap: 30px; margin-left: auto; margin-right: 12px; }
.nav-links a { color: var(--ink2); font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: 8px; margin-right: -8px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -18px rgba(19, 34, 40, 0.35);
  padding: 8px 20px 24px;
  display: flex;
  flex-direction: column;
}
.menu-panel a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line2);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
}
.menu-panel .btn { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 16px; }
.hero h1 {
  font-size: clamp(42px, 6.2vw, 80px);
  font-weight: 380;
  letter-spacing: -0.028em;
  line-height: 1.02;
  max-width: 23ch;
  text-wrap: balance;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
  grid-template-areas: "copy card" "proof card";
  grid-template-rows: auto 1fr;
  row-gap: 0;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  position: relative;
}
.hero-copy { grid-area: copy; }
.hero-card { grid-area: card; }
.hero-grid > .assurances { grid-area: proof; align-self: start; margin-top: 36px; }
.hero-grid::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 96px;
  height: 2px;
  background: var(--brass);
}
.hero .lead { font-size: 20px; }
.value-line { margin-top: 18px; font-size: 18px; color: var(--ink2); max-width: 52ch; }
.value-line strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.hero-call {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 26px;
  color: var(--ink2);
  font-size: 16px;
}
.phone {
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
}
.phone:hover { color: var(--teal-2); }
.hero-call .phone,
.call-start .phone {
  font-family: var(--serif);
  font-weight: 450;
  letter-spacing: -0.01em;
}
.hero-call .phone { font-size: 24px; }
.hero-note { margin-top: 10px; color: var(--muted); font-size: 15px; }

.hero-card {
  background: var(--teal);
  color: var(--on-teal);
  border-radius: 20px;
  padding: 30px 28px 28px;
  box-shadow: 0 30px 60px -36px rgba(19, 34, 40, 0.55);
}
.hero-card h2 { font-size: 27px; line-height: 1.15; color: var(--on-teal); margin-bottom: 8px; }
.hero-card .muted { color: var(--on-teal-2); font-size: 15px; }
.hero-card .chip {
  background: transparent;
  border-color: rgba(237, 235, 230, 0.45);
  color: var(--on-teal);
}
.hero-card .chip:hover { border-color: rgba(237, 235, 230, 0.7); }
.hero-card .chip:has(input:checked) { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.hero-card .chip:has(input:focus-visible) { outline-color: var(--brass); }
.hero-card .field label { color: var(--on-teal); }
.hero-card .tag-opt { color: var(--on-teal-2); }
.hero-card .field input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(237, 235, 230, 0.45);
  color: var(--on-teal);
}
.hero-card .field input::placeholder { color: rgba(237, 235, 230, 0.6); }
.hero-card .field input:focus { border-color: var(--brass); background: rgba(255, 255, 255, 0.09); }
.hero-card :focus-visible { outline-color: var(--brass); }
.hero-card .custom-systems { margin-top: 14px; }
.hero-card .add-line,
.hero-card .row-remove { color: var(--on-teal); }
.hero-card .add-line:hover,
.hero-card .row-remove:hover { color: #fff; }
.hero-card .custom-row input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(237, 235, 230, 0.45);
  color: var(--on-teal);
}
.hero-card .custom-row input::placeholder { color: rgba(237, 235, 230, 0.6); }
.hero-card .custom-row.field input:focus { border-color: var(--brass); background: rgba(255, 255, 255, 0.09); box-shadow: none; }
.hero-card-go { margin-top: 20px; }
.hero-card-go .btn { width: 100%; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  position: relative;
  appearance: none;
  border: 1px solid var(--field-line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 15px;
  font: 500 14px/1.3 var(--sans);
  cursor: pointer;
  transition: background-color .12s, border-color .12s, color .12s;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"], .chip:has(input:checked) {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--on-teal);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- proof: three assurances, listed under the hero copy ---------- */
.assurances {
  display: grid;
  border-top: 1px solid var(--line);
}
.assurance {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.glyph { width: 36px; height: 36px; fill: none; stroke: var(--brass-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.glyph .fill { fill: var(--teal); stroke: none; }
.assurance .n { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.assurance .l { margin-top: 6px; color: var(--ink2); font-size: 15px; line-height: 1.5; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section[id] { scroll-margin-top: 88px; }
.tone { background: var(--stone-2); }
#data { padding: 24px 0 8px; }

/* Why */
.lede-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}
.prose { display: grid; gap: 16px; color: var(--ink2); font-size: 18px; max-width: 60ch; padding-top: 38px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  position: relative;
}
.card::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 22px;
}
.card h3 { font-size: 23px; }
.card p { margin-top: 10px; color: var(--ink2); font-size: 16px; }

/* Worth */
.worth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.worth-head .lead { margin-top: 20px; font-size: 19px; }
.callout {
  margin-top: 32px;
  padding: 24px 26px;
  background: var(--teal);
  color: var(--on-teal);
  border-radius: var(--radius);
}
.callout h3 { font-size: 21px; color: var(--on-teal); }
.callout p { margin-top: 8px; color: var(--on-teal-2); font-size: 16px; }
.list-intro { color: var(--ink2); font-weight: 500; margin-bottom: 16px; padding-top: 6px; }
.factors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.factor {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
  color: var(--brass-ink);
  background: var(--white);
}
.factor h3 { font-size: 21px; }
.factor p { margin-top: 6px; color: var(--ink2); font-size: 15.5px; }

/* What counts: inset dark panel, not a full-bleed band */
.panel {
  background: var(--teal);
  color: var(--on-teal);
  border-radius: 24px;
  padding: 64px 56px 56px;
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 94, 0.28);
  pointer-events: none;
}
.panel .kicker { color: var(--brass); }
.panel h2 { color: var(--on-teal); }
.panel .lead { color: var(--on-teal-2); font-size: 19px; max-width: 34ch; }
.panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid rgba(237, 235, 230, 0.16);
  position: relative;
  z-index: 1;
}
.catalog > div {
  padding: 24px 24px 26px 0;
  border-bottom: 1px solid rgba(237, 235, 230, 0.12);
}
.catalog > div:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid rgba(237, 235, 230, 0.12); }
.catalog > div:nth-last-child(-n+4) { border-bottom: 0; }
.catalog h3 { font-size: 20px; color: var(--on-teal); }
.catalog p { margin-top: 6px; color: var(--on-teal-2); font-size: 15px; }

/* How it works: horizontal timeline */
.how-head { max-width: 640px; }
.how-head .lead { margin-top: 14px; }
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.tl-step { position: relative; }
.tl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 54px;
  right: -16px;
  height: 1px;
  background: var(--brass);
}
.tl-step .num {
  width: 42px;
  height: 42px;
  font-size: 20px;
  background: var(--stone);
  position: relative;
}
.tl-step:last-child .num { background: var(--teal); border-color: var(--teal); color: var(--brass); }
.tl-step h3 { font-size: 23px; margin-top: 22px; }
.tl-step p { margin-top: 8px; color: var(--ink2); font-size: 16px; max-width: 30ch; }

/* What stays yours */
.stay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.facts { display: grid; gap: 26px; margin-top: 36px; max-width: 52ch; }
.facts > div { position: relative; padding-left: 30px; }
.facts > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  background: var(--stone-2);
}
.facts h3 { font-size: 22px; }
.facts p { margin-top: 6px; color: var(--ink2); font-size: 16px; }
.redact {
  background: var(--white);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 1px 0 rgba(19, 34, 40, 0.06), 0 26px 50px -30px rgba(19, 34, 40, 0.45);
  font-size: 15px;
}
.redact-pane { padding: 20px 20px 18px; border-radius: 12px; }
.redact-after { background: var(--surface); }
.redact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.redact-after .redact-label { color: var(--brass-ink); }
.redact-text { margin-top: 8px; color: var(--ink2); line-height: 1.65; font-size: 16px; }
.redact mark {
  background: var(--teal);
  color: var(--on-teal);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.redact figcaption { color: var(--muted); font-size: 13px; padding: 12px 20px 10px; }

/* FAQ: heading column + accordion */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.faq-head { position: sticky; top: 112px; }
.faq { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border-radius: 12px;
  transition: background-color .15s;
}
.faq-item[open] { background: var(--white); box-shadow: 0 12px 28px -22px rgba(19, 34, 40, 0.45); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--teal), var(--teal)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--teal), var(--teal)) center / 1.5px 10px no-repeat;
  transition: transform .2s var(--ease), background-color .2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--brass);
}
.faq-item summary:hover h3 { color: var(--teal-2); }
.faq-item h3 { font-size: 20px; line-height: 1.3; }
.faq-item p { padding: 0 22px 22px; margin-top: -4px; color: var(--ink2); font-size: 16px; max-width: 62ch; }

/* ---------- intake ---------- */
.intake-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}
.intake-head .lead { margin-top: 16px; }
.call-start {
  max-width: 34ch;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 243, 240, 0.55);
}
.call-start p:first-child { color: var(--ink2); font-weight: 500; }
.call-start .phone {
  display: inline-block;
  margin: 4px 0 6px;
  font-size: 28px;
}
.call-start .muted { font-size: 15px; }
.intake-shell {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 40px 32px;
  box-shadow: 0 1px 0 rgba(19, 34, 40, 0.05), 0 30px 60px -40px rgba(19, 34, 40, 0.5);
}
.step-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
#step-label { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--brass-ink); white-space: nowrap; }
.progress { display: flex; gap: 6px; flex: 1; }
.progress span {
  height: 3px;
  flex: 1;
  background: var(--line2);
  border-radius: 99px;
  transition: background-color .25s;
}
.progress span[data-on="true"] { background: var(--teal); }
.field { margin-bottom: 20px; }
.field label, .field .label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.tag-req { color: var(--brass-ink); }
.tag-opt { color: var(--muted); }
.hint { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; margin-bottom: 4px; }
.plain-note {
  display: block;
  color: var(--ink2);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: 400 16px var(--sans);
  transition: border-color .12s, box-shadow .12s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(28, 58, 67, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #687072; }
.chips input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.field textarea { min-height: 110px; resize: vertical; }
#about { min-height: 72px; }
.step-panel > .kicker { margin-bottom: 16px; }
.kicker.group-break { margin-top: 14px; }
.question-group { padding: 0; }
.question-group .kicker { margin-bottom: 8px; }
.group-hint { margin: 0 0 16px; }
.question-group-whole {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}
.question-group-whole::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--brass);
}
.group-title { font-size: 28px; margin-bottom: 6px; }
.question-group-whole > .hint,
.question-group-whole > .plain-note { margin: 0 0 20px; }
.hero-card .custom-row.field { margin-bottom: 10px; }
.add-line:disabled, .row-remove:disabled { opacity: 0.45; cursor: not-allowed; }
.field.narrow { max-width: 420px; }
.custom-systems { display: grid; margin-top: 14px; }
.custom-systems:empty { display: none; }
.custom-row { margin-bottom: 10px; }
.custom-line { display: flex; gap: 10px; align-items: center; max-width: 560px; }
.custom-row .custom-line input { width: auto; flex: 1; min-width: 0; }
.add-line, .row-remove {
  flex: none;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  background: none;
  color: var(--teal);
  font: 600 16px var(--sans);
  cursor: pointer;
}
.row-remove { color: var(--ink2); padding: 8px 4px; }
.add-line:hover, .row-remove:hover { color: var(--teal-2); }
.add-line:focus-visible, .row-remove:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.system-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 4px;
  margin: 0 0 12px;
  background: var(--surface);
}
.system-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.system-card h3 { margin: 0; font-size: 22px; line-height: 1.25; padding-top: 8px; overflow-wrap: anywhere; }
.system-card .grid-2 { margin-top: 12px; }
.system-card .field { margin-bottom: 14px; }
.system-card .name-field { flex: 1; min-width: 0; margin-bottom: 0; }
.system-card-head .name-field + .row-remove { margin-top: 28px; }
.system-card .span-2 { grid-column: 1 / -1; }
#add-system { margin-top: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4442c; background: #fdf5f2; }
.field.has-error .chip { border-color: #d29a88; }
.field.has-error > label, .field.has-error > .label { color: var(--err); }
.field-error { display: block; margin-top: 6px; color: var(--err); font-size: 14px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.form-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--line2); }
.form-nav #back-btn { margin-right: auto; }
.error {
  color: var(--err);
  background: var(--err-bg);
  border-radius: 10px;
  padding: 11px 14px;
  margin: 0 0 18px;
  font-size: 15px;
}
.submit-error { margin: 18px 0 0; }
.success {
  padding: 36px 40px;
  border-radius: 20px;
  background: var(--white);
  border-top: 3px solid var(--brass);
  box-shadow: 0 30px 60px -40px rgba(19, 34, 40, 0.5);
}
.success h3 { font-size: 30px; }
.success .lead { margin-top: 10px; }
.fine-print { color: var(--muted); font-size: 14px; margin-top: 4px; }
.review dl { display: grid; gap: 10px; }
.review dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.review dd { margin-bottom: 8px; }
#step-label:focus { outline: none; }
#thanks:focus { outline: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- footer ---------- */
footer {
  background: var(--teal);
  color: var(--on-teal-2);
  padding: 36px 0 44px;
  font-size: 15px;
}
footer .phone, footer .link { color: var(--on-teal); border-color: rgba(201, 163, 94, 0.6); }
footer .phone:hover, footer .link:hover { color: #fff; }
footer :focus-visible { outline-color: var(--brass); }
.foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.foot > span:last-child { word-spacing: 3px; }
.foot-brand { font-family: var(--serif); font-size: 17px; color: var(--on-teal); }

/* ---------- legal pages and 404 ---------- */
.page-head { padding: 80px 0 8px; }
.page-head h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.025em; }
.page-head .lead { margin-top: 18px; }
.legal { padding: 40px 0 96px; }
.legal-body {
  max-width: 760px;
  background: var(--white);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 1px 0 rgba(19, 34, 40, 0.05), 0 24px 50px -40px rgba(19, 34, 40, 0.5);
}
.legal-body h2 { font-size: 24px; margin-top: 30px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-top: 10px; color: var(--ink2); }
.not-found { width: 100%; padding-top: 120px; padding-bottom: 160px; }
.not-found h1 { font-size: clamp(40px, 5vw, 60px); max-width: 16ch; letter-spacing: -0.025em; }
.not-found .lead { margin-top: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { gap: 22px; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .catalog > div:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .catalog > div:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(237, 235, 230, 0.12); }
  .catalog > div:nth-last-child(-n+4) { border-bottom: 1px solid rgba(237, 235, 230, 0.12); }
  .catalog > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .nav { height: 64px; }
  .brand { font-size: 19px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-links, .nav > .btn { display: none; }
  .nav > .btn:last-child { display: inline-flex; }
  .menu { display: block; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; padding-top: 28px; }
  .hero .lead { font-size: 18px; }
  .value-line { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta { gap: 16px; }
  .hero-card { padding: 24px 20px 22px; border-radius: 18px; }
  .hero-card h2 { font-size: 24px; }
  .lead { font-size: 18px; }
  .hero-grid { grid-template-areas: "copy" "card" "proof"; grid-template-rows: auto; }
  .hero-grid > .assurances { margin-top: 0; }
  .assurance { grid-template-columns: 32px 1fr; gap: 14px; }
  .glyph { width: 32px; height: 32px; }
  .hero-card .chip { padding: 7px 13px; font-size: 13.5px; }
  .lede-grid, .worth-grid, .stay-grid, .faq-grid, .panel-head { grid-template-columns: 1fr; gap: 28px; }
  .prose { padding-top: 0; font-size: 17px; }
  .trio { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .card { padding: 22px 20px 24px; }
  .card::before { margin-bottom: 16px; }
  .factors { grid-template-columns: 1fr; gap: 10px; }
  .factor { grid-template-columns: 32px 1fr; gap: 14px; padding: 18px 18px 20px; }
  .panel { padding: 40px 22px 28px; border-radius: 20px; margin: 0 -6px; }
  .panel::after { width: 220px; height: 220px; right: -90px; top: -90px; }
  .catalog { grid-template-columns: 1fr; margin-top: 32px; }
  .catalog > div,
  .catalog > div:nth-child(even) { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(237, 235, 230, 0.12); }
  .catalog > div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(237, 235, 230, 0.12); }
  .catalog > div:last-child { border-bottom: 0; padding-bottom: 4px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
  .tl-step:not(:last-child)::after { top: 50px; bottom: -22px; left: 20px; right: auto; width: 1px; height: auto; }
  .tl-step { display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; }
  .tl-step .num { grid-row: span 2; }
  .tl-step h3 { margin-top: 6px; font-size: 21px; }
  .tl-step p { max-width: none; }
  .facts { gap: 22px; margin-top: 28px; }
  .facts h3 { font-size: 20px; }
  .faq-head { position: static; }
  .faq-item summary { padding: 18px 18px; gap: 12px; }
  .faq-item h3 { font-size: 18.5px; }
  .faq-item p { padding: 0 18px 20px; }
  .intake-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .call-start { max-width: none; }
  .intake-shell { padding: 24px 18px 22px; border-radius: 18px; margin: 0 -6px; }
  .step-meta { margin-bottom: 24px; gap: 14px; }
  .grid-2 { grid-template-columns: 1fr; }
  .system-card h3 { padding-top: 4px; }
  .custom-line { max-width: none; }
  .success { padding: 26px 22px; }
  .page-head { padding: 48px 0 4px; }
  .legal { padding: 28px 0 64px; }
  .legal-body { padding: 28px 22px; border-radius: 18px; }
  .not-found { padding-top: 72px; padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
