
      @import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,500;0,700;1,300;1,500&family=Outfit:wght@300;400;500&display=swap");

      :root {
        --bg: #0a0a0c;
        --surface: #111115;
        --card: #16161c;
        --border: #252530;
        --accent: #a393f5;
        --gold: #d4a853;
        --text: #e2dff5;
        --muted: #6b6880;
        --soft: #1a1a24;
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        background: var(--bg);
        color: var(--text);
        font-family: "Outfit", sans-serif;
        min-height: 100vh;
        overflow-x: hidden;
      }

      body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(100, 80, 200, 0.07) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
      }

      .container {
        max-width: 700px;
        margin: 0 auto;
        padding: 40px 20px 80px;
        position: relative;
        z-index: 1;
      }

      /* INTRO */
      .intro {
        padding: 60px 0 40px;
        animation: rise 0.9s ease both;
      }

      .eyebrow {
        font-size: 10px;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 24px;
        opacity: 0.8;
      }

      .intro h1 {
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(32px, 7vw, 54px);
        font-weight: 300;
        line-height: 1.15;
        margin-bottom: 20px;
      }
      .intro h1 span {
        color: var(--accent);
        font-style: italic;
      }

      .intro p {
        font-size: 14px;
        color: var(--muted);
        line-height: 1.8;
        max-width: 480px;
        margin-bottom: 10px;
      }

      .callout {
        border-left: 2px solid var(--border);
        padding: 14px 18px;
        margin: 26px 0 36px;
        background: var(--soft);
        font-size: 12px;
        color: #4a4760;
        font-style: italic;
        line-height: 1.7;
      }

      .btn-start {
        padding: 14px 40px;
        background: transparent;
        border: 1px solid var(--accent);
        color: var(--accent);
        font-family: "Outfit", sans-serif;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.1em;
        cursor: pointer;
        transition: all 0.25s;
      }
      .btn-start:hover {
        background: var(--accent);
        color: var(--bg);
      }

      /* PROGRESS */
      .prog-wrap {
        margin-bottom: 36px;
      }
      .prog-meta {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        color: var(--muted);
        margin-bottom: 8px;
        letter-spacing: 0.08em;
      }
      .prog-track {
        height: 1px;
        background: var(--border);
        position: relative;
      }
      .prog-fill {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        background: var(--accent);
        transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 8px rgba(163, 147, 245, 0.4);
      }

      /* QUESTION CARD */
      .q-card {
        background: var(--card);
        border: 1px solid var(--border);
        padding: 34px 30px 30px;
        margin-bottom: 18px;
        animation: rise 0.4s ease both;
        position: relative;
      }
      .q-card::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 30px;
        right: 30px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
        opacity: 0.15;
      }

      .q-num {
        font-size: 10px;
        color: var(--muted);
        letter-spacing: 0.2em;
        text-transform: uppercase;
        margin-bottom: 18px;
      }

      .q-scene {
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(17px, 3vw, 22px);
        font-weight: 300;
        line-height: 1.65;
        color: var(--text);
        margin-bottom: 6px;
      }
      .q-scene em {
        color: var(--accent);
        font-style: italic;
      }

      .q-sub {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.6;
        margin: 13px 0 24px;
        padding-top: 13px;
        border-top: 1px solid var(--border);
        letter-spacing: 0.02em;
      }

      /* OPTIONS — 6 items, 2 columns on wider screens */
      .opts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }

      @media (max-width: 500px) {
        .opts {
          grid-template-columns: 1fr;
        }
      }

      .opt {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 11px 13px;
        border: 1px solid var(--border);
        background: transparent;
        color: var(--text);
        font-family: "Outfit", sans-serif;
        font-size: 12.5px;
        line-height: 1.5;
        text-align: left;
        cursor: pointer;
        transition: all 0.18s;
        width: 100%;
        position: relative;
      }
      .opt::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--accent);
        opacity: 0;
        transition: opacity 0.2s;
      }
      .opt:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .opt:hover::before {
        opacity: 0.5;
      }
      .opt.sel {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(163, 147, 245, 0.06);
      }
      .opt.sel::before {
        opacity: 1;
      }

      .opt-ltr {
        min-width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border);
        font-size: 9px;
        font-weight: 500;
        flex-shrink: 0;
        margin-top: 1px;
        color: var(--muted);
        transition: all 0.18s;
      }
      .opt.sel .opt-ltr {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--bg);
      }

      /* NAV */
      .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 16px;
      }
      .btn-back {
        padding: 11px 24px;
        border: 1px solid var(--border);
        background: transparent;
        color: var(--muted);
        font-family: "Outfit", sans-serif;
        font-size: 12px;
        letter-spacing: 0.1em;
        cursor: pointer;
        transition: all 0.2s;
      }
      .btn-back:hover {
        border-color: var(--muted);
        color: var(--text);
      }

      .btn-fwd {
        padding: 11px 26px;
        border: 1px solid var(--accent);
        background: transparent;
        color: var(--accent);
        font-family: "Outfit", sans-serif;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.1em;
        cursor: pointer;
        transition: all 0.2s;
      }
      .btn-fwd:hover:not(:disabled) {
        background: var(--accent);
        color: var(--bg);
      }
      .btn-fwd:disabled {
        opacity: 0.25;
        cursor: not-allowed;
      }

      /* RESULT */
      .result {
        animation: rise 0.8s ease both;
      }

      .res-eyebrow {
        font-size: 10px;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--accent);
        opacity: 0.8;
        margin-bottom: 20px;
      }

      .mbti-big {
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(64px, 16vw, 112px);
        font-weight: 700;
        letter-spacing: 0.12em;
        line-height: 1;
        margin-bottom: 6px;
        background: linear-gradient(135deg, var(--accent) 30%, var(--gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      .mbti-name {
        font-family: "Cormorant Garamond", serif;
        font-size: 22px;
        font-weight: 300;
        color: var(--muted);
        letter-spacing: 0.15em;
        margin-bottom: 44px;
        font-style: italic;
      }

      /* Dimension bars */
      .dims {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-bottom: 36px;
      }

      .dim-card {
        background: var(--card);
        border: 1px solid var(--border);
        padding: 18px 20px;
      }
      .dim-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
      }
      .dim-winner {
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
      }
      .dim-letter {
        font-size: 11px;
        color: var(--muted);
        letter-spacing: 0.1em;
      }
      .dim-track {
        height: 2px;
        background: var(--border);
        margin-bottom: 8px;
      }
      .dim-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--accent), var(--gold));
        width: 0;
        transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
      }
      .dim-vs {
        display: flex;
        justify-content: space-between;
        font-size: 10px;
        color: var(--muted);
      }
      .dim-pct {
        color: var(--accent);
      }

      /* Description */
      .res-desc {
        background: var(--card);
        border: 1px solid var(--border);
        padding: 30px;
        margin-bottom: 26px;
        position: relative;
      }
      .res-desc-q {
        font-family: "Cormorant Garamond", serif;
        font-size: 60px;
        color: var(--accent);
        opacity: 0.15;
        position: absolute;
        top: 4px;
        left: 18px;
        line-height: 1;
      }
      .res-desc p {
        font-size: 14px;
        line-height: 1.85;
        color: var(--muted);
        padding-left: 6px;
      }
      .res-desc p strong {
        color: var(--text);
        font-weight: 500;
      }

      .btn-again {
        padding: 12px 32px;
        border: 1px solid var(--border);
        background: transparent;
        color: var(--muted);
        font-family: "Outfit", sans-serif;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.1em;
        cursor: pointer;
        transition: all 0.2s;
      }
      .btn-again:hover {
        border-color: var(--accent);
        color: var(--accent);
      }

      @keyframes rise {
        from {
          opacity: 0;
          transform: translateY(16px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .hidden {
        display: none !important;
      }

      /* STOP BUTTON (in-test, extended mode) */
      .stop-wrap {
        text-align: right;
        margin-top: 10px;
      }
      .btn-stop {
        padding: 8px 18px;
        border: 1px solid #3a3250;
        background: transparent;
        color: #4a4760;
        font-family: "Outfit", sans-serif;
        font-size: 11px;
        letter-spacing: 0.08em;
        cursor: pointer;
        transition: all 0.2s;
      }
      .btn-stop:hover {
        border-color: #a393f5;
        color: #a393f5;
      }

      /* CHECKPOINT SCREEN */
      .cp-wrap {
        padding: 60px 0 40px;
        animation: rise 0.7s ease both;
      }
      .cp-icon {
        font-size: 32px;
        margin-bottom: 20px;
        color: var(--gold);
      }
      .cp-title {
        font-family: "Cormorant Garamond", serif;
        font-size: clamp(26px, 6vw, 42px);
        font-weight: 300;
        margin-bottom: 14px;
        color: var(--text);
      }
      .cp-sub {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.8;
        max-width: 460px;
        margin-bottom: 36px;
      }
      .cp-choices {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
      }
      .cp-btn {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 20px 24px;
        border: 1px solid var(--border);
        background: transparent;
        color: var(--text);
        font-family: "Outfit", sans-serif;
        text-align: left;
        cursor: pointer;
        transition: all 0.2s;
        width: 100%;
      }
      .cp-btn-result {
        border-color: var(--accent);
      }
      .cp-btn-result:hover {
        background: rgba(163, 147, 245, 0.08);
      }
      .cp-btn-continue:hover {
        border-color: var(--muted);
      }
      .cp-btn-icon {
        font-size: 20px;
        flex-shrink: 0;
        width: 32px;
        text-align: center;
        color: var(--accent);
      }
      .cp-btn strong {
        display: block;
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 4px;
      }
      .cp-btn small {
        display: block;
        font-size: 11px;
        color: var(--muted);
        line-height: 1.5;
      }
      .cp-warning {
        border-left: 2px solid #3a2a1a;
        padding: 14px 18px;
        background: #1a1410;
        font-size: 11.5px;
        color: #6b5840;
        line-height: 1.8;
      }
      .cp-warning strong {
        color: #a07040;
      }
      .cp-warning em {
        opacity: 0.8;
      }

      /* RESULT DEPTH NOTE */
      .res-depth {
        font-size: 11px;
        letter-spacing: 0.05em;
        margin-bottom: 28px;
        padding: 10px 16px;
      }
      .res-depth-full {
        border-left: 2px solid var(--accent);
        color: var(--accent);
        opacity: 0.8;
        background: rgba(163, 147, 245, 0.05);
      }
      .res-depth-partial {
        border-left: 2px solid var(--gold);
        color: var(--gold);
        opacity: 0.7;
        background: rgba(212, 168, 83, 0.05);
      }

