/* /free-check/ only. Loaded after gcd.css. Class names the script uses: fc-again, lbl, spin, in, nopic, is-bad, is-good, said, warn. */

[hidden]{display:none!important}

/* ---------- hero with the form ---------- */
.fc-head{padding:144px 0 80px}
.page-stone{position:absolute;inset:0;z-index:-1;pointer-events:none;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.5) 55%,transparent 100%);mask-image:linear-gradient(180deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.5) 55%,transparent 100%)}
.page-stone img{width:100%;height:100%;object-fit:cover;object-position:50% 35%;opacity:.2}
.fc-head .glow-hero{left:28%;top:30px;width:min(780px,95vw)}
.fc-top{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.fc-intro h1{margin-top:24px;font-size:clamp(38px,5vw,62px);letter-spacing:-.035em;line-height:1.04;max-width:16ch}
.fc-intro .hero-sub{margin-top:24px;max-width:46ch}
.fc-how{margin-top:16px;font-size:16px;line-height:1.6;color:var(--text);font-weight:500;max-width:46ch}
.fc-checks{justify-content:flex-start;margin-top:28px}
.fc-intro > *{animation:gcd-rise 900ms var(--ease-reveal) both}
.fc-intro > :nth-child(2){animation-delay:70ms}
.fc-intro > :nth-child(3){animation-delay:140ms}
.fc-intro > :nth-child(4){animation-delay:210ms}
.fc-intro > :nth-child(5){animation-delay:280ms}

/* ---------- panel and form ---------- */
.fc-panel{position:relative;isolation:isolate;overflow:hidden;padding:36px;border-radius:var(--r-card);background:rgba(19,19,21,.82);border:1px solid var(--line-2);-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);box-shadow:var(--shadow-elevated),inset 0 1px 0 rgba(255,255,255,.06);animation:gcd-rise 800ms cubic-bezier(.16,1,.3,1) 160ms both}
.fc-panel > .glow{width:380px;height:220px;right:-120px;top:-140px;background:rgba(243,195,0,.18);filter:blur(90px);z-index:-1}
.fc-panel form{display:grid;gap:18px}
.fc-panel .field small{font-weight:400;color:var(--text-3);font-size:13px}
.fc-panel .field input[aria-invalid="true"]{border-color:#e5786c}
.fc-panel form .btn{width:100%;margin-top:4px}
.fc-panel .consent{margin-top:2px;margin-bottom:-2px}
.fc-panel form .btn[disabled]{cursor:progress;filter:saturate(.8);opacity:.9}
.fc-wait{font-size:14px;line-height:1.5;color:var(--text);text-align:center}
.fc-wait:empty{display:none}
.form-note{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--text-3)}
.form-note svg{width:14px;height:14px;flex:none;margin-top:2px;color:var(--yellow)}
.spin{width:15px;height:15px;border-radius:50%;border:2px solid rgba(20,17,6,.25);border-top-color:#141106;animation:fc-spin .7s linear infinite;flex:none}
@keyframes fc-spin{to{transform:rotate(360deg)}}
.fc-err{font-size:14px;line-height:1.55;color:var(--text);background:rgba(229,96,84,.09);border:1px solid rgba(229,96,84,.32);border-radius:14px;padding:12px 16px}
.fc-err a{color:var(--yellow);font-weight:600;white-space:nowrap}
.nojs{font-size:15px;line-height:1.6;color:var(--text)}
.nojs a{color:var(--yellow);font-weight:600;white-space:nowrap}

/* by hand confirmation and done note, shown in the panel */
.sent{display:grid;gap:12px;justify-items:start;outline:none;transition:opacity 260ms var(--ease-out),transform 260ms var(--ease-out)}
@starting-style{.sent{opacity:0;transform:translateY(8px)}}
.sent .tick{width:48px;height:48px;border-radius:50%;background:rgba(243,195,0,.12);border:1px solid rgba(243,195,0,.3);display:grid;place-items:center;margin-bottom:6px}
.sent .tick svg{width:22px;height:22px;color:var(--yellow)}
.sent h2{font-size:24px;font-weight:500;letter-spacing:-.02em;line-height:1.2;max-width:24ch}
.sent p{font-size:15px;line-height:1.6;color:var(--text-2)}
.sent p a{color:var(--yellow);font-weight:600;white-space:nowrap}
.sent .btn{margin-top:8px}
.fc-done{display:grid;gap:14px;justify-items:start}
.fc-done p{color:var(--text);font-size:16px}
.fc-done b{font-weight:600;overflow-wrap:anywhere}

/* ---------- result ---------- */
.fc-result{position:relative;padding:96px 0;background:rgba(17,17,19,.6);border-top:1px solid var(--line);border-bottom:1px solid var(--line);scroll-margin-top:16px;outline:none}
/* solid on the grid like the bands (gcd.css): the fixed backdrop copy under the same fill, clipped to the result, edges drawn again above */
.fc-result{isolation:isolate;-webkit-clip-path:inset(0);clip-path:inset(0)}
.fc-result::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(rgba(17,17,19,.6),rgba(17,17,19,.6)),var(--backdrop)}
.fc-result::after{content:"";position:absolute;inset:-1px 0;z-index:-1;pointer-events:none;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fc-result-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px 72px;align-items:start}
.fc-score h2{font-size:clamp(28px,3vw,38px);letter-spacing:-.03em}
.fc-site{margin-top:8px;font-size:15px;color:var(--text-3);overflow-wrap:anywhere}
.fc-num{display:flex;align-items:baseline;gap:14px;margin:28px 0 30px}
.fc-num b{font-size:clamp(76px,10vw,112px);font-weight:500;letter-spacing:-.045em;line-height:.9;color:var(--yellow);font-variant-numeric:tabular-nums;text-shadow:0 0 60px rgba(243,195,0,.25)}
.fc-num span{font-size:16px;color:var(--text-2)}
.fc-lines{max-width:54ch}
.fc-lines li{position:relative;padding:16px 0 16px 30px;border-top:1px solid var(--line);font-size:16px;color:var(--text);line-height:1.5}
.fc-lines li:last-child{border-bottom:1px solid var(--line)}
.fc-lines li::before{content:"";position:absolute;left:2px;top:24px;width:9px;height:9px;border-radius:50%}
.fc-lines li.is-bad::before{background:var(--yellow);box-shadow:0 0 0 4px rgba(243,195,0,.16)}
.fc-lines li.is-good{color:var(--text-2)}
.fc-lines li.is-good::before{left:0;top:21px;width:13px;height:13px;border-radius:0;background:var(--text-3);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/100% no-repeat}

.fc-works{margin-top:26px;max-width:54ch}
.fc-works summary{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none;font-size:14px;font-weight:600;color:var(--text-2);transition:color 200ms ease,transform 160ms var(--ease-out)}
.fc-works summary::-webkit-details-marker{display:none}
.fc-works summary::after{content:"";width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform 200ms var(--ease-out)}
.fc-works[open] summary::after{transform:translateY(2px) rotate(225deg)}
.fc-works summary:active{color:var(--yellow);transform:scale(.97)}
@media (hover:hover) and (pointer:fine){.fc-works summary:hover{color:var(--yellow)}}
.fc-works p{margin-top:12px;font-size:14px;line-height:1.6;color:var(--text-2)}
.fc-break{margin-top:14px}
.fc-break li{display:grid;grid-template-columns:1fr auto auto;gap:16px;padding:10px 0;border-top:1px solid var(--line);font-size:14px;color:var(--text-2)}
.fc-break .said{color:var(--text-3);text-align:right}
.fc-break b{font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;min-width:7ch;text-align:right}

.fc-shots{display:grid;grid-template-columns:repeat(2,220px);gap:24px}
.fc-shots figure{margin:0}
.fc-frame{display:block;padding:8px;background:#141416;border:1px solid var(--line-2);border-radius:30px;box-shadow:var(--shadow-card);transition:border-color 200ms ease,transform 200ms var(--ease-out)}
.fc-frame img,.fc-frame .nopic{width:100%;height:auto;aspect-ratio:390/736;object-fit:cover;object-position:top;border-radius:22px;background:var(--bg)}
.fc-frame .nopic{display:grid;place-items:center;padding:24px;text-align:center;font-size:14px;color:var(--text-3)}
a.fc-frame:active{transform:scale(.98)}
@media (hover:hover) and (pointer:fine){a.fc-frame:hover{border-color:rgba(243,195,0,.5)}}
.fc-shots figcaption{margin-top:12px;font-size:14px;color:var(--text-2);text-align:center}

.fc-next{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 48px;align-items:center;margin-top:16px;padding:40px;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line);position:relative;overflow:hidden;isolation:isolate}
.fc-next::before{content:"";position:absolute;width:480px;height:240px;left:-120px;top:-160px;border-radius:999px;background:rgba(243,195,0,.16);filter:blur(100px);z-index:-1;pointer-events:none}
.fc-next h2{font-size:clamp(24px,2.6vw,32px);letter-spacing:-.025em;max-width:22ch}
.fc-next p{margin-top:10px;font-size:16px;color:var(--text-2);max-width:52ch}
.fc-next .cta{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.fc-sentnote{grid-column:1/-1;font-size:14px;color:var(--text-3)}
.fc-sentnote:empty{display:none}
.fc-sentnote.warn{color:var(--text)}
.fc-sentnote a{color:var(--yellow);font-weight:600;white-space:nowrap}

/* entrance when the result arrives: score, lines, pictures, next step */
@keyframes fc-settle{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.fc-result.in .fc-score>*,.fc-result.in .fc-shots figure,.fc-result.in .fc-next{animation:fc-settle 560ms var(--ease-out) both}
.fc-result.in .fc-score>:nth-child(2){animation-delay:40ms}
.fc-result.in .fc-site{animation-delay:70ms}
.fc-result.in .fc-num{animation-delay:100ms}
.fc-result.in .fc-lines{animation-delay:150ms}
.fc-result.in .fc-works{animation-delay:200ms}
.fc-result.in .fc-shots figure:first-child{animation-delay:120ms}
.fc-result.in .fc-shots figure:last-child{animation-delay:190ms}
.fc-result.in .fc-next{animation-delay:260ms}

/* what the check looks at, link in the lead */
.svc-included .lead .link-arrow,.section-head .lead .link-arrow{margin-left:4px}
.included-item h3 svg{padding:3px;border-radius:50%;background:rgba(243,195,0,.14);width:20px;height:20px}
.closing p.label{margin:0 auto 16px;font-size:12px;line-height:16px;color:var(--yellow);max-width:none}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .fc-result-grid{grid-template-columns:1fr}
  .fc-shots{grid-template-columns:repeat(2,minmax(0,220px))}
}
@media (max-width:960px){
  .fc-top{grid-template-columns:1fr;gap:40px}
  .fc-next{grid-template-columns:1fr}
  .fc-next .cta{justify-content:flex-start}
}
@media (max-width:767px){
  .fc-head .glow-hero{left:50%}
  .fc-panel{padding:26px 20px}
  .fc-result{padding:64px 0}
  .fc-shots{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .fc-frame{padding:6px;border-radius:22px}
  .fc-frame img,.fc-frame .nopic{border-radius:16px}
  .fc-frame .nopic{padding:12px;font-size:12.5px}
  .fc-break li{grid-template-columns:1fr auto;gap:2px 12px}
  .fc-break .said{grid-column:1;grid-row:2;text-align:left}
  .fc-break b{grid-row:1/3;align-self:center}
  .fc-next{padding:28px 22px}
  .fc-next .cta .btn{flex:1 1 100%}
  .closing .hero-actions .btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){
  .fc-intro > *,.fc-panel,.fc-result.in .fc-score>*,.fc-result.in .fc-shots figure,.fc-result.in .fc-next{animation:none}
  .spin{animation-duration:1.6s}
}
