/* public/index.css?v=13
   BOUTIQUE REDESIGN (v13)
   ✅ Keeps app.js IDs working
   ✅ Removes dark dashboard vibe
   ✅ Editorial typography + paper background + calm authority
   ✅ Consistent spacing + fewer “SaaS cards everywhere”
   ✅ Results actions truly hidden until scan
*/

/* =========================
   TOKENS
========================= */
:root{
  /* Paper + ink */
  --paper: #f4f2ed;           /* warm paper */
  --paper2:#fbfaf7;           /* lighter paper */
  --ink:   #0b1220;           /* deep slate */
  --ink2:  #111a2b;
  --muted: rgba(11,18,32,.68);
  --muted2:rgba(11,18,32,.56);

  /* Accents */
  --sage:  #2f5d50;           /* boutique accent */
  --sage2: #3e6e61;
  --line:  rgba(15,23,42,.12);
  --line2: rgba(15,23,42,.18);

  /* Shape + shadow (subtle) */
  --r-xl: 20px;
  --r-lg: 16px;
  --r-md: 13px;
  --r-sm: 11px;

  --shadow: 0 18px 50px rgba(15,23,42,.10);
  --shadowSoft: 0 10px 24px rgba(15,23,42,.08);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  letter-spacing: -0.01em;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 16% -10%, rgba(47,93,80,.09), rgba(47,93,80,0) 58%),
    radial-gradient(900px 420px at 88% 0%, rgba(17,26,43,.06), rgba(17,26,43,0) 60%),
    linear-gradient(180deg, var(--paper2), var(--paper));
}

a{ color: inherit; }
img{ max-width: 100%; height: auto; display:block; }

.container{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 26px;
}

.sectionGrid.narrow{
  max-width: 940px;
  margin: 0 auto;
}

/* Accessibility */
.skipLink{
  position:absolute;
  left:-999px;
  top:14px;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--line2);
  border-radius: var(--r-sm);
  z-index: 999;
}
.skipLink:focus{
  left:14px;
  outline:none;
  box-shadow: 0 0 0 3px rgba(47,93,80,.18);
}

/* =========================
   HEADER (boutique / light)
========================= */
/* supports both <header class="topBand"> (old) and <header class="siteHeader"> (new) */
.siteHeader,
.topBand{
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(47,93,80,.16), rgba(244,242,237,.72)),
    rgba(244,242,237,.72);
  border-bottom: 1px solid rgba(15,23,42,.10);
}

.headerInner,
.topBandInner{
  height: 74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: var(--ink);
  min-width: 260px;
}

.brandMark{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.10);
  display:grid;
  place-items:center;
  box-shadow: var(--shadowSoft);
}

/* if you don't have brandMark wrapper, this still looks fine */
.brandLogo{
  width: 18px;
  height: 18px;
  display:block;
}

.brandText{
  display:grid;
  gap: 1px;
  line-height: 1.05;
}

.brandName{
  font-weight: 950;
  letter-spacing: -.35px;
  font-size: 13.8px;
}

.brandSub{
  font-size: 12px;
  color: rgba(11,18,32,.58);
}

.topNav{
  display:flex;
  align-items:center;
  gap: 6px;
  font-size: 13px;
}

.topNav a{
  text-decoration:none;
  color: rgba(11,18,32,.72);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .12s ease, color .12s ease, transform .12s ease;
}
.topNav a:hover{
  color: rgba(11,18,32,.92);
  background: rgba(255,255,255,.62);
  transform: translateY(-1px);
}

.topCtas{
  display:flex;
  align-items:center;
  gap: 10px;
}

.ctaGhost, .ctaPrimary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  text-decoration:none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space:nowrap;
}

.ctaGhost{
  color: rgba(11,18,32,.84);
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.55);
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
}
.ctaGhost:hover{ transform: translateY(-1px); border-color: rgba(15,23,42,.22); }

.ctaPrimary{
  color: #fff;
  background: linear-gradient(180deg, rgba(47,93,80,.98), rgba(47,93,80,.92));
  border: 1px solid rgba(47,93,80,.30);
  box-shadow: 0 16px 30px rgba(47,93,80,.18);
}
.ctaPrimary:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(62,110,97,.98), rgba(47,93,80,.94));
}

/* =========================
   HERO
========================= */
.hero{
  padding: 44px 0 18px;
}

.heroGrid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  align-items: start;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 900;
  color: rgba(11,18,32,.60);
  letter-spacing: .02em;
  margin-top: 2px;
}
.eyedot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(47,93,80,.65);
  box-shadow: 0 0 0 3px rgba(47,93,80,.10);
}

/* headline fit — clamp so it never feels awkward */
.headline{
  margin: 12px 0 10px;
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: var(--ink);
  max-width: 18ch;
}

.lead{
  margin: 0 0 14px;
  font-size: 16.8px;
  line-height: 1.75;
  color: rgba(11,18,32,.70);
  max-width: 74ch;
}

.heroPrimaryActions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

.heroBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 950;
  text-decoration:none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
}

.heroBtnPrimary{
  background: linear-gradient(180deg, rgba(11,18,32,.98), rgba(11,18,32,.92));
  color: #fff;
  border: 1px solid rgba(11,18,32,.30);
  box-shadow: 0 18px 30px rgba(15,23,42,.14);
}
.heroBtnPrimary:hover{ transform: translateY(-1px); background: linear-gradient(180deg, rgba(17,26,43,.98), rgba(11,18,32,.94)); }

.heroBtnGhost{
  background: rgba(255,255,255,.60);
  color: var(--ink);
  border: 1px solid rgba(15,23,42,.14);
  box-shadow: 0 12px 20px rgba(15,23,42,.07);
}
.heroBtnGhost:hover{ transform: translateY(-1px); border-color: rgba(15,23,42,.22); }

/* supports both heroMeta (new) and heroValueGrid/cards (old) */
.heroMeta{
  display:grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 4px;
}
.metaItem{
  border-left: 2px solid rgba(47,93,80,.45);
  padding-left: 12px;
}
.metaK{
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(11,18,32,.62);
}
.metaV{
  margin-top: 4px;
  font-size: 14px;
  color: rgba(11,18,32,.72);
  line-height: 1.6;
}

.heroValueGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 8px;
}
.heroValueCard{
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: var(--shadowSoft);
}
.hvK{
  font-size: 12px;
  font-weight: 950;
  color: rgba(11,18,32,.62);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hvV{
  margin-top: 6px;
  font-size: 13.8px;
  color: rgba(11,18,32,.72);
  line-height: 1.55;
}

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 900;
  font-size: 12.5px;
}

.finePrint{
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(11,18,32,.56);
  line-height: 1.55;
  max-width: 76ch;
}

/* =========================
   CONSOLE (right)
========================= */
.heroRight{ margin-top: 18px; }

.console{
  border-radius: var(--r-xl);
  overflow:hidden;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}

.consoleBody{
  padding: 18px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.consoleTop{
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.consoleK{
  font-size: 12.5px;
  font-weight: 950;
  color: rgba(11,18,32,.86);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.consoleV{
  margin-top: 6px;
  font-size: 13.2px;
  color: rgba(11,18,32,.62);
  line-height: 1.5;
}

.scanForm{
  display:flex;
  flex-direction: column;
}

.fieldLabel{
  display:block;
  font-size: 12.5px;
  font-weight: 950;
  color: rgba(11,18,32,.62);
  margin: 2px 0 8px;
}

.fieldRow{
  display:grid;
  grid-template-columns: 1fr 190px;
  gap: 10px;
  align-items:stretch;
}

#url-input{
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.16);
  padding: 0 12px;
  font-size: 14.5px;
  outline: none;
  background: rgba(255,255,255,.85);
  transition: box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
#url-input::placeholder{ color: rgba(11,18,32,.42); }
#url-input:focus{
  border-color: rgba(47,93,80,.42);
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 3px rgba(47,93,80,.12);
}

.btnMain, .btnAlt{
  height: 50px;
  border-radius: 14px;
  font-weight: 950;
  letter-spacing: -.1px;
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.btnMain{
  border: 1px solid rgba(11,18,32,.28);
  background: linear-gradient(180deg, rgba(11,18,32,.98), rgba(11,18,32,.92));
  color: #fff;
  box-shadow: 0 16px 26px rgba(15,23,42,.12);
}
.btnMain:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(17,26,43,.98), rgba(11,18,32,.94));
}

.btnAlt{
  border: 1px solid rgba(15,23,42,.16);
  background: rgba(255,255,255,.70);
  color: var(--ink);
  box-shadow: 0 12px 20px rgba(15,23,42,.06);
}
.btnAlt:hover{ transform: translateY(-1px); border-color: rgba(15,23,42,.24); }

.btnWide{ width:100%; height: 48px; }

/* Proposal Mode */
.proposalBox{
  margin-top: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(244,242,237,.55);
  border-radius: var(--r-lg);
  padding: 12px;
}

.proposalTop{ display:grid; gap: 3px; margin-bottom: 10px; }
.proposalK{
  font-size: 12.5px;
  font-weight: 950;
  color: rgba(11,18,32,.86);
}
.proposalV{
  font-size: 12.5px;
  color: rgba(11,18,32,.62);
  line-height: 1.45;
}

.proposalGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.miniField{ display:grid; gap: 6px; }
.miniField span{
  font-size: 12px;
  font-weight: 950;
  color: rgba(11,18,32,.60);
}
.miniField input{
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  padding: 0 10px;
  font-size: 13.5px;
  outline: none;
  background: rgba(255,255,255,.84);
  transition: box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.miniField input:focus{
  border-color: rgba(47,93,80,.42);
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 3px rgba(47,93,80,.10);
}
.miniFieldFull{ grid-column: 1 / -1; }

.consentLine{
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(11,18,32,.58);
}

.signalsLine{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.10);
  font-size: 12.5px;
  color: rgba(11,18,32,.62);
  line-height: 1.5;
}
.signalsLabel{
  font-weight: 950;
  color: rgba(11,18,32,.80);
}
.signalsItems{
  color: rgba(11,18,32,.62);
}

.consoleHint{
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(11,18,32,.60);
  line-height: 1.55;
}

/* =========================
   RESULTS
========================= */
.resultsSection{ padding: 18px 0 78px; }

.resultsHead{
  margin: 6px auto 16px;
  max-width: 860px;
  text-align: center;
}

.resultsKicker{
  font-size: 12px;
  font-weight: 950;
  color: rgba(11,18,32,.62);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.resultsTitle{
  margin: 10px 0 8px;
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 30px;
  letter-spacing: -0.6px;
  color: var(--ink);
}

.resultsSub{
  margin: 0;
  font-size: 14.8px;
  line-height: 1.75;
  color: rgba(11,18,32,.70);
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

.resultsEmpty{
  border: 1px dashed rgba(15,23,42,.18);
  background: rgba(255,255,255,.55);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: var(--shadowSoft);
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
.resultsEmptyTitle{ font-weight: 950; color: rgba(11,18,32,.90); }
.resultsEmptyText{ margin-top: 6px; font-size: 13.8px; color: rgba(11,18,32,.70); line-height: 1.65; }

.previewWide{
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
  max-width: 940px;
}

/* Checkout actions */
.resultsActions{
  margin: 16px auto 0;
  display: grid;
  gap: 10px;
  max-width: 540px;
  justify-items: center;
  text-align: center;
}
.resultsActions .btnWide{ width:100%; height:50px; }
.payNote{
  font-size: 12.2px;
  color: rgba(11,18,32,.56);
}

/* ✅ key fix: hidden MUST win */
.resultsActions[hidden]{ display: none !important; }

/* =========================
   SECTIONS
========================= */
.section{ padding: 86px 0; }

.sectionPaper{
  background: rgba(255,255,255,.42);
  border-top: 1px solid rgba(15,23,42,.08);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.sectionGrid{ display:grid; gap: 18px; }

.sectionHead{
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sectionHead h2{
  margin: 0;
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 34px;
  letter-spacing: -0.6px;
  color: var(--ink);
}

.sectionHead p{
  margin: 12px auto 0;
  font-size: 15.6px;
  line-height: 1.75;
  color: rgba(11,18,32,.70);
  max-width: 86ch;
}

/* Tiles – quieter, less SaaS */
.tiles{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.tile{
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadowSoft);
  text-align:left;
}

.tile h3{
  margin:0 0 10px;
  color: var(--ink);
  letter-spacing: -.2px;
  font-size: 16px;
}

.tile p{
  margin:0;
  color: rgba(11,18,32,.70);
  line-height: 1.65;
  font-size: 14.2px;
}

.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel{
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadowSoft);
  text-align:left;
}

.panelK{
  font-weight: 950;
  color: var(--ink);
  letter-spacing: -.1px;
}

.panelV{
  margin-top: 8px;
  color: rgba(11,18,32,.70);
  line-height: 1.65;
  font-size: 14.2px;
}

/* Pricing */
.pricingGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.priceCard{
  position: relative;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadowSoft);
  text-align: left;
}

.priceCard.isBest{
  border-color: rgba(47,93,80,.26);
  box-shadow: 0 22px 60px rgba(47,93,80,.14);
  background: rgba(255,255,255,.68);
}

.bestPill{
  position:absolute;
  top: 14px;
  right: 14px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(47,93,80,.92);
  color:#fff;
  font-size: 12px;
  font-weight: 950;
  display:flex;
  align-items:center;
}

.priceTop{ display:grid; gap: 6px; padding-right: 86px; }
.priceName{ font-size: 13px; font-weight: 950; color: rgba(11,18,32,.64); }
.priceValue{
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
}
.priceNote{ font-size: 12.8px; color: rgba(11,18,32,.60); line-height: 1.45; }

.priceList{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(11,18,32,.70);
  line-height: 1.75;
  font-size: 13.8px;
}

.priceCTA{ margin-top: 16px; display:flex; }

.btnLike{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 950;
  text-decoration:none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space:nowrap;
  width: 100%;
}

.btnLikePrimary{
  background: linear-gradient(180deg, rgba(11,18,32,.98), rgba(11,18,32,.92));
  color:#fff;
  border: 1px solid rgba(11,18,32,.30);
  box-shadow: 0 16px 26px rgba(15,23,42,.12);
}
.btnLikePrimary:hover{ transform: translateY(-1px); }

.btnLikeGhost{
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border: 1px solid rgba(15,23,42,.14);
  box-shadow: 0 12px 20px rgba(15,23,42,.06);
}
.btnLikeGhost:hover{ transform: translateY(-1px); border-color: rgba(15,23,42,.22); }

/* Verification box */
.verifyBox{
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: var(--shadowSoft);
  text-align:left;
}

.verifyRow{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.verifyRow:last-child{ border-bottom: 0; padding-bottom: 0; }

.verifyK{
  font-size: 12.5px;
  font-weight: 950;
  color: rgba(11,18,32,.60);
  min-width: 160px;
}
.verifyV{ color: rgba(11,18,32,.80); line-height: 1.55; }

.verifyV code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  background: rgba(47,93,80,.08);
  border: 1px solid rgba(47,93,80,.16);
  padding: 3px 8px;
  border-radius: 999px;
}

/* FAQ */
.qa{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadowSoft);
  overflow:hidden;
  text-align:left;
}
.qa + .qa{ margin-top: 12px; }
.qa summary{
  list-style:none;
  cursor:pointer;
  padding: 14px 16px;
  font-weight: 950;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  color: var(--ink);
}
.qa summary::-webkit-details-marker{ display:none; }
.qa summary::after{ content:"+"; font-weight: 900; color: rgba(15,23,42,.55); }
.qa[open] summary::after{ content:"–"; }
.qaBody{
  padding: 0 16px 16px;
  font-size: 13.8px;
  color: rgba(11,18,32,.70);
  line-height: 1.7;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(15,23,42,.10);
  padding: 64px 0;
  background: rgba(255,255,255,.36);
}
.footerInner{ display:flex; justify-content:center; text-align:center; }
.footerBrand{ font-weight: 950; letter-spacing: -.2px; color: var(--ink); }
.footerTag{ font-size: 13px; color: rgba(11,18,32,.64); margin-top: 6px; line-height: 1.55; }

/* Centering helpers */
.sectionCentered .tiles,
.sectionCentered .twoCol,
.sectionCentered .pricingGrid{
  justify-items: stretch;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1060px){
  .topNav{ display:none; }
  .heroGrid{ grid-template-columns: 1fr; }
  .heroRight{ margin-top: 10px; }
  .fieldRow{ grid-template-columns: 1fr; }
  .proposalGrid{ grid-template-columns: 1fr; }
  .tiles{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
  .pricingGrid{ grid-template-columns: 1fr; }
  .priceTop{ padding-right: 0; }
  .bestPill{ position: static; margin-bottom: 10px; width: fit-content; }
}

@media (max-width: 560px){
  .headerInner,
  .topBandInner{ height:auto; padding: 12px 0; }
  .brand{ min-width: 0; }
  .topCtas{ width:100%; justify-content:flex-end; }
}

/* =========================
   PREVIEW RENDERER (app.js)
========================= */

.wrcNotice{ margin: 10px auto 14px; max-width: 940px; }
.wrcNotice.isHidden{ display:none; }
.wrcNoticeInner{
  display:flex; gap: 12px; align-items:flex-start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: var(--shadowSoft);
}
.wrcNoticeDot{
  width: 10px; height: 10px; border-radius: 999px;
  margin-top: 5px; flex: 0 0 auto;
  background: rgba(11,18,32,.40);
  box-shadow: 0 0 0 3px rgba(11,18,32,.08);
}
.wrcNoticeTitle{ font-weight: 950; }
.wrcNoticeText{ margin-top: 2px; color: rgba(11,18,32,.72); line-height: 1.55; font-size: 13.5px; }

.wrcNotice.isWarn .wrcNoticeDot{ background: rgba(180,83,9,.65); box-shadow:0 0 0 3px rgba(180,83,9,.12); }
.wrcNotice.isErr  .wrcNoticeDot{ background: rgba(185,28,28,.65); box-shadow:0 0 0 3px rgba(185,28,28,.12); }
.wrcNotice.isOk   .wrcNoticeDot{ background: rgba(47,93,80,.75); box-shadow:0 0 0 3px rgba(47,93,80,.12); }

.wrcShell{ max-width: 940px; margin: 0 auto; display:grid; gap: 14px; }

.wrcPreviewHead{
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 24px;
  box-shadow: var(--shadowSoft);
  padding: 18px 20px;
}
.wrcPreviewTop{ display:flex; align-items:flex-start; justify-content:space-between; gap: 14px; }
.wrcKicker{ font-size: 12px; font-weight: 950; letter-spacing:.02em; text-transform: uppercase; color: rgba(11,18,32,.62); }
.wrcTitle{ margin-top: 6px; font-family:"Playfair Display", ui-serif, Georgia, serif; font-size: 22px; letter-spacing:-.35px; }
.wrcSub{ margin-top: 6px; color: rgba(11,18,32,.70); line-height:1.65; font-size: 14px; max-width: 70ch; }

.wrcPreviewRight{ display:flex; flex-wrap:wrap; gap: 8px; justify-content:flex-end; }
.wrcBadgePill{
  height: 30px; padding: 0 10px; border-radius: 999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size: 12px; font-weight: 950;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.62);
}
.wrcBadgePill.isPreview{ background: rgba(47,93,80,.10); border-color: rgba(47,93,80,.18); }
.wrcBadgePill.isSoft{ color: rgba(11,18,32,.72); }

#wrcRiskBadge.isLow{ background: rgba(47,93,80,.10); border-color: rgba(47,93,80,.20); }
#wrcRiskBadge.isMedium{ background: rgba(180,83,9,.10); border-color: rgba(180,83,9,.22); }
#wrcRiskBadge.isHigh{ background: rgba(185,28,28,.10); border-color: rgba(185,28,28,.22); }

.wrcMetaRow{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.wrcMetaK{ font-size: 12px; font-weight: 950; color: rgba(11,18,32,.58); }
.wrcMetaV{ margin-top: 4px; color: rgba(11,18,32,.82); font-size: 13px; }

.wrcPaywall{
  margin-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
  padding-top: 12px;
}
.wrcPaywallTitle{ font-weight: 950; }
.wrcPaywallList{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(11,18,32,.72);
  line-height: 1.75;
  font-size: 13.5px;
}

.wrcSection{
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 24px;
  box-shadow: var(--shadowSoft);
  padding: 18px 20px;
}
.wrcSectionTop{ display:grid; gap: 4px; margin-bottom: 12px; }
.wrcSectionTitle{ font-weight: 950; }
.wrcSectionHint{ color: rgba(11,18,32,.62); font-size: 13.5px; line-height: 1.55; }

.wrcList{
  margin: 0;
  padding-left: 18px;
  color: rgba(11,18,32,.72);
  line-height: 1.75;
  font-size: 13.5px;
}
.wrcEmpty{ color: rgba(11,18,32,.62); font-size: 13.5px; line-height:1.6; }

.wrcGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.wrcCard{
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 14px;
}
.wrcCardTop{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.wrcCardTitle{ font-weight: 950; }
.wrcCardPill{
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 950;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.60);
}
.wrcCard--ok .wrcCardPill{ background: rgba(47,93,80,.10); border-color: rgba(47,93,80,.18); }
.wrcCard--warn .wrcCardPill{ background: rgba(180,83,9,.10); border-color: rgba(180,83,9,.22); }
.wrcCardLine{ margin-top: 8px; color: rgba(11,18,32,.72); font-size: 13.2px; line-height: 1.55; }

.wrcCoverage{ margin-top: 12px; }
.wrcCoverageTop{ display:flex; align-items:baseline; justify-content:space-between; gap: 10px; }
.wrcCoverageTitle{ font-weight: 950; }
.wrcCoverageHint{ color: rgba(11,18,32,.60); font-size: 12.8px; }
.wrcCoverageGrid{
  margin-top: 10px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.wrcCoverageBlock{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 12px 14px;
}
.wrcCoverageK{ font-size: 12px; font-weight: 950; color: rgba(11,18,32,.58); }
.wrcCoverageV{ margin-top: 6px; color: rgba(11,18,32,.76); font-size: 13px; line-height:1.6; }

.wrcConfidence{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
  color: rgba(11,18,32,.64);
  font-size: 13.3px;
  line-height: 1.65;
}

/* Findings (client-safe) */
.findings.wrcFindingsTight{
  max-width: 940px;
  margin: 14px auto 0;
  padding-left: 18px;
  color: rgba(11,18,32,.72);
  line-height: 1.75;
  font-size: 13.8px;
}

/* Technical details */
.wrcDetails{
  max-width: 940px;
  margin: 12px auto 0;
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: var(--shadowSoft);
  overflow: hidden;
}
.wrcDetailsSummary{
  cursor:pointer;
  padding: 14px 16px;
  font-weight: 950;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.wrcDetailsBody{ padding: 0 16px 16px; }
.wrcDetailsGrid{ display:grid; grid-template-columns: 1fr; gap: 12px; }
.wrcDetailsK{ font-size: 12px; font-weight: 950; color: rgba(11,18,32,.58); }
.wrcDetailsV{ margin-top: 6px; color: rgba(11,18,32,.72); line-height:1.6; font-size: 13px; }

@media (max-width: 1060px){
  .wrcPreviewTop{ flex-direction: column; }
  .wrcPreviewRight{ justify-content:flex-start; }
  .wrcGrid{ grid-template-columns: 1fr; }
  .wrcMetaRow{ grid-template-columns: 1fr; }
}
