/* Website health check: the form, the live scan and the report. Builds on site.css tokens. */

.hc-hero { position: relative; padding-top: 150px; padding-bottom: 90px; overflow: clip; isolation: isolate; }
.hc-hero .huge { max-width: 9.6em; }
.hc-hero .lede { max-width: 31em; }

/* Radar rings behind the title */
.hc-radar { position: absolute; top: 90px; right: -140px; z-index: -1; width: 620px; height: 620px; pointer-events: none; opacity: 0.55; }
.hc-radar span { position: absolute; inset: 0; border: 1px dashed rgba(156, 196, 136, 0.22); border-radius: 50%; animation: hc-spin 60s linear infinite; }
.hc-radar span:nth-child(2) { inset: 90px; border-style: solid; border-color: rgba(233, 240, 230, 0.07); animation-duration: 40s; animation-direction: reverse; }
.hc-radar span:nth-child(3) { inset: 190px; border-color: rgba(255, 127, 78, 0.25); animation-duration: 26s; }
.hc-radar i {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 127, 78, 0.22), transparent 18%, transparent);
  -webkit-mask: radial-gradient(circle, #000 0 69%, transparent 70%); mask: radial-gradient(circle, #000 0 69%, transparent 70%);
  animation: hc-spin 7s linear infinite;
}

/* Address form */
.hc-form { max-width: 780px; margin-top: 40px; }
.hc-field {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px;
  border: 1px solid rgba(233, 240, 230, 0.18); border-radius: 999px; background: rgba(16, 34, 26, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 34px 80px -40px rgba(0, 0, 0, 0.9); transition: border-color 0.3s, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.hc-field::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--angle), transparent 0 62%, var(--copper) 78%, var(--peach) 84%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; animation: hc-angle 3.2s linear infinite;
}
.hc-field:focus-within { border-color: transparent; box-shadow: 0 0 0 6px rgba(255, 127, 78, 0.12), 0 34px 80px -40px rgba(0, 0, 0, 0.9); transform: translateY(-2px); }
.hc-field:focus-within::before, .hc-form.is-busy .hc-field::before { opacity: 1; }
.hc-globe { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--mist); stroke-width: 1.5; transition: stroke 0.3s, transform 0.6s var(--ease-out); }
.hc-field:focus-within .hc-globe { stroke: var(--copper); transform: rotate(-20deg); }
.hc-field input {
  flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; background: transparent; color: var(--cream);
  font: 500 1.16rem/1 var(--font-body); outline: none;
}
.hc-field input::placeholder { color: rgba(152, 174, 159, 0.55); }
.hc-go { position: relative; flex: none; }
.hc-go-spin { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: hc-spin 0.7s linear infinite; }
.hc-form.is-busy .hc-go-spin { display: inline-block; }
.hc-form.is-busy .hc-go svg { display: none; }
.hc-form.is-busy .hc-go { pointer-events: none; opacity: 0.85; }
.hc-hint { margin: 14px 0 0 24px; color: var(--stone); font-size: 0.92rem; }
.hc-msg { margin: 12px 0 0 24px; color: var(--peach); font-weight: 600; }
.hc-msg:empty { display: none; }
.hc-form.shake .hc-field { animation: hc-shake 0.5s var(--ease-out); }

/* Three things we check */
.hc-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin: 64px 0 0; padding: 0; list-style: none; }
.hc-features li {
  position: relative; display: grid; gap: 8px; align-content: start; padding: 22px; overflow: hidden;
  border: 1px solid var(--line-dark); border-radius: 22px; background: rgba(16, 34, 26, 0.6);
  transition: transform 0.5s var(--ease-out), border-color 0.3s;
}
.hc-features li::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 127, 78, 0.14), transparent 70%);
}
.hc-features li:hover { transform: translateY(-4px); border-color: rgba(255, 127, 78, 0.35); }
.hc-features li:hover::after { opacity: 1; }
.hc-features b { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.02em; }
.hc-features li > span:last-child { color: var(--mist); font-size: 0.96rem; line-height: 1.5; }
.hcf-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 13px; background: rgba(255, 127, 78, 0.12); color: var(--copper); }
.hcf-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Live scan */
.hc-run { padding-bottom: 100px; scroll-margin-top: 96px; }
.hc-run-card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; padding: 26px;
  border: 1px solid var(--line-dark); border-radius: 30px; background: var(--forest);
  box-shadow: 0 50px 120px -60px rgba(0, 0, 0, 0.9); animation: hc-rise 0.9s var(--ease-out) both;
}
.hc-browser { overflow: hidden; border: 1px solid var(--line-dark); border-radius: 20px; background: var(--night); }
.hcb-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line-dark); }
.hcb-bar i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: rgba(233, 240, 230, 0.14); }
.hcb-bar i:first-child { background: var(--copper); }
.hcb-url {
  flex: 1; min-width: 0; margin-left: 8px; padding: 5px 12px; overflow: hidden; border-radius: 999px; background: rgba(233, 240, 230, 0.06);
  color: var(--mist); font: 500 0.78rem/1.2 var(--font-mono); white-space: nowrap; text-overflow: ellipsis;
}
.hcb-url::after { content: ""; display: inline-block; width: 1px; height: 0.95em; margin-left: 2px; vertical-align: -2px; background: var(--copper); animation: hc-blink 1s steps(1) infinite; }
.hcb-page { position: relative; display: grid; gap: 12px; align-content: start; height: 320px; padding: 20px; overflow: hidden; }
.hcb-page > span:not(.hcb-beam):not(.hcb-ping) { display: block; border-radius: 8px; background: rgba(233, 240, 230, 0.06); }
.hcb-nav { display: flex !important; gap: 10px; height: 14px; background: none !important; }
.hcb-nav i { width: 46px; border-radius: 6px; background: rgba(233, 240, 230, 0.08); }
.hcb-nav i:first-child { width: 70px; background: rgba(255, 127, 78, 0.35); }
.hcb-hero { height: 96px; }
.hcb-row { height: 10px; }
.hcb-row.is-short { width: 60%; }
.hcb-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; height: 70px; background: none !important; }
.hcb-cards i { border-radius: 10px; background: rgba(233, 240, 230, 0.06); }
.hcb-page > span:not(.hcb-beam):not(.hcb-ping), .hcb-nav i, .hcb-cards i {
  background-image: linear-gradient(100deg, transparent 30%, rgba(233, 240, 230, 0.08) 50%, transparent 70%);
  background-size: 300% 100%; animation: hc-shimmer 1.8s linear infinite;
}
.hcb-beam {
  position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255, 127, 78, 0.16) 80%, rgba(255, 127, 78, 0.32));
  border-bottom: 1.5px solid var(--copper); box-shadow: 0 6px 24px rgba(255, 127, 78, 0.45);
  animation: hc-scan 2.6s ease-in-out infinite alternate;
}
.hcb-ping { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--leaf); pointer-events: none; animation: hc-ping 1.3s var(--ease-out) forwards; }
.hcb-ping.is-file { background: var(--peach); }
.hcb-ping::after { content: ""; position: absolute; inset: -6px; border: 1.5px solid currentColor; border-radius: 50%; color: inherit; border-color: inherit; }

.hc-run-side { display: grid; align-content: center; min-width: 0; }
.hc-run-host { margin-top: 10px; overflow: hidden; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -0.035em; text-overflow: ellipsis; white-space: nowrap; }
.hc-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 18px 0 0; padding: 0; list-style: none; }
.hc-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 9px 0; opacity: 0.42; transition: opacity 0.4s; }
.hc-steps li.is-run, .hc-steps li.is-done, .hc-steps li.is-skip { opacity: 1; }
.hcs-ico { position: relative; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--stone); border-radius: 50%; transition: background-color 0.3s, border-color 0.3s; }
.is-run .hcs-ico { border-color: var(--copper); border-right-color: transparent; animation: hc-spin 0.75s linear infinite; }
.is-done .hcs-ico { border-color: var(--leaf); background: var(--leaf); animation: hc-pop 0.5s var(--ease-out); }
.is-done .hcs-ico::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--night); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.is-skip .hcs-ico { border-color: var(--stone); }
.is-skip .hcs-ico::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 1.5px; background: var(--mist); }
.hcs-text { display: grid; min-width: 0; }
.hcs-text b { font-weight: 600; }
.hcs-text em { color: var(--mist); font: 500 0.8rem/1.5 var(--font-mono); font-style: normal; }
.hcs-text em:empty { display: none; }
.hcs-bar { display: none; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: rgba(233, 240, 230, 0.08); }
.is-run .hcs-bar { display: block; }
.hcs-bar i { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--copper), var(--peach)); transition: width 0.35s var(--ease-out); }

.hc-track { position: relative; height: 6px; margin-top: 46px; border-radius: 99px; background: rgba(233, 240, 230, 0.08); }
.hc-track-fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 3%); border-radius: inherit; background: linear-gradient(90deg, var(--copper-deep), var(--copper)); box-shadow: 0 0 18px rgba(255, 127, 78, 0.5); transition: width 0.7s var(--ease-out); }
.hc-track-fox { position: absolute; bottom: 3px; left: var(--p, 3%); width: 36px; height: 32px; fill: var(--copper); transform: translateX(-60%); transition: left 0.7s var(--ease-out); animation: hc-trot 0.42s ease-in-out infinite alternate; }
.hc-run.is-done .hc-track-fox { animation: hc-hop 0.6s var(--ease-out) 2; }
.hc-run-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--mist); font: 500 0.8rem var(--font-mono); }
.hc-cancel { padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; background: none; color: var(--mist); font: inherit; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.hc-cancel:hover { color: var(--cream); border-color: var(--cream); }
.hc-wake { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 198, 158, 0.08); color: var(--peach); font-size: 0.9rem; animation: hc-rise 0.6s var(--ease-out) both; }

/* Report */
.hc-report { padding-bottom: 110px; scroll-margin-top: 80px; outline: none; }
.hc-report > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.hcr-in { animation: hc-rise 0.9s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms); }

.hcr-head {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px);
  overflow: hidden; border: 1px solid var(--line-dark); border-radius: 32px; background: var(--forest); isolation: isolate;
}
.hcr-head::before {
  content: ""; position: absolute; z-index: -1; left: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--tier-glow, rgba(255, 127, 78, 0.22)), transparent 65%);
  animation: hc-breathe 6s ease-in-out infinite alternate;
}
.hcr-ring { position: relative; width: 210px; height: 210px; }
.hcr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; filter: drop-shadow(0 0 10px var(--tier-glow)); }
.hcr-ring circle { fill: none; stroke-width: 12; }
.hcr-ring .track { stroke: rgba(233, 240, 230, 0.08); }
.hcr-ring .bar { stroke: var(--tier); stroke-linecap: round; }
.hcr-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hcr-num b { font: 760 4.4rem/1 var(--font-display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.hcr-num span { margin-top: 4px; color: var(--mist); font: 500 0.78rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.hcr-spark { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 2px; background: var(--c, var(--leaf)); opacity: 0; animation: hc-burst 1.3s var(--ease-out) forwards; animation-delay: calc(1.2s + var(--i) * 18ms); }
.hcr-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.hcr-grade { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--tier-soft); color: var(--tier); font: 600 0.8rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hcr-grade::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: hc-pulse 1.8s ease-in-out infinite; }
.hcr-summary { max-width: 26em; margin: 0; font: 650 clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem)/1.2 var(--font-display); letter-spacing: -0.03em; }
.hcr-meta { margin: 0; color: var(--mist); font: 500 0.82rem/1.6 var(--font-mono); overflow-wrap: anywhere; }
.hcr-meta a { color: var(--cream); }
.hcr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.tier-good { --tier: var(--leaf); --tier-glow: rgba(156, 196, 136, 0.35); --tier-soft: rgba(156, 196, 136, 0.14); }
.tier-ok { --tier: var(--peach); --tier-glow: rgba(255, 198, 158, 0.32); --tier-soft: rgba(255, 198, 158, 0.13); }
.tier-bad { --tier: var(--copper); --tier-glow: rgba(255, 127, 78, 0.4); --tier-soft: rgba(255, 127, 78, 0.14); }

.hcr-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hcr-area {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px;
  border: 1px solid var(--line-dark); border-radius: 22px; background: rgba(16, 34, 26, 0.7); color: inherit; text-align: left; text-decoration: none;
  transition: transform 0.45s var(--ease-out), border-color 0.3s;
}
.hcr-area:hover { transform: translateY(-4px); border-color: var(--tier); }
.hcr-mini { position: relative; width: 64px; height: 64px; }
.hcr-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hcr-mini circle { fill: none; stroke-width: 6; }
.hcr-mini .track { stroke: rgba(233, 240, 230, 0.08); }
.hcr-mini .bar { stroke: var(--tier); stroke-linecap: round; }
.hcr-mini b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.2rem var(--font-display); font-variant-numeric: tabular-nums; }
.hcr-area strong { display: block; font: 650 1.15rem var(--font-display); letter-spacing: -0.02em; }
.hcr-area small { display: block; margin-top: 2px; color: var(--mist); font-size: 0.88rem; }

.hcr-top { padding: clamp(22px, 3.4vw, 36px); border-radius: 28px; background: var(--paper); color: var(--ink); }
.hcr-top h2, .hcr-sect h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -0.035em; }
.hcr-top ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.hcr-top li { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--line-paper); border-radius: 20px; background: #fff; animation: hc-rise 0.8s var(--ease-out) both; animation-delay: calc(0.3s + var(--i) * 110ms); }
.hcr-top li > span { color: var(--copper-deep); font: 700 0.8rem var(--font-mono); letter-spacing: 0.1em; }
.hcr-top li b { font: 650 1.12rem/1.3 var(--font-display); letter-spacing: -0.015em; }
.hcr-top li p { margin: 0; color: #3E4F44; font-size: 0.95rem; line-height: 1.5; }
.hcr-top-items { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; }
.hcr-top-items li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 7px 10px; border-radius: 10px; background: rgba(23, 38, 29, 0.05); font-size: 0.86rem; animation: none; border: 0; }
.hcr-top-items li > :first-child { display: -webkit-box; overflow: hidden; color: var(--ink); font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hcr-top-items a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(23, 38, 29, 0.3); text-underline-offset: 3px; }
.hcr-top-items a:hover { text-decoration-color: var(--copper-deep); }
.hcr-top-items em { color: var(--copper-deep); font-style: normal; font-size: 0.8rem; }
.hcr-top-items small { overflow: hidden; color: #5B6B60; font-family: var(--font-mono); font-size: 0.72rem; text-overflow: ellipsis; white-space: nowrap; }
.hcr-top-more { color: #5B6B60; font-size: 0.82rem; }
.hcr-top .hcr-clear { margin: 10px 0 0; color: #3E4F44; }

.hcr-sect { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(22px, 3.4vw, 36px); border: 1px solid var(--line-dark); border-radius: 28px; background: rgba(16, 34, 26, 0.55); scroll-margin-top: 90px; }
.hcr-sect-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hcr-sect-head .hcf-ico { margin: 0; }
.hcr-sect-head h2 { flex: 1; min-width: 0; }
.hcr-pill { padding: 6px 12px; border-radius: 999px; background: var(--tier-soft); color: var(--tier); font: 600 0.82rem var(--font-mono); }

.hcr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.hcr-stat { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(10, 19, 14, 0.5); }
.hcr-stat span { display: flex; align-items: center; gap: 8px; color: var(--mist); font: 500 0.74rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hcr-stat span i { width: 8px; height: 8px; border-radius: 50%; background: var(--tier, var(--stone)); }
.hcr-stat b { font: 700 1.7rem/1.1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hcr-stat small { color: var(--mist); font-size: 0.85rem; line-height: 1.4; }

.hcr-weight { display: grid; gap: 10px; }
.hcr-wbar { display: flex; height: 14px; overflow: hidden; border-radius: 99px; background: rgba(233, 240, 230, 0.06); }
.hcr-wbar i { display: block; width: var(--w); min-width: 3px; height: 100%; background: var(--c); transform-origin: left; animation: hc-grow 1.2s var(--ease-out) both; animation-delay: calc(0.4s + var(--i) * 120ms); }
.hcr-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--mist); font-size: 0.88rem; }
.hcr-legend li { display: flex; align-items: center; gap: 8px; }
.hcr-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.hcr-legend b { color: var(--cream); font-weight: 600; }
.hcr-heavy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.hcr-heavy li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; font-size: 0.9rem; }
.hcr-heavy li span { overflow: hidden; color: var(--mist); font-family: var(--font-mono); font-size: 0.8rem; text-overflow: ellipsis; white-space: nowrap; }
.hcr-heavy li i { grid-column: 1 / -1; display: block; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--c), transparent); width: var(--w); transform-origin: left; animation: hc-grow 1s var(--ease-out) both; animation-delay: calc(0.5s + var(--i) * 90ms); }

.hcr-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: start; }
.hcr-phone {
  position: relative; width: 210px; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 34px; background: #050a07;
  box-shadow: 0 0 0 1.5px rgba(233, 240, 230, 0.16), 0 40px 70px -30px rgba(0, 0, 0, 0.9); animation: hc-float 6s ease-in-out infinite alternate;
}
.hcr-phone::before { content: ""; position: absolute; top: 16px; left: 50%; z-index: 2; width: 54px; height: 14px; border-radius: 99px; background: #050a07; transform: translateX(-50%); }
.hcr-screen { position: relative; height: 100%; overflow: hidden; border-radius: 25px; background: var(--forest); }
.hcr-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hcr-checks { display: grid; gap: 10px; align-content: center; height: 100%; margin: 0; padding: 30px 14px; list-style: none; }
.hcr-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(233, 240, 230, 0.05); font-size: 0.8rem; line-height: 1.3; animation: hc-rise 0.6s var(--ease-out) both; animation-delay: calc(0.6s + var(--i) * 150ms); }
.hcr-checks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: var(--night); font-weight: 800; font-size: 0.72rem; }
.hcr-checks li.no::before { content: "!"; background: var(--copper); }
.hcr-checks li.maybe::before { content: "?"; background: var(--stone); color: var(--cream); }

.hcr-donut { position: relative; width: 170px; height: 170px; }
.hcr-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hcr-donut circle { fill: none; stroke-width: 16; }
.hcr-donut div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hcr-donut b { font: 760 2.4rem/1 var(--font-display); letter-spacing: -0.04em; }
.hcr-donut span { color: var(--mist); font: 500 0.7rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* Findings */
.hcr-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hcf { border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(10, 19, 14, 0.55); animation: hc-rise 0.7s var(--ease-out) both; animation-delay: calc(0.2s + var(--i, 0) * 70ms); transition: border-color 0.3s, background-color 0.3s; }
.hcf[open] { border-color: rgba(233, 240, 230, 0.2); background: rgba(10, 19, 14, 0.8); }
.hcf summary { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 18px; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; }
.hcf summary::-webkit-details-marker { display: none; }
.hcf-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lv); box-shadow: 0 0 0 4px var(--lv-soft); }
.hcf-title { font-weight: 600; line-height: 1.35; }
.hcf-tag { padding: 4px 10px; border-radius: 999px; background: var(--lv-soft); color: var(--lv); font: 600 0.7rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.hcf-chev { width: 18px; height: 18px; fill: none; stroke: var(--mist); stroke-width: 2; transition: transform 0.4s var(--ease-out); }
.hcf[open] .hcf-chev { transform: rotate(180deg); }
.hcf-body { display: grid; gap: 12px; padding: 0 18px 18px 44px; color: var(--mist); line-height: 1.55; }
.hcf[open] .hcf-body { animation: hc-rise 0.45s var(--ease-out) both; }
.hcf-body p { margin: 0; }
.hcf-fix { padding: 12px 14px; border-left: 3px solid var(--lv); border-radius: 0 12px 12px 0; background: rgba(233, 240, 230, 0.04); color: var(--cream); }
.hcf-fix b { color: var(--lv); }
.hcf-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.hcf-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 9px 12px; border-radius: 10px; background: rgba(233, 240, 230, 0.04); font-size: 0.9rem; }
.hcf-items li > :first-child { overflow: hidden; color: var(--cream); text-overflow: ellipsis; white-space: nowrap; }
.hcf-items a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(233, 240, 230, 0.3); text-underline-offset: 3px; }
.hcf-items a:hover { text-decoration-color: var(--copper); }
.hcf-items em { color: var(--peach); font-style: normal; font-size: 0.84rem; text-align: right; }
.hcf-items small { grid-column: 1 / -1; overflow: hidden; color: var(--stone); font-family: var(--font-mono); font-size: 0.74rem; text-overflow: ellipsis; white-space: nowrap; }
.lv-bad { --lv: var(--copper); --lv-soft: rgba(255, 127, 78, 0.15); }
.lv-warn { --lv: var(--peach); --lv-soft: rgba(255, 198, 158, 0.13); }
.lv-info { --lv: var(--mist); --lv-soft: rgba(152, 174, 159, 0.14); }
.lv-good { --lv: var(--leaf); --lv-soft: rgba(156, 196, 136, 0.14); }
.hcr-good { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.hcr-good li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--mist); line-height: 1.45; animation: hc-rise 0.6s var(--ease-out) both; animation-delay: calc(0.3s + var(--i, 0) * 60ms); }
.hcr-good li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(156, 196, 136, 0.16); color: var(--leaf); font-size: 0.75rem; font-weight: 800; }
.hcr-good b { color: var(--cream); font-weight: 600; }

.hcr-notes { margin: 0; padding: 0 6px; color: var(--stone); font-size: 0.86rem; line-height: 1.6; list-style: none; }
.hcr-notes li::before { content: "· "; }

.hcr-cta {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 48px);
  overflow: hidden; border-radius: 32px; background: var(--copper); color: #1A0E07; isolation: isolate;
}
.hcr-cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; z-index: -1; width: 300px; height: 300px; border: 40px solid rgba(26, 14, 7, 0.08); border-radius: 50%; animation: hc-breathe 5s ease-in-out infinite alternate; }
.hcr-cta h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); letter-spacing: -0.045em; }
.hcr-cta p { max-width: 32em; margin: 10px 0 0; color: #3A1F10; font-size: 1.05rem; }
.hcr-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hcr-cta .btn-line { color: #1A0E07; border-color: rgba(26, 14, 7, 0.35); --fill-hover: #1A0E07; }
.hcr-cta .btn-line:hover { color: var(--copper); }

/* How it works */
.hc-how { border-top: 1px solid var(--line-dark); }
.hc-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.hc-how-steps li { display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid var(--line-dark); border-radius: 24px; background: var(--forest); }
.hch-num { color: var(--copper); font: 600 0.82rem var(--font-mono); letter-spacing: 0.1em; }
.hc-how-steps h3 { font-size: 1.35rem; letter-spacing: -0.025em; }
.hc-how-steps p { margin: 0; color: var(--mist); line-height: 1.55; }
.hc-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.hc-faq details { padding: 18px 22px; border: 1px solid var(--line-dark); border-radius: 18px; transition: border-color 0.3s, background-color 0.3s; }
.hc-faq details[open] { border-color: rgba(255, 127, 78, 0.35); background: rgba(16, 34, 26, 0.6); }
.hc-faq summary { display: flex; justify-content: space-between; gap: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq summary::after { content: "+"; flex: none; color: var(--copper); font: 500 1.3rem/1 var(--font-mono); transition: transform 0.4s var(--ease-out); }
.hc-faq details[open] summary::after { transform: rotate(45deg); }
.hc-faq p { margin: 12px 0 0; color: var(--mist); line-height: 1.55; }

/* Motion */
@keyframes hc-spin { to { transform: rotate(360deg); } }
@keyframes hc-angle { to { --angle: 360deg; } }
@keyframes hc-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes hc-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hc-blink { 50% { opacity: 0; } }
@keyframes hc-shimmer { from { background-position: 150% 0; } to { background-position: -150% 0; } }
@keyframes hc-scan { from { transform: translateY(-70px); } to { transform: translateY(290px); } }
@keyframes hc-ping { 0% { opacity: 0; transform: scale(0.2); } 25% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(0.8) translateY(-10px); } }
@keyframes hc-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes hc-trot { from { transform: translateX(-60%) translateY(0) rotate(-3deg); } to { transform: translateX(-60%) translateY(-5px) rotate(3deg); } }
@keyframes hc-hop { 0%, 100% { transform: translateX(-60%) translateY(0); } 45% { transform: translateX(-60%) translateY(-22px) rotate(-8deg); } }
@keyframes hc-breathe { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(1.1); opacity: 1; } }
@keyframes hc-pulse { 50% { opacity: 0.35; } }
@keyframes hc-burst { 0% { opacity: 0; transform: rotate(var(--a)) translateX(60px) scale(0.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) scale(1) rotate(200deg); } }
@keyframes hc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hc-float { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-10px) rotate(1.5deg); } }

/* Smaller screens */
@media (max-width: 980px) {
  .hcr-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 26px; }
  .hcr-copy { justify-items: center; }
  .hcr-actions { justify-content: center; }
  .hc-run-card { grid-template-columns: minmax(0, 1fr); }
  .hcb-page { height: 220px; }
  @keyframes hc-scan { from { transform: translateY(-70px); } to { transform: translateY(190px); } }
}
@media (max-width: 880px) {
  .hc-features, .hc-how-steps, .hcr-areas { grid-template-columns: minmax(0, 1fr); }
  .hc-faq { grid-template-columns: minmax(0, 1fr); }
  .hc-radar { right: -320px; opacity: 0.35; }
  .hcr-cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hc-hero { padding-top: 124px; }
  .hc-field { flex-wrap: wrap; gap: 8px 12px; padding: 10px 10px 10px 18px; border-radius: 24px; }
  .hc-field input { flex-basis: calc(100% - 40px); height: 46px; }
  .hc-go { width: 100%; justify-content: center; }
  .hc-hint, .hc-msg { margin-left: 6px; }
  .hcr-split { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .hcr-split > :first-child { justify-self: stretch; }
  .hcr-ring { width: 180px; height: 180px; }
  .hcr-num b { font-size: 3.7rem; }
  .hcf summary { grid-template-columns: 12px minmax(0, 1fr) 18px; gap: 6px 12px; padding: 14px; }
  .hcf-tag { grid-column: 2; grid-row: 2; justify-self: start; }
  .hcf-chev { grid-column: 3; grid-row: 1; }
  .hcf-body { padding: 0 14px 16px; }
  .hcf-items li { grid-template-columns: minmax(0, 1fr); }
  .hcf-items em { text-align: left; }
  .hcb-cards { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hc-radar span, .hc-radar i, .hcb-beam, .hcb-url::after, .hc-track-fox, .hcr-phone, .hcr-head::before, .hcr-cta::after, .hcr-grade::before,
  .hcb-page > span, .hcb-nav i, .hcb-cards i, .hc-field::before { animation: none; }
  .hcr-in, .hcr-top li, .hcf, .hcr-good li, .hcr-checks li, .hcr-wbar i, .hcr-heavy li i, .hc-run-card, .hc-wake { animation: none; }
  .hcr-spark, .hcb-ping { display: none; }
}

/* Printing or saving the report as a PDF */
@media print {
  body { background: #fff; color: #111; }
  body::before, body::after, .site-header, .menu, .site-footer, .cursor-ring, .cursor-dot, .curtain, .cmdk, .chapter, .site-toast, .skip,
  .hc-hero, .hc-run, .hc-how, .hcr-actions, .hcr-cta, .site-banner { display: none !important; }
  .hc-report { padding: 0; }
  .hc-report * { animation: none !important; color: #111 !important; background: transparent !important; box-shadow: none !important; }
  .hcr-head, .hcr-sect, .hcr-area, .hcr-top, .hcf, .hcr-stat { border-color: #ccc !important; break-inside: avoid; }
  .hcf .hcf-body { display: grid !important; }
  .hcr-phone { display: none; }
}
