:root {
  --ink: #151c37;
  --muted: #505a76;
  --paper: #f3f5fc;
  --card: #fff;
  --green: #5337b0;
  --deep: #101633;
  --line: #dce0ef;
  --lime: #9cf1ff;
  --warm: #9a295d;
  --violet: #6245d4;
  --magenta: #e665c7;
  --cyan: #81e8f6;
}
a:focus-visible, button:focus-visible, .pilot-profile input:focus-visible { outline-color: #8058e9; }
.site-header { background: #0d1329; color: #f4f4ff; margin-bottom: clamp(14px, 3vw, 32px); }
.brand { white-space: nowrap; }
.brand img { border-radius: 8px; }
.site-header nav a { display: flex; align-items: center; min-height: 44px; }
#nav-account { color: #abedff; }
.hero { min-height: 490px; background: radial-gradient(ellipse at 77% 43%, #292056 0%, #161b3d 38%, #0d142f 79%); }
.hero h1 { font: 760 clamp(3.1rem, 6.5vw, 5.9rem)/.99 "Inter", "Aptos", system-ui, sans-serif; letter-spacing: -.085em; }
.hero-kicker, .hero-meta, .hero-copy { color: #cad5f1; }
.hero-kicker span { background: var(--cyan); }
.hero-art { width: 57%; right: 1.5%; }
.hero-official-art { width: 40%; right: 5%; height: auto; border-radius: 20px; }
.surface { box-shadow: 0 8px 35px #1c254008; }
.primary { background: #583cc2; }
.primary:hover { background: #442b9b; }
.primary:disabled { background: #e8e8f6; color: #4e5671; }
.secondary { border-color: #c7c8e8; }
.secondary:hover, .family-icon, .letter { background: #f0edff; }
.lime:hover { background: #ccf8ff; }
.stimulus, .beta-profile-notice { background: #f0f2fc; border-color: var(--line); }
.answer { border-color: #c7cce1; }
.answer:hover, .answer[aria-pressed="true"] { background: #f1edff; }
.answer[aria-pressed="true"] { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
.pilot-profile input { border-color: #c5cce1; }
progress, meter { background: #e5e8f6; }
progress::-webkit-progress-bar { background: #e5e8f6; }
progress::-webkit-progress-value { background: var(--violet); }
progress::-moz-progress-bar { background: var(--violet); }
meter::-webkit-meter-bar { background: #e5e8f6; }
meter::-webkit-meter-optimum-value { background: var(--violet); }
meter::-moz-meter-bar { background: var(--violet); }
.report-hero { background: linear-gradient(125deg, #101634, #241b53 70%, #39205d); }
.report-hero h1 { font: 740 clamp(2.15rem, 6vw, 3.5rem)/1.04 system-ui, sans-serif; letter-spacing: -.065em; }
.account-screen { max-width: 530px; }
.account-brand { display: flex; align-items: center; gap: 10px; font-weight: 750; margin-bottom: 24px; }
.account-brand img { border-radius: 9px; }
.account-brand .account-official-brand { display: block; height: auto; max-width: 100%; }
.account-controls, .account-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.text-action { color: var(--green); min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: none; font-size: .94rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.recovery-code { display: block; padding: 15px; margin: 12px 0; border-radius: 8px; background: #efedff; overflow-wrap: anywhere; }
.saved-results { list-style: none; padding: 0; display: grid; gap: 9px; }
.personal-hero { grid-template-columns: minmax(0, 1fr) auto; }
.personal-hero p { color: #d4dbf5; }
.personal-score { text-align: center; min-width: 120px; padding: 13px; background: #ffffff12; border: 1px solid #ffffff24; border-radius: 16px; }
.personal-score strong { display: block; font-size: clamp(2.8rem, 7vw, 4.9rem); line-height: 1; color: var(--cyan); letter-spacing: -.09em; }
.personal-score strong span { font-size: .42em; letter-spacing: 0; }
.personal-score > span, .personal-stats span { font-size: .88rem; color: #d2dbf8; }
.personal-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.personal-stats div { padding: 13px; background: #ffffff0c; border-radius: 11px; }
.personal-stats strong, .personal-stats span { display: block; }
.result-bars { display: grid; gap: 13px; margin-top: 18px; }
.result-bar div { display: flex; justify-content: space-between; gap: 12px; }
.result-bar strong { white-space: nowrap; }
.result-bar meter { height: 10px; }
.personal-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 16px 0; }
.personal-tips article { padding: 14px; background: #f2eeff; border-radius: 10px; }
.premium-preview { border: 1px solid #d8c6f5; background: linear-gradient(130deg, #f1ebff, #fff0fa); }
.personal-limit { grid-column: 1 / -1; padding: 11px 13px; border-left: 2px solid var(--cyan); font-size: .88rem; margin-bottom: 0; }
.guest-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 10px; margin: 18px 0; }
.guest-summary div { padding: 14px; border-radius: 12px; background: #f0edff; color: var(--ink); }
.guest-summary strong, .guest-summary span { display: block; }
.guest-summary strong { font-size: 1.5rem; line-height: 1.15; }
.guest-summary span { font-size: .92rem; margin-top: 4px; }
@media (max-width: 670px) {
  .site-header .header-inner { flex-wrap: wrap; column-gap: 10px; row-gap: 5px; }
  .site-header .brand { font-size: 1.15rem; }
  .site-header nav { flex-wrap: wrap; column-gap: 14px; row-gap: 0; }
  .site-header nav a { font-size: .86rem; }
  .hero { min-height: 480px; padding: 27px 20px; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-art { inset: auto 0 0; width: 100%; height: 47%; }
  .hero-official-art { position: static; width: min(70%, 235px); height: auto; justify-self: center; margin-top: 14px; }
  .hero .button, .challenge-actions .button { width: 100%; }
  .personal-hero { grid-template-columns: minmax(0, 1fr) auto; }
  .personal-score { min-width: 90px; }
}
