/* Products: Heat Code Station. Film beside a "How it works" checklist that ticks green as the film passes each step,
   then a strip of the results shown in the film. */
.hc { --ok: #16a34a; --ok-bg: #e8f7ee; --or: #f7861e; --line: #efe3d2; padding: clamp(56px, 6vw, 96px) 0 clamp(32px, 4vw, 56px); background: linear-gradient(180deg, #fffaf3 0, #fff 100%); }
.hc-head { max-width: 800px; margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.hc-head h2 { margin: 10px auto 0; }
.hc-head p { margin: 14px auto 0; max-width: 62ch; font-size: var(--fs-lead, 16px); line-height: 1.65; color: var(--mute, #5b6573); }
.hc-head p b { color: #1f2a37; }

/* stage: film + checklist */
.hc-stage { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: stretch; width: min(100%, 1180px); margin: clamp(26px, 3vw, 44px) auto 0; }
.hc-box { position: relative; align-self: start; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: #1b1b1b; box-shadow: 0 0 0 1px #f0e0c8, 0 50px 80px -50px rgba(247,134,30,.6); }
.hc-box video, .hc-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-box > img { transition: opacity .5s; } .hc-box.on > img { opacity: 0; }
.hc-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); font: 800 11px var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: #5b4a36; opacity: 0; transition: opacity .4s; }
.hc-box.paused .hc-tag, .hc-box:not(.on) .hc-tag { opacity: 1; }
.hc-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--or); animation: hcdot 1.8s ease-out infinite; }
@keyframes hcdot { from { box-shadow: 0 0 0 0 rgba(247,134,30,.6); } to { box-shadow: 0 0 0 9px rgba(247,134,30,0); } }
.hc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc-tog { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #1f2a37; cursor: pointer; opacity: .0; transition: opacity .3s, transform .3s; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.hc-box:hover .hc-tog, .hc-box.paused .hc-tog, .hc-tog:focus-visible { opacity: 1; }
.hc-box.paused .hc-tog { width: 64px; height: 64px; left: 50%; top: 50%; bottom: auto; margin: -32px 0 0 -32px; background: var(--or); color: #fff; }
.hc-tog:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.hc-tog .i-play { display: none; } .hc-box.paused .hc-tog .i-play { display: block; } .hc-box.paused .hc-tog .i-pause { display: none; }

.hc-side { display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgba(31,42,55,.35); }
.hc-side-t { margin: 0 0 12px 6px; font: 800 11px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #b07a3c; }
.hc-steps { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hc-steps li { position: relative; }
.hc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 44px; bottom: -10px; width: 2px; background: var(--line); }
.hc-steps li.done:not(:last-child)::before { background: var(--ok); }
.hc-steps button { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; width: 100%; padding: 10px 10px; overflow: hidden; border: 0; border-radius: 14px; background: none; text-align: left; font: inherit; color: #3a4a5a; cursor: pointer; transition: background .3s; }
.hc-steps button:hover { background: #fffaf3; }
.hc-steps button:focus-visible { outline: 3px solid var(--or); outline-offset: 1px; }
.hc-steps b { grid-row: span 2; position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font: 800 12px var(--mono, monospace); color: #9a8a76; transition: background .3s, box-shadow .3s, color .3s; }
.hc-steps b svg { display: none; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hc-steps strong { font-size: 15px; color: #1f2a37; }
.hc-steps button > span { font-size: 13px; line-height: 1.4; }
.hc-steps button::after { content: ""; position: absolute; left: 54px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--or); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; }
.hc-steps .on button { background: #fff6ea; }
.hc-steps .on button::after { opacity: 1; }
.hc-steps .on b { background: var(--or); box-shadow: 0 0 0 5px rgba(247,134,30,.18); color: #fff; }
.hc-steps .done b { background: var(--ok); box-shadow: none; }
.hc-steps .done b span { display: none; } .hc-steps .done b svg { display: block; }
.hc-side-cta { margin-top: auto; justify-content: center; text-align: center; }
.hc-steps + .hc-side-cta { margin-top: 18px; }

/* results strip */
.hc-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: min(100%, 1180px); margin: 22px auto 0; padding: 0; list-style: none; }
.hc-results li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--ok-bg); box-shadow: inset 0 0 0 1px #c9ecd6; }
.hc-results i { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ok); }
.hc-results svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hc-results b { font-size: 22px; line-height: 1.1; color: #14532d; }
.hc-results span { font-size: 13px; color: #3f6b50; }

.hc-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(100%, 1180px); margin: 14px auto 0; }
.hc-why div { padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hc-why h3 { margin: 0 0 6px; font-size: 16px; color: #1f2a37; }
.hc-why p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mute, #5b6573); }

@media (max-width: 1020px) {
  .hc-stage { grid-template-columns: 1fr; }
  .hc-steps { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hc-steps li::before { display: none; }
  .hc-steps button { grid-template-columns: 1fr; row-gap: 4px; padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
  .hc-steps b { grid-row: auto; margin-bottom: 4px; }
  .hc-steps button::after { left: 12px; right: 12px; }
  .hc-results { grid-template-columns: repeat(2, 1fr); }
  .hc-why { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hc-box { border-radius: 16px; }
  .hc-tag { left: 10px; top: 10px; font-size: 9.5px; padding: 4px 9px; }
  .hc-side { padding: 16px 12px 14px; border-radius: 18px; }
  .hc-steps { grid-template-columns: repeat(2, 1fr); }
  .hc-steps strong { font-size: 14px; } .hc-steps button > span { font-size: 12px; }
  .hc-results { gap: 10px; } .hc-results li { grid-template-columns: 32px 1fr; padding: 12px; column-gap: 10px; }
  .hc-results i { width: 32px; height: 32px; } .hc-results svg { width: 18px; height: 18px; }
  .hc-results b { font-size: 18px; } .hc-results span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hc-tag i { animation: none; } }
.hc-ai { width: min(100%, 1180px); margin: 18px auto 0; padding: 14px 18px; border-radius: 16px; background: #0b2036; color: #c9d4e0; font-size: 15px; text-align: center; }
.hc-ai a { color: #ffb45c; font-weight: 700; text-decoration: none; } .hc-ai a:last-child { margin-left: 8px; white-space: nowrap; }
