/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("166614f1-361b-4d4c-b1c5-c5e0ba699e86.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("8dda08b7-4d87-4d01-884b-cf1d799c87cb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("41edd2cc-d111-477a-921a-d03a94cd3293.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("a243fc67-86e7-41a9-98a7-193cf9fe08be.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("e11c2ef4-1874-49d8-8a88-8ed491dee35f.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("30cad579-52f7-48c1-9d52-6643674dec01.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("66ab027a-ca27-4324-b1a5-ca33a262e6f6.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("cb6ae8c7-a749-484d-9fe9-458128a49f6c.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("53baead5-7f8e-4669-a21e-7f77a5e50822.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("e2954884-2ded-40d5-b924-42b195465b29.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("86ba227e-ef04-46ac-a44a-f87c6a0f47a7.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("85b3fc47-20f9-4d75-8ebd-5f2cc5a46be5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("2b1d91fc-a7a2-4adb-b0bf-f516bfffc04d.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("bedb9902-84a9-4d1f-9880-5b33bfb6f05c.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("e720c716-c145-43d1-8144-57856eb26ea1.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("57a10931-ef4b-407c-ae47-612f285f5c6a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("f4b139f4-c9f6-41eb-b349-3143887297cd.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("1b596917-aeaa-42e3-92df-8a23af7d07af.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("36f08b72-54d0-4ed9-9f1d-0c531d1c6d0e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("bedb9902-84a9-4d1f-9880-5b33bfb6f05c.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("e720c716-c145-43d1-8144-57856eb26ea1.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("57a10931-ef4b-407c-ae47-612f285f5c6a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("f4b139f4-c9f6-41eb-b349-3143887297cd.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("1b596917-aeaa-42e3-92df-8a23af7d07af.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("36f08b72-54d0-4ed9-9f1d-0c531d1c6d0e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("bedb9902-84a9-4d1f-9880-5b33bfb6f05c.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("e720c716-c145-43d1-8144-57856eb26ea1.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("57a10931-ef4b-407c-ae47-612f285f5c6a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("f4b139f4-c9f6-41eb-b349-3143887297cd.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("1b596917-aeaa-42e3-92df-8a23af7d07af.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("36f08b72-54d0-4ed9-9f1d-0c531d1c6d0e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---- next block ---- */

/* ============================================================
   Above / Below the Line - Conscious Leadership Self-Assessment
   A cosmic check-in. Stars rise above the line or sink below it;
   the constellation traces your pattern.
   Visual family: Clai · Florida Trivia / See the Magic of Clai
   ============================================================ */

:root {
  /* night sky */
  --space-1:   #1a2240;
  --space-2:   #0e1422;
  --space-3:   #070a12;
  --paper:     #F6F4EE;
  --paper-2:   #FBFAF6;
  --paper-3:   #ECE7DA;
  --ink:       #14181F;
  --ink-2:     #2A2F3A;
  --ink-mute:  #5A6170;
  --ink-dim:   #8A91A0;
  --hair:      rgba(20,24,32,0.10);
  --hair-2:    rgba(20,24,32,0.18);

  /* the two poles */
  --above:     #7FDCA7;   /* overridden live by --acc */
  --below:     #7C86B8;   /* periwinkle, cool, sinking */
  --below-deep:#5663a0;

  --acc:       #7FDCA7;
  --acc-glow:  rgba(127,220,167,0.55);

  --paper-glow:rgba(246,244,238,0.85);

  --font-sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", "Fraunces", ui-serif, Georgia, serif;
  --font-script:"Caveat", cursive;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--space-3);
  color: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
}
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
cite { font-family: var(--font-serif); font-style: italic; }
.fnmark { font-size: .7em; vertical-align: super; color: var(--acc); font-weight: 600; margin-right: 4px; }

/* ============================================================
   STAGE
   ============================================================ */
.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(130% 90% at 50% 8%, var(--space-1) 0%, var(--space-2) 46%, var(--space-3) 100%);
}
.stage--results { background:
    radial-gradient(130% 90% at 50% 8%, var(--space-1) 0%, var(--space-2) 46%, var(--space-3) 100%); }

/* ============================================================
   SKY, starfield + nebula (fixed behind everything)
   ============================================================ */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.stage--results .sky { position: fixed; display: block; }   /* full-screen sky across the whole report */
.stage--results .hud { display: none; }    /* hero carries its own wordmark */

.sky__nebula { position: absolute; inset: 0; filter: blur(40px); }
.neb { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: 0.5; }
.neb--a { width: 46vw; height: 46vw; left: 8%;  top: 6%;  background: var(--acc-glow); opacity: 0.30; }
.neb--b { width: 52vw; height: 52vw; right: -6%; top: 30%; background: rgba(124,134,184,0.30); }
.neb--c { width: 38vw; height: 38vw; left: 26%; bottom: -8%; background: var(--acc-glow); opacity: 0.22; }

.sky__field { position: absolute; inset: 0; }
.star-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(246,244,238,0.55);
  animation: twinkle var(--d, 4s) ease-in-out infinite;
  will-change: opacity, transform;
}
.star-dot--bright { background: #FFFDF6; box-shadow: 0 0 6px 1px rgba(255,253,246,0.6); }
.star-dot--tint   { background: var(--acc); box-shadow: 0 0 6px 1px var(--acc-glow); }
@keyframes twinkle {
  0%, 100% { opacity: calc(0.15 + 0.25 * var(--tw, 1)); transform: scale(0.85); }
  50%      { opacity: calc(0.4 + 0.55 * var(--tw, 1));  transform: scale(1.15); }
}

/* ============================================================
   HUD
   ============================================================ */
.hud {
  position: relative; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: max(env(safe-area-inset-top), 18px) clamp(16px, 4vw, 34px) 0;
}
.hud__brand { display: inline-flex; flex-direction: column; gap: 4px; align-items: flex-start; flex: 0 0 auto; }
.hud__built {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font: 500 12px/1 var(--font-sans);
  color: rgba(246,244,238,0.62);
  letter-spacing: 0.01em;
}
.hud__wordmark { height: 17px; width: auto; display: block; filter: brightness(1.25) saturate(0.9); }
.hud__credit {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(246,244,238,0.42);
  text-decoration: none;
  transition: color 160ms;
}
.hud__credit em { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: rgba(246,244,238,0.6); transition: color 160ms; }
.hud__credit:hover { color: var(--acc); }
.hud__credit:hover em { color: var(--acc); }
.hud__ext { font-size: 10px; opacity: 0.7; }
.hud__mono {
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--acc);
  padding: 4px 7px;
  border: 1px solid color-mix(in oklab, var(--acc) 40%, transparent);
  border-radius: 5px;
}
.hud__progress {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(246,244,238,0.07);
  border: 1px solid rgba(246,244,238,0.16);
  color: var(--paper);
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: 0.12em;
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hud__dots { display: flex; gap: 4px; }
.pdot { width: 5px; height: 5px; border-radius: 50%; background: rgba(246,244,238,0.18); transition: 240ms ease; }
.pdot.on { background: var(--acc); box-shadow: 0 0 0 2.5px var(--acc-glow); }
.pdot.cur { transform: scale(1.5); background: #FFFDF6; }

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  position: relative; z-index: 20;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(10px, 2.5vh, 32px) clamp(20px, 5vw, 28px) 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.intro__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 20px;
}
.intro__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-glow); }
.intro__h {
  margin: 0;
  font-weight: 500;
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-wrap: balance;
  max-width: 16ch;
}
.intro__h em { color: var(--acc); }
.intro__sub {
  margin: clamp(12px, 2vh, 22px) auto 0;
  max-width: 52ch;
  font-size: clamp(14.5px, 2.4vw, 17px);
  line-height: 1.6;
  color: rgba(246,244,238,0.7);
  text-wrap: pretty;
}
.intro__sub b { color: var(--paper); font-weight: 500; }

.intro__demo {
  height: clamp(90px, 18vh, 180px);
  max-width: 100%;
  aspect-ratio: 1000 / 420;
  margin: clamp(8px, 1.6vh, 22px) auto 2px;
  opacity: 0.92;
}
.intro__demo .constellation { width: 100%; height: 100%; }

/* begin star button */
.begin {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  position: relative;
  display: grid; place-items: center;
  width: clamp(120px, 30vw, 156px);
  height: clamp(120px, 30vw, 156px);
  margin: clamp(2px, 1vh, 6px) auto 0;
}
.begin:active { transform: scale(0.95); }
.begin__halo {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--acc-glow), transparent 70%);
  animation: halo-pulse 2.4s ease-in-out infinite;
}
@keyframes halo-pulse { 0%,100% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; } }
.begin__ring {
  position: absolute; inset: 18%;
  border: 1px solid color-mix(in oklab, var(--acc) 45%, transparent);
  border-radius: 50%;
  animation: ring 2.6s ease-out infinite;
}
.begin__ring.r2 { animation-delay: 0.9s; }
@keyframes ring { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.25); opacity: 0; } }
.begin__star {
  position: relative;
  width: 46%; height: 46%;
  color: #FFFDF6;
  display: grid; place-items: center;
  filter: drop-shadow(0 0 14px var(--acc-glow));
  animation: star-bob 4s ease-in-out infinite;
}
.begin__star svg { width: 100%; height: 100%; }
@keyframes star-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(8deg); } }
.intro__tap {
  margin-top: clamp(8px, 1.4vh, 16px);
  font-family: var(--font-script);
  font-size: 25px;
  color: var(--acc);
  animation: nudge 1.7s ease-in-out infinite;
}
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(-4px); opacity: 1; } }
.intro__meta { margin-top: 16px; font: 500 11.5px/1.5 var(--font-mono); letter-spacing: 0.06em; color: var(--ink-dim); }
.intro__note {
  margin-top: 30px; max-width: 60ch;
  font-size: 12px; line-height: 1.6;
  color: rgba(246,244,238,0.45);
  text-wrap: pretty;
}
.intro__note cite { color: rgba(246,244,238,0.6); }
.intro__note em { color: rgba(246,244,238,0.7); }

/* ============================================================
   PLAY, sky on top, question card below
   ============================================================ */
.play {
  position: relative; z-index: 10;
  display: flex; flex-direction: column;
  min-height: calc(100dvh - 56px);
}
.play__sky {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(6px, 2vh, 22px) clamp(10px, 3vw, 30px) 0;
  display: flex; align-items: center; justify-content: center;
}
.play__sky .constellation { width: 100%; height: 100%; max-height: 46vh; }

/* Pin the assessment screen to the viewport so the prompt card, and its
   Next button, stays fully visible on any screen. The sky flexes/shrinks to
   give the card the room it needs; if the card is taller than the viewport
   (very short screens) the play area scrolls so Next is always reachable. */
.stage--quiz { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.stage--quiz .hud { flex: 0 0 auto; }
.stage--quiz .play { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

/* ============================================================
   CONSTELLATION (SVG)
   ============================================================ */
.constellation { display: block; overflow: visible; }
.cline__lbl {
  font: 500 13px var(--font-serif); font-style: italic;
  fill: rgba(246,244,238,0.6);
}
.cline__lbl--above { fill: var(--acc); }
.cline__lbl--below { fill: var(--below); }
.cline__tick {
  font: 500 12px var(--font-serif); font-style: italic;
  fill: rgba(246,244,238,0.45);
}

.cseg { stroke-linejoin: round; }
.cseg--new {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-seg 600ms ease-out forwards;
}
@keyframes draw-seg { to { stroke-dashoffset: 0; } }
.clink { stroke-linecap: round; }

.cnode__halo { opacity: 0.92; }
.cnode__core { filter: drop-shadow(0 0 3px rgba(255,253,246,0.9)); }
.cnode__lbl {
  font: 500 13px var(--font-mono);
  letter-spacing: 0.02em;
  fill: rgba(246,244,238,0.62);
}
.cnode--new { animation: star-pop 620ms cubic-bezier(0.34, 1.56, 0.64, 1) both; transform-box: fill-box; }
@keyframes star-pop {
  0% { transform: scale(0.35); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.cnode--new .cnode__halo { animation: halo-flare 900ms ease-out; }
@keyframes halo-flare { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0.92; } }

/* results-hero stars get gentle persistent twinkle */
.rhero .cnode__core { animation: core-tw 3.4s ease-in-out infinite; }
@keyframes core-tw { 0%,100% { opacity: 0.85; } 50% { opacity: 1; } }

/* ============================================================
   QUESTION CARD (paper, slides up)
   ============================================================ */
.qcard {
  flex: 0 0 auto;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 clamp(10px, 3vw, 16px);
  z-index: 11;
}
.qcard__inner {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px 24px 0 0;
  padding: 20px clamp(18px, 4vw, 26px) max(env(safe-area-inset-bottom), 20px);
  box-shadow: 0 -22px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(20,24,32,0.2);
  animation: qcard-rise 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 600px) {
  .qcard { padding-bottom: 18px; }
  .qcard__inner {
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(20,24,32,0.18);
  }
}
@keyframes qcard-rise { from { transform: translateY(30px); } to { transform: translateY(0); } }

.qcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.qcard__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2);
}
.qcard__kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--above); box-shadow: 0 0 0 4px var(--acc-glow); }
.qcard__count { font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.12em; color: var(--ink-dim); }

.qcard__h {
  margin: 0;
  font-weight: 500;
  font-size: clamp(20px, 4.2vw, 26px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.qcard__prompt { margin: 8px 0 0; font-size: 13px; color: var(--ink-dim); }

.qcard__opts { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.opt {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1.5px solid var(--hair);
  cursor: pointer; text-align: left;
  font: 500 15px/1.4 var(--font-sans);
  color: var(--ink-2);
  transition: background 160ms, border-color 160ms, transform 120ms, color 160ms;
}
.opt:hover { background: #fff; border-color: var(--hair-2); transform: translateX(3px); }
.opt:active { transform: scale(0.99); }
.opt__dot {
  width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; margin-top: 1px;
  border: 2px solid var(--ink-dim);
  transition: 160ms;
}
.opt__txt { flex: 1; }
.opt__key {
  flex: 0 0 auto; align-self: center; margin-left: 10px;
  min-width: 20px; text-align: center;
  font: 600 11px/1 var(--font-mono); letter-spacing: 0.04em;
  color: var(--ink-dim);
  border: 1px solid var(--hair-2); border-radius: 6px;
  padding: 4px 6px;
}
.opt--sel { background: #fff; border-color: var(--above); color: var(--ink); box-shadow: 0 1px 2px rgba(20,24,32,0.05), 0 10px 28px rgba(20,24,32,0.08); }
.opt--sel .opt__dot { border-color: var(--above); background: var(--above); box-shadow: inset 0 0 0 3px #fff; }
.opt--sel .opt__key { border-color: var(--above); color: var(--ink); }

.qcard__foot {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 40px;
}
.qcard__note {
  font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.02em;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 0;
}
.qcard__notedot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.qcard__note.hi { color: #1f8a5b; }
.qcard__note.lo { color: var(--below-deep); }

.qcard__nav { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.navbtn {
  height: 42px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 500 13.5px/1 var(--font-sans);
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  transition: background 160ms, transform 120ms, opacity 160ms;
}
.navbtn svg { width: 15px; height: 15px; }
.navbtn:hover { background: #000; }
.navbtn:active { transform: scale(0.97); }
.navbtn:disabled { opacity: 0.3; cursor: not-allowed; }
.navbtn--ghost { width: 42px; padding: 0; background: transparent; color: var(--ink-mute); border: 1.5px solid var(--hair-2); }
.navbtn--ghost:hover { background: rgba(20,24,32,0.04); color: var(--ink); }

/* ============================================================
   RESULTS, full-screen sky, dark sections below
   ============================================================ */
.results {
  position: relative; z-index: 40;
  min-height: 100dvh;
  color: var(--paper);
  animation: expand-in 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* scrim above the sky, below content, keeps lower sections legible
   while leaving the hero starfield vivid */
.results::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,10,18,0) 0%, rgba(7,10,18,0) 42vh, rgba(7,10,18,0.55) 92vh, rgba(7,10,18,0.72) 100%);
}
@keyframes expand-in {
  0% { transform: scale(0.985); }
  100% { transform: scale(1); }
}
.results__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 28px) 80px; }

/* dark glass surface, reused by cards */
:root {
  --glass:        rgba(246,244,238,0.045);
  --glass-2:      rgba(246,244,238,0.07);
  --glass-line:   rgba(246,244,238,0.12);
  --glass-line-2: rgba(246,244,238,0.20);
  --p-body:       rgba(246,244,238,0.68);
  --p-mute:       rgba(246,244,238,0.52);
  --p-dim:        rgba(246,244,238,0.40);
}

/* hero, full-screen cosmic moment */
.rhero {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: max(env(safe-area-inset-top), 22px) 0 26px;
}
.rhero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rhero__mark { height: 22px; filter: brightness(1.25) saturate(0.9); }
.rhero__eyebrow {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--acc);
  margin-top: 4px;
}
.rhero__chart { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; width: 100%; }
.rhero__chart .constellation { width: 100%; height: 100%; max-height: 62vh; }
.rhero__score { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.rhero__pct { font-weight: 500; font-size: clamp(46px, 13vw, 76px); line-height: 0.9; letter-spacing: -0.04em; color: #FFFDF6; text-shadow: 0 0 30px var(--acc-glow); }
.rhero__pct span { font-size: 0.4em; color: var(--acc); margin-left: 2px; }
.rhero__pctlbl { font-size: 13px; line-height: 1.4; color: var(--p-body); text-align: left; }
.rhero__pctlbl em { color: var(--acc); }
.rhero__cue { text-align: center; margin-top: 22px; font: 500 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--p-dim); animation: cue-bob 2s ease-in-out infinite; }
@keyframes cue-bob { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(4px); opacity: 1; } }

/* verdict */
.rverdict { margin-top: 18px; }
.rverdict__tag { font: italic 400 15px var(--font-serif); color: var(--acc); letter-spacing: 0.01em; margin-bottom: 10px; }
.rverdict__h { margin: 0; font-weight: 500; font-size: clamp(30px, 7vw, 46px); line-height: 1.04; letter-spacing: -0.03em; color: var(--paper); text-wrap: balance; }
.rverdict__h em { color: var(--acc); }
.rverdict__p { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--p-body); text-wrap: pretty; }

/* section title */
.rsection {
  margin: 46px 0 16px;
  font: 600 12px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(246,244,238,0.62);
  display: flex; align-items: center; gap: 14px;
}
.rsection::after { content: ""; flex: 1; height: 1px; background: var(--glass-line); }
.rsection__sub { margin: -6px 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--p-mute); }

/* trap meter chart */
.rchart { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px; padding: 22px 20px 16px; backdrop-filter: blur(10px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.rmeter { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 14px; margin: 11px 0; }
.rmeter__name { font-size: 13px; font-weight: 500; color: var(--paper); text-align: right; line-height: 1.2; }
.rtrack { position: relative; height: 26px; background: var(--glass-2); border-radius: 8px; overflow: hidden; }
.rtrack__mid { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 2px; background: repeating-linear-gradient(rgba(246,244,238,0.5) 0 4px, transparent 4px 8px); opacity: 0.7; z-index: 2; }
.rtrack__fill { height: 100%; border-radius: 8px; width: 0; transition: width 800ms cubic-bezier(0.2,0.7,0.2,1); }
.rchart__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--glass-line); font: 500 11px var(--font-mono); letter-spacing: 0.04em; color: var(--p-dim); }
.rchart__mid { font-family: var(--font-serif); font-style: italic; letter-spacing: 0; font-size: 13px; color: var(--p-mute); }

/* trap deep-dive card */
.rtrap { position: relative; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px; padding: 24px clamp(18px,4vw,26px) 22px; backdrop-filter: blur(10px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); margin-bottom: 16px; overflow: hidden; }
.rtrap::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--below), var(--below-deep)); }
.rtrap__rank { font: 500 12px var(--font-mono); letter-spacing: 0.06em; color: var(--below); margin-bottom: 4px; }
.rtrap__star { font: 500 13px var(--font-serif); font-style: italic; color: var(--p-dim); margin-bottom: 6px; }
.rtrap__star::before { content: "✦ "; color: var(--acc); }
.rtrap__h { margin: 0; font-weight: 500; font-size: 26px; letter-spacing: -0.02em; color: var(--paper); }
.rtrap__tag { margin-top: 4px; font: italic 400 16px var(--font-serif); color: var(--p-mute); margin-bottom: 14px; }
.rtrap__lbl { margin: 16px 0 7px; font: 600 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.rtrap__p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--p-body); }
.rchips { display: flex; flex-wrap: wrap; gap: 8px; }
.rchip { font: 500 12.5px var(--font-sans); background: var(--acc-glow); color: #06281a; border: 1px solid transparent; border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: 150ms; }
.rchip:hover { background: var(--acc); color: #06281a; }
.rprac { list-style: none; margin: 8px 0 0; padding: 0; }
.rprac li { position: relative; padding: 9px 0 9px 26px; font-size: 14.5px; line-height: 1.5; color: var(--p-body); border-bottom: 1px solid var(--glass-line); }
.rprac li:last-child { border-bottom: none; }
.rprac li::before { content: "→"; position: absolute; left: 0; color: var(--below); font-weight: 600; }

/* good news */
.rgood { background: var(--acc-glow); border: 1px solid var(--acc); border-radius: 20px; padding: 22px 24px; backdrop-filter: blur(10px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.rgood__name { font: italic 400 18px var(--font-serif); color: #FFFDF6; margin-bottom: 6px; }
.rgood p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(246,244,238,0.86); }

/* commitment library accordion */
.rlib { display: flex; flex-direction: column; gap: 9px; }
.racc { border: 1px solid var(--glass-line); border-radius: 15px; overflow: hidden; background: var(--glass); backdrop-filter: blur(10px); transition: box-shadow 200ms, border-color 200ms; }
.racc--open { box-shadow: 0 12px 36px rgba(0,0,0,0.32); border-color: var(--glass-line-2); }
.racc--flash { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-glow); }
.racc__head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 15px 18px; cursor: pointer; background: none; border: 0; text-align: left; font-family: var(--font-sans); }
.racc__num { font: 500 13px var(--font-mono); color: var(--below); width: 26px; flex: 0 0 auto; }
.racc__title { flex: 1; font-weight: 500; font-size: 15.5px; color: var(--paper); }
.racc__tog { color: var(--p-dim); transition: transform 250ms; display: grid; place-items: center; }
.racc__tog svg { width: 18px; height: 18px; }
.racc--open .racc__tog { transform: rotate(45deg); color: var(--acc); }
.racc__body { max-height: 0; overflow: hidden; transition: max-height 350ms ease; }
.racc--open .racc__body { max-height: 460px; }
.racc__inner { padding: 2px 18px 20px 58px; }
.rba { display: flex; gap: 10px; margin-bottom: 11px; font-size: 14.5px; line-height: 1.5; align-items: baseline; }
.rba__lbl { flex: 0 0 auto; width: 50px; font: italic 400 13px var(--font-serif); }
.rba--below .rba__lbl { color: var(--below); }
.rba--above .rba__lbl { color: var(--acc); }
.rba p { margin: 0; color: var(--p-body); }
.rba__prac { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--paper); background: var(--glass-2); border-radius: 11px; padding: 11px 14px; }
.rba__prac b { font: italic 500 14px var(--font-serif); color: var(--acc); }

/* review */
.rrev__toggle { background: none; border: 0; color: var(--acc); font: 600 14px var(--font-sans); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.rrev { margin-top: 16px; }
.rrev__item { border-bottom: 1px solid var(--glass-line); padding: 18px 0; }
.rrev__q { font-size: 14.5px; font-weight: 500; color: var(--paper); margin-bottom: 7px; line-height: 1.45; }
.rrev__n { font: 500 11px var(--font-mono); color: var(--p-dim); margin-right: 8px; }
.rrev__a { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--p-mute); }
.rpill { font: 600 10.5px var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.rpill--a { background: var(--acc-glow); color: #06281a; }
.rpill--b { background: rgba(124,134,184,0.28); color: #cdd3f0; }
.rrev__chose { font-style: italic; line-height: 1.45; flex: 1; min-width: 200px; color: var(--p-body); }
.rrev__rel { margin-top: 8px; font: italic 400 12.5px var(--font-serif); color: var(--p-dim); }

/* footer */
.rfooter { margin-top: 52px; text-align: center; }
.rfooter__quote { font: italic 400 19px/1.5 var(--font-serif); color: var(--p-mute); max-width: 40ch; margin: 0 auto; }
.rfooter__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.rbtn {
  height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--acc); color: #06281a;
  font: 600 15px var(--font-sans);
  display: inline-flex; align-items: center; gap: 9px;
  cursor: pointer; transition: filter 160ms, transform 120ms;
}
.rbtn svg { width: 16px; height: 16px; }
.rbtn:hover { filter: brightness(1.08); }
.rbtn:active { transform: scale(0.98); }
.rbtn--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--glass-line-2); }
.rbtn--ghost:hover { background: rgba(246,244,238,0.06); filter: none; }
.rfootnote { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--glass-line); font-size: 12px; line-height: 1.6; color: var(--p-dim); text-align: left; text-wrap: pretty; }
.rfootnote cite { color: var(--p-mute); }
.rfootnote em { color: var(--p-mute); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 760px) {
  .play__sky .constellation { max-height: 52vh; }
  .qcard { padding-bottom: 26px; }
}
@media (pointer: coarse) {
  .opt__key { display: none; }
}
@media (max-width: 420px) {
  .hud__mono { display: none; }
  .rmeter { grid-template-columns: 96px 1fr; gap: 10px; }
  .rmeter__name { font-size: 11.5px; }
  .racc__inner { padding-left: 18px; }
  .rhero__pctlbl { font-size: 12px; }
}
@media (max-height: 720px) {
  .play__sky .constellation { max-height: 40vh; }
  .qcard__opts { gap: 7px; margin-top: 10px; }
  .opt { padding: 11px 14px; font-size: 14px; }
  /* keep the card compact on short screens so the constellation keeps room */
  .qcard__inner { padding-top: 14px; padding-bottom: 14px; }
  .qcard__head { margin-bottom: 8px; }
  .qcard__h { font-size: clamp(18px, 4vw, 22px); line-height: 1.18; }
  .qcard__prompt { margin-top: 5px; }
  .qcard__foot { margin-top: 10px; min-height: 36px; }
  /* compress the intro on short screens so the begin button + tap cue
     stay above the fold (the demo constellation is decorative, the play
     screen shows the real one) */
  .intro { padding-top: clamp(4px, 1vh, 14px); padding-bottom: 18px; }
  .intro__eyebrow { margin-bottom: 8px; }
  .intro__h { font-size: clamp(26px, 6vw, 40px); }
  .intro__sub { margin-top: 8px; font-size: 13px; line-height: 1.42; }
  .intro__demo { display: none; }
  .begin { width: 104px; height: 104px; margin-top: 4px; }
  .intro__tap { margin-top: 8px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .star-dot, .begin__halo, .begin__ring, .begin__star, .intro__tap,
  .cnode--new, .cnode--new .cnode__halo, .cseg--new, .rhero .cnode__core,
  .qcard__inner, .results { animation: none !important; }
  .rtrack__fill { transition: none !important; }
}

/* ============================================================
   PEER REVIEW
   ============================================================ */
.intro__peer {
  margin-top: 16px; background: none; border: 0; cursor: pointer;
  font: 600 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--acc); padding: 9px 12px; border-radius: 9px;
  transition: color 160ms, background 160ms;
}
.intro__peer:hover { color: var(--paper); background: rgba(246,244,238,0.06); }

.pmodal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(6,9,14,0.72); backdrop-filter: blur(8px);
  animation: pmodal-in 200ms ease-out;
}
@keyframes pmodal-in { from { opacity: 0; } to { opacity: 1; } }
.pmodal__card {
  width: 100%; max-width: 430px;
  background: rgba(18,22,30,0.94); border: 1px solid var(--glass-line-2);
  border-radius: 20px; padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.55); backdrop-filter: blur(14px);
}
.pmodal__eyebrow { font: 600 10px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--acc); }
.pmodal__h { font: 400 26px/1.15 var(--font-serif); color: var(--paper); margin: 10px 0 6px; }
.pmodal__sub { font: 500 13.5px/1.5 var(--font-sans); color: var(--p-body); margin-bottom: 18px; }
.pfield { display: block; margin-bottom: 14px; }
.pfield__lbl { display: block; font: 600 10px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--p-mute); margin-bottom: 7px; }
.pfield__inp {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 11px;
  background: var(--glass-2); border: 1.5px solid var(--glass-line);
  font: 500 15px/1.3 var(--font-sans); color: var(--paper); transition: border-color 160ms;
}
.pfield__inp::placeholder { color: var(--p-dim); }
.pfield__inp:focus { outline: none; border-color: var(--acc); }
.pmodal__err { font: 500 12.5px/1.4 var(--font-sans); color: #E58FA0; margin: -4px 0 12px; }
.pmodal__btns { display: flex; gap: 10px; margin-top: 6px; }
.pmodal__go {
  flex: 1; cursor: pointer; border: 0; height: 48px; border-radius: 11px;
  background: var(--acc); color: #06281a; font: 700 14px/1 var(--font-sans);
  transition: transform 120ms, filter 160ms, opacity 160ms;
}
.pmodal__go:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pmodal__go:disabled { opacity: 0.45; cursor: not-allowed; transform: none; filter: none; }
.pmodal__cancel {
  cursor: pointer; border: 0; box-shadow: inset 0 0 0 1.5px var(--glass-line-2);
  background: transparent; height: 48px; padding: 0 18px; border-radius: 11px;
  color: var(--paper); font: 600 14px/1 var(--font-sans);
}
.pmodal__cancel:hover { background: rgba(246,244,238,0.06); }

.peerbar {
  flex: 0 0 auto; text-align: center; margin: 0 auto 12px; padding: 6px 14px;
  font: 600 12.5px/1.3 var(--font-mono); letter-spacing: 0.04em; color: var(--acc);
}
.peerbar b { color: var(--paper); font-weight: 700; }

.rpeer { text-align: center; margin: 6px 0 0; font: 600 11px/1.4 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc); }
.rpeer b { color: var(--paper); }

.rshare {
  margin: 30px 0 0; background: var(--glass); border: 1px solid var(--glass-line);
  border-radius: 20px; padding: 24px; backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3); text-align: center;
}
.rshare__h { font: 400 22px/1.3 var(--font-serif); color: var(--paper); margin-bottom: 4px; }
.rshare__h b { color: var(--acc); font-weight: 400; font-style: italic; }
.rshare__sub { font: 500 13.5px/1.5 var(--font-sans); color: var(--p-body); margin-bottom: 16px; }
.rshare__row { display: flex; gap: 8px; }
.rshare__link {
  flex: 1; min-width: 0; box-sizing: border-box; padding: 12px 13px; border-radius: 11px;
  background: var(--glass-2); border: 1.5px solid var(--glass-line);
  font: 500 12.5px/1.3 var(--font-mono); color: var(--p-body);
}
.rshare__copy { cursor: pointer; white-space: nowrap; border: 0; padding: 0 18px; border-radius: 11px; background: var(--acc); color: #06281a; font: 700 13px/1 var(--font-sans); }
.rshare__copy:hover { filter: brightness(1.08); }
.rshare__email {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; cursor: pointer;
  border: 0; box-shadow: inset 0 0 0 1.5px var(--glass-line-2); background: transparent;
  padding: 11px 18px; border-radius: 999px; color: var(--paper); font: 600 13.5px/1 var(--font-sans); text-decoration: none;
}
.rshare__email:hover { background: rgba(246,244,238,0.06); }
@media (max-width: 480px) { .rshare__row { flex-direction: column; } .rshare__copy { padding: 12px; } }

/* Floating share card pinned to the top-right corner of the results screen */
.rshare--float {
  position: fixed; top: 16px; right: 16px; z-index: 60;
  width: min(360px, calc(100vw - 32px));
  margin: 0; padding: 18px 18px 20px; text-align: left;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.rshare--float .rshare__h { font-size: 19px; }
.rshare--float .rshare__sub { font-size: 12.5px; margin-bottom: 13px; }
@media (max-width: 820px) {
  .rshare--float {
    position: static; width: auto; margin: 30px 0 0;
    padding: 24px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }
  .rshare--float .rshare__h { font-size: 22px; }
  .rshare--float .rshare__sub { font-size: 13.5px; margin-bottom: 16px; }
}


/* ---- next block ---- */


/* iOS Safari zooms the page when a focused input's font-size is under 16px,
   which lets the page pan sideways. 16px controls on phones prevent the zoom;
   overflow-x:clip stops sideways panning from decorative elements (clip,
   unlike hidden, creates no scroll container). */
html,body{overflow-x:clip;}
@media (max-width:809px){
  input,select,textarea{font-size:16px !important;}
}


/* ---- next block ---- */

{__TWEAKS_STYLE}