/* Competition and Consumer Checker: a consumer notice board, not a legal database.
   Palette and type derive from the product seed H7K2-M4QX-9VTR. The layout is a
   full-bleed notice with a split hero, numbered change rail and wide section heads.
   Body text is 17px. No gradients, no decorative shapes. */

:root {
  --paper: #f7f4ec;
  --paper-2: #fffdf7;
  --ink: #14201c;
  --ink-soft: #3f4d47;
  --green: #123b32;
  --green-2: #1d5548;
  --red: #c33b2b;
  --red-ink: #8e2418;
  --brass: #a97c2f;
  --brass-soft: #f0e3c6;
  --mist: #e4e8df;
  --rule: #cfc8b8;
  --rule-strong: #a9a291;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #1f5f8b; outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 5.2vw, 58px); }
h2 { font-size: clamp(25px, 3vw, 34px); margin-top: 36px; }
h3 { font-size: 21px; margin-top: 24px; letter-spacing: -0.015em; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 6px 0; }
strong, b { font-weight: 700; }
.hint { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.kicker { display: block; font-family: var(--mono); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin: 0 0 10px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 9; }
.skip:focus { left: 12px; top: 12px; }

/* signal strip */
.signal { background: var(--red); color: #fff7ee; font-family: var(--mono); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; }
.signal .wrap { display: flex; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
.signal b { color: #fff; }
.signal .sep { opacity: .55; }

/* masthead */
.mast { background: var(--paper-2); border-bottom: 1px solid var(--rule-strong); position: sticky; top: 0; z-index: 5; }
.mast .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: block; text-decoration: none; color: var(--ink); }
.brand .mark { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.brand .sub { display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
nav.main { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
nav.main a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 11px 12px; border-bottom: 3px solid transparent; }
nav.main a:hover { border-bottom-color: var(--red); }
nav.main a[aria-current="page"] { border-bottom-color: var(--red); }

/* hero */
.hero { background: var(--green); color: #f7f4ec; }
.heroinner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 0; align-items: stretch; }
.herotext { padding: 64px 46px 56px 0; }
.hero .kicker { color: #f1b27c; }
.hero h1 { color: #fffdf7; max-width: 760px; }
.lede { font-size: 20px; line-height: 1.55; color: #e7e2d4; max-width: 720px; }
.hero .lede { color: #e9e4d6; }
.trustline { font-size: 15px; line-height: 1.55; color: #d9e2d9; max-width: 720px; margin-top: 16px; }
.trustline b { color: #fff; }
.groundbadges { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0; }
.groundbadges span { display:inline-block; border:1px solid rgba(255,253,247,.4); border-radius:999px; padding:5px 12px; font-size:14px; color:#e9e4d6; }
.heroactions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 14px; }
.priceline { font-size: 14.5px; color: #d9e2d9; margin: 0; }
.priceline b { color: #fff; }
.herofig { margin: 0; position: relative; min-height: 420px; background: #0c2a24; }
.herofig img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.herofig figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(18,27,24,.9); color: #f2ede0; padding: 18px 22px; font-size: 14.5px; line-height: 1.5; }

/* buttons */
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; background: var(--red); color: #fff;
  border: 1px solid var(--red); border-radius: 2px; font-family: var(--sans);
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn.ghost:hover { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.hero .btn.ghost { color: #fff; border-color: rgba(255,253,247,.55); }
.hero .btn.ghost:hover { background: rgba(255,253,247,.1); color: #fff; }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 14.5px; }

/* change rail */
.changes { padding: 44px 0 12px; }
.changehead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px; }
.changehead h2 { margin: 0; }
.changegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); }
.change { display: block; padding: 22px 22px 18px; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: var(--paper-2); color: var(--ink); text-decoration: none; }
.change:hover { background: #fbf4e2; }
.change .n { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.change h3 { margin: 6px 0 8px; font-size: 20px; }
.change p { font-size: 15px; color: var(--ink-soft); margin: 0 0 12px; }
.change .more { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--red-ink); }

/* check */
.checkband { background: var(--mist); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); padding: 44px 0; margin-top: 30px; }
.check { background: var(--paper-2); border: 1px solid var(--rule-strong); border-top: 6px solid var(--green); padding: 26px 28px; max-width: 1000px; }
.checkhead h2 { margin: 0 0 8px; }
.checkhead p { max-width: 780px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 20px 0 6px; }
.field { min-width: 0; }
.field label { display: block; font-weight: 700; font-size: 15px; line-height: 1.45; margin-bottom: 6px; }
.field .hint { display: block; margin-top: 5px; }
input[type=text], input[type=number], input[type=date], input[type=email], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--rule-strong);
  border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
textarea { min-height: 140px; }
.submit { margin: 18px 0 8px; display: flex; gap: 10px; flex-wrap: wrap; }
#result { margin: 20px 0 0; }
.verdict { border: 1px solid var(--rule-strong); border-left: 8px solid var(--green); background: #eef3ea; padding: 20px 22px; }
.verdict.partial { border-left-color: var(--brass); background: #fbf2df; }
.verdict.out { border-left-color: var(--ink-soft); background: #f0eee6; }
.verdict.incomplete { border-left-color: var(--red); background: #f9e9e4; }
.verdict h2 { margin: 0 0 4px; font-size: 26px; }
.verdict .tag { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.verdict p { margin: 8px 0 0; }
.verdict h3 { margin: 18px 0 6px; font-size: 17px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.verdict ul { margin: 6px 0 0; }
.applies li { margin: 8px 0; }
.applies .code { font-family: var(--mono); font-weight: 700; }
.applies .why { display: block; font-size: 14.5px; color: var(--ink-soft); }
.missing { font-weight: 700; color: var(--red-ink); }

/* provenance and grounding */
.provenance { margin: 28px 0 8px; padding: 18px 20px; border: 1px solid var(--rule-strong); border-left: 6px solid var(--brass); background: #fbf6e9; font-size: 14.5px; line-height: 1.6; }
.provenance b { display: block; margin-bottom: 6px; font-size: 16px; }
.band { background: var(--green); color: #f2ede0; padding: 48px 0; margin-top: 40px; }
.band .kicker { color: #f1b27c; }
.band h2, .band h3 { color: #fffdf7; }
.band .lead { font-size: 18px; color: #e2ddcf; max-width: 760px; }
.bandgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin: 22px 0 14px; }
.bandgrid > div { border-top: 1px solid rgba(255,253,247,.35); padding-top: 14px; }
.bandgrid .n { display: block; font-family: var(--mono); font-size: 13px; color: #f1b27c; margin-bottom: 6px; }
.bandgrid p { font-size: 15px; color: #ddd8ca; }
.bandgrid a { color: #f6d3a8; }
.band .hint { color: #c9d4ca; }

/* page head */
.pagehead { padding: 48px 0 18px; border-bottom: 1px solid var(--rule-strong); margin-bottom: 24px; }
.pagehead h1 { max-width: 860px; }
.pagehead .lede { color: var(--ink-soft); }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--rule-strong); background: var(--paper-2); }
table.records { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.records th { text-align: left; font-family: var(--mono); font-size: 14px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); background: #ece6d7; padding: 11px 12px; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
table.records td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.records tr:last-child td { border-bottom: 0; }
table.records tr:hover td { background: #fbf4e2; }
table.records .code { font-family: var(--mono); font-weight: 700; white-space: nowrap; }
table.records .req { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 3px; line-height: 1.45; }
table.records .kind, table.records .tag { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
table.records tr.partrow th { background: var(--green); color: #fffdf7; font-family: var(--sans); font-size: 19px; letter-spacing: -.01em; text-transform: none; padding: 14px 14px; }
table.records .pcode { font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #f1b27c; margin-right: 10px; }
table.records .pintro { display: block; font-size: 14.5px; font-weight: 400; color: #d9e2d9; margin-top: 4px; }

/* unit page */
.unithead { background: var(--paper-2); border-bottom: 1px solid var(--rule-strong); padding: 40px 0 26px; }
.unitcode { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.unitcode .kicker { margin: 0; }
.held { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: var(--green); color: #fff; padding: 4px 9px; }
.held.scope { background: var(--brass); color: #fff; }
.unithead h1 { margin: 10px 0 12px; max-width: 860px; }
.answer { font-size: 21px; line-height: 1.5; color: #25332d; border-left: 6px solid var(--red); padding: 2px 0 2px 18px; max-width: 860px; margin: 0 0 16px; }
.umeta { display: flex; gap: 8px 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 13.5px; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 12px; }
.unitbody { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: 40px; padding: 32px 0 10px; align-items: start; }
.unitbody article { min-width: 0; max-width: 780px; }
.unitbody h2 { font-size: 26px; margin-top: 30px; }
.reqbox { background: var(--paper-2); border: 1px solid var(--rule-strong); border-top: 6px solid var(--green); padding: 20px 22px; margin: 0 0 20px; }
.reqbox p { margin: 0 0 10px; }
.reqbox p:last-child { margin-bottom: 0; }
.reqbox .binds, .reqbox .op { font-size: 15px; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 10px; }
.reqbox .op span { font-family: var(--mono); color: var(--ink); }
.regbox { background: #fbf2df; border: 1px solid var(--rule-strong); border-left: 6px solid var(--brass); padding: 16px 18px; margin: 0 0 20px; font-size: 15.5px; }
.evidence { list-style: none; padding: 0; }
.evidence li { border-top: 1px solid var(--rule); padding: 12px 0 12px 28px; position: relative; }
.evidence li:before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 12px; border: 2px solid var(--red); background: var(--paper-2); }
.evidence .cat { display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.actions li { margin: 10px 0; }
.xref { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.xref a { display: inline-block; font-family: var(--mono); font-size: 13.5px; border: 1px solid var(--rule-strong); background: var(--paper-2); padding: 7px 10px; text-decoration: none; min-height: 24px; }
.xref a:hover { border-color: var(--ink); }
.side { position: sticky; top: 92px; min-width: 0; }
.sourcecard, .sidecard { background: var(--paper-2); border: 1px solid var(--rule-strong); padding: 16px 18px; margin-bottom: 14px; }
.side .kicker { margin-bottom: 8px; }
.side p, .side li { font-size: 14.5px; line-height: 1.55; }
.side .src { word-break: break-word; }
.side .src span { font-size: 14px; color: var(--ink-soft); }

/* split blocks and cards */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 40px; padding: 44px 0 10px; align-items: start; }
.kitcard { background: var(--paper-2); border: 1px solid var(--rule-strong); border-top: 6px solid var(--brass); padding: 20px 22px; }
.kitcard ul { list-style: none; padding: 0; margin: 10px 0 14px; }
.kitcard li { border-top: 1px solid var(--rule); padding: 9px 0 9px 20px; position: relative; font-size: 15px; }
.kitcard li:before { content: "+"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); margin: 22px 0; }
.plan { background: var(--paper-2); border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); padding: 24px 24px 22px; }
.plan.feature { background: #fdf7e8; box-shadow: inset 0 6px 0 var(--red); }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 8px 0 2px; }
.plan .per { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.plan li { border-top: 1px solid var(--rule); padding: 9px 0 9px 22px; position: relative; font-size: 15px; }
.plan li:before { content: "+"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* prose and faq */
.prose { max-width: 820px; }
.prose.narrow { max-width: 760px; }
.prose h2 { margin-top: 32px; }
.prose code { font-family: var(--mono); font-size: 14.5px; background: #ece6d7; padding: 1px 5px; }
.faqband { padding: 40px 0 10px; }
.faq { border-top: 1px solid var(--rule-strong); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; min-height: 24px; }
.faq details div { margin-top: 10px; max-width: 780px; }

/* footer */
footer.site { margin-top: 56px; background: var(--ink); color: #d8d3c5; font-size: 14.5px; }
footer.site .wrap { padding: 36px 0 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
footer.site h2 { color: #fff; font-size: 15px; font-family: var(--mono); letter-spacing: .09em; text-transform: uppercase; margin: 0 0 10px; }
footer.site a { color: #f1b27c; }
footer.site p { margin: 0 0 8px; }
footer.site .fine { border-top: 1px solid #3a453f; margin-top: 18px; padding-top: 14px; font-size: 14px; color: #c9c4b5; }
footer.site .hint { color: #c9d4ca; }

@media (max-width: 980px) {
  .heroinner, .unitbody, .split { grid-template-columns: 1fr; }
  .herotext { padding: 40px 0 30px; }
  .herofig { min-height: 300px; position: relative; }
  .herofig img { position: relative; height: 320px; }
  .herofig figcaption { position: static; }
  .side { position: static; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 28px); }
  .fields { grid-template-columns: 1fr; }
  h1 { font-size: clamp(32px, 9vw, 42px); }
  .answer { font-size: 19px; }
  .signal .wrap { gap: 6px; font-size: 12.5px; }
  nav.main a { padding: 9px 8px; font-size: 14px; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .plan .price { font-size: 38px; }
}

/* R-182: inline links in prose keep a 24px target without changing the type */
p a, li a, td a, th a, dd a, dt a, figcaption a, .hint a, .fine a, .change a, .provenance a, .answer a, .bandgrid a, .band .hint a, .change .more {
  display: inline-block; min-height: 24px; vertical-align: middle;
}
@media print {
  .signal, .mast, footer.site, nav.main, .skip, .heroactions, .submit { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .wrap { width: 100%; }
  .band, .hero { background: #fff; color: #000; }
  .band h2, .hero h1 { color: #000; }
}
