/* AI Visibility Score Checker (Campaign 2, G35). Redesign 3 Dec 2026 (owner: "make the design of the quiz better … add svg of
   chatgpt etc"): black hero with the AI tools' own logos and a preview of the question a customer asks ChatGPT, the check in a white
   card (step bar, lettered answers, a ChatGPT-style prompt, logos left of every tool name), the result as a score ring with four
   part tiles. Same tokens as the GEO page (yellow #ffe01a, ink, round buttons). Phone: one column, the logo row instead of the
   preview, answer buttons at least 54px tall, 16px inputs (no zoom on iPhone). */
.as-page{--ink:#131313;--yellow:#ffe01a;--muted:#5c5c5c;--line:#e4e4e1;--soft:#f5f5f2;--field:#cfcfca;color:var(--ink)}
.as-wrap{max-width:1344px;margin-inline:auto;padding-inline:40px}
.as-page p{margin:0}
.as-page h2,.as-page h3{margin:0}
.as-page .as-hero h1{font-size:clamp(40px,4.8vw,66px);line-height:1.02;letter-spacing:-.05em;font-weight:780;margin:0 0 22px;color:#fff;text-wrap:balance}
.as-page .as-hero h1::after{content:"";display:block;width:72px;height:6px;background:var(--yellow);margin-top:22px}
.as-page h2{font-size:clamp(30px,3.1vw,44px);line-height:1.08;letter-spacing:-.035em;font-weight:760;margin:0 0 18px;text-wrap:balance}

/* A tool named in a sentence: its logo just left of the name, never split from it */
.as-tool{white-space:nowrap}
.as-tool .as-logo{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.17em;margin-right:.32em;object-fit:contain}

/* Hero */
.as-hero{background:var(--ink);color:#fff;padding:22px 0 88px;overflow:hidden}
.as-hero .site-crumbs{max-width:none;padding-inline:0;margin:0 0 38px}
.as-hero .site-crumbs a,.as-hero .site-crumbs span{color:#bdbdbd}
.as-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:64px;align-items:start}
.as-hero-copy{padding-top:28px}
.as-page .as-intro{font-size:18px;line-height:1.65;color:#d2d2d2;max-width:560px}
.as-intro .as-tool{color:#fff}

/* The preview: the AI tools, then a customer's question and an answer still being written */
.as-preview{margin-top:40px;max-width:600px;background:#1b1b1b;border:1px solid #2c2c2c;border-radius:20px;padding:22px}
.as-ai-logos{display:flex;flex-wrap:wrap;gap:8px}
.as-ai-logo{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px 0 8px;border-radius:999px;background:#fff;color:var(--ink);font-size:12.5px;font-weight:650;line-height:1}
.as-ai-logo img{width:20px;height:20px;object-fit:contain;flex:none}
.as-chat{margin-top:22px;padding-top:22px;border-top:1px solid #2c2c2c}
.as-page .as-chat-q{margin-left:auto;width:fit-content;max-width:88%;background:#2e2e2e;color:#fff;padding:12px 18px;border-radius:20px 20px 6px 20px;font-size:16px;font-weight:600;line-height:1.45}
.as-chat-q b{color:var(--yellow);font-weight:700}
.as-chat-q b.is-example{color:#cfcfcf;text-decoration:underline dashed var(--yellow);text-decoration-thickness:1.5px;text-underline-offset:4px}
.as-chat-a{display:flex;gap:12px;align-items:flex-start;margin-top:18px}
.as-chat-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:999px;background:#fff}
.as-chat-avatar img{width:20px;height:20px}
.as-skel{flex:1;display:grid;gap:12px;padding-top:4px}
.as-skel i{display:flex;align-items:center;gap:10px;font-style:normal}
.as-skel b{font-size:12px;font-weight:700;color:#8a8a8a;width:10px;font-variant-numeric:tabular-nums}
.as-skel i::after{content:"";height:10px;border-radius:999px;background:linear-gradient(90deg,#2a2a2a 0%,#3b3b3b 40%,#2a2a2a 80%) 0 0/300% 100%;animation:as-shimmer 2.2s linear infinite}
.as-skel i:nth-child(1)::after{width:86%}
.as-skel i:nth-child(2)::after{width:68%;animation-delay:.15s}
.as-skel i:nth-child(3)::after{width:52%;animation-delay:.3s}
@keyframes as-shimmer{from{background-position:100% 0}to{background-position:-200% 0}}

/* The card */
.as-card{background:#fff;color:var(--ink);border-radius:20px;padding:34px;box-shadow:0 30px 80px #00000059;scroll-margin-top:96px;min-height:420px}
.as-card [hidden]{display:none!important}
.as-field{margin-bottom:18px}
.as-field label{display:block;font-size:14px;font-weight:650;margin-bottom:8px}
.as-field input,.as-select select{display:block;width:100%;min-height:54px;border:1.5px solid var(--field);border-radius:12px;padding:12px 16px;font:inherit;font-size:16px;line-height:1.4;color:var(--ink);background:#fff;transition:border-color .15s,box-shadow .15s}
.as-field input::placeholder{color:#8d8d88}
.as-field input:hover,.as-select select:hover{border-color:#9d9d97}
.as-field input:focus,.as-select select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px var(--yellow)}
.as-field input[aria-invalid="true"]{border-color:#b3261e}
.as-page .as-error{color:#b3261e;font-size:13px;font-weight:600;margin-top:7px}
.as-select{position:relative;display:block}
.as-select select{appearance:none;-webkit-appearance:none;padding-right:46px;cursor:pointer}
.as-select svg{position:absolute;right:16px;top:50%;width:18px;height:18px;transform:translateY(-50%);pointer-events:none}

/* Buttons */
.as-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:14px 24px;border-radius:999px;font:inherit;font-size:15px;font-weight:650;line-height:1.3;text-align:center;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:transform .18s,background .18s,border-color .18s}
.as-btn:hover{transform:translateY(-1px)}
.as-btn svg{width:18px;height:18px;flex:none;fill:currentColor}
.as-btn svg[fill="none"]{fill:none}
.as-btn .as-logo{width:18px;height:18px;flex:none}
.as-btn-yellow{background:var(--yellow);color:var(--ink)}
.as-btn-ink{background:var(--ink);color:#fff}
.as-btn-outline{background:#fff;border-color:var(--ink);color:var(--ink)}
.as-btn-wide{width:100%;margin-top:6px}
.as-btn-sm{min-height:44px;padding:9px 18px;font-size:14px;gap:8px}
.as-btn:focus-visible,.as-answer:focus-visible,.as-link:focus-visible,.as-copy:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.as-page .as-note{display:flex;gap:8px;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:var(--muted);margin-top:14px}
.as-note svg{width:16px;height:16px;flex:none}

/* A question: step bar, part, the question, lettered answers */
.as-progress{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;font-size:13px;font-weight:650;color:var(--muted);font-variant-numeric:tabular-nums}
.as-steps{display:flex;gap:4px;flex:1;max-width:280px}
.as-steps i{flex:1;height:6px;border-radius:999px;background:#ecece8;transition:background .3s}
.as-steps i.is-done{background:var(--ink)}
.as-steps i.is-now{background:var(--yellow);box-shadow:inset 0 0 0 1px #d8bd00}
.as-page .as-part{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#6f6f68;margin-bottom:16px}
.as-part-tag{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;background:var(--yellow);color:var(--ink);font-size:13px;font-weight:800;letter-spacing:0}
.as-page .as-q{font-size:22px;line-height:1.35;font-weight:720;letter-spacing:-.02em;margin:0 0 6px;outline:none}
.as-page .as-before{font-size:15px;font-weight:650;margin-bottom:10px;outline:none}
.as-gpt{border:1.5px solid var(--line);border-radius:18px;padding:16px;margin-bottom:4px;background:#fff}
.as-gpt-body{display:flex;justify-content:flex-end}
.as-gpt-bubble{max-width:94%;background:#efefec;border-radius:20px 20px 6px 20px;padding:12px 18px;font-size:16px;font-weight:620;line-height:1.45;overflow-wrap:anywhere}
.as-gpt-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:14px}
.as-copy{display:inline-flex;align-items:center;gap:7px;flex:none;min-height:44px;padding:8px 16px;border-radius:999px;border:1.5px solid var(--ink);background:#fff;font:inherit;font-size:14px;font-weight:650;color:var(--ink);cursor:pointer}
.as-copy svg{width:16px;height:16px}
.as-copy.is-done{background:var(--ink);color:#fff}
.as-link{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:650;color:var(--ink);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:4px;min-height:32px}
.as-link svg{width:16px;height:16px;flex:none}
.as-page .as-q.as-ask{margin-top:22px}
.as-page .as-tip{font-size:14px;color:var(--muted);margin-top:6px}
.as-visual{display:inline-flex;align-items:center;gap:10px;padding:8px 14px 8px 10px;border:1.5px solid var(--line);border-radius:999px;margin-bottom:14px}
.as-visual .as-logo{width:20px;height:20px}
.as-stars{display:inline-flex;gap:2px}
.as-stars svg{width:17px;height:17px}
.as-stars polygon{fill:var(--yellow);stroke:#c9a900}
.as-answers{display:grid;gap:10px;margin:18px 0}
.as-answer{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;text-align:left;padding:12px 16px;border:1.5px solid var(--field);border-radius:14px;background:#fff;font:inherit;font-size:15px;font-weight:600;line-height:1.35;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.as-key{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;border:1.5px solid var(--field);background:#fff;font-size:13px;font-weight:760;color:var(--muted);transition:background .15s,border-color .15s,color .15s}
.as-answer:hover{border-color:var(--ink);transform:translateY(-1px)}
.as-answer:hover .as-key{border-color:var(--ink);color:var(--ink)}
.as-answer[aria-pressed="true"]{border-color:var(--ink);background:#fffbdb}
.as-answer[aria-pressed="true"] .as-key{background:var(--ink);border-color:var(--ink);color:var(--yellow)}
.as-page .as-why{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.6;color:#454545;background:var(--soft);border-left:3px solid var(--yellow);border-radius:0 12px 12px 0;padding:12px 14px}
.as-why svg{width:18px;height:18px;flex:none;margin-top:1px}
.as-why strong{color:var(--ink)}
.as-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:14px;padding:0 4px 0 0;background:none;border:0;font:inherit;font-size:14px;font-weight:650;color:var(--ink);cursor:pointer}
.as-back svg{width:16px;height:16px}
.as-back:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* The result: a ring that fills to the score, four part tiles, the biggest gaps */
.as-score{text-align:center;padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:24px}
.as-page .as-score-h{display:flex;flex-direction:column;align-items:center;gap:16px;margin:0;outline:none;font-size:inherit;letter-spacing:0}
.as-page .as-score-label{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#6f6f68}
.as-gauge{position:relative;display:grid;place-items:center;width:184px;height:184px}
.as-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.as-ring-track{fill:none;stroke:#efefeb;stroke-width:11}
.as-ring-fill{fill:none;stroke:var(--yellow);stroke-width:11;stroke-linecap:round;transition:stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1)}
.as-page .as-score-num{position:relative;font-size:60px;font-weight:800;letter-spacing:-.05em;line-height:1;font-variant-numeric:tabular-nums}
.as-score-num small{display:block;font-size:15px;font-weight:700;letter-spacing:0;color:#8a8a84;margin-top:6px}
.as-page .as-band{display:inline-block;background:var(--ink);color:var(--yellow);padding:8px 18px;border-radius:999px;font-weight:750;font-size:14px;margin:18px 0 12px}
.as-page .as-band-text{font-size:15px;line-height:1.6;color:#3d3d3d;max-width:420px;margin:0 auto}
.as-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 28px;padding:0;list-style:none}
.as-bars li{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px 10px;padding:14px;border:1.5px solid var(--line);border-radius:14px;font-size:14px;font-weight:700}
.as-bar-num{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:650}
.as-bar{grid-column:1/-1;height:6px;background:#ecece8;border-radius:999px;overflow:hidden}
.as-bar i{display:block;height:100%;background:var(--ink);border-radius:inherit}
.as-page .as-gaps-title{font-size:18px;font-weight:750;letter-spacing:-.01em;margin-bottom:12px}
.as-gaps{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px}
.as-gaps li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:14px;border:1.5px solid var(--line);border-radius:14px;padding:16px}
.as-gap-n{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--yellow);color:var(--ink);font-weight:800;font-size:14px}
.as-gaps strong{display:block;font-size:15px;line-height:1.4}
.as-gaps strong>span:last-child{display:block;font-size:12.5px;font-weight:650;color:var(--muted);margin-top:3px}
.as-page .as-gaps p{font-size:14px;line-height:1.6;color:#3d3d3d;margin:8px 0 6px}
.as-page .as-none{font-size:15px;font-weight:600;margin-bottom:18px}
.as-page .as-honesty{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.55;color:#4a4a4a;background:var(--soft);border-radius:12px;padding:12px 14px;margin-bottom:18px}
.as-honesty svg{width:18px;height:18px;flex:none;margin-top:1px}
.as-actions{display:grid;gap:10px}
.as-retake{display:flex;justify-content:center;margin:12px auto 0}

/* How the score works */
.as-section{padding-block:96px}
.as-head{max-width:820px;margin-bottom:42px}
.as-kicker{display:block;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#7a7a7a;margin-bottom:16px}
.as-page .as-lead{font-size:15px;line-height:1.7;color:var(--muted);max-width:720px}
.as-lead .as-tool,.as-part-card .as-tool{color:var(--ink)}
.as-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.as-part-card{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:28px 24px}
.as-part-letter{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--yellow);font-weight:800;font-size:18px;margin-bottom:18px}
.as-page .as-part-card h3{font-size:19px;line-height:1.3;font-weight:720;letter-spacing:-.01em;margin-bottom:10px}
.as-part-card h3 span{display:block;font-size:13px;font-weight:650;letter-spacing:0;color:var(--muted);margin-top:3px}
.as-page .as-part-card p{font-size:14.5px;line-height:1.65;color:#3d3d3d}
.as-more{display:flex;flex-wrap:wrap;align-items:center;gap:14px 30px;margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.as-page .as-more p{font-weight:700;font-size:15px}
.as-more a{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:650;color:var(--ink);text-decoration:none;border-bottom:2px solid var(--ink);padding-bottom:3px}
.as-more svg{width:16px;height:16px}

@media(max-width:1080px){
  .as-hero-grid{grid-template-columns:minmax(0,1fr);gap:34px}
  .as-hero-copy{padding-top:0;max-width:720px}
  .as-card{max-width:640px}
  .as-parts{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* One column: only the logo row, so the card is not pushed down */
  .as-preview{margin-top:26px;padding:0;background:none;border:0;border-radius:0}
  .as-chat{display:none}
}
@media(max-width:860px){
  .as-wrap,.as-page .fq-section{padding-inline:20px}
  .as-hero{padding:16px 0 48px}
  .as-hero .site-crumbs{margin-bottom:24px}
  .as-page .as-hero h1{font-size:38px;margin-bottom:16px}
  .as-page .as-hero h1::after{margin-top:16px;width:56px;height:5px}
  .as-page .as-intro{font-size:16px}
  .as-preview{margin-top:20px}
  .as-ai-logos{gap:8px}
  .as-ai-logo{width:42px;height:42px;padding:0;justify-content:center}
  .as-ai-logo img{width:22px;height:22px}
  .as-ai-logo span{display:none}
  .as-card{padding:22px 18px;border-radius:16px;min-height:0}
  .as-section{padding-block:60px}
  .as-parts{grid-template-columns:minmax(0,1fr);gap:12px}
  .as-part-card{padding:22px 20px}
  .as-progress{flex-direction:column;align-items:stretch;gap:10px}
  .as-steps{max-width:none}
  .as-gpt{padding:14px}
  .as-gpt-actions{flex-direction:column;align-items:stretch}
  .as-gpt-actions>*{justify-content:center;white-space:nowrap}
  .as-gauge{width:164px;height:164px}
  .as-page .as-score-num{font-size:52px}
  .as-page .as-q{font-size:19px}
  .as-bars li{padding:12px}
  .as-more{flex-direction:column;align-items:flex-start}
}
@media(max-width:480px){.as-bars li{grid-template-columns:minmax(0,1fr) auto}.as-bars .as-part-tag{display:none}}
@media(max-width:340px){.as-bars{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.as-btn,.as-answer,.as-key,.as-steps i,.as-ring-fill{transition:none}.as-btn:hover,.as-answer:hover{transform:none}.as-skel i::after{animation:none}}
