/* Green Claims Audit — forensic-editorial "redline" aesthetic
   Type: Fraunces (characterful serif display) + Libre Franklin (grotesque body) + Spline Sans Mono
   Palette: warm bone paper + ink + signal red (flagged claims) + restrained olive.
   Deliberately NOT "eco green" — this is about scrutiny OF green claims. */
:root {
  --paper: #f7f4ec;
  --paper-2: #efeadd;
  --card: #fffdf8;
  --ink: #1c1b18;
  --ink-2: #45423b;        /* AA on paper */
  --muted: #6b675c;        /* AA on paper/card */
  --rule: #ddd6c5;
  --rule-2: #e9e3d5;
  --red: #b3271c;          /* flagged/banned — AA on paper as text */
  --red-bg: #f7e6e2;
  --amber: #9a6a10;        /* needs-substantiation — AA on paper */
  --amber-bg: #f6ecd8;
  --olive: #4a5a2b;        /* permitted / restrained accent — AA on paper */
  --olive-bg: #eaeedd;
  --ink-btn: #1c1b18;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Libre Franklin', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 26px; }
a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* masthead — centered nameplate with rules (distinct from PPWR's app bar) */
.masthead { border-bottom: 1px solid var(--ink); background: var(--paper); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nameplate { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.np-mark { height: 26px; width: auto; display: block; flex: none; }
.np-word { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.np-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.top-nav { display: flex; gap: 24px; align-items: center; }
.top-nav a { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2); text-decoration: none; }
.top-nav a:hover { color: var(--red); }
.top-nav .nav-cta { background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 2px; }
.top-nav .nav-cta:hover { background: var(--red); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); width: 42px; height: 38px; cursor: pointer; }
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; content: ''; }
.nav-toggle span:before { position: absolute; top: -6px; content: ''; }
.nav-toggle span:after { position: absolute; top: 6px; content: ''; }

/* hero — editorial lead + a redlined-claim exhibit */
.hero { padding: 62px 0 54px; border-bottom: 1px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.hero h1 { font-size: 52px; line-height: 1.02; margin: 0 0 20px; font-weight: 600; letter-spacing: -0.02em; }
.hero .lede { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; line-height: 1.5; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 2px; border: none; cursor: pointer; transition: background .15s; }
.btn-primary:hover { background: var(--red); color: #fff; }
.btn-large { font-size: 17px; padding: 17px 30px; }
.cta-note { font-size: 13px; color: var(--muted); }
.cta-note a { color: var(--red); }

/* redline exhibit card */
.exhibit { background: var(--card); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--paper-2); }
.exhibit-head { border-bottom: 1px solid var(--rule); padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; }
.exhibit-head .t { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.exhibit-head .d { font-family: var(--mono); font-size: 10px; color: var(--red); }
.exhibit-body { padding: 8px 18px 16px; }
.claim-row { padding: 13px 0; border-bottom: 1px dotted var(--rule); }
.claim-row:last-child { border-bottom: none; }
.claim-text { font-family: var(--serif); font-size: 18px; }
.claim-text s { color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.claim-verdict { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; margin-top: 5px; }
.v-ban { color: var(--red); }
.v-sub { color: var(--amber); }
.v-ok { color: var(--olive); }

/* sections */
section { padding: 60px 0; }
.sec-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.sec-h { font-size: 34px; line-height: 1.08; margin: 0 0 14px; max-width: 24ch; font-weight: 600; }
.sec-sub { font-size: 18px; color: var(--ink-2); margin: 0 0 8px; max-width: 60ch; }
.band { background: var(--paper-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }

/* rules grid */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 34px; border: 1px solid var(--rule); }
.rule-item { padding: 24px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--card); }
.rule-item:nth-child(2n) { border-right: none; }
.rule-item .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.rule-item h3 { font-size: 20px; margin: 0 0 6px; }
.rule-item p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.step .num { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--red); line-height: 1; margin-bottom: 10px; }
.step h3 { font-size: 19px; margin: 0 0 6px; }
.step p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* forms */
.audit-wrap { max-width: 780px; margin: 0 auto; }
.auditform { background: var(--card); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--paper-2); }
.af-price { background: var(--ink); color: var(--paper); padding: 16px 32px; display: flex; align-items: baseline; justify-content: space-between; }
.af-price .p { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.af-price .p small { font-family: var(--sans); font-size: 13px; opacity: 0.72; margin-left: 6px; }
.af-price .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.af-inner { padding: 30px 32px 32px; }
.af-field { margin-bottom: 20px; }
.af-field > label, .af-legend { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.af-help { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.af-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.auditform input[type=text], .auditform input[type=email], .auditform textarea, .auditform select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; padding: 12px 14px; outline: none; transition: border-color .12s; }
.auditform textarea { min-height: 150px; resize: vertical; line-height: 1.5; font-family: var(--mono); font-size: 14px; }
.auditform input:focus, .auditform textarea:focus, .auditform select:focus { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
fieldset.af-field { border: none; margin: 0 0 20px; padding: 0; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 1px solid var(--rule); border-radius: 2px; padding: 10px 14px; font-size: 14px; color: var(--ink-2); background: var(--paper); transition: all .12s; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt:hover { border-color: var(--ink); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; }
.opt:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.af-submit { margin-top: 6px; }
.af-submit .btn-primary { width: 100%; text-align: center; }
.af-fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; line-height: 1.5; }
.order-status { margin-top: 14px; font-family: var(--mono); font-size: 13px; padding: 11px 14px; border-left: 3px solid var(--muted); background: var(--paper-2); color: var(--ink-2); }
.order-status.err { border-left-color: var(--red); background: var(--red-bg); color: #7c1a12; }

/* callout */
.callout { background: var(--paper-2); border-left: 4px solid var(--ink); padding: 20px 24px; margin: 26px 0; }
.callout strong { color: var(--ink); }

/* single-claim checker verdict */
.checker-box { max-width: 640px; margin: 30px auto 0; }
.checker-in { display: flex; gap: 10px; }
.checker-in input { flex: 1; font-family: var(--serif); font-size: 18px; padding: 14px 16px; border: 1px solid var(--ink); background: var(--card); border-radius: 2px; }
.checker-result { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--ink); background: var(--card); }
.checker-result[hidden] { display: none; }
.cr-verdict { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.cr-why { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cr-rewrite { margin-top: 12px; padding-top: 12px; border-top: 1px dotted var(--rule); font-size: 15px; }
.cr-rewrite b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--olive); display: block; margin-bottom: 4px; }

/* faq */
.faq-item { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.faq-item h3 { font-size: 19px; margin: 0 0 8px; }
.faq-item p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: #c9c3b4; padding: 50px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-inner h4 { color: var(--paper); font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.footer-inner a { display: block; color: #b8b1a1; text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.footer-inner a:hover { color: var(--paper); }
.foot-brand { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--paper); margin-bottom: 8px; }
.foot-tag { font-size: 14px; color: #9a9384; line-height: 1.55; max-width: 32ch; }
.foot-fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 20px; font-size: 12.5px; color: #8f8879; line-height: 1.6; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .rules { grid-template-columns: 1fr; } .rule-item { border-right: none; }
  .rule-item:nth-child(2n) { border-right: none; }
  .steps { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
  .hero h1 { font-size: 38px; } .sec-h { font-size: 27px; }
  .af-2 { grid-template-columns: 1fr; }
  .top-nav { display: none; position: absolute; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--ink); flex-direction: column; gap: 0; padding: 8px 0; z-index: 30; }
  .top-nav:not([hidden]) { display: flex; }
  .top-nav a { padding: 12px 26px; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .checker-in { flex-direction: column; }
}
