/* Quiz landers: one template, many worlds. Mobile first and fast: system
   fonts for text, one display font per world (loaded without blocking), the
   first question in the HTML so it paints at once, above the fold on a
   375x667 phone. World art is small, lazy and decorative. */

:root {
  --bg: #fff7f9; --surface: #ffffff; --ink: #2b2233; --soft: #6f6577; --line: #f0dfe6;
  --accent: #ff5d86; --accent-ink: #ffffff; --accent-2: #ffe3ea; --glow: rgba(255, 93, 134, 0.35);
  --live: #128a5a; --live-bg: #def5ea;
  --display: ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --text: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r: 18px; --r-sm: 12px; --dw: 700; --track: -0.02em;
}
[data-world='capsules'] { --display: 'Fredoka', ui-rounded, system-ui, sans-serif; --dw: 600; }
[data-world='botcents'] {
  --bg: #faf8ff; --ink: #1e1535; --soft: #676080; --line: #ebe6f7; --accent: #6b4bff; --accent-ink: #ffffff; --accent-2: #efeaff; --glow: rgba(107, 75, 255, 0.35);
  --display: 'Sora', system-ui, sans-serif; --dw: 700; --track: -0.03em;
}
[data-world='botcents'] body { background: radial-gradient(ellipse at 85% -10%, #ece4ff, transparent 55%), radial-gradient(ellipse at 0% 20%, #fff1dd, transparent 40%), var(--bg); }
[data-world='station'] {
  --bg: #f7f5f0; --ink: #151515; --soft: #66625b; --line: #e4dfd5; --accent: #ffd11a; --accent-ink: #151515; --accent-2: #fff3bf; --glow: rgba(214, 170, 0, 0.35);
  --display: 'Archivo', system-ui, sans-serif; --dw: 800; --track: -0.03em; --r: 10px; --r-sm: 8px;
}
[data-world='arcade'] {
  --bg: #120c2a; --surface: #1d1540; --ink: #f6f1ff; --soft: #b6abd8; --line: #2f2560; --accent: #ffd23f; --accent-ink: #1b1240; --accent-2: #2c2163; --glow: rgba(255, 210, 63, 0.45);
  --live: #7dffb0; --live-bg: #173b33;
  --display: 'Bungee', system-ui, sans-serif; --dw: 400; --track: 0;
}
[data-world='gameshow'] {
  --bg: #fff3e0; --ink: #3a1d0b; --soft: #7d5a43; --line: #f3d9b8; --accent: #ff5a1f; --accent-ink: #ffffff; --accent-2: #ffe1c7; --glow: rgba(255, 90, 31, 0.4);
  --display: 'Shrikhand', Georgia, serif; --dw: 400; --track: 0;
}
[data-world='mission'] {
  --bg: #f1f4ef; --ink: #18221c; --soft: #5c6a61; --line: #d9e2da; --accent: #ff6a1a; --accent-ink: #ffffff; --accent-2: #e3eee6; --glow: rgba(255, 106, 26, 0.35);
  --display: 'Oswald', system-ui, sans-serif; --dw: 600; --track: 0.005em; --r: 8px; --r-sm: 6px;
}
[data-world='comic'] {
  --bg: #fffbe8; --ink: #111111; --soft: #4b4b4b; --line: #111111; --accent: #e8202a; --accent-ink: #ffffff; --accent-2: #fff06b; --glow: rgba(0, 0, 0, 0.0);
  --display: 'Bangers', Impact, sans-serif; --dw: 400; --track: 0.02em; --r: 4px; --r-sm: 4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--text); overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.w { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* world backgrounds (pure CSS, no images) */
[data-world='arcade'] body { background: radial-gradient(ellipse at 50% -10%, #3a1f7a 0%, transparent 60%), linear-gradient(transparent 96%, rgba(255, 61, 154, 0.12) 96%) 0 0 / 100% 28px, var(--bg); }
[data-world='gameshow'] body { background: radial-gradient(circle at 50% 0, #ffd9a8, transparent 55%), var(--bg); }
[data-world='mission'] body { background: linear-gradient(rgba(24, 34, 28, 0.04) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(24, 34, 28, 0.04) 1px, transparent 1px) 0 0 / 24px 24px, var(--bg); }
[data-world='comic'] body { background: radial-gradient(rgba(232, 32, 42, 0.13) 1.2px, transparent 1.4px) 0 0 / 12px 12px, var(--bg); }
[data-world='capsules'] body { background: radial-gradient(circle at 100% 0, #ffe0ea, transparent 45%), var(--bg); }
[data-world='station'] body { background: linear-gradient(180deg, #efe6d8, var(--bg) 220px); }

/* ---------- top ---------- */
.lt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; }
.lt-logo { display: inline-flex; align-items: center; gap: 8px; font: 800 17px/1 var(--text); text-decoration: none; letter-spacing: -0.01em; }
.lt-logo img { width: 26px; height: 26px; }
.lt-tag { font: 700 11px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 6px 9px; border-radius: 999px; }
[data-world='comic'] .lt-tag { border: 2px solid #111; border-radius: 3px; box-shadow: 2px 2px 0 #111; }
.lt-checked { font-size: 12px; color: var(--soft); }

/* ---------- layout: quiz first ---------- */
.lt-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 40px; }
.lt-hero h1 { font: var(--dw) clamp(26px, 7.2vw, 52px)/1.05 var(--display); letter-spacing: var(--track); margin: 4px 0 6px; text-wrap: balance; }
[data-world='comic'] .lt-hero h1 { text-shadow: 2px 2px 0 var(--accent-2); }
.lt-hero p { margin: 0 0 14px; color: var(--soft); font-size: 15px; }
.lt-art { display: none; }

.quiz { background: var(--surface); border-radius: var(--r); padding: 16px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0, 0, 0, 0.35); scroll-margin-top: 8px; }
[data-world='comic'] .quiz { border: 3px solid #111; box-shadow: 5px 5px 0 #111; }
[data-world='arcade'] .quiz { box-shadow: 0 0 0 1px var(--line), 0 0 40px -10px rgba(138, 92, 255, 0.5); }
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.q-step { font: 700 11.5px/1 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.bar { flex: 1; max-width: 140px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); width: 20%; transition: width 0.35s; }
.q-text { font: 750 20px/1.25 var(--text); margin: 0 0 12px; letter-spacing: -0.01em; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: var(--r-sm); cursor: pointer; text-align: left;
  background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); font: 600 16px/1.25 var(--text); color: var(--ink); transition: box-shadow 0.12s, background 0.12s, transform 0.08s; -webkit-tap-highlight-color: transparent; }
.opt:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.opt:active { transform: scale(0.99); }
.opt .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; font-size: 13px; color: transparent; }
.opt[aria-pressed='true'] { background: var(--accent-2); box-shadow: inset 0 0 0 2px var(--accent); }
.opt[aria-pressed='true'] .ck { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.opt[aria-pressed='true'] .ck::after { content: '✓'; }
[data-world='comic'] .opt { box-shadow: inset 0 0 0 2px #111; }
.opts.two { grid-template-columns: 1fr 1fr; }
.cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 800 17px/1 var(--text); box-shadow: 0 10px 24px -12px var(--glow); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.cta:active { transform: translateY(1px); }
.cta[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
[data-world='station'] .cta, [data-world='mission'] .cta { border-radius: 8px; }
[data-world='comic'] .cta { border-radius: 4px; border: 3px solid #111; box-shadow: 4px 4px 0 #111; font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; }
[data-world='arcade'] .cta { font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; }
.q-back { border: 0; background: none; color: var(--soft); font: 600 14px/1 var(--text); padding: 6px 0; cursor: pointer; }
.q-back[hidden] { visibility: hidden; display: inline; }
.q-note { margin: 10px 0 0; font-size: 12.5px; color: var(--soft); text-align: center; }
.slide { animation: slide 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes slide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* inputs (trials, email) */
.field { display: grid; gap: 5px; margin-top: 10px; }
.field label { font: 700 12.5px/1 var(--text); color: var(--soft); }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: var(--r-sm); background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); font-size: 16px; color: var(--ink); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.err { color: #d1352b; font-size: 14px; margin: 6px 0 0; min-height: 1em; }
[data-world='arcade'] .err { color: #ff8a8a; }

/* ---------- result ---------- */
.r-kicker { font: 700 12px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.r-total { font: var(--dw) clamp(54px, 16vw, 96px)/0.95 var(--display); letter-spacing: var(--track); margin: 6px 0 4px; }
.r-sub { color: var(--soft); margin: 0 0 12px; font-size: 15px; }
.r-list { margin: 0 0 4px; padding: 0; list-style: none; }
.r-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.r-list li b { font-weight: 750; }
.r-list li .v { font: 700 14px/1.3 var(--mono); white-space: nowrap; }
.r-list li .s { grid-column: 1 / -1; color: var(--soft); font-size: 13.5px; }
.r-more { font-size: 14px; color: var(--soft); padding-top: 8px; border-top: 1px solid var(--line); }
.r-art { display: block; width: 110px; margin: -6px auto 0; }
.badge { display: inline-block; font: 700 11px/1 var(--text); padding: 4px 7px; border-radius: 999px; background: var(--live-bg); color: var(--live); vertical-align: 1px; margin-left: 4px; }
.badge.warn { background: #fff0cf; color: #9a6300; }
.gate { margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--line); }
.gate h3 { margin: 0 0 4px; font: 800 18px/1.25 var(--text); }
.gate p { margin: 0; color: var(--soft); font-size: 14px; }
.fine { font-size: 12px; color: var(--soft); margin: 8px 0 0; line-height: 1.45; text-align: center; }

/* world result flourishes */
.win { display: inline-block; font: 400 22px/1 var(--display); color: var(--accent); animation: pop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
@keyframes pop { from { transform: scale(0.3) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.spin { animation: spin 1.4s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
@keyframes spin { from { transform: rotate(-720deg); } to { transform: rotate(0); } }
.launch { animation: launch 1.3s cubic-bezier(0.5, 0, 0.3, 1) both; }
@keyframes launch { 0% { transform: translateY(40px); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; } }
.stamp { display: inline-block; border: 3px solid #e4322b; color: #e4322b; font: 800 13px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 9px; border-radius: 5px; rotate: -5deg; }

/* done + preview */
.done h2 { font: 800 22px/1.25 var(--text); margin: 6px 0 6px; }
.done p { color: var(--soft); margin: 0; font-size: 15px; }
.preview { margin-top: 14px; border-radius: var(--r-sm); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.preview-head { padding: 8px 12px; font: 12px/1.45 var(--mono); color: #6b6875; border-bottom: 1px solid #eee; background: #fafafa; }
.preview-head b { display: block; font: 700 14px/1.3 var(--text); color: #1b1a22; }
.preview iframe { width: 100%; height: 560px; border: 0; display: block; }

/* ---------- below the fold ---------- */
.lt-more { padding: 36px 0 10px; display: grid; gap: 28px; }
.lt-more h2 { font: 800 20px/1.25 var(--text); margin: 0 0 10px; }
.lt-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.lt-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--soft); }
.lt-steps li::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--text); background: var(--accent-2); color: var(--ink); }
.lt-steps b { color: var(--ink); }
.cards { display: grid; gap: 10px; }
.card { background: var(--surface); border-radius: var(--r-sm); padding: 14px; box-shadow: 0 1px 0 var(--line); display: grid; gap: 4px; }
.card .t { font-size: 12.5px; color: var(--soft); font-weight: 700; }
.card b { font-size: 15.5px; }
.card s { color: var(--soft); }
.lt-foot { padding: 28px 0 40px; font-size: 12.5px; color: var(--soft); line-height: 1.55; }
.lt-foot a { color: var(--soft); }
.worlds-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.worlds-row a { text-decoration: none; padding: 6px 10px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.worlds-row a[aria-current='true'] { background: var(--ink); color: var(--bg); }

/* ---------- desktop: quiz left, world art right ---------- */
@media (min-width: 900px) {
  .lt-top { padding: 20px 0; }
  .lt-logo { font-size: 20px; }
  .lt-logo img { width: 32px; height: 32px; }
  .lt-main { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 20px; }
  .lt-hero { grid-column: 1; }
  .lt-hero h1 { font-size: clamp(38px, 4.4vw, 56px); margin-bottom: 10px; }
  .lt-hero p { font-size: 18px; margin-bottom: 22px; }
  .quiz { grid-column: 1; padding: 24px; }
  .q-text { font-size: 23px; }
  .lt-art { display: grid; place-items: center; grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 24px; min-height: 520px; }
  .lt-art img { width: min(440px, 100%); }
  .lt-more { grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-top: 60px; }
}
@media (max-height: 640px) and (max-width: 899px) {
  .lt-hero p { display: none; }
  .opt { min-height: 46px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.add-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 8px; border: 0; border-radius: var(--r-sm); cursor: pointer; background: transparent; box-shadow: inset 0 0 0 2px var(--line); font: 700 15px/1 var(--text); color: var(--ink); }
.add-btn:hover { box-shadow: inset 0 0 0 2px var(--accent); }

/* the live glow bot perched on the quiz card (Botcents world) */
.quiz-wrap { position: relative; }
.lt-bot { position: absolute; top: -66px; right: 4px; --size: 74px; z-index: 2; }
.lt-bot:not(:defined) { visibility: hidden; }
.lt-bot-big { --size: min(400px, 100%); }
@media (max-width: 899px) { .has-bot .lt-hero p { padding-right: 64px; } }
@media (min-width: 900px) { .lt-bot { display: none; } .quiz-wrap { grid-column: 1; } }
/* results past the first few stay locked until an email is given */
.r-list li.locked { position: relative; user-select: none; }
.r-list li.locked b, .r-list li.locked .v { color: transparent; text-shadow: 0 0 9px rgba(20, 16, 40, 0.55); letter-spacing: 0.1em; }
.r-list li.locked .s { display: flex; align-items: center; gap: 6px; color: var(--soft); }
.r-list li.locked .s::before { content: ''; width: 12px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2h1a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1.5 0h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4a3 3 0 0 1 6 0v2h1a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1.5 0h3V4a1.5 1.5 0 0 0-3 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.r-lock { margin: 4px 0 2px; padding: 12px 14px; border-radius: 14px; background: var(--accent-2); color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.r-lock b { font-weight: 750; }
.r-all { font: 700 18px/1.2 var(--display, inherit); margin: 18px 0 4px; }
.lt-logo { padding-top: 0.5em; font-size: 22px; }
.lt-logo .wm { letter-spacing: -0.03em; line-height: 1; }
.wm .c { color: var(--pop, var(--accent, #6b4bff)); }
.wm { position: relative; isolation: isolate; white-space: nowrap; }
.wm .en { position: relative; display: inline-block; }
.wm .wm-bot { position: absolute; left: 50%; bottom: 0.69em; width: 1.24em; height: 0.8em; margin-left: -0.62em; overflow: hidden; pointer-events: none; z-index: -1; }
.wm .wm-bot img { display: block; max-width: none; position: absolute; left: 50%; top: 0.1em; width: 1.16em; height: auto; margin-left: -0.58em; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.lt-logo:hover .wm .wm-bot img { transform: translateY(-0.07em) rotate(-5deg); }
.gate .hint { margin: 6px 0 0; font-size: 14px; color: var(--soft); }
.gate .hint button { font: inherit; font-weight: 700; color: var(--accent, #6b4bff); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.gate .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- AI Score: analyzing, teaser, reveal, report ---------- */
.analyzing { text-align: center; padding: 10px 0 6px; }
.an-ring { width: 64px; height: 64px; margin: 6px auto 14px; border-radius: 50%; border: 6px solid var(--line); border-top-color: var(--ink, #111); animation: an-spin 0.9s linear infinite; }
@keyframes an-spin { to { transform: rotate(360deg); } }
.an-list { list-style: none; margin: 14px auto 0; padding: 0; max-width: 340px; text-align: left; }
.an-list li { padding: 9px 0 9px 30px; position: relative; color: var(--soft); opacity: 0.35; transition: opacity 0.3s, color 0.3s; }
.an-list li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); }
.an-list li.on { opacity: 1; color: var(--ink, #111); font-weight: 700; }
.an-list li.on::before { background: #16a06a; border-color: #16a06a; box-shadow: inset 0 0 0 3px #fff; }
@media (prefers-reduced-motion: reduce) { .an-ring { animation: none; } }

.as-k { font: 800 11.5px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.as-ready { display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1 var(--text); color: #16a06a; margin-bottom: 12px; }
.as-dot { width: 10px; height: 10px; border-radius: 50%; background: #16a06a; box-shadow: 0 0 0 0 rgba(22, 160, 106, 0.5); animation: as-pulse 1.6s infinite; }
@keyframes as-pulse { 70% { box-shadow: 0 0 0 10px rgba(22, 160, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 160, 106, 0); } }
.as-card { position: relative; text-align: center; padding: 20px 16px 12px; border-radius: 22px; background: radial-gradient(ellipse 80% 70% at 80% 0%, var(--t-wash2, #efe6ff), transparent 70%), var(--t-tint, #f4f0ff); overflow: hidden; }
.as-num { font: 800 clamp(76px, 24vw, 120px)/0.95 var(--display); letter-spacing: -0.05em; margin: 8px 0 4px; }
.as-card.locked .as-num { filter: blur(0); }
.as-card.locked .as-num span { filter: blur(9px); }
.as-card.locked .as-rank { filter: blur(5px); user-select: none; }
.as-rank { font: 800 17px/1.3 var(--text); }
.as-curve { display: block; width: 100%; max-width: 360px; margin: 10px auto 0; color: var(--ink, #111); }
.as-lockpill { position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; background: #111; color: #fff; font: 800 12px/1 var(--text); }
.as-hint { margin: 14px 0 4px; font-size: 16px; line-height: 1.45; }
.as-inc { margin-top: 14px; padding: 14px 14px 6px; border-radius: 18px; border: 2px solid var(--line); }
.as-inc ul { list-style: none; margin: 10px 0 0; padding: 0; }
.as-inc li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.as-inc li span { font-size: 18px; width: 24px; text-align: center; }
.as-inc li i { margin-left: auto; font-style: normal; opacity: 0.7; }
.as-type { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--card, #fff); border: 2px solid var(--line); }
.as-type img { flex: none; width: 84px; height: 84px; object-fit: contain; }
.as-type h2 { margin: 4px 0 4px; font: var(--dw, 800) 24px/1.1 var(--display); letter-spacing: -0.02em; }
.as-type p { margin: 0; color: var(--soft); font-size: 14.5px; line-height: 1.45; }
.as-mail { margin-top: 14px; padding: 14px; border-radius: 16px; background: #fff8d6; font-size: 15px; line-height: 1.45; }
.as-share { margin-top: 16px; }
.as-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.as-sh { flex: 1 1 auto; padding: 11px 14px; border-radius: 999px; border: 2px solid var(--ink, #111); background: transparent; color: var(--ink, #111); font: 800 14px/1 var(--text); text-align: center; text-decoration: none; cursor: pointer; }
.as-report section { margin-top: 26px; }
.as-report h3 { margin: 0 0 10px; font: var(--dw, 800) 22px/1.15 var(--display); letter-spacing: -0.02em; }
.as-report p { line-height: 1.55; }
.as-small { font-size: 13px; color: var(--soft); }
.as-bar { margin-bottom: 14px; }
.as-bar-h { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.as-bar-h span { color: var(--soft); text-align: right; }
.as-track { height: 12px; margin-top: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.as-track i { display: block; height: 100%; border-radius: 99px; background: #111; }
.as-track.them { height: 8px; margin-top: 4px; }
.as-track.them i { background: #cbb8ff; }
.as-bar-n { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--soft); margin-top: 4px; }
.as-skill { padding: 12px 14px; border-radius: 16px; margin-bottom: 10px; background: var(--card, #fff); border: 2px solid var(--line); }
.as-skill.ok { border-color: #bfe8d4; }
.as-skill p { margin: 6px 0 0; font-size: 14.5px; }
.as-why { color: var(--soft); }
.as-big { font-size: 18px; font-weight: 700; }
.as-moves { margin: 0; padding-left: 22px; }
.as-moves li { margin-bottom: 14px; }
.as-moves p { margin: 4px 0; color: var(--soft); font-size: 14.5px; }
.as-moves .as-k { margin-left: 8px; }
.as-quotes { margin: 0; padding-left: 18px; }
.as-quotes li { margin-bottom: 8px; font-size: 14.5px; }
.as-cert { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 18px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.4); }
.as-method { margin-top: 26px; }

/* ---------- AI Score v2: sealed card, nudge, full-screen reveal ---------- */
.as-seal { position: relative; display: block; width: 100%; padding: 22px 18px 16px; border: 0; border-radius: 24px; cursor: pointer; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 80% 0%, rgba(169, 139, 255, 0.55), transparent 65%), radial-gradient(ellipse 70% 60% at 0% 100%, rgba(255, 180, 163, 0.35), transparent 65%), #17121f;
  box-shadow: 0 24px 50px -26px rgba(60, 30, 140, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08); transition: transform 0.15s; font: inherit; }
.as-seal:hover { transform: translateY(-2px); }
.as-seal:focus-visible { outline: 3px solid #cbb8ff; outline-offset: 3px; }
.as-seal-k { display: block; font: 800 12px/1 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: #cfc4ef; }
.as-seal-num { display: block; margin: 10px 0 2px; font: 800 clamp(84px, 26vw, 128px)/0.95 var(--display); letter-spacing: -0.05em; color: #e9e0ff; filter: blur(10px); text-shadow: 0 0 30px rgba(203, 184, 255, 0.9); user-select: none; }
.as-seal-rank { display: block; margin: 14px 0 6px; font: 800 22px/1.3 var(--text); color: #e9e0ff; }
.as-seal-rank b { display: inline-block; filter: blur(6px); }
.as-seal-lock { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #17121f; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); animation: as-lock 2.4s ease-in-out infinite; }
.as-rank .as-seal-lock { top: 70px; }
@keyframes as-lock { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.08); } }
.as-seal-curve { display: block; color: #cfc4ef; opacity: 0.85; }
.as-seal-curve .as-curve { color: #cfc4ef; }
.as-seal-cta { display: inline-block; margin-top: 8px; padding: 9px 16px; border-radius: 999px; background: #cbb8ff; color: #17121f; font: 800 14px/1 var(--text); }
.as-teaser .as-hint { margin: 14px 2px 4px; padding: 12px 14px; border-radius: 14px; background: #f4f0ff; font: 700 16px/1.4 var(--text); }
.as-teaser .as-hint::before { content: '💡 '; }
.as-inc li { cursor: default; }
form.gate.as-nudge { animation: as-nudge 0.9s ease; }
@keyframes as-nudge { 0% { box-shadow: 0 0 0 0 rgba(169, 139, 255, 0.0); } 30% { box-shadow: 0 0 0 8px rgba(169, 139, 255, 0.45); } 100% { box-shadow: 0 0 0 0 rgba(169, 139, 255, 0); } }
form.gate { border-radius: 16px; }

.as-result { background: radial-gradient(ellipse 80% 70% at 80% 0%, rgba(169, 139, 255, 0.5), transparent 65%), #17121f; color: #fff; }
.as-result .as-k { color: #cfc4ef; }
.as-result .as-num { color: #fff; text-shadow: 0 0 28px rgba(203, 184, 255, 0.7); }
.as-result .as-rank { color: #e9e0ff; }
.as-result .as-curve { color: #cfc4ef; }
.as-result .as-curve line[stroke='#111'], .as-result .as-curve circle[fill='#111'] { stroke: #fff; fill: #fff; }
.as-result .as-curve text[fill='#111'] { fill: #fff; }
.as-reveal .as-hint { padding: 12px 14px; border-radius: 14px; background: #f4f0ff; font-weight: 700; }

.as-show { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(120, 80, 230, 0.55), transparent 70%), #0d0a14; color: #fff; text-align: center; }
.as-show.on { opacity: 1; }
.as-show.out { opacity: 0; }
.as-show-in { position: relative; max-width: 420px; }
.as-show-k { font: 800 18px/1.2 var(--text); color: #cfc4ef; letter-spacing: 0.02em; opacity: 0; animation: as-up 0.5s 0.15s forwards; }
.as-show-num { margin: 10px 0 6px; font: 800 clamp(110px, 34vw, 170px)/0.9 var(--display); letter-spacing: -0.06em; color: #e9e0ff; font-variant-numeric: tabular-nums; }
.as-show.landed .as-show-num { animation: as-pop 0.55s cubic-bezier(.2, 1.6, .4, 1); color: #fff; text-shadow: 0 0 40px rgba(203, 184, 255, 0.95); }
.as-show-rank, .as-show-type, .as-show-go { opacity: 0; transform: translateY(10px); transition: opacity 0.45s, transform 0.45s; }
.as-show.done .as-show-rank { opacity: 1; transform: none; }
.as-show.done .as-show-type { opacity: 1; transform: none; transition-delay: 0.25s; }
.as-show.done .as-show-go { opacity: 1; transform: none; transition-delay: 0.5s; }
.as-show-rank { font: 800 22px/1.3 var(--text); color: #fff; }
.as-show-type { display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
.as-show-type img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(150, 110, 255, 0.6)); }
.as-show-type b { margin-top: 4px; font: 800 26px/1.1 var(--display); color: #cbb8ff; }
.as-show-go { margin-top: 18px; padding: 15px 26px; border: 0; border-radius: 999px; background: #fff; color: #111; font: 800 16px/1 var(--text); cursor: pointer; }
.as-spark { position: absolute; left: 50%; top: 38%; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: as-spark 1.2s ease-out forwards; }
@keyframes as-spark { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
@keyframes as-pop { 0% { transform: scale(0.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes as-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .as-seal-lock, .as-spark { animation: none; } .as-show-num { animation: none !important; } }

/* ---------- AI Score social proof: the study hook under the headline ---------- */
.as-proof { margin: 2px 0 14px; }
.as-proof-fact { font-size: 14px; line-height: 1.45; color: var(--ink, #111); min-height: 2.9em; }
.as-proof-fact a { color: var(--soft); font-size: 12.5px; }

/* ---------- AI Score: "Where people land" ---------- */
.as-land { padding: 26px 0 4px; }
.as-land-card { max-width: 780px; margin: 0 auto; }
.as-land-card { position: relative; padding: 20px 18px 18px; border-radius: 26px; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 85% 0%, rgba(169, 139, 255, 0.35), transparent 65%), radial-gradient(ellipse 60% 50% at 0% 100%, rgba(255, 180, 163, 0.18), transparent 65%), #14101d;
  box-shadow: 0 30px 60px -36px rgba(60, 30, 140, 0.8); }
.as-land-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.as-land-k { font: 800 11.5px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: #b9aee0; }
.as-land-head h2 { margin: 6px 0 0; font: 800 clamp(22px, 5.6vw, 30px)/1.1 var(--display); letter-spacing: -0.03em; color: #fff; }
.as-land-tag { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #e9e0ff; font: 800 11.5px/1 var(--text); white-space: nowrap; }
.as-land-tag i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: as-pulse 1.6s infinite; }
.as-land-svg { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.as-land-bell { fill: none; stroke: rgba(203, 184, 255, 0.35); stroke-width: 2; stroke-dasharray: 4 5; }
.as-land-axis { stroke: rgba(255, 255, 255, 0.18); }
.as-land-tick { fill: rgba(255, 255, 255, 0.55); font: 700 11px var(--text, sans-serif); text-anchor: middle; }
.as-land-tick.soft { fill: rgba(203, 184, 255, 0.7); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.as-land-dot { fill: #cbb8ff; opacity: 0; animation: as-fall 0.6s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.as-land-dot.new { fill: #ffb4a3; filter: drop-shadow(0 0 6px rgba(255, 180, 163, 0.9)); }
@keyframes as-fall { from { opacity: 0; transform: translateY(var(--fall)); } to { opacity: 0.92; transform: none; } }
.as-land-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.as-land-c { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.as-land-c.in { animation: as-cardin 0.5s ease both; }
.as-land-c:nth-child(2).in { animation-delay: 0.08s; }
.as-land-c:nth-child(3).in { animation-delay: 0.16s; }
@keyframes as-cardin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.as-land-c img { flex: none; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(150, 110, 255, 0.5)); }
.as-land-c > div { min-width: 0; }
.as-land-who { font: 800 12px/1.2 var(--text); color: #cfc4ef; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-land-who span { font-weight: 600; opacity: 0.7; }
.as-land-score { font: 800 26px/1 var(--display); letter-spacing: -0.03em; color: #fff; margin-top: 2px; }
.as-land-rank { font: 700 11.5px/1.2 var(--text); color: #b9aee0; margin-top: 2px; white-space: nowrap; }
.as-land-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: #a79fc4; }
@media (max-width: 480px) {
  .as-land-cards { grid-template-columns: 1fr 1fr; }
  .as-land-c:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .as-land-dot { animation: none; opacity: 0.92; } .as-land-c.in { animation: none; } }
