/* Digital Solomon. Brand v3 tokens. Geometry is phi: type 16/26/42/68, space 8/13/21/34/55/89, splits 61.8/38.2. */

@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }

:root {
  --ds-ink: #181613;
  --ds-parchment: #F8F6F1;
  --ds-sand: #EAE6DC;
  --ds-stone: #ABA69A;
  --ds-gold: #C29A2B;
  --ds-blue: #2F4858;
  --ds-cedar: #6E7F5A;
  --ds-warn: #B0742C;
  --ds-error: #8C3B2E;
  /* v3 addition: Stone fails contrast as text on Parchment. Slate is Stone darkened for small text only. */
  --ds-slate: #645F55;

  --ds-font-head: 'Poppins', Arial, sans-serif;
  --ds-font-body: 'Inter', Helvetica, Arial, sans-serif;
  --ds-font-mono: 'JetBrains Mono', Consolas, monospace;

  --s1: 8px; --s2: 13px; --s3: 21px; --s4: 34px; --s5: 55px; --s6: 89px;
  --accent: var(--ds-gold);
  --rule: color-mix(in srgb, var(--ds-stone) 55%, transparent);
}

[data-accent="gold"] { --accent: var(--ds-gold); }
[data-accent="cedar"] { --accent: var(--ds-cedar); }
[data-accent="blue"] { --accent: var(--ds-blue); }
[data-accent="ink"] { --accent: var(--ds-ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ds-parchment);
  color: var(--ds-ink);
  font: 400 16px/1.618 var(--ds-font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--ds-font-head); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.12; }
h3 { font-size: clamp(21px, 2.3vw, 26px); line-height: 1.2; font-weight: 500; }
p { margin: 0 0 var(--s3); max-width: 68ch; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--ds-gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--ds-blue); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s3); top: -89px; background: var(--ds-ink); color: var(--ds-parchment); padding: var(--s2) var(--s3); z-index: 10; }
.skip:focus { top: var(--s2); }

.wrap { width: min(1180px, 100% - 2 * var(--s3)); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1180px, 100% - 2 * var(--s4)); } }

.lede { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.55; max-width: 60ch; }
.fine { font-size: 14px; color: var(--ds-slate); }
.plain { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.plain li { padding: var(--s2) 0; border-top: 1px solid var(--rule); max-width: 68ch; }

/* buttons */
.btn {
  display: inline-block; background: var(--ds-gold); color: var(--ds-ink);
  font: 600 16px/1.2 var(--ds-font-body); text-decoration: none;
  padding: 16px var(--s3); border-radius: var(--s1); border: 2px solid var(--ds-gold); cursor: pointer;
}
.btn:hover { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-parchment); }
.btn--small { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
.btn--line { background: transparent; border-color: var(--ds-ink); }
.quiet { margin-left: var(--s3); font-weight: 500; }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--ds-parchment); }
.top__in { display: flex; align-items: center; gap: var(--s3); min-height: 76px; }
/* The lockup artwork has a wide empty margin. Crop it here so the original file ships untouched. */
.top__logo { display: block; position: relative; overflow: hidden; width: 146px; height: 40px; flex: none; }
.top__logo img { position: absolute; left: -11.4px; top: -11.5px; height: 62.8px; width: auto; max-width: none; }
.top__nav { margin-left: auto; }
.top__links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s3); }
.top__links a, .menu a { text-decoration: none; font-weight: 500; font-size: 15px; }
.top__links a:hover, .top__links a[aria-current] { text-decoration: underline; text-decoration-color: var(--ds-gold); }
.menu { position: relative; }
.menu summary { cursor: pointer; font-weight: 500; padding: var(--s1) var(--s2); border: 1px solid var(--ds-ink); border-radius: var(--s1); list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + var(--s1)); z-index: 5; list-style: none; margin: 0; padding: var(--s2) var(--s3); background: var(--ds-parchment); border: 1px solid var(--ds-ink); border-radius: var(--s1); min-width: 220px; }
.menu li { padding: var(--s1) 0; }
@media (min-width: 1020px) { .top__links { display: flex; } .menu { display: none; } }
@media (max-width: 480px) { .top .btn--small { display: none; } }

/* sections */
.sect { padding: var(--s6) 0; }
.sect--tight { padding: 0 0 var(--s6); }
.sect--flush { padding-top: 0; }
.sect h2 { margin-bottom: var(--s3); }
.band { position: relative; overflow: hidden; }
.band--sand { background: var(--ds-sand); }
.band--ink { background: var(--ds-ink); color: var(--ds-parchment); }
.band--ink :focus-visible { outline-color: var(--ds-gold); }

.motif { position: absolute; inset: 0; pointer-events: none; background-repeat: no-repeat; }
.motif--spiral { background-image: url('/img/ds-geo-goldenspiral-stone.svg'); background-size: auto 130%; background-position: 108% 40%; opacity: 0.12; }
.motif--loops { background-image: url('/img/ds-geo-loops-stone.svg'); background-size: auto 180%; background-position: 104% 50%; opacity: 0.12; }
.motif--web { background-image: url('/img/ds-geo-web-on-ink.svg'); background-size: cover; background-position: center; opacity: 0.12; }

/* hero */
.hero { position: relative; overflow: hidden; padding: var(--s5) 0 var(--s6); }
.hero__in { position: relative; display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .hero__in { grid-template-columns: 61.8fr 38.2fr; } .hero { padding: var(--s6) 0; } }
.hero__copy .lede { margin-top: var(--s3); }
.hero__act { margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) 0; }

/* the answer panel: the one loud thing on the page */
.answer { margin: 0; background: var(--ds-ink); color: var(--ds-parchment); border-radius: var(--s2); padding: var(--s4) var(--s4) var(--s3); }
.answer__who { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s1); font-size: 15px; color: var(--ds-stone); }
.answer select, .segpick select {
  font: 500 15px/1.3 var(--ds-font-body); color: inherit; background: transparent;
  border: 0; border-bottom: 2px solid var(--ds-gold); padding: 2px 2px 3px; border-radius: 0; cursor: pointer; max-width: 100%;
}
.answer select { color: var(--ds-parchment); }
.answer select option { color: var(--ds-ink); }
.answer :focus-visible { outline-color: var(--ds-gold); }
.answer__ask { min-height: 3.6em; margin: var(--s3) 0; }
.answer__q { font: 500 clamp(21px, 2.1vw, 26px)/1.25 var(--ds-font-head); letter-spacing: -0.01em; margin: 0; }
.answer__reply { border-top: 1px solid color-mix(in srgb, var(--ds-stone) 40%, transparent); padding-top: var(--s3); font-size: 15px; }
.answer__reply p { margin-bottom: var(--s2); color: color-mix(in srgb, var(--ds-parchment) 82%, transparent); }
.answer__reply ol { list-style: none; counter-reset: src; margin: 0; padding: 0; }
.answer__reply li { counter-increment: src; display: grid; grid-template-columns: 2.2em 1fr; padding: var(--s1) 0; color: color-mix(in srgb, var(--ds-parchment) 82%, transparent); transition: opacity 0.4s; }
.answer__reply li::before { content: '[' counter(src) ']'; font-family: var(--ds-font-mono); font-size: 13px; color: var(--ds-stone); padding-top: 2px; }
.answer__reply li.is-you { color: var(--ds-gold); font-weight: 500; }
.answer__reply li.is-you::before { color: var(--ds-gold); }
.answer figcaption { margin-top: var(--s3); font-size: 13px; color: var(--ds-stone); }
.answer[data-stage] .answer__reply p, .answer[data-stage] .answer__reply li { opacity: 0; }
.answer[data-stage="1"] .answer__reply p,
.answer[data-stage="2"] .answer__reply p, .answer[data-stage="2"] .answer__reply li:nth-child(-n+1),
.answer[data-stage="3"] .answer__reply p, .answer[data-stage="3"] .answer__reply li:nth-child(-n+2),
.answer[data-stage="4"] .answer__reply p, .answer[data-stage="4"] .answer__reply li { opacity: 1; }
.answer__reply p { transition: opacity 0.4s; }

/* the arc: four pillars as one sequence */
.lede--pick { margin-bottom: var(--s4); }
.segpick select { font-size: inherit; font-weight: 600; }
.arc { list-style: none; margin: 0; padding: 0; }
.arc__row { display: grid; gap: var(--s3); padding: var(--s4) 0; border-top: 1px solid var(--rule); position: relative; }
.arc__row::before { content: ''; position: absolute; top: -2px; left: 0; width: var(--s6); height: 3px; background: var(--accent); }
@media (min-width: 860px) { .arc__row { grid-template-columns: 38.2fr 61.8fr; gap: var(--s5); } }
.arc__head { display: flex; gap: var(--s3); align-items: baseline; }
.arc__num { font: 500 clamp(26px, 3vw, 42px)/1 var(--ds-font-head); color: var(--ds-stone); min-width: 1.6em; }
.arc__head h3 { font-size: clamp(26px, 3vw, 42px); font-weight: 600; }
.arc__head h3 a { text-decoration: none; }
.arc__head h3 a:hover { text-decoration: underline; text-decoration-color: var(--ds-gold); }
.arc__name { margin: var(--s1) 0 0; color: var(--ds-slate); font-weight: 500; }
.arc__moment { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; margin-bottom: var(--s3); }
.arc__when { display: block; font: 400 13px/1.4 var(--ds-font-mono); color: var(--ds-slate); margin-bottom: var(--s1); }
.arc__job { font-weight: 600; margin-bottom: var(--s1); }
.arc__price { color: var(--ds-slate); margin: 0; }
.arc__price a { color: var(--ds-ink); font-weight: 500; white-space: nowrap; }

/* split, marks */
.split { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 61.8fr 38.2fr; } }
.marks { list-style: none; margin: 0; padding: 0; }
.marks li { padding: var(--s3) 0; border-top: 1px solid var(--ds-ink); display: grid; gap: 2px; }
.marks strong { font: 500 20px/1.3 var(--ds-font-head); }
.marks span { color: var(--ds-slate); font-size: 15px; }

/* steps: a real sequence, so it is numbered */
.steps { list-style: none; counter-reset: step; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s4); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.steps li { counter-increment: step; border-top: 2px solid var(--ds-ink); padding-top: var(--s3); }
.steps li::before { content: counter(step); font: 500 42px/1 var(--ds-font-head); color: var(--ds-stone); display: block; margin-bottom: var(--s2); }
.steps h3 { margin-bottom: var(--s2); }
.steps p { margin-bottom: var(--s2); }
.steps__price { font-weight: 600; }

/* ask */
.ask { display: grid; gap: var(--s4); align-items: end; border-top: 1px solid var(--rule); padding-top: var(--s5); }
@media (min-width: 860px) { .ask { grid-template-columns: 38.2fr 61.8fr; } }
.ask h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: var(--s2); }
.ask p { margin: 0; }
.ask__form { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ask__form input { flex: 1 1 280px; }
.ask__form--page { display: grid; gap: var(--s1); margin-bottom: var(--s4); max-width: 640px; }
.ask__form--page label { font-weight: 500; }

input[type="search"], .fields input {
  font: 400 16px/1.3 var(--ds-font-body); color: var(--ds-ink); background: var(--ds-parchment);
  border: 1px solid var(--ds-slate); border-radius: var(--s1); padding: 14px 16px; width: 100%;
}
input::placeholder { color: var(--ds-slate); }

/* closing band */
.close { padding: var(--s6) 0; }
.close__in { position: relative; }
.close h2 { margin-bottom: var(--s3); }
.close p { color: color-mix(in srgb, var(--ds-parchment) 85%, transparent); max-width: 52ch; margin-bottom: var(--s4); font-size: clamp(18px, 1.7vw, 20px); line-height: 1.55; }
.close .btn:hover { background: var(--ds-parchment); border-color: var(--ds-parchment); color: var(--ds-ink); }

/* pillar and plain page heroes */
.phero { position: relative; overflow: hidden; padding: var(--s5) 0; }
@media (min-width: 860px) { .phero { padding: var(--s6) 0 var(--s5); } }
.phero__in { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 860px) { .phero__in { grid-template-columns: 61.8fr 38.2fr; gap: var(--s5); } }
.phero .wrap { position: relative; }
.phero__kicker { font: 500 17px/1.3 var(--ds-font-head); color: var(--ds-slate); margin-bottom: var(--s3); display: flex; gap: var(--s2); align-items: baseline; }
.phero__num { color: var(--ds-ink); border-bottom: 3px solid var(--accent); padding-bottom: 2px; }
.phero h1 { margin-bottom: var(--s3); max-width: 16ch; }
.phero--plain h1 { max-width: 18ch; }
.phero__price { font-weight: 600; margin: var(--s3) 0 0; }
.phero__glyph { color: var(--accent); width: min(340px, 80%); height: auto; justify-self: center; stroke-width: 1.4; }
.glyph__nodes { fill: currentColor; stroke: none; }
@media (max-width: 859px) { .phero__glyph { display: none; } }

.prose h2 { max-width: 22ch; margin-bottom: var(--s4); }
.prose p { font-size: 18px; line-height: 1.62; }

/* carried-over legal pages: old body, new frame */
.legal h1 { font-size: clamp(34px, 4.6vw, 55px); margin-bottom: var(--s4); max-width: none; }
.legal h2 { font-size: 26px; margin: var(--s5) 0 var(--s2); max-width: none; }
.legal h3 { margin: var(--s4) 0 var(--s2); }
.legal p, .legal li { font-size: 16px; max-width: 72ch; }
.legal table { border-collapse: collapse; margin: var(--s3) 0; }
.legal th, .legal td { border: 1px solid var(--rule); padding: var(--s1) var(--s2); text-align: left; vertical-align: top; }

/* definition ledgers */
.builds { margin: var(--s4) 0 0; }
.builds > div { display: grid; gap: var(--s1); padding: var(--s3) 0; border-top: 1px solid color-mix(in srgb, var(--ds-ink) 28%, transparent); }
@media (min-width: 860px) { .builds > div { grid-template-columns: 38.2fr 61.8fr; gap: var(--s5); } }
.builds dt { font: 500 20px/1.3 var(--ds-font-head); letter-spacing: -0.01em; }
.builds dd { margin: 0; max-width: 62ch; }
.band .builds dt::before { content: ''; display: inline-block; width: 13px; height: 13px; border: 2px solid var(--accent); border-radius: 50%; margin-right: var(--s2); translate: 0 1px; }

.callouts { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .callouts { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
.callout { border-left: 3px solid var(--ds-ink); padding-left: var(--s3); }
.callout h2 { font-size: 26px; margin-bottom: var(--s2); }
.callout p { margin: 0; }

.own { border-top: 3px solid var(--accent); padding-top: var(--s4); }
.own h2 { font-size: 26px; margin-bottom: var(--s2); }
.own .lede { margin: 0; }

.faq__item { padding: var(--s3) 0; border-top: 1px solid var(--rule); display: grid; gap: var(--s1); }
@media (min-width: 860px) { .faq__item { grid-template-columns: 38.2fr 61.8fr; gap: var(--s5); } }
.faq__item h3 { font-size: 20px; line-height: 1.35; }
.faq__item p { margin: 0; }
.agroup { margin-top: var(--s5); }
.agroup > h2 { font-size: 26px; margin-bottom: var(--s3); }

.nextp { border-top: 1px solid var(--rule); padding-top: var(--s4); }
.nextp p { color: var(--ds-slate); margin-bottom: var(--s1); }
.nextp a { font: 600 clamp(24px, 2.6vw, 34px)/1.2 var(--ds-font-head); letter-spacing: -0.02em; text-decoration-color: var(--accent); }
.nextp .arc__num { font-size: inherit; display: inline; }

/* pricing table */
.tablewrap { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { text-align: left; padding: var(--s3) var(--s3) var(--s3) 0; border-top: 1px solid var(--rule); vertical-align: top; }
.prices thead th { border-top: 0; font: 500 14px/1.3 var(--ds-font-body); color: var(--ds-slate); padding-bottom: var(--s2); }
.prices tbody th { font: 500 20px/1.3 var(--ds-font-head); width: 52%; }
.prices tbody th span { display: block; font: 400 15px/1.5 var(--ds-font-body); color: var(--ds-slate); margin-top: 4px; max-width: 46ch; }
.prices td { font: 400 17px/1.4 var(--ds-font-mono); white-space: nowrap; }
.prices td span { display: block; font: 400 13px/1.4 var(--ds-font-body); color: var(--ds-slate); }
.notes { margin-top: var(--s4); }
@media (max-width: 639px) {
  .prices, .prices tbody, .prices tr, .prices th, .prices td { display: block; width: auto; }
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prices tr { border-top: 1px solid var(--rule); padding: var(--s3) 0; }
  .prices tbody th, .prices td { border: 0; padding: 0; width: auto; white-space: normal; }
  .prices td { margin-top: var(--s2); }
  .prices td::before { content: attr(data-label) ' '; font: 400 13px/1.4 var(--ds-font-body); color: var(--ds-slate); display: block; }
  .prices td.is-none { display: none; }
}

/* cases */
.case { display: grid; gap: var(--s2); padding: var(--s4) 0; border-top: 2px solid var(--ds-ink); }
@media (min-width: 860px) { .case { grid-template-columns: 38.2fr 61.8fr; gap: var(--s5); } }
.case header p { color: var(--ds-slate); margin: var(--s1) 0 0; }
.case h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.case__meta { color: var(--ds-slate); margin: 0; }
.cases + .fine { margin-top: var(--s4); border-top: 1px solid var(--rule); padding-top: var(--s3); }

/* audit */
.auditwrap { max-width: 760px; }
.honest { border-left: 3px solid var(--ds-gold); padding-left: var(--s3); margin-bottom: var(--s4); }
.audit__progress { height: 4px; background: var(--ds-sand); margin-bottom: var(--s4); display: none; }
.audit__progress span { display: block; height: 100%; width: 0; background: var(--ds-gold); transition: width 0.3s; }
.q { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.q legend { font: 500 clamp(21px, 2.3vw, 26px)/1.25 var(--ds-font-head); letter-spacing: -0.01em; padding: 0; margin-bottom: var(--s3); }
.q__n { display: block; font: 400 13px/1.4 var(--ds-font-mono); color: var(--ds-slate); margin-bottom: var(--s1); letter-spacing: 0; }
.opt { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3); border: 1px solid var(--ds-slate); border-radius: var(--s1); margin-bottom: var(--s2); cursor: pointer; background: var(--ds-parchment); }
.opt:hover { border-color: var(--ds-ink); }
.opt:has(input:checked) { border-color: var(--ds-ink); box-shadow: inset 0 0 0 1px var(--ds-ink); background: var(--ds-sand); }
.opt input { accent-color: var(--ds-ink); margin-top: 5px; }
.audit__nav { margin-bottom: var(--s4); display: flex; gap: var(--s2); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.audit:not(.is-js) .audit__nav { display: none; }
.audit.is-js .audit__progress { display: block; }
.audit.is-js .q, .audit.is-js [data-res], .audit.is-js [data-lead] { display: none; }
.audit.is-js .q.is-on { display: block; }
.audit.is-js.is-done [data-res], .audit.is-js.is-done [data-lead] { display: block; }
.audit:not(.is-js) [data-res] { display: none; }
.res { margin-bottom: var(--s5); }
.res__list { list-style: none; margin: var(--s3) 0 var(--s4); padding: 0; }
.res__list li { display: grid; grid-template-columns: 9.5em 1fr 6em; gap: var(--s3); align-items: center; padding: var(--s2) 0; border-top: 1px solid var(--rule); }
.res__name { font-weight: 500; }
.res__bar { height: 13px; background: var(--ds-sand); border-radius: 13px; overflow: hidden; }
.res__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.6s; }
.res__label { font: 400 13px/1.4 var(--ds-font-mono); color: var(--ds-slate); text-align: right; }
.res__list li.is-first .res__label { color: var(--ds-ink); font-weight: 500; }
@media (max-width: 520px) { .res__list li { grid-template-columns: 1fr auto; } .res__bar { grid-column: 1 / -1; order: 3; } }
.lead h2, .res h2 { font-size: 26px; margin-bottom: var(--s2); }
.fields { display: grid; gap: var(--s3); margin: var(--s3) 0; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } }
.fields label { font-weight: 500; font-size: 15px; display: grid; gap: 6px; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: var(--s2); font-size: 14px; margin-bottom: var(--s3); align-items: flex-start; }
.check label { max-width: 68ch; }
.check label span { display: block; color: var(--ds-slate); margin-top: 4px; }
.check input { margin-top: 4px; accent-color: var(--ds-ink); }
.form__status { font-weight: 600; margin: var(--s3) 0 var(--s1); }
.form__status:empty { display: none; }
.form__status[data-state="fail"] { color: var(--ds-error); }
.form__status[data-state="ok"] { color: var(--ds-ink); border-left: 3px solid var(--ds-cedar); padding-left: var(--s2); }

/* footer */
.foot { background: var(--ds-ink); color: var(--ds-parchment); padding: var(--s5) 0 var(--s4); border-top: 1px solid color-mix(in srgb, var(--ds-stone) 30%, transparent); }
.foot :focus-visible { outline-color: var(--ds-gold); }
.foot__in { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .foot__in { grid-template-columns: 38.2fr 20fr 20fr 21.8fr; } }
.foot h2 { font: 500 15px/1.4 var(--ds-font-body); letter-spacing: 0; color: var(--ds-stone); margin-bottom: var(--s2); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--ds-gold); }
.foot__brand img { width: 89px; margin-left: -13px; }
.foot__tag { font: 600 26px/1.2 var(--ds-font-head); letter-spacing: -0.02em; margin: var(--s2) 0 var(--s1); }
.foot__promise { color: var(--ds-stone); margin: 0; }
.foot__base { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid color-mix(in srgb, var(--ds-stone) 30%, transparent); }
.foot__base p { margin: 0; font-size: 14px; color: var(--ds-stone); max-width: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Consent banner: nothing loads before a choice; GPC suppresses it ---- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: var(--ds-ink); color: var(--ds-parchment);
  border-radius: 6px; padding: 20px 22px;
  box-shadow: 0 18px 50px rgba(24, 22, 19, .35);
}
.consent[hidden] { display: none; }
.consent p { font-size: 15px; margin: 0; color: var(--ds-sand); }
.consent p a { color: var(--ds-gold); text-decoration: underline; }
.consent-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.consent .btn--line { color: var(--ds-parchment); border-color: var(--ds-stone); }
.consent .btn--line:hover { background: var(--ds-parchment); color: var(--ds-ink); border-color: var(--ds-parchment); }
@media (max-width: 480px) { .consent .btn--small { display: inline-block; } }

/* --- Audit confirmation: replaces the form once the request is accepted ---- */
.sent { border: 1px solid var(--rule); border-left: 4px solid var(--ds-cedar); background: var(--ds-sand); border-radius: 6px; padding: var(--s4); margin-top: var(--s4); }
.sent[hidden] { display: none; }
.sent h2 { margin-top: var(--s2); }
.sent h2:focus { outline: none; }
.sent__mark { display: inline-flex; width: 55px; height: 55px; border-radius: 50%; background: var(--ds-cedar); position: relative; }
.sent__mark::after { content: ""; position: absolute; left: 20px; top: 12px; width: 13px; height: 24px; border: solid var(--ds-parchment); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.sent__to { overflow-wrap: anywhere; }
.audit.is-js.is-done.is-sent [data-lead], .audit.is-js.is-sent .audit__nav, .audit.is-js.is-sent .audit__progress { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .sent:not([hidden]) { animation: sent-in 0.4s ease-out; }
  @keyframes sent-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* generated from site.json segments */
html[data-seg="home"] [data-for]:not([data-for="home"]) { display: none; }
html[data-seg="insurance"] [data-for]:not([data-for="insurance"]) { display: none; }
html[data-seg="professional"] [data-for]:not([data-for="professional"]) { display: none; }
html[data-seg="wellness"] [data-for]:not([data-for="wellness"]) { display: none; }
html[data-seg="other"] [data-for]:not([data-for="other"]) { display: none; }
