/* Glow Up Sites. Built for easy reading: Atkinson Hyperlegible body text,
   no all caps, short lines, strong contrast, color plus shape cues. */

:root {
  --ink: #16122b;
  --ink-2: #241d45;
  --paper: #fffaf3;
  --card: #ffffff;
  --text: #1d1a2e;
  --muted: #5b5670;
  --line: #e9e2d6;
  --glow-1: #ffb347;
  --glow-2: #ff6f91;
  --glow-3: #a66cff;
  --good: #1f9d63;
  --ok: #d99a00;
  --bad: #d64545;
  --glow: linear-gradient(120deg, var(--glow-1), var(--glow-2) 55%, var(--glow-3));
  --radius: 18px;
  --wrap: 1120px;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 18px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.glow-text { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: 700 1.05rem/1 var(--body); }
.btn-glow { background: var(--glow); color: #1a1030; box-shadow: 0 8px 30px -8px rgba(255, 111, 145, .6); }
.btn-glow:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--glow-3); outline-offset: 3px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(22, 18, 43, .92); backdrop-filter: blur(10px); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 1.25rem var(--head); text-decoration: none; }
.logo-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 18px rgba(255,111,145,.7); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; }
.nav .btn { padding: .6em 1.1em; font-size: .95rem; opacity: 1; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% 0%, rgba(166,108,255,.35), transparent 60%), radial-gradient(700px 400px at 10% 100%, rgba(255,111,145,.25), transparent 60%), var(--ink); color: #fff; padding: 80px 0 90px; overflow: hidden; }
.hero .lede { color: #d9d3ee; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.pill { display: inline-block; padding: .35em .9em; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .95rem; margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.check-form { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 999px; max-width: 560px; margin-top: 28px; }
.check-form input { flex: 1; min-width: 0; border: 0; font: 1.05rem var(--body); padding: 0 16px; color: var(--text); background: transparent; }
.check-form input:focus { outline: none; }
.form-note { font-size: .95rem; color: #b9b1d6; margin-top: 10px; }

/* Before / after mini card in hero */
.ba-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.ba-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.ba-arrow { font-size: 1.8rem; opacity: .7; }
.ring { --v: 50; --c: var(--bad); width: 120px; aspect-ratio: 1; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255,255,255,.1) 0); position: relative; }
.ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--ink-2); }
.ring b { position: relative; z-index: 1; font: 800 2.1rem var(--head); }
.ba-label { font-size: .95rem; color: #cfc8e6; }
.ba-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: .98rem; }
.ba-list li { display: flex; gap: 10px; align-items: baseline; }

/* Sections */
section { padding: 84px 0; }
.alt { background: #fff; border-block: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: #fff1e6; margin-bottom: 14px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--glow); display: grid; place-items: center; font: 800 1.2rem var(--head); color: #1a1030; margin-bottom: 14px; }

/* The eight things list */
.eight { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
@media (max-width: 700px) { .eight { grid-template-columns: 1fr; } }
.eight div { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.eight span { font-size: 1.5rem; line-height: 1.2; }
.eight p { margin: 0; color: var(--muted); font-size: 1rem; }
.eight strong { display: block; color: var(--text); }

/* Offer */
.offer { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,111,145,.35), transparent 65%); }
.offer > * { position: relative; }
.offer .lede { color: #d9d3ee; }
.spots { display: flex; gap: 12px; margin: 26px 0; flex-wrap: wrap; }
.spot { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font: 800 1.4rem var(--head); border: 2px dashed rgba(255,255,255,.4); }
.spot.taken { background: var(--glow); color: #1a1030; border: 0; }
.give { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 26px; }
.give li::before { content: "✓"; color: var(--glow-1); font-weight: 800; margin-right: 10px; }

/* Showcase */
.show-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.show-top { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.show-top p { margin: 0; color: var(--muted); font-size: .98rem; }
.show-scores { display: grid; grid-template-columns: 1fr 1fr; }
.show-scores > div { padding: 22px 24px; }
.show-scores > div + div { border-left: 1px solid var(--line); }
.score-big { font: 800 2.6rem var(--head); line-height: 1; }
.tag { display: inline-block; font-size: .85rem; padding: .25em .7em; border-radius: 999px; background: #f2eefc; color: #4b3a8a; }
.tag.soon { background: #fff4d6; color: #7a5600; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-foot { background: var(--ink); color: #cfc8e6; padding: 48px 0; font-size: .98rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-foot a { color: #fff; }

/* Report card (check page) */
.report { display: none; }
.report.show { display: block; }
.report-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
@media (max-width: 620px) { .report-head { grid-template-columns: 1fr; text-align: center; } .report-head .ring { margin: 0 auto; } }
.report .ring { width: 150px; }
.report .ring::after { background: #fff; }
.report .ring b { font-size: 2.6rem; }
.grade { display: inline-block; font: 800 1.1rem var(--head); padding: .2em .8em; border-radius: 999px; color: #fff; }
.cat { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cat:nth-child(even) { background: #fcf9f4; }
.cat .bar { grid-column: 2 / 4; height: 10px; border-radius: 99px; background: #eee6f7; overflow: hidden; }
.cat .bar i { display: block; height: 100%; border-radius: 99px; }
.dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #fff; font-weight: 800; }
.dot.good { background: var(--good); }
.dot.ok { background: var(--ok); border-radius: 5px; }
.dot.bad { background: var(--bad); border-radius: 3px; transform: rotate(45deg); }
.dot.bad::before { content: "!"; transform: rotate(-45deg); }
.dot.good::before { content: "✓"; }
.dot.ok::before { content: "~"; }
.fix { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fix-pts { font: 800 1rem var(--head); background: #fff1e6; color: #8a3b00; border-radius: 10px; padding: .4em .7em; height: fit-content; white-space: nowrap; }
.detail-toggle { margin-top: 18px; }
.detail { display: none; margin-top: 18px; }
.detail.show { display: block; }
.detail table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.detail td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.detail tr:nth-child(even) td { background: #fcf9f4; }
.detail td:first-child { width: 30px; }
.detail .found { color: var(--muted); }
.loading { display: none; align-items: center; gap: 14px; font-size: 1.1rem; margin-top: 28px; }
.loading.show { display: flex; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 4px solid rgba(255,255,255,.25); border-top-color: var(--glow-2); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { color: #ffd1d1; margin-top: 14px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } html { scroll-behavior: auto; } }
