/* ═══════════════════════════════════════════════════════════════════════
   register-v23-repair.css
   JT's review of the uploaded build, 2026-10-27. Every rule below answers
   a specific sentence, quoted where it is.

   Loaded LAST so it wins without editing the three sheets underneath it.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. THE GOLD ─────────────────────────────────────────────────────────
   "this gold bar is absolutely eye popping in the wrong way. while these
    are colors we use, they translate awful to web design. the gold is
    almost offensive."

   He is right and the measurement agrees: #f59e0b on white is 2.15:1,
   which fails 3:1 for non-text and 4.5:1 for text. It was never usable as
   a surface, only as a small accent on dark.

   Rule from here: amber is an ACCENT, never a field. It is allowed on the
   primary CTA, on a 3px rule, and on the triage dot. Nothing else. Large
   surfaces go to the navy family, which is where v23's contrast was
   measured and passes. */
:root{
  --gold-rule:#f59e0b;          /* 3px rules and the primary button only */
  --surface-1:#0d2436;          /* was amber on big panels */
  --surface-2:#f4f6f8;          /* light panels on white pages */
}
/* No amber field, anywhere, at any size. */
/* ⛔ :not(.arch-hero). This rule exists to kill amber FIELDS, and it was
   also wiping the hero's deliberate dark gradient, which IS a
   background-image. On /free/ the hero rendered white with light grey
   type on it. Pages whose hero came from the converter were unaffected
   because their section does not carry .band, so this only bit the one
   page written by hand. */
section.band:not(.arch-hero),section.arch-claim,div.band,.panel,.callout,
.plate,.band-in>div,.tile,.card,.tier-card,.entry-card{
  background-image:none}
p.band{background:transparent;color:var(--teal);padding:0;
 font-family:var(--sans);font-size:12px;font-weight:700;
 letter-spacing:.085em;text-transform:uppercase}
p.band>span{background:transparent;padding:0}
/* Amber text on white was called out explicitly. Never. */
main p,main li,main dd,.tier-desc,.tier-unit,.auth,.src,.band-note,
.updated,.voice-answer{color:var(--ink-muted)}
main .eyebrow,main .band-eyebrow,.cite-line,.sec-label{color:var(--teal)}

/* ── 2. ONE RADIUS, EVERYWHERE ───────────────────────────────────────────
   "this CTA box is square, the rest of the cards are a 44 degree corner.
    mismatched throughout" ... "square instead of 33 degree soft"

   There were three radii in play plus square. One token now, applied to
   every box, button, field and figure on the site. */
:root{--r-soft:16px;--r-pill:999px}
.card,.tile,.tier-card,.entry-card,.callout,.panel,.plate,.mosaic>.tile,
.band-media-fig img,.band-media-fig picture,.tw,.tbl,.rgrid>*,
.arch-ask-fig img,.faq-item,details,.deck,.panel-in,.stat,.stats>div,
figure img,.pullq,.waitlist-banner,.launch-badge,.notice,.plot-card,
.grid2>*,.flist>*,.domain-grid>*,.pub-grid>*,.treatise-grid>*{
  border-radius:var(--r-soft)}
.btn,.btn-primary,a.btn,button.btn,.cta,.arch-top,input,select,textarea,
.ubtn,.seek,.seek input,.seek button{border-radius:var(--r-pill)}
/* A square corner anywhere is now the exception that has to be asked for. */
main *{border-radius:inherit}
main .card,main .tile,main .tier-card{border-radius:var(--r-soft)}

/* ── 3. CONTRAST AND SIZE ────────────────────────────────────────────────
   "terrible contrast here. text is tiny, and yellow on white, you already
    know is a no-go."

   Minimums: 15px body on desktop, 14px for secondary, and the teal
   darkened so it clears 4.5:1 on both white and --surface-2. */
:root{--teal:#0f5450;--ink-muted:#374151;--ink-dim:#4b5563}
main p,main li{font-size:16.5px;line-height:1.6;color:var(--ink-muted)}
.tier-desc,.tier-features li,.tile p,.card p{font-size:15px;
 line-height:1.55;color:var(--ink-muted)}
.auth,.src,.band-note,.updated,figcaption{font-size:13px;
 color:var(--ink-dim)}
.tw th,.tw td,.tbl th,.tbl td{font-size:15px;color:var(--ink-muted)}
main a{color:var(--teal);border-bottom-color:rgba(15,84,80,.38)}
main a:hover{color:#0a3b38;border-bottom-color:#0a3b38}

/* ── 4. THE PRICING PAGE ─────────────────────────────────────────────────
   "pricing page is wrong."
   The tier columns shipped with no card chrome at all: .tier-card,
   .tier-grid, .tier-price and .entry-price are defined in exhibit.css,
   which these pages stopped loading. */
.tier-grid{display:grid;gap:16px;align-items:stretch;
 grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.tier-card{background:#fff;border:1px solid var(--rule-light);
 border-top:3px solid var(--teal);padding:clamp(20px,2.2vw,28px);
 display:flex;flex-direction:column;min-width:0}
.tier-card[data-featured="true"]{border-top-color:var(--gold-rule);
 box-shadow:0 1px 0 var(--rule-light),0 18px 40px -28px rgba(4,20,36,.45)}
.tier-name{font-family:var(--sans);font-size:12px;font-weight:700;
 letter-spacing:.085em;text-transform:uppercase;color:var(--teal);
 margin-bottom:10px}
.tier-price{font-family:var(--sans);font-size:clamp(30px,3.4vw,42px);
 font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--ink);
 font-variant-numeric:tabular-nums}
.tier-price span{font-size:15px;font-weight:600;color:var(--ink-dim);
 letter-spacing:0}
.tier-unit{font-size:12.5px;color:var(--ink-dim);margin:8px 0 14px}
.tier-desc{margin:0 0 14px}
.tier-features{list-style:none;margin:0 0 18px;padding:0;display:grid;
 gap:8px}
.tier-features li{position:relative;padding-left:20px;font-size:14.5px}
.tier-features li::before{content:"";position:absolute;left:0;top:7px;
 width:7px;height:7px;border-radius:50%;background:var(--teal)}
.tier-card .btn,.tier-card a.btn{margin-top:auto;width:100%;
 justify-content:center;min-height:48px}
.entry-card{background:var(--surface-2);border:1px solid var(--rule-light);
 padding:clamp(18px,2vw,26px)}
/* ⛔ THE FREE CARD IS AN <a>, so it has to stop looking like a link and
   start looking like the card it replaced. An anchor brings
   text-decoration, the UA link colour and display:inline; without these
   three the card renders underlined, blue, and collapsed to one line.
   JT, 2026-10-31: "Have the free card hyperlinked to this page". */
a.entry-card--link{display:block;text-decoration:none;color:inherit;
 cursor:pointer;transition:border-color .12s ease,transform .12s ease,
 box-shadow .12s ease}
a.entry-card--link:hover{border-color:var(--hue-ink,#15803d);
 box-shadow:0 2px 14px rgba(10,12,16,.08)}
a.entry-card--link:focus-visible{outline:2px solid var(--accent,#f59e0b);
 outline-offset:3px}
/* The affordance. A card that is tappable and never says so is a card
   nobody taps, and "Learn more" is banned copy, so it names the action. */
a.entry-card--link .entry-go{margin:14px 0 0;font-family:var(--sans);
 font-size:14px;font-weight:700;color:var(--hue-ink,#15803d)}
a.entry-card--link .entry-go::after{content:" \2192"}
@media(prefers-reduced-motion:no-preference){
  a.entry-card--link:hover{transform:translateY(-1px)}
}
.entry-price{font-family:var(--sans);font-size:clamp(26px,3vw,36px);
 font-weight:700;line-height:1;color:var(--ink);
 font-variant-numeric:tabular-nums}
.launch-badge{display:inline-flex;align-items:center;min-height:30px;
 padding:0 12px;background:var(--deep);color:var(--on-deep);
 font-family:var(--sans);font-size:11.5px;font-weight:700;
 letter-spacing:.07em;text-transform:uppercase}

/* ── 5. THE DEAD SPACE ───────────────────────────────────────────────────
   "you have a LOT of poorly used space on all pages" / "vast empty" /
   "dead head"

   .arch-claim carried NO rule on 26 pages, so it fell through to the
   generic section padding twice over. Deloitte's median section is 0.48
   viewports; ours were running well past that on content that did not
   earn it. */
main>section{padding:clamp(34px,4.4vw,64px) 0}
main>section.arch-claim{padding:clamp(28px,3.6vw,52px) 0;border-top:none}
.arch-claim>.band-in>*:first-child{margin-top:0}
.arch-hero{min-height:min(46vh,460px)}
@supports (height:100svh){.arch-hero{min-height:min(46svh,460px)}}
.arch-hero>.band-in,.arch-hero>.inner,.arch-hero>.wrap{
 padding-block:clamp(26px,3.6vw,52px)}
.band-media .band-in{gap:clamp(18px,2.4vw,34px)}
.arch-top-wrap{padding:10px var(--gut) 20px}
main>section:empty,main>section.arch-claim:empty{display:none}
/* A band whose only child is an empty wrapper is dead head. Collapse it. */
.band-in:empty{display:none}

/* ── 6. ORPHANED CLASSES, found by harness/orphan-classes.py ─────────────
   Classes used by the built pages that no loaded sheet defined. */
.arch-claim{background:#fff}
.band-prose>.band-in{max-width:min(var(--max),860px)}
.rgrid{display:grid;gap:12px;
 grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}
.rgrid>*{background:var(--surface-2);border:1px solid var(--rule-light);
 padding:16px 18px;min-width:0}
.rellinks{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0;padding:0;
 list-style:none}
.rellinks a{font-size:14.5px;font-weight:600;min-height:44px;
 display:inline-flex;align-items:center}
.updated{font-size:12.5px;color:var(--ink-dim)}
.voice-answer{color:var(--ink-muted)}
.two{display:grid;gap:clamp(16px,2.2vw,30px);
 grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}
.three{display:grid;gap:clamp(14px,1.8vw,22px);
 grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.col-brand .mast-name,.col-brand b{color:var(--on-deep)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
 overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ── 7. ONE ACCENT HUE PER PAGE FAMILY ───────────────────────────────────
   "we could easily take a page like the heppner one, and that one gets a
    red accented page. page like pricing perhaps gets yellow, its going to
    be inspected anyway. a page that talks ease of deploy, corpus, they get
    green accents."

   Ground stays white or near-black, the way deloitte.com runs it, and the
   hue does the identifying. Assigned by harness/apply-page-accent.py as
   data-accent on <html>.

   ⛔ THESE ARE NOT THE TRIAGE SWATCHES. DESIGN-LOCK reserves
   #22c55e / #fcb038 / #ef4444 for citation treatment state, and they are
   data, never decoration. They also all fail contrast on white: red 2.9,
   amber 2.15, green 2.3. So each family uses a DARKENED variant of the
   same hue, which both preserves the data meaning of the pure swatch and
   clears 4.5:1:

       risk  #b91c1c 5.9:1    money #a16207 4.6:1
       go    #15803d 4.8:1    calm  #0f5450 7.0:1 */
:root[data-accent="risk"]{--hue:#b91c1c;--hue-soft:#fef2f2;
 --hue-edge:rgba(185,28,28,.22);--hue-deep:#7f1d1d}
:root[data-accent="money"]{--hue:#a16207;--hue-soft:#fffbeb;
 --hue-edge:rgba(161,98,7,.24);--hue-deep:#713f12}
:root[data-accent="go"]{--hue:#15803d;--hue-soft:#f0fdf4;
 --hue-edge:rgba(21,128,61,.22);--hue-deep:#14532d}
:root[data-accent="calm"]{--hue:#0f5450;--hue-soft:#f0fdfa;
 --hue-edge:rgba(15,84,80,.22);--hue-deep:#0a3b38}
:root{--hue:#0f5450;--hue-soft:#f0fdfa;--hue-edge:rgba(15,84,80,.22);
 --hue-deep:#0a3b38}

/* Where the hue is allowed to show. Edges, labels, links and the one
   primary action. Never a large field, which is the mistake the gold
   made. */
[data-accent] main .band-eyebrow,[data-accent] main .eyebrow,
[data-accent] main .cite-line,[data-accent] main .sec-label,
[data-accent] p.band,[data-accent] .tier-name{color:var(--hue)}
[data-accent] main a{color:var(--hue);border-bottom-color:var(--hue-edge)}
[data-accent] main a:hover{color:var(--hue-deep);
 border-bottom-color:var(--hue-deep)}
[data-accent] .card,[data-accent] .tile,[data-accent] .mosaic>.tile,
[data-accent] .tier-card{border-top-color:var(--hue)}
[data-accent] .tier-features li::before{background:var(--hue)}
[data-accent] .arch-hero{border-bottom-color:var(--hue)}
[data-accent] .arch-nav a:hover,[data-accent] .arch-nav a:focus-visible{
 border-bottom-color:var(--hue)}
[data-accent] .chev a::after{border-color:var(--hue)}
[data-accent] .stats>div{border-top-color:var(--hue)}
[data-accent] .pullq cite{color:var(--hue)}
[data-accent] .arch-top{color:var(--hue)}
/* A single tinted surface per page, used for the claim band only, so the
   hue registers without becoming a field. */
[data-accent] main>section.arch-claim{background:var(--hue-soft)}
[data-accent] .rgrid>*{background:var(--hue-soft)}
/* The primary action keeps real weight: hue ground, white type. Measured
   on the darkened variants, white clears 4.5:1 on all four. */
[data-accent] .btn-primary,[data-accent] a.btn.btn-primary{
 background:var(--hue);color:#fff;border-color:var(--hue)}
[data-accent] .btn-primary:hover{background:var(--hue-deep);
 border-color:var(--hue-deep)}
/* On the dark hero the darkened hue is too low-contrast for type, so the
   hero's own accents lift to the pure swatch, which is legible on navy
   and is where DESIGN-LOCK always allowed these colours to live. */
[data-accent="risk"] .arch-hero .band-eyebrow{color:#fca5a5}
[data-accent="money"] .arch-hero .band-eyebrow{color:#fcd34d}
[data-accent="go"] .arch-hero .band-eyebrow{color:#86efac}
[data-accent="calm"] .arch-hero .band-eyebrow{color:#5eead4}

/* ⛔ THE TRIAGE DOTS AND TAGS ARE UNAFFECTED BY ANY OF THE ABOVE.
   They carry state, not identity, and must read the same on every page. */
.d-g,.t-g{background:#22c55e}
.d-y,.t-y{background:#fcb038}
.d-r,.t-r{background:#ef4444}

/* ── 7b. THE GENERATED PROCESS FIGURES ───────────────────────────────────
   make-process-figures.py emits three animated SVGs. They ship as <img>,
   so the CSS animation inside each file runs while any script inside it
   would not, which is why they were built that way.

   The band gives them room and a caption, and nothing else: the figure
   carries its own type at its own scale and must not be restyled from
   out here or the internal layout shifts. */
main>section.band-figure{padding:clamp(26px,3.4vw,52px) 0}
.proc-fig-wrap{margin:0}
.proc-fig-wrap img{display:block;width:100%;height:auto;max-width:100%;
 border:1px solid var(--rule-light);border-radius:var(--r-soft);
 background:#fff;padding:clamp(10px,1.4vw,20px)}
.proc-fig-wrap figcaption{margin-top:10px;font-size:13px;line-height:1.5;
 color:var(--ink-dim);max-width:78ch}
.proc-fig-wrap figcaption b{color:var(--ink)}
/* The platform-model figure is portrait and narrow; centring it stops it
   stretching to a 1320px band and losing its rings off the edges. */
[data-treatment] .proc-fig-wrap img[src*="platform-model"]{
 max-width:620px;margin-inline:auto}

/* ── 8. PRINT / FORCED COLOURS ───────────────────────────────────────────
   The amber field removal must not reintroduce a contrast failure here. */
@media (forced-colors:active){
  .tier-card,.card,.tile{border:1px solid CanvasText}
}

/* ═══════════════════════════════════════════════════════════════════════
   9. THE SURFACE CONTRACT — one source, measured
   Sections 9 through 12 were four generations of the same attempt and
   they fought each other. `.plate p{color:var(--on-deep-muted)}` is
   (0,1,1) and beat `[data-on="light"]` at (0,1,0), so a light element
   inside a .plate still got light text. 216 failures remained, in BOTH
   directions, because the guesses outranked the measurement.

   surface.js marks every text element with data-on="dark" or "light",
   computed from its own painted ground in the browser. That mark is now
   the ONLY thing colour keys off. Every guessed container list is gone.

   Specificity is deliberate: one attribute plus one element selector, so
   nothing in the sheets beneath this can outrank it by naming a class.
   ═══════════════════════════════════════════════════════════════════════ */

:root{--hue-ink:#0f5450}
[data-accent="risk"]{--hue-ink:#b91c1c}
[data-accent="money"]{--hue-ink:#a16207}
[data-accent="go"]{--hue-ink:#15803d}
[data-accent="calm"]{--hue-ink:#0f5450}

/* ── LIGHT ground ───────────────────────────────────────────────────── */
html main [data-on="light"]{color:var(--ink-muted)}
html main h1[data-on="light"],html main h2[data-on="light"],html main h3[data-on="light"],
html main h4[data-on="light"],html main h5[data-on="light"],html main b[data-on="light"],
html main strong[data-on="light"],html main dt[data-on="light"],
html main cite[data-on="light"]{color:var(--ink)}
html main p[data-on="light"],html main li[data-on="light"],html main dd[data-on="light"],
html main td[data-on="light"],html main th[data-on="light"],
html main blockquote[data-on="light"]{color:var(--ink-muted)}
html main small[data-on="light"],html main figcaption[data-on="light"],
html main span[data-on="light"]{color:var(--ink-dim)}
html main a[data-on="light"]{color:var(--hue-ink)}
html main .band-eyebrow[data-on="light"],html main .eyebrow[data-on="light"],
html main .cite-line[data-on="light"],html main .sec-label[data-on="light"],
html main .tier-name[data-on="light"]{color:var(--hue-ink)}

/* ── DARK ground ────────────────────────────────────────────────────── */
html main [data-on="dark"]{color:var(--on-deep-muted)}
html main h1[data-on="dark"],html main h2[data-on="dark"],html main h3[data-on="dark"],
html main h4[data-on="dark"],html main h5[data-on="dark"],html main b[data-on="dark"],
html main strong[data-on="dark"],html main dt[data-on="dark"],
html main cite[data-on="dark"]{color:var(--on-deep)}
html main p[data-on="dark"],html main li[data-on="dark"],html main dd[data-on="dark"],
html main td[data-on="dark"],html main th[data-on="dark"],
html main blockquote[data-on="dark"]{color:var(--on-deep-muted)}
html main small[data-on="dark"],html main figcaption[data-on="dark"],
html main span[data-on="dark"]{color:var(--on-deep-muted)}

/* ⛔ The accent hues were each chosen to clear 4.5:1 on WHITE, which
   guarantees they fail on navy. On a dark ground the hue lifts to the
   light end of the same family. */
html main [data-on="dark"]{--hue-lift:#5eead4}
[data-accent="risk"] [data-on="dark"]{--hue-lift:#fca5a5}
[data-accent="money"] [data-on="dark"]{--hue-lift:#fcd34d}
[data-accent="go"] [data-on="dark"]{--hue-lift:#86efac}
html main a[data-on="dark"],
html main .band-eyebrow[data-on="dark"],html main .eyebrow[data-on="dark"],
html main .cite-line[data-on="dark"],html main .sec-label[data-on="dark"]{
  color:var(--hue-lift,#5eead4)}

/* ⛔ A BUTTON CARRIES ITS OWN GROUND and is exempt from both halves.
   Deep ink on amber is 8.9:1; teal on amber measured 4.07:1 and failed.
   Stated last and with an element+class+attribute selector so neither
   surface rule can reach it. */
html a.btn,html a.btn[data-on],html a.btn [data-on],
html button.btn,html button.btn[data-on],html button.btn [data-on],
html .btn-primary,html .btn-primary[data-on],html .btn-primary [data-on]{
  color:#041424;background:var(--gold-rule);border-color:var(--gold-rule)}

/* ── 10. THE MISSING RADII ───────────────────────────────────────────
   audit-real.py: 174 elements computing under 8px. The rule in section 2
   named `.rgrid>*` but never .domain-card (84 of them), .pub-card,
   .treatise-grid children or the generated figure wrapper. */
.domain-card,.pub-card,.treatise-card,.plot-card,.flist>*,
.proc-fig-wrap,.proc-fig-wrap img,.band-cards>li,.band-cards li,
.notice,.tw,.tbl,.stat,.dual-slide,.ack,.gate{
  border-radius:var(--r-soft)}
