/* E-E-A-T Club: a loud 1990s web page, on purpose. */

@font-face {
  font-family: "Comic Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/comic-neue-400.woff2?v=b7753f30f8") format("woff2");
}
@font-face {
  font-family: "Comic Neue";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/comic-neue-700.woff2?v=13e9f12e3a") format("woff2");
}

:root {
  --ink: #000;
  --hot: #ff0080;
  --lime: #0f0;
  --yel: #ff0;
  --mag: #f0f;
  --cya: #0ff;
  --comic: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Comic Neue", cursive;
  --times: "Times New Roman", Times, serif;
  --mono: "Courier New", Courier, monospace;
  --impact: Impact, "Arial Black", "Comic Neue", sans-serif;
  --banner-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scrollbar-color: var(--mag) var(--lime); overflow-x: clip; }
body {
  color: #222;
  background-color: #ffe;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext x='10' y='40' font-size='30'%3E%E2%AD%90%3C/text%3E%3C/svg%3E"),
    linear-gradient(135deg, #ff6, #f9f 50%, #6ff);
  background-attachment: fixed;
  font-family: var(--comic);
  line-height: 1.4;
  overflow-x: clip;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext y='26' font-size='26'%3E%F0%9F%A7%BC%3C/text%3E%3C/svg%3E") 4 4, auto;
}
img, svg { max-width: 100%; }
a, button, summary, label, input { cursor: pointer; }
input[type="text"], .chat-form input { cursor: text; }
::selection { color: var(--yel); background: red; }
::-webkit-scrollbar { width: 22px; }
::-webkit-scrollbar-thumb { background: repeating-linear-gradient(45deg, var(--mag) 0 10px, var(--yel) 10px 20px); border: 3px solid #000; }
::-webkit-scrollbar-track { background: var(--lime); }

section { max-width: 1100px; margin: 0 auto; padding: 3rem 1.25rem; }
section + section { border-top: 8px ridge var(--mag); }
section, header { scroll-margin-top: calc(var(--banner-h) + 12px); }

h2 {
  width: fit-content;
  max-width: 92%; /* the skew pushes the corners out, so leave room */
  margin: 0 auto 1rem;
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 3px;
  color: transparent;
  background: linear-gradient(red, #ff0 40%, #0f0 60%, #00f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 2px #000;
  transform: perspective(300px) rotateX(20deg) skew(-8deg);
}
section:nth-of-type(2n) h2 { transform: rotate(2deg) skew(-10deg); }
.section-lead { max-width: 640px; margin: 0 auto 1.75rem; text-align: center; font-size: 1.15rem; font-weight: 700; }
p:hover { background: var(--cya); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  background: var(--lime);
  border: 3px solid #000;
  border-radius: 12px;
  padding: .6rem 1.2rem;
  box-shadow: 4px 4px #000;
  transition: transform .1s;
}
.btn:hover { background: var(--yel); transform: rotate(-3deg) scale(1.08); }
.btn:active { box-shadow: none; transform: translate(4px, 4px); }
.btn:focus-visible, .chat-head:focus-visible, summary:focus-visible, .sc-banner-btn:focus-visible { outline: 4px dashed #00f; outline-offset: 3px; }
.btn-big {
  color: #fff;
  text-shadow: 2px 2px #000;
  background: linear-gradient(#f33, var(--hot));
  padding: .9rem 1.8rem;
  font-size: 1.4rem;
  animation: pulse 1s infinite;
}
.btn-hot { color: #fff; text-shadow: 1px 1px #000; background: linear-gradient(#d0002a, #b8005c); }
.btn-small { font-size: .9rem; }
.btn-ugly { background: silver; border-style: outset; border-radius: 0; font-family: var(--times); }
.runaway { position: relative; transition: transform .15s; }

/* ---------- top strips ---------- */
.sc-banner {
  position: sticky; top: 0; z-index: 150;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .75rem;
  padding: 10px 1rem;
  color: #000; text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 700;
  background: var(--yel);
  border-bottom: 4px solid #000;
  box-shadow: 0 4px var(--hot);
}
.sc-banner-text { max-width: 860px; }
.sc-banner-text:hover { background: none; }
.sc-banner.alarm { background: #c00; color: #fff; animation: shake .15s 6; }
.sc-banner-btn {
  flex: none;
  padding: 2px 12px;
  font: inherit; font-weight: 700;
  color: #fff;
  background: #c8005f;
  border: 3px solid #000; border-radius: 8px;
  box-shadow: 3px 3px #000;
  animation: pulse 1s infinite;
}
.sc-banner-btn:hover { color: #000; background: var(--lime); }
@media (max-width: 900px) { .sc-banner-text span + span { display: none; } }
@media (max-width: 600px) {
  .sc-banner { padding: 7px .6rem; font-size: .85rem; line-height: 1.3; }
  .sc-banner-btn { padding: 1px 8px; }
}

.marquee { overflow: hidden; white-space: nowrap; color: var(--yel); background: #d00; border-bottom: 3px dashed #000; padding: 6px 0; font-weight: 700; }
.marquee span { display: inline-block; padding-left: 100vw; animation: marquee 30s linear infinite; }

.hits { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.5rem; color: #000; background: silver; border-bottom: 3px ridge gray; padding: 6px .5rem; font-family: var(--times); font-weight: 700; text-align: center; }
.hits-counter {
  display: inline-block; margin-left: .4rem; padding: .1rem .5rem;
  color: var(--lime); background: #000; border: 3px inset gray;
  font-family: var(--mono); font-size: 1.15rem; letter-spacing: .2em;
}
.hits-counter.bot { color: red; }
@media (max-width: 420px) { .hits { font-size: .85rem; } .hits-counter { font-size: .9rem; letter-spacing: .08em; } }

/* ---------- nav ---------- */
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1.25rem;
  background: #00f; border-bottom: 5px solid #000;
}
.brand { display: flex; align-items: center; gap: .5rem; color: var(--yel); text-shadow: 3px 3px var(--mag); font-size: 1.8rem; font-weight: 700; text-decoration: none; }
.brand sup { font-size: .7rem; }
.brand-logo { width: 48px; height: 48px; flex: none; background: #fff; border: 3px solid var(--yel); border-radius: 50%; animation: spin 6s linear infinite; }
.links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.links a { color: #00e; background: #fff; padding: 0 4px; font-size: 1.1rem; }
.links a:visited { color: #551a8b; }
.links a:hover { color: #000; background: var(--lime); }
@media (max-width: 600px) { .brand { font-size: 1.35rem; } .links { gap: .6rem; } .links a { font-size: 1rem; } }

/* ---------- hero ---------- */
.hero { position: relative; max-width: 1000px; margin: 0 auto; padding: 3rem 1.25rem 4rem; text-align: center; }
.badge { display: inline-block; margin-bottom: 1rem; padding: .3rem 1rem; background: #fff; border: 3px dashed red; transform: rotate(2deg); }
.hero h1 { color: #000; text-shadow: 4px 4px #fff; font-size: clamp(2.1rem, 7vw, 4.4rem); line-height: 1.1; }
.rainbow {
  display: inline-block;
  color: transparent; text-shadow: none;
  background: linear-gradient(90deg, red, orange, #ff0, #0f0, #0ff, #00f, #f0f);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1px #000;
  animation: wiggle .5s infinite alternate;
}
.strike { color: #888; text-decoration: line-through; }
.said-line { display: block; }
.g-logo { display: inline-block; height: 1.25em; width: auto; padding: .03em .1em; vertical-align: -0.32em; background: #fff; border: 4px solid #000; border-radius: 12px; box-shadow: 5px 5px #000; transform: rotate(-3deg); }
.hero h1 sup { font-size: .42em; }
.lead small { display: block; margin-top: .35rem; color: #5a005a; font-size: .75rem; }
.nb { white-space: nowrap; }
.cheap { color: red; font-size: 1.2em; }
.lead { max-width: 640px; margin: 1.5rem auto; padding: .75rem; font-size: 1.2rem; color: #c000c0; background: var(--yel); border: 2px solid #000; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 1.5rem 0; }
.infogain { max-width: 560px; margin: 0 auto 2rem; padding: .6rem .9rem; font-size: .95rem; text-align: left; background: #fff; border: 3px dotted #00f; box-shadow: 5px 5px var(--cya); transform: rotate(-1deg); }
.infogain small { display: block; color: #555; font-size: .75rem; }
.infogain.flash #fact { background: var(--lime); }

.hero-shot { position: relative; width: min(720px, 100%); margin: 1rem auto 0; transform: rotate(-2deg); }
.report-win { position: relative; overflow: hidden; background: silver; border: 8px ridge var(--mag); box-shadow: 12px 12px #000; }
.win-title { display: flex; justify-content: space-between; gap: .5rem; padding: 4px 8px; color: #fff; font-size: .85rem; font-weight: 700; text-align: left; background: linear-gradient(90deg, navy, #0a5aa0); }
.win-title span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-title span:last-child { flex: none; white-space: nowrap; }
.scores { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; padding: 1.5rem 1rem .75rem; background: #fff; border: 3px inset #999; margin: 8px; }
.score { display: grid; justify-items: center; gap: .35rem; }
.score b {
  display: grid; place-items: center;
  width: clamp(58px, 15vw, 104px); aspect-ratio: 1;
  color: #0a0; font-family: var(--mono); font-size: clamp(1.2rem, 4.2vw, 2.1rem);
  background: radial-gradient(#fff 58%, transparent 59%), conic-gradient(#0c0 0 100%);
  border: 3px solid #000; border-radius: 50%;
}
.score span { font-size: clamp(.7rem, 2.4vw, 1rem); font-weight: 700; }
.indexed { margin: 0 8px; padding: .75rem 1rem clamp(2.9rem, 9vw, 5.2rem); font-size: clamp(1rem, 3.4vw, 1.5rem); font-weight: 700; color: #000; background: #ffc; border: 3px inset #999; }
.indexed b { color: red; font-size: 1.4em; }
.indexed:hover { background: #ffc; }
.stamp { position: absolute; top: 76%; left: 50%; padding: 0 .7rem; color: red; font-family: var(--impact); font-size: clamp(1.1rem, 4.6vw, 2.5rem); white-space: nowrap; letter-spacing: 2px; border: 6px solid red; border-radius: 8px; transform: translate(-50%, -50%) rotate(-12deg); mix-blend-mode: multiply; opacity: .85; pointer-events: none; }
.hero-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 5%;
  color: #fff; font-family: var(--impact); font-weight: 900;
  font-size: clamp(1.6rem, 6vw, 3.4rem); letter-spacing: 1px;
  -webkit-text-stroke: 2px #000; text-shadow: 3px 3px 0 #000;
  pointer-events: none;
}
.sticker { position: absolute; text-align: center; font-weight: 700; }
.s1 { top: 30px; left: -24px; width: 140px; height: 140px; padding: 6px; border: 4px solid #000; border-radius: 50%; background: #fff; transform: rotate(-15deg); animation: wiggle 1s infinite alternate; }
.s2 { top: 60px; right: 0; display: grid; place-items: center; width: 116px; height: 116px; font-size: .95rem; line-height: 1.15; background: var(--yel); border: 4px dotted red; border-radius: 50%; transform: rotate(15deg); animation: spin 10s linear infinite; }
.s3 { bottom: 70px; right: 6px; padding: 1rem; color: #fff; font-size: 1.2rem; background: red; border: 4px solid #000; transform: rotate(12deg); }
@media (max-width: 760px) { .sticker { display: none; } }
@media (min-width: 761px) and (max-width: 1080px) { .s1 { left: 14px; } .s2 { right: 14px; } .s3 { right: 20px; } }

.trusted { max-width: none; padding: 1.5rem; text-align: center; background: #fff; border-block: 4px double #000; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; margin-top: .75rem; color: #666; font-size: 1.3rem; font-weight: 700; }
.logos span:nth-child(odd) { font-family: Papyrus, fantasy; }

/* ---------- the audit ---------- */
.gen-box { display: flex; flex-direction: column; gap: .75rem; max-width: 640px; margin: 0 auto; padding: 1.5rem; background: #fff; border: 4px solid #000; box-shadow: 10px 10px var(--mag); }
.gen-box > label { font-weight: 700; }
#site-url { width: 100%; font: inherit; padding: .75rem; background: #ffc; border: 3px inset #999; }
.options { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.options label { font-weight: 400; }
.gen-box .notbot { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; width: fit-content; padding: .4rem .6rem; font-weight: 700; background: #eee; border: 2px solid #999; }
.notbot small { color: #666; font-weight: 400; }
.notbot.nag { animation: shake .15s 6; border-color: red; }
.gen-output { max-width: 720px; margin: 2rem auto 0; padding: 1.5rem; text-align: center; background: #fff; border: 4px dashed #000; }
.gen-output[hidden], .result[hidden], .loading[hidden] { display: none; }
.spinner { display: inline-block; font-size: 3rem; animation: spin 1s linear infinite; }
.bar { height: 24px; margin-top: 1rem; background: #eee; border: 3px solid #000; }
#bar-fill { width: 0; height: 100%; background: repeating-linear-gradient(45deg, #0f0 0 10px, #0a0 10px 20px); transition: width .4s; }
.credits { margin-top: 1rem; text-align: center; font-size: 1.2rem; }
.wheel-cta { margin-top: 1rem; text-align: center; }
.wheel-cta:hover { background: none; }

/* the report card, printed on tractor-feed paper */
.ticket {
  position: relative;
  max-width: 560px; margin: 0 auto; padding: 1.1rem 2.6rem;
  text-align: left; color: #1a1a1a;
  font-family: var(--mono); font-size: .92rem; line-height: 1.45;
  background:
    radial-gradient(circle at 14px 50%, #fff 6px, transparent 7px) left top / 28px 26px repeat-y,
    radial-gradient(circle at calc(100% - 14px) 50%, #fff 6px, transparent 7px) right top / 28px 26px repeat-y,
    repeating-linear-gradient(#fafff2 0 26px, #dff3cf 26px 52px);
  border: 3px solid #000;
  box-shadow: 6px 6px #000;
  transform: rotate(1deg);
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed #9a9; }
.ticket::before { left: 28px; }
.ticket::after { right: 28px; }
.ticket b { font-weight: 700; }
.ticket .t-row { display: block; overflow-wrap: anywhere; }
.ticket .t-head { text-align: center; font-weight: 700; letter-spacing: 1px; }
.ticket .t-sub { text-align: center; font-size: .8rem; margin-bottom: .5rem; }
.ticket .bad { color: #c00; }
.ticket .good { color: #070; }
.ticket .t-stamp { display: inline-block; margin-top: .4rem; padding: 0 .4rem; color: #c00; border: 3px solid #c00; transform: rotate(-4deg); font-weight: 700; }
@media (max-width: 480px) { .ticket { padding: 1rem 2.2rem; font-size: .8rem; } }
#result-caption { margin-top: 1rem; font-style: italic; }

/* ---------- the course ad ---------- */
.ad-course { text-align: center; }
.ad-tag { display: inline-block; margin-bottom: .75rem; padding: 0 .5rem; color: #000; font-size: .8rem; font-weight: 700; letter-spacing: 1px; background: #0cc; border: 2px solid #000; }
.course {
  position: relative; max-width: 860px; margin: 0 auto; padding: 2rem 1.25rem 1.75rem;
  background: repeating-linear-gradient(-45deg, #ff6 0 18px, #fc0 18px 36px);
  border: 8px double #000; box-shadow: 10px 10px var(--hot);
}
.course p:hover { background: none; }
.burst {
  position: absolute; top: -26px; left: -16px;
  display: grid; place-items: center; width: 120px; height: 120px;
  color: #fff; font-family: var(--impact); font-size: 1.3rem; text-shadow: 2px 2px #000;
  background: #c00;
  clip-path: polygon(50% 0, 61% 20%, 83% 9%, 80% 32%, 100% 38%, 84% 53%, 98% 72%, 75% 75%, 72% 98%, 54% 84%, 36% 100%, 30% 78%, 6% 82%, 16% 61%, 0 45%, 20% 34%, 12% 12%, 36% 19%);
  transform: rotate(-12deg);
  animation: pulse 1s infinite;
}
.course-title { font-family: var(--impact); font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.05; color: #f0f; -webkit-text-stroke: 2px #000; text-shadow: 4px 4px #000; }
.course-sub { max-width: 560px; margin: .75rem auto; padding: .4rem .6rem; font-size: 1.15rem; font-weight: 700; background: #fff; border: 3px solid #000; }
.course-vhs { margin: .5rem 0 1.25rem; font-size: 1.4rem; font-weight: 700; color: #00f; }
@media (max-width: 600px) {
  .course { padding-top: 3.2rem; }
  .burst { top: -30px; left: -12px; width: 92px; height: 92px; font-size: 1.05rem; }
}
.course-said { margin: -.5rem 0 1.1rem; font-size: 1.1rem; font-weight: 700; }
.hd { display: inline-block; margin-left: .4rem; padding: 0 .4rem; color: #fff; font-family: var(--impact); background: #000; border: 2px solid #fff; outline: 2px solid #000; transform: rotate(6deg); }

/* ---------- case studys ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.gallery figure { padding: .5rem .5rem 1rem; background: #fff; border: 3px solid #000; box-shadow: 6px 6px #000; transition: transform .2s; }
.gallery figure:nth-child(odd) { transform: rotate(-2deg); }
.gallery figure:nth-child(even) { transform: rotate(2deg); }
.gallery figure:hover { transform: scale(1.05) rotate(0); }
.gallery svg { display: block; width: 100%; height: auto; border: 2px solid #000; }
.gallery figcaption { margin-top: .5rem; text-align: center; }

/* ---------- the 7 pillars ---------- */
.feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.feature { flex: 1 1 230px; max-width: 250px; padding: 1.25rem; background: #cfc; border: 3px solid #000; }
.feature:nth-child(7n+2) { background: #ccf; }
.feature:nth-child(7n+3) { background: #fcc; }
.feature:nth-child(7n+4) { background: #ffc; }
.feature:nth-child(7n+5) { background: #cff; }
.feature:nth-child(7n+6) { background: #fcf; }
.feature:nth-child(7n+7) { background: #fdb; }
.feature h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; color: #00f; font-size: 1.2rem; line-height: 1.2; }
.feature h3 .i { flex: none; font-size: 2rem; }
.feature h3 .t { text-decoration: underline; }
@media (hover: hover) { .feature:hover { transform: rotate(180deg); transition: transform .6s; } }
.feature { position: relative; }
.gsaid { margin-top: .7rem; padding: .35rem .55rem; color: #000; font-family: var(--times); font-size: .95rem; background: #fff; border: 2px dashed #000; }
.gsaid:hover { background: #fff; }
.glikes { position: absolute; top: -13px; right: -10px; padding: 1px 7px; color: #fff; font-size: .7rem; font-weight: 700; white-space: nowrap; background: #0a5aa0; border: 2px solid #000; box-shadow: 2px 2px #000; transform: rotate(7deg); }

/* ---------- things Google likes ---------- */
.likes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; max-width: 860px; margin: 0 auto; }
.like-box { padding: 1.25rem 1.5rem; background: #cfc; border: 4px solid #000; box-shadow: 8px 8px #080; transform: rotate(-1deg); }
.like-box.hates { background: #fcc; box-shadow: 8px 8px #c00; transform: rotate(1.5deg); }
.like-box p:hover { background: none; }
.like-head { margin-bottom: .5rem; font-family: var(--impact); font-size: 1.8rem; letter-spacing: 1px; }
.like-box ul { padding-left: 1.6rem; list-style: "👍 "; }
.like-box.hates ul { list-style: "👎 "; }
.like-box li { margin: .3rem 0; font-size: 1.1rem; }
.fine { margin-top: 1.4rem; color: #333; font-size: .85rem; text-align: center; }

/* ---------- haters ---------- */
.hater-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.hater { position: relative; padding: 1.25rem 1.25rem 1rem; background: #fff; border: 4px solid #000; box-shadow: 6px 6px red; }
.hater::after { content: "🚫"; position: absolute; top: -18px; right: -12px; font-size: 2.2rem; transform: rotate(14deg); }
.hater:nth-child(2) { transform: rotate(1.5deg); }
.hater-name { margin-bottom: .5rem; font-size: 1.4rem; font-weight: 700; }
.hater-name a { color: #00e; background: var(--yel); padding: 0 4px; }
.hater-name a:visited { color: #551a8b; }
.hater-stars { margin-top: .75rem; color: #666; font-size: .9rem; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: center; gap: 1.5rem; }
.plan { position: relative; padding: 1.5rem; text-align: center; background: #fff; border: 4px solid #000; }
.plan.popular { background: #ff9; border: 6px dashed red; transform: scale(1.06) rotate(-1deg); }
.plan-name { font-size: 1.3rem; font-weight: 700; }
.ribbon { position: absolute; top: -18px; left: 50%; padding: .2rem 1rem; white-space: nowrap; color: #fff; font-weight: 700; background: #c00; border: 3px solid #000; transform: translate(-50%) rotate(-3deg); }
.amount { margin: .5rem 0; color: #080; font-size: 2.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.amount small { color: #666; font-size: 1rem; }
.plan ul { margin: 1rem 0 1.5rem; padding-left: 1.5rem; text-align: left; list-style: "✅ "; }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.review-grid blockquote { padding: 1.25rem; text-align: center; background: #fff; border: 3px solid #000; border-radius: 20px 4px; box-shadow: 6px 6px var(--cya); }
.review-grid blockquote:nth-child(2) { transform: rotate(-3deg); }
@media (min-width: 900px) { .review-grid blockquote:nth-child(2) { transform: rotate(-4deg) translateY(20px); } }
.avatar { display: inline-grid; place-items: center; width: 90px; height: 90px; font-size: 3rem; background: #fff; border: 3px solid #000; border-radius: 50%; }
.review-grid p { margin: .75rem 0; font-size: 1.1rem; }
.review-grid cite { color: #666; }
.stars { margin-top: .5rem; }

/* ---------- Doug ---------- */
.ad-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; max-width: 820px; margin: 0 auto; padding: 1.5rem; background: #ff6; border: 6px dashed var(--hot); box-shadow: 8px 8px #000; transform: rotate(-1deg); }
.ad-box img { width: 220px; height: 220px; background: #fff; border: 5px solid #000; transform: rotate(3deg); }
.ad-copy { flex: 1 1 300px; }
.ad-head { margin: 0 0 .5rem; font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.ad-price { margin: .25rem 0; color: var(--hot); font-size: 2rem; font-weight: 700; animation: pulse 1s infinite; }
.ad-fine { margin: .5rem 0 1rem; color: #555; font-size: .7rem; }

/* ---------- the answer key ---------- */
.truth { text-align: center; }
.truth summary {
  display: inline-block; padding: .5rem 1rem;
  font-weight: 700; color: #555;
  background: #eee; border: 2px dashed #999;
  list-style: none;
}
.truth summary::-webkit-details-marker { display: none; }
.truth summary:hover { color: #000; background: var(--yel); }
.notepad { max-width: 820px; margin: 1.25rem auto 0; text-align: left; background: silver; border: 3px outset #fff; box-shadow: 8px 8px #000; }
.notepad-body { margin: 6px; padding: 1.25rem 1.25rem 1rem; color: #000; font-family: var(--times); font-size: 1.05rem; line-height: 1.5; background: #fff; border: 2px inset #999; }
.notepad-body h2 { margin: 0 0 .75rem; color: #000; font-family: var(--times); font-size: clamp(1.4rem, 4vw, 1.9rem); letter-spacing: 0; background: none; -webkit-text-stroke: 0; transform: none; text-align: left; }
.notepad-body p:hover { background: none; }
.notepad-body ol { margin-top: .75rem; padding-left: 1.4rem; }
.notepad-body li { margin-bottom: .8rem; }
.notepad-body a { color: #00e; }
.notepad-body a:visited { color: #551a8b; }

/* ---------- footer ---------- */
footer { padding: 2rem 1rem 6rem; text-align: center; color: var(--lime); background: #000; border-top: 6px ridge var(--mag); }
footer p { margin: .5rem 0; }
footer p:hover { background: #333; }
footer a { color: #00e; background: #fff; padding: 0 4px; }
.construction { color: var(--yel); font-size: 1.5rem; animation: blink 1s step-end infinite; }
.counter { padding: .1rem .5rem; color: #ff4d4d; letter-spacing: 3px; background: #222; border: 2px inset #666; font-family: var(--mono); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 1rem auto; }
.b88 { display: grid; place-items: center; width: 88px; height: 31px; padding: 0 2px; font-family: Verdana, Tahoma, sans-serif; font-size: 8px; font-weight: 700; line-height: 1.05; color: #fff; border: 2px outset #ccc; }
.b-bot { background: linear-gradient(#36f, #013); }
.b-human { color: #000; background: linear-gradient(#ff9, #f90); }
.b-w3c { background: linear-gradient(#06c, #024); }
.b-np { color: #000; background: linear-gradient(#fff, #9cf); }
.b-eeat { background: linear-gradient(#b0b, #505); }
.small { color: #888; font-size: .8rem; }

/* ---------- windows-ish popups ---------- */
.popup { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: #00000080; }
.popup[hidden] { display: none; }
.popup-box { width: min(380px, 92vw); padding-bottom: 1.25rem; text-align: center; background: silver; border: 3px outset #fff; box-shadow: 6px 6px #000; animation: pop-in .25s ease-out; }
.popup-box p { margin: .6rem 1rem; }
.popup-box p:hover { background: none; }
.popup-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 4px 6px; color: #fff; font-weight: 700; background: linear-gradient(90deg, navy, #0a5aa0); text-align: left; }
.popup-title button { flex: none; width: 22px; height: 22px; padding: 0; font: inherit; line-height: 1; color: #000; background: silver; border: 2px outset #fff; }
.popup-box .popup-fine { margin-top: -.2rem; color: #333; font-size: .75rem; }
.popup-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1rem; }

.call-avatar { display: block; width: 96px; height: 96px; margin: 1.25rem auto .5rem; background: #fff; border: 4px solid #000; border-radius: 50%; }
.call[data-state="ringing"] .call-avatar { animation: ring 1s infinite; }
.call[data-state="connected"] .call-avatar { border-color: #0c0; }
.popup-box .call-name { margin: 0; font-size: 1.5rem; font-weight: 700; }
.popup-box .call-role { margin-top: .25rem; color: #444; font-size: .8rem; }
.call-status { min-height: 1.5em; font-weight: 700; font-variant-numeric: tabular-nums; }
.call[data-state="connected"] .call-status { color: #070; }
.call[data-state="ended"] .call-status { color: #c00; }
.popup-box .call-line { min-height: 2.6em; font-style: italic; font-size: .95rem; }

.wheel-wrap { position: relative; width: 280px; height: 280px; max-width: 76vw; max-height: 76vw; margin: 1.75rem auto .75rem; }
.wheel-disc { position: relative; width: 100%; height: 100%; background: repeating-conic-gradient(#0070c0 0 45deg, #c4005f 45deg 90deg); border: 6px solid #000; border-radius: 50%; box-shadow: 4px 4px #000; }
.wheel-disc::after { content: ""; position: absolute; inset: calc(50% - 16px); background: #fc0; border: 4px solid #000; border-radius: 50%; }
.wheel-disc span {
  position: absolute; top: 50%; left: 50%; width: 46%;
  padding-right: 8px; text-align: right; white-space: nowrap;
  color: #fff; text-shadow: 1px 1px #000; font-size: .66rem; font-weight: 700;
  transform-origin: 0;
  transform: translateY(-50%) rotate(calc(var(--i) * 45deg - 67.5deg));
}
.wheel-pointer { position: absolute; z-index: 1; top: -20px; left: calc(50% - 16px); border-top: 34px solid #000; border-left: 16px solid transparent; border-right: 16px solid transparent; transform-origin: 50% 0; }
.wheel-pointer.tick { animation: flick 80ms; }
.popup-box .wheel-msg { min-height: 3em; font-size: 1.05rem; font-weight: 700; }

.toast { position: fixed; bottom: 86px; left: 50%; z-index: 210; width: max-content; max-width: min(560px, 92vw); padding: .75rem 1.25rem; font-weight: 700; text-align: center; background: var(--yel); border: 3px solid #000; box-shadow: 4px 4px #000; transform: translate(-50%, 260px); transition: transform .3s; }
.toast.show { transform: translate(-50%); }

.proof { position: fixed; top: calc(var(--banner-h) + 12px); right: 16px; z-index: 97; max-width: min(300px, 80vw); padding: .6rem .9rem; font-size: .9rem; background: #fff; border: 3px solid #000; border-left: 10px solid #0c0; box-shadow: 4px 4px #000; transform: translate(130%); pointer-events: none; }
.proof.show { animation: proof 4.5s ease-in-out; }

.cookie { position: fixed; bottom: 0; left: 50%; z-index: 90; width: min(640px, 100vw); padding: .6rem 1rem .7rem; color: #fff; font-size: .85rem; text-align: center; background: #8b4513; border: 4px dashed #fc0; transform: translate(-50%, 110%); transition: transform .4s; }
.cookie.show { transform: translate(-50%); }
.cookie p:hover { background: none; }
.cookie-btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin-top: .5rem; }
#cookie-reject { padding: 2px 4px; font-size: .6rem; box-shadow: none; }

.chat { position: fixed; right: 16px; bottom: 16px; z-index: 95; width: 280px; max-width: calc(100vw - 32px); background: #fff; border: 3px solid #000; box-shadow: 6px 6px var(--mag); }
.chat.nudge { animation: shake .15s 4; }
.chat-head { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .4rem .6rem; font: inherit; color: #000; font-weight: 700; text-align: left; background: #0c0; border: 0; }
.chat-head img { width: 30px; height: 30px; background: #fff; border: 2px solid #000; border-radius: 50%; }
#chat-badge:not(:empty) { margin-left: auto; padding: 0 7px; background: red; border-radius: 999px; animation: blink .8s step-end infinite; }
.chat-body, .chat-form { display: none; }
.chat.open .chat-body { display: flex; flex-direction: column; gap: .4rem; height: 240px; padding: .6rem; overflow-y: auto; background: #ffc; }
.chat.open .chat-form { display: flex; gap: .3rem; padding: .4rem; }
.chat-form input { flex: 1; min-width: 0; padding: .3rem; font: inherit; border: 2px inset #999; }
.msg { max-width: 85%; padding: .35rem .6rem; font-size: .9rem; border: 2px solid #000; border-radius: 10px; }
.msg.bot { align-self: flex-start; background: #cfc; }
.msg.me { align-self: flex-end; background: #ccf; }
.msg.typing { color: #888; font-style: italic; }
@media (max-width: 600px) {
  .chat { width: auto; left: auto; max-width: calc(100vw - 32px); }
  .chat:not(.open) .chat-head { font-size: .85rem; }
}

.music { position: fixed; left: 16px; bottom: 16px; z-index: 97; max-width: calc(100vw - 210px); background: #f90; }
@media (max-width: 600px) { .music { font-size: .75rem; padding: .45rem .6rem; } }

/* ---------- things the script adds ---------- */
.trail { position: fixed; z-index: 300; font-size: 18px; pointer-events: none; animation: fall .9s ease-in forwards; }
.bubble {
  position: fixed; bottom: -40px; z-index: 35;
  border: 2px solid #0007; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 16%, #c8f6ffcc 22% 55%, #8fd8ff80 75%, #ff9ff380);
  pointer-events: none; animation: rise linear forwards;
}

/* ---------- whole-page mischief ---------- */
body > section, body > header, body > footer { animation: seasick 9s ease-in-out infinite; }
body.quake > section, body.quake > header, body.quake > nav { animation: quake .1s 8; }

@keyframes pulse { 50% { transform: scale(1.06); } }
@keyframes marquee { to { transform: translate(-100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wiggle { to { transform: rotate(4deg) scale(1.05); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shake { 25% { transform: translate(-3px) rotate(-1deg); } 75% { transform: translate(3px) rotate(1deg); } }
@keyframes ring { 0% { box-shadow: 0 0 #00000080; } to { box-shadow: 0 0 0 26px transparent; } }
@keyframes flick { 50% { transform: rotate(-14deg); } }
@keyframes fall { to { opacity: 0; transform: translateY(60px) rotate(180deg); } }
@keyframes rise { to { transform: translate(var(--drift, 30px), -115vh); } }
@keyframes seasick { 25% { transform: rotate(.4deg); } 75% { transform: rotate(-.4deg); } }
@keyframes quake { 25% { transform: translate(-8px, 4px) rotate(-1deg); } 75% { transform: translate(8px, -4px) rotate(1deg); } }
@keyframes pop-in { 0% { transform: scale(.3); } }
@keyframes proof { 10%, 85% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee span { padding-left: 1rem; white-space: normal; }
  .marquee { white-space: normal; text-align: center; }
  .bubble, .trail { display: none; }
}
