/* 
  Finer Property – Concept 1 (Architectural Minimal)
  Plain HTML + CSS (no frameworks)
*/

:root{
  --bg:#ffffff;
  --surface:#f6f7f8;
  --text:#0b0d0f;
  --muted:#4b5563;
  --border:#e6e8eb;
  --accent:#0b6b66;
  --accent-soft: rgba(11,107,102,.10);
  --shadow: 0 16px 40px rgba(0,0,0,.06);
  --radius: 0px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:var(--text); text-decoration-color: rgba(11,107,102,.35); text-underline-offset: 3px; }
a:hover{ text-decoration-color: rgba(11,107,102,.75); }

.skip-link{
  position:absolute;
  top:-40px;
  left:16px;
  background:var(--text);
  color:#fff;
  padding:10px 12px;
  z-index:9999;
}
.skip-link:focus{ top:16px; }

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin-inline:auto;
}

.small{ font-size:.95rem; color:var(--muted); }
.kicker{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--muted);
}
.kicker::before{
  content:"";
  width:18px;
  height:10px;
  background:var(--accent);
  clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
}

h1,h2,h3{
  font-family: "Space Grotesk", Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height:1.15;
  margin:0 0 .6rem 0;
  letter-spacing:-0.01em;
}
h1{ font-size: clamp(2rem, 4vw, 3.25rem); }
h2{ font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-top:0; }
h3{ font-size: 1.2rem; }

p{ margin:0 0 1rem 0; }

.section{
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.section.alt{
  background: var(--surface);
  position:relative;
}
.section.alt::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:22px;
  background: linear-gradient(135deg, transparent 49%, var(--surface) 50%);
}

.grid{
  display:grid;
  gap:1.25rem;
}
.grid.two{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px){
  .grid.two, .grid.three{ grid-template-columns: 1fr; }
}

.card{
  border:1px solid var(--border);
  background:var(--bg);
  box-shadow: var(--shadow);
  padding:1.4rem;
  clip-path: polygon(0 0, 96% 0, 100% 11%, 100% 100%, 0 100%);
}
.card.soft{
  box-shadow:none;
  background: linear-gradient(180deg, rgba(11,107,102,.07), rgba(11,107,102,0));
  border-color: rgba(11,107,102,.20);
}
.card h3{ margin-top:.2rem; }

.btn{
  --btn-cut: 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.92rem 1.15rem;
  border:1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  letter-spacing:.01em;
  text-decoration:none;
  cursor:pointer;
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--btn-cut)) 0, 100% var(--btn-cut), 100% 100%, 0 100%);
  transition: transform .08s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn.primary{
  background: var(--accent);
  border-color: var(--accent);
  color:#fff;
}
.btn.primary:hover{ background: #085650; border-color:#085650; }

.btn.secondary{
  --btn-stroke: rgba(11,13,15,.35);
  background: transparent;
  border-color: var(--btn-stroke);
}
/* Draw the missing diagonal border on the clipped top-right corner */
.btn.secondary::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width: var(--btn-cut);
  height: var(--btn-cut);
  background: linear-gradient(
    45deg,
    transparent 47%,
    var(--btn-stroke) 48%,
    var(--btn-stroke) 52%,
    transparent 53%
  );
  pointer-events:none;
}
.btn.secondary:hover{
  --btn-stroke: rgba(11,107,102,.35);
  background: rgba(11,107,102,.06);
  border-color: var(--btn-stroke);
}
.btn.ghost{
  border-color: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(11,107,102,.35);
  padding-left:0;
  padding-right:0;
  clip-path:none;
}
.btn.ghost:hover{ background: transparent; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem .7rem;
  border:1px solid rgba(11,107,102,.25);
  background: rgba(11,107,102,.06);
  color: var(--text);
  font-weight:600;
  font-size:.9rem;
  clip-path: polygon(0 0, 92% 0, 100% 45%, 100% 100%, 0 100%);
}

.ul{
  list-style:none;
  padding:0;
  margin:0;
}
.ul li{
  position:relative;
  padding-left:1.25rem;
  margin:.55rem 0;
}
.ul li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55rem;
  width:.7rem;
  height:.55rem;
  background: var(--accent);
  clip-path: polygon(0 0, 70% 0, 100% 100%, 30% 100%);
}

.site-header{
  position: sticky;
  top:0;
  z-index:1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.85rem 0;
}
.logo{
  display:flex;
  align-items:center;
  gap:.75rem;
  text-decoration:none;
}
.logo img{
  height:40px;
  width:auto;
}
@media (max-width: 520px){
  .logo img{ height:34px; }
}

.nav-toggle{ display:none; }
.nav-toggle-label{
  display:none;
  width:44px; height:44px;
  border:1px solid var(--border);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 0 100%);
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after{
  display:block;
  width:18px;
  height:2px;
  background: var(--text);
  position:relative;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after{
  content:"";
  position:absolute;
  left:0;
}
.nav-toggle-label span::before{ top:-6px; }
.nav-toggle-label span::after{ top:6px; }

.site-nav{
  display:flex;
  align-items:center;
  gap:1rem;
}
.site-nav ul{
  display:flex;
  align-items:center;
  gap:.8rem;
  list-style:none;
  padding:0;
  margin:0;
}
.site-nav a{
  text-decoration:none;
  padding:.55rem .55rem;
  border-radius:0;
  font-weight:600;
  color:var(--text);
}
.site-nav a:hover{ background: rgba(11,107,102,.06); }

.nav-cta{ display:flex; gap:.6rem; align-items:center; }

.dropdown{
  position:relative;
}
.dropdown > a::after{
  content:"▾";
  margin-left:.35rem;
  font-size:.85rem;
  opacity:.7;
}
.dropdown-menu{
  position:absolute;
  top: 120%;
  left:0;
  min-width: 260px;
  background: var(--bg);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  padding:.45rem;
  display:none;
}
.dropdown:hover .dropdown-menu{ display:block; }
.dropdown-menu a{
  display:block;
  padding:.6rem .7rem;
}
.dropdown-menu a:hover{ background: rgba(11,107,102,.08); }

@media (max-width: 980px){
  .nav-toggle-label{ display:flex; }
  .site-nav{
    position: absolute;
    left:0; right:0;
    top:100%;
    background: var(--bg);
    border-bottom:1px solid var(--border);
    display:none;
    padding: 1rem 0;
  }
  .site-nav ul{
    flex-direction:column;
    align-items:flex-start;
    gap:.25rem;
  }
  .nav-cta{ flex-direction:column; align-items:flex-start; padding: .8rem 1rem 0 1rem; }
  .site-nav a{ padding: .65rem 1rem; width:100%; }
  .dropdown:hover .dropdown-menu{ display:none; } /* hover doesn't work well on mobile */
  .dropdown-menu{
    position:static;
    display:block;
    border:none;
    box-shadow:none;
    padding:0 0 .5rem 0;
  }
  .dropdown-menu a{ padding-left:2rem; }
  #nav-toggle:checked ~ nav.site-nav{ display:block; }
}

.hero{
  position:relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(11,107,102,0.10) 0%, rgba(11,107,102,0.0) 60%);
  }
.hero::after{
  content:none;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items:center;
}
@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; }
}

.lead{ font-size: 1.125rem; color: rgba(11,13,15,.85); max-width: 60ch; }
.trust-line{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem 1.1rem;
  margin: 1.1rem 0 1.3rem;
  color: var(--muted);
  font-weight:600;
}
.trust-line span{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.trust-line span::before{
  content:"";
  width:10px;
  height:10px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.hero-visual{
  display:flex;
  justify-content:flex-end;
}
.hero-visual .visual{
  max-width: 420px;
  width: 100%;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(11,13,15,.12);
  box-shadow: var(--shadow);
  padding: 1rem;
  clip-path: polygon(0 0, 96% 0, 100% 9%, 100% 100%, 0 100%);
}
.hero-visual .visual img{
  width:100%;
  height:auto;
}

.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
  margin-top:1.35rem;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:2rem;
  align-items:start;
}
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; } }

.hr{
  border:0;
  border-top:1px solid var(--border);
  margin: 2rem 0;
}

.faq{
  display:grid;
  gap:.75rem;
}
.faq details{
  border:1px solid var(--border);
  background:#fff;
  padding: .9rem 1rem;
  box-shadow: none;
  clip-path: polygon(0 0, 98% 0, 100% 18%, 100% 100%, 0 100%);
}
.faq summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+";
  float:right;
  font-size:1.2rem;
  line-height:1;
  opacity:.7;
}
.faq details[open] summary::after{ content:"–"; }
.faq details p{ margin-top:.75rem; color: rgba(11,13,15,.85); }

.table{
  width:100%;
  border-collapse: collapse;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: none;
}
.table th, .table td{
  padding:.85rem .9rem;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}
.table th{ text-align:left; background: rgba(11,107,102,.06); }

.form{
  display:grid;
  gap:1rem;
  max-width: 820px;
}
.field{
  display:grid;
  gap:.35rem;
}
label{ font-weight:700; }
input, select, textarea{
  padding:.78rem .85rem;
  border:1px solid rgba(11,13,15,.25);
  background: #fff;
  font: inherit;
}
input:focus, select:focus, textarea:focus{
  outline: 3px solid rgba(11,107,102,.18);
  border-color: rgba(11,107,102,.45);
}
textarea{ min-height: 140px; resize: vertical; }

fieldset{
  border:1px solid var(--border);
  padding: 1rem 1rem 1rem;
  margin:0;
  background:#fff;
}
legend{
  font-weight:800;
  padding: 0 .5rem;
}

.radio-grid{
  display:grid;
  gap:.45rem;
  margin-top:.6rem;
}
.radio-grid label{
  font-weight:600;
  display:flex;
  gap:.55rem;
  align-items:flex-start;
}
.radio-grid input{ margin-top:.25rem; }

.site-footer{
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: #fff;
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:2rem;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem 1rem;
  align-content:flex-start;
}
.footer-links a{ font-weight:600; }
@media (max-width: 860px){
  .footer-inner{ grid-template-columns: 1fr; }
}

.site-nav a[aria-current="page"]{ background: rgba(11,107,102,.10); }

/* Breadcrumbs */
.breadcrumbs{ padding: .5rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb-list{
  display:flex;
  flex-wrap:wrap;
  gap:.25rem;
  list-style:none;
  padding:0;
  margin:0;
  font-size:.85rem;
  color:var(--muted);
}
.breadcrumb-list li::after{ content:"›"; margin-left:.4rem; }
.breadcrumb-list li:last-child::after{ content:none; }
.breadcrumb-list a{ text-decoration:none; color:var(--muted); }
.breadcrumb-list a:hover{ color:var(--accent); }
.breadcrumb-list span{ color:var(--text); font-weight:600; }



/* ---------------------------------------------
   Health Check Wizard
----------------------------------------------*/
.hc{ max-width: var(--max); margin: 0 auto; }
.hc-progress{ margin: 8px 0 18px; }
.hc-progress-meta{
  display:flex; justify-content:space-between; gap:16px; align-items:flex-end;
  margin-bottom: 10px;
}
.hc-step-title{ font-weight:700; display:block; }
.hc-step-sub{ display:block; font-size: 0.95rem; color: var(--muted); margin-top:2px; }
.hc-step-count{ font-size: 0.95rem; color: var(--muted); white-space:nowrap; }
.hc-progress-bar{
  width:100%;
  height:10px;
  background: var(--surface);
  border:1px solid var(--border);
}
.hc-progress-fill{
  height:100%;
  width:0%;
  background: var(--accent);
}

.hc-card{
  border:1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}
.hc-body{ padding: 6px 0 14px; }
.hc-nav{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid var(--border);
  padding-top: 14px;
}
.hc-note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hc-intro .h2{ margin-top: 0; }
.hc-badge-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px; }
.hc-badge{
  display:inline-flex; align-items:center;
  border:1px solid var(--border);
  padding: 6px 10px;
  background: var(--surface);
  font-size: 0.9rem;
}

.req{ color: #b91c1c; font-weight:700; }

.hc-q .h3{ margin-top: 0; }
.hc-options{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 720px){
  .hc-options{ grid-template-columns: 1fr; }
  .hc-progress-meta{ align-items:flex-start; flex-direction:column; }
  .hc-step-count{ align-self:flex-start; }
  .hc-nav{ flex-direction:column; }
  .hc-nav .button{ width:100%; }
}

.hc-option{
  width:100%;
  text-align:left;
  border:1px solid var(--border);
  background: #fff;
  padding: 14px 14px;
  cursor:pointer;
  transition: transform .04s ease, border-color .12s ease, background-color .12s ease;
}
.hc-option:hover{ border-color: rgba(11,107,102,.35); }
.hc-option:active{ transform: translateY(1px); }
.hc-option.is-selected{
  border-color: var(--accent);
  background: var(--accent-soft);
}
.hc-option.is-na{
  background: var(--surface);
}
.hc-option-label{ font-weight: 700; }

.hc-hint{ margin-top: 12px; }

.hc-check{
  display:flex; gap:10px; align-items:flex-start;
  padding: 10px 0;
  user-select:none;
}
.hc-check input{ margin-top: 4px; }

.hc-result{
  margin-top: 24px;
}
.hc-result-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.hc-result-actions-bottom{ margin-top: 14px; }
.hc-report-wrap{
  border:1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
  padding: 16px;
}
.hc-report{ max-width: 900px; margin: 0 auto; }
.hc-report-head img{ height: 34px; width:auto; }
.hc-report-brand{
  display:flex; align-items:center; gap:12px; margin-bottom: 10px;
}
.hc-report-title{
  margin: 10px 0 10px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
}
.hc-report-meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  padding: 10px 0 14px;
  border-bottom:1px solid var(--border);
}
@media (max-width: 720px){
  .hc-report-meta{ grid-template-columns: 1fr; }
}

.hc-overall{ display:grid; grid-template-columns: 280px 1fr; gap:16px; margin-top: 14px; }
@media (max-width: 900px){
  .hc-overall{ grid-template-columns: 1fr; }
}

.hc-scorebox{
  border:1px solid var(--border);
  padding: 14px;
  background: var(--surface);
}
.hc-scorebox-num{
  font-size: 2.3rem;
  line-height: 1.1;
  font-weight: 800;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
}
.hc-scorebox-label{ margin-top: 6px; font-weight: 700; }
.hc-score-good{ border-color: rgba(11,107,102,.35); }
.hc-score-fair{ border-color: rgba(245,158,11,.45); }
.hc-score-poor{ border-color: rgba(220,38,38,.45); }

.hc-section{ margin-top: 18px; }
.hc-table-wrap{ overflow:auto; border:1px solid var(--border); }
.hc-table{
  border-collapse: collapse;
  width: 100%;
  min-width: 860px;
}
.hc-table th, .hc-table td{
  border-bottom:1px solid var(--border);
  padding: 10px 10px;
  vertical-align: top;
}
.hc-table th{
  text-align:left;
  background: var(--surface);
  font-size: 0.95rem;
}
.hc-td-score{ font-weight: 800; text-align:center; width: 70px; }

.hc-sev{
  display:inline-flex;
  border:1px solid var(--border);
  padding: 4px 8px;
  font-size: 0.85rem;
  background: var(--surface);
  white-space: nowrap;
}
.sev-green{ border-color: rgba(11,107,102,.45); }
.sev-yellow{ border-color: rgba(245,158,11,.55); }
.sev-orange{ border-color: rgba(249,115,22,.55); }
.sev-red{ border-color: rgba(220,38,38,.55); }
.sev-na{ border-style:dashed; }

.hc-pressing li{ margin-bottom: 10px; }
.hc-excluded{ margin-top: 8px; }

.hc-steps{ margin-top: 10px; }

.hc-offer{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
  border:1px solid var(--border);
  padding: 12px;
  background: var(--surface);
  margin-top: 12px;
  break-inside: avoid;
  page-break-inside: avoid;
}
@media (max-width: 720px){
  .hc-offer{ grid-template-columns: 1fr; }
}
.hc-code{
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.hc-link{ word-break: break-all; }
.hc-qr canvas{ border:1px solid var(--border); background:#fff; padding: 6px; }

.hc-status-info, .hc-status-success, .hc-status-warn{
  border:1px solid var(--border);
  padding: 10px 12px;
  background: var(--surface);
}
.hc-status-success{ border-color: rgba(11,107,102,.45); }
.hc-status-warn{ border-color: rgba(245,158,11,.55); }

.hc-disclaimer{ margin-top: 12px; }



/* ---------------------------------------------
   Offer / Notice UI (used on Stage 2 offer page)
----------------------------------------------*/
.notice{
  border:1px solid rgba(11,107,102,.35);
  background: var(--accent-soft);
  padding: 10px 12px;
  margin-bottom: 14px;
}
.offer-code-block{
  border:1px solid var(--border);
  padding: 12px;
  background: var(--surface);
  margin: 12px 0 12px;
}
.offer-code{
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-top: 2px;
}
.cta-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.card--soft{
  border:1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  box-shadow: none;
}
.hero--compact{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:start;
  margin-top: 10px;
}
@media (max-width: 900px){
  .hero--compact{ grid-template-columns: 1fr; }
}
.checklist{ padding-left: 18px; margin: 10px 0 0; }
.checklist li{ margin: 6px 0; }


.form-success{
  margin-top:1rem;
  padding:1rem;
  border-radius:14px;
  border:1px solid rgba(11,13,15,.12);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.form-success h3{margin:0 0 .35rem 0}


.hc-disclaimer-box{
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11,13,15,.12);
  background: rgba(11,107,102,.06);
}
.hc-disclaimer-box p{margin:0}

.hc-priority-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 900px){
  .hc-priority-grid{grid-template-columns:1fr}
}
.hc-priority-card{
  border:1px solid rgba(11,13,15,.12);
  background: var(--surface);
  border-radius: 14px;
  padding: 12px;
}
.hc-priority-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.hc-steps{padding-left: 18px; margin: 6px 0 0}
.hc-steps li{margin: 8px 0}
.hc-offer--top{grid-template-columns: 1fr}


/* Health Check report compact layout */
.hc-report{
  font-size: 14px;
  line-height: 1.45;
}
.hc-report .hc-table{
  min-width: 0;
  width: 100%;
}
.hc-report .hc-table th,
.hc-report .hc-table td{
  padding: 8px 8px;
}
.hc-report .hc-table th:nth-child(2),
.hc-report .hc-table td:nth-child(2){
  width: 140px;
  white-space: nowrap;
}
.hc-report .hc-table th:nth-child(3),
.hc-report .hc-table td:nth-child(3){
  width: 260px;
}


/* --- Health Check report updates (headings + gauge + full results) --- */
.hc-report-section { margin: 0 0 18px; }
.hc-report-h2 { font-size: 22px; margin: 0 0 10px; letter-spacing: -0.01em; }
.hc-report-h3 { font-size: 16px; margin: 14px 0 8px; }

.hc-report-page--one { page-break-after: always; break-after: page; }
.hc-report-page { padding: 0; }

.hc-scorecard-panel {
  background: #f1f7f6;
  border: 1px solid #dcebea;
  border-radius: 14px;
  padding: 16px;
}
.hc-scorecard-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 860px) {
  .hc-scorecard-grid { grid-template-columns: 1fr; }
}

.hc-scorebox { margin-bottom: 10px; }
.hc-score-big { font-size: 44px; font-weight: 800; line-height: 1; }
.hc-score-band { font-size: 16px; font-weight: 700; margin-top: 6px; }
.hc-score-tagline { margin-top: 2px; color: #4b5563; font-size: 13px; }
.hc-score-body { margin: 10px 0 0; color: #374151; font-size: 13.5px; }

.hc-gauge-wrap { max-width: 420px; }
.hc-gauge, .hc-gauge-canvas { width: 100%; height: auto; display: block; }
.hc-gauge-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  font-size: 12px;
}
.hc-gauge-key { display: inline-flex; align-items: center; gap: 6px; }
.hc-swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

.hc-report-meta {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}
.hc-meta-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.hc-meta-label { color: #6b7280; font-size: 12px; }
.hc-meta-value { font-weight: 600; font-size: 12.5px; color: #111827; text-align: right; }

.hc-top-urgent { margin-top: 12px; }
.hc-urgent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hc-urgent-item { display: flex; gap: 8px; align-items: flex-start; }
.hc-urgent-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  flex: 0 0 10px;
  background: #94a3b8;
}
.hc-urgent-icon--good { background: #16a34a; }
.hc-urgent-icon--watch { background: #f59e0b; }
.hc-urgent-icon--needs { background: #ef4444; }
.hc-urgent-icon--na { background: #94a3b8; }

.hc-next-box {
  background: #f7faf9;
  border: 1px solid #e3eeec;
  border-radius: 14px;
  padding: 16px;
}
.hc-urgent-line { margin: 0 0 8px; }
.hc-next-title { margin: 0 0 8px; }

.hc-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 12px;
}
.hc-code-label { color: #6b7280; font-size: 12px; }
.hc-code-value { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; }
.hc-code-promo { font-style: italic; font-weight: 700; color: #0f766e; text-align: right; }

@media (max-width: 680px) {
  .hc-code-row { flex-direction: column; align-items: flex-start; }
  .hc-code-promo { text-align: left; }
}

.hc-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hc-cta-row .button { margin-top: 6px; }

/* Prevent downloading the HTML while the PDF is still generating */
.button.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}


.hc-code-inline { margin-top: 8px; }

.hc-area-title { font-weight: 800; margin: 0 0 4px; }
.hc-area-advice { color: #374151; line-height: 1.35; }

/* Report table readability: show guidance on a full-width row */
.hc-report .hc-table td { padding: 10px 14px; }
.hc-report .hc-row-block { break-inside: avoid; page-break-inside: avoid; }
.hc-report .hc-row--main td { border-bottom: 0; padding-bottom: 4px; }
.hc-report .hc-row--detail td { padding-top: 0; padding-bottom: 12px; }
.hc-report .hc-row--detail .hc-area-advice { margin-top: 0; color: #6b7280; }

/* Prevent key blocks from splitting across PDF pages */
.hc-report-head, .hc-scorecard-grid, .hc-suggested, .hc-offer {
  break-inside: avoid;
  page-break-inside: avoid;
}

.hc-report .hc-guidance { color: #6b7280; }


.hc-answers { color: #374151; }
.hc-report .hc-table th:nth-child(2),
.hc-report .hc-table td:nth-child(2) { width: 110px; }
.hc-report .hc-table th:nth-child(3),
.hc-report .hc-table td:nth-child(3) { width: 240px; }
.hc-report .hc-table tr { page-break-inside: avoid; }

.hc-sev {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}
.hc-sev--good { background: rgba(34, 197, 94, 0.16); color: #14532d; border-color: rgba(34, 197, 94, 0.35); }
.hc-sev--watch { background: rgba(234, 179, 8, 0.18); color: #713f12; border-color: rgba(234, 179, 8, 0.35); }
.hc-sev--needs { background: rgba(239, 68, 68, 0.16); color: #7f1d1d; border-color: rgba(239, 68, 68, 0.35); }
.hc-sev--na { background: rgba(148, 163, 184, 0.18); color: #334155; border-color: rgba(148, 163, 184, 0.35); }


/* ------------------------------
   PDF generation (Building Health Check)
   ------------------------------ */

.hc-report-wrap--pdf {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.hc-report-wrap--pdf .hc-report-section {
  padding: 0 16px;
}

.hc-report-wrap--pdf .hc-pdf-page--one {
  /* Hard page break after Next step */
  page-break-after: always;
  break-after: page;
  padding-bottom: 8px;
}

.hc-report-wrap--pdf .html2pdf__page-break {
  /* html2pdf legacy mode page break marker */
  height: 0;
  margin: 0;
  padding: 0;
}

.hc-report-wrap--pdf .hc-pdf-brand-strip {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  text-align: center;
}

.hc-report-wrap--pdf .hc-pdf-brand-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hc-report-wrap--pdf .hc-pdf-logo {
  height: 46px;
  width: auto;
  display: block;
}

.hc-report-wrap--pdf .hc-pdf-brand-text {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: #0f172a;
}

.hc-report-wrap--pdf .hc-pdf-report-title {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.hc-report-wrap--pdf .hc-pdf-results {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.hc-report-wrap--pdf .hc-pdf-results-head {
  display: grid;
  grid-template-columns: 1.55fr 0.55fr 1fr;
  column-gap: 12px;
  padding: 10px 14px;
  background: rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
}

.hc-report-wrap--pdf .hc-pdf-item {
  padding: 10px 14px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.hc-report-wrap--pdf .hc-pdf-item:last-child {
  border-bottom: none;
}

.hc-report-wrap--pdf .hc-pdf-item-head {
  display: grid;
  grid-template-columns: 1.55fr 0.55fr 1fr;
  column-gap: 12px;
  align-items: start;
}

.hc-report-wrap--pdf .hc-pdf-status {
  display: flex;
  justify-content: flex-start;
}

.hc-report-wrap--pdf .hc-pdf-answers {
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
}

.hc-report-wrap--pdf .hc-pdf-paragraph {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #475569;

  break-inside: avoid;
  page-break-inside: avoid;
}

.hc-report-wrap--pdf .hc-pdf-item-chunk,
.hc-report-wrap--pdf .hc-pdf-avoid {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* PDF Scorecard section */
.hc-report-wrap--pdf .hc-pdf-scorecard-wrap {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  margin: 0 0 8px;
}

.hc-report-wrap--pdf .hc-pdf-scorecard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.hc-report-wrap--pdf .hc-pdf-scorecard-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hc-report-wrap--pdf .hc-pdf-score-box {
  text-align: center;
}

.hc-report-wrap--pdf .hc-pdf-score-big {
  font-size: 42px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.hc-report-wrap--pdf .hc-pdf-score-band {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
}

.hc-report-wrap--pdf .hc-pdf-gauge-canvas {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

.hc-report-wrap--pdf .hc-pdf-scorecard-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hc-report-wrap--pdf .hc-pdf-meta {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

.hc-report-wrap--pdf .hc-pdf-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 10px;
  font-size: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.hc-report-wrap--pdf .hc-pdf-meta-row:last-child {
  border-bottom: none;
}

.hc-report-wrap--pdf .hc-pdf-meta-label {
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

.hc-report-wrap--pdf .hc-pdf-score-body {
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
  margin: 0;
}
