
      :root {
        color-scheme: light;
        --ink: #171412;
        --muted: #6f625b;
        --line: #e7ded8;
        --paper: #fffaf5;
        --panel: #ffffff;
        --accent: #e04157;
        --accent-2: #187a71;
        --accent-2-soft: #eef6f3;
        --gold: #b67b19;
        --blue: #2257a6;
        --shadow: 0 18px 60px rgba(42, 28, 18, 0.14);
      }

      * {
        box-sizing: border-box;
      }

      .data-status, .challenge-panel { padding: 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
      .challenge-panel { background: #f0f7f3; }
      .challenge-panel p { margin: 8px 0; }
      .challenge-panel small, .experiments small, .quick-share p { color: var(--muted); font-size: 12px; line-height: 1.5; }
      .experiments { border-block: 1px solid var(--line); padding: 24px 0; }
      .experiments > p { color: var(--muted); line-height: 1.5; }
      .experiment-options { display: grid; gap: 10px; margin: 16px 0; }
      .experiment-option { display: grid; gap: 7px; width: 100%; text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf5; color: var(--ink); cursor: pointer; }
      .experiment-option:hover { border-color: #187a71; }
      .experiment-option span { color: #187a71; font-size: 14px; }
      .experiment-comparison { display: grid; gap: 10px; margin-block: 16px; }
      .text-button { border: none; background: transparent; color: #187a71; text-decoration: underline; cursor: pointer; padding: 8px 0; text-align: left; }
      .filter-edit-list { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-block: 12px; }
      .filter-editor summary { cursor: pointer; padding-block: 12px; }
      .filter-feedback { color: #187a71; font-size: 14px; font-weight: 700; margin-block: 8px; }
      .quick-share .btn { width: 100%; }
      .quick-share p { margin-bottom: 0; }
      button:focus-visible, summary:focus-visible { outline: 3px solid #187a71; outline-offset: 3px; }
      .question:focus, .result-archetype:focus { outline: none; }

      html {
        min-height: 100%;
        background: var(--paper);
      }

      body {
        margin: 0;
        min-height: 100vh;
        font-family:
          Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          sans-serif;
        color: var(--ink);
        background:
          radial-gradient(circle at top left, rgba(224, 65, 87, 0.1), transparent 28rem),
          linear-gradient(180deg, #fffaf5 0%, #f7efe7 100%);
      }

      button,
      input,
      select {
        font: inherit;
      }

      .shell {
        width: min(1120px, 100%);
        margin: 0 auto;
        padding: 28px 18px 40px;
      }

      .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 28px;
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        letter-spacing: 0;
      }

      .brand-copy {
        display: grid;
        gap: 1px;
        line-height: 1.05;
      }

      .brand-copy strong {
        font-size: 17px;
        font-weight: 900;
      }

      .brand-copy small {
        color: var(--muted);
        font-size: 11px;
        font-weight: 750;
        letter-spacing: 0.06em;
        text-transform: uppercase;
      }

      .mark {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 2px solid var(--ink);
        border-radius: 8px;
        background: #ffe2e8;
        box-shadow: 4px 4px 0 var(--ink);
      }

      .mark svg {
        width: 22px;
        height: 22px;
      }

      .badge {
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 8px 12px;
        color: var(--muted);
        background: rgba(255, 255, 255, 0.74);
        white-space: nowrap;
        font-size: 13px;
      }

      .top-link {
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
      }

      .top-link:hover,
      .top-link:focus-visible {
        color: var(--accent-2);
        text-decoration: underline;
        text-underline-offset: 4px;
      }

      main {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
        gap: 22px;
        align-items: start;
      }

      .intro {
        padding: 28px 0 0;
      }

      h1 {
        margin: 0;
        font-size: clamp(36px, 5.2vw, 56px);
        line-height: 1;
        letter-spacing: 0;
      }

      .lead {
        max-width: 560px;
        margin: 20px 0 0;
        color: #4d403a;
        font-size: clamp(17px, 2.2vw, 21px);
        line-height: 1.45;
      }

      .truth {
        margin-top: 28px;
        padding: 18px;
        border-left: 5px solid var(--accent-2);
        background: rgba(255, 255, 255, 0.74);
        color: #30423f;
        line-height: 1.45;
      }

      .mini-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 28px;
      }

      .mini-stat {
        min-height: 92px;
        padding: 14px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.72);
        border-radius: 8px;
      }

      .mini-stat strong {
        display: block;
        font-size: 18px;
        margin-bottom: 6px;
      }

      .mini-stat span {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.25;
      }

      .trust-strip {
        display: none;
        margin-top: 16px;
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
      }

      .app {
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--panel);
        box-shadow: var(--shadow);
        overflow: hidden;
      }

      .progress {
        height: 8px;
        background: #eee3da;
      }

      .progress span {
        display: block;
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, var(--accent), var(--gold));
        transition: width 220ms ease;
      }

      .card {
        padding: clamp(18px, 4vw, 30px);
      }

      .step-kicker {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        color: var(--muted);
        font-size: 13px;
        margin-bottom: 18px;
      }

      .question {
        margin: 0 0 18px;
        font-size: clamp(25px, 4vw, 36px);
        line-height: 1.02;
        letter-spacing: 0;
      }

      .hint {
        color: var(--muted);
        line-height: 1.45;
        margin: -6px 0 20px;
      }

      .choices {
        display: grid;
        gap: 10px;
      }

      .choice {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        width: 100%;
        min-height: 58px;
        padding: 14px 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        text-align: left;
        cursor: pointer;
      }

      .choice:hover,
      .choice:focus-visible {
        border-color: var(--ink);
        outline: none;
      }

      .choice[aria-pressed="true"] {
        border-color: var(--ink);
        background: #fff0f2;
        box-shadow: 3px 3px 0 var(--ink);
      }

      .choice small {
        color: var(--muted);
        font-size: 13px;
      }

      .range-row {
        display: grid;
        gap: 14px;
      }

      .range-labels {
        display: flex;
        justify-content: space-between;
        color: var(--muted);
        font-size: 13px;
      }

      .age-range-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
      }

      .age-field {
        display: grid;
        gap: 8px;
      }

      .age-field label {
        color: var(--muted);
        font-size: 13px;
      }

      .age-field select {
        width: 100%;
        min-height: 54px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        padding: 0 14px;
        font-weight: 800;
      }

      .select-control {
        display: grid;
        gap: 8px;
      }

      .select-control label {
        color: var(--muted);
        font-size: 13px;
      }

      .select-control select {
        width: 100%;
        min-height: 58px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        padding: 0 14px;
        font-weight: 800;
      }

      .age-note {
        margin: 10px 0 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.35;
      }

      input[type="range"] {
        width: 100%;
        accent-color: var(--accent);
      }

      .range-value {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 88px;
        height: 44px;
        padding: 0 14px;
        border: 2px solid var(--ink);
        border-radius: 8px;
        font-weight: 850;
        background: #f5fff9;
        box-shadow: 4px 4px 0 var(--ink);
      }

      .nav {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-top: 24px;
      }

      .btn {
        min-height: 48px;
        border: 2px solid var(--ink);
        border-radius: 8px;
        background: var(--ink);
        color: #fff;
        padding: 0 18px;
        font-weight: 800;
        cursor: pointer;
      }

      .btn.secondary {
        background: #fff;
        color: var(--ink);
      }

      .btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
      }

      .funnel-panel {
        display: grid;
        gap: 8px;
        margin: 0 0 18px;
        padding: 14px 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #f8fffb;
      }

      .funnel-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
      }

      .funnel-head strong {
        font-size: 15px;
      }

      .funnel-head span {
        color: var(--accent-2);
        font-weight: 850;
        white-space: nowrap;
      }

      .funnel-details {
        border-top: 1px solid rgba(224, 215, 207, 0.85);
        padding-top: 8px;
      }

      .funnel-details summary {
        width: max-content;
        color: var(--accent-2);
        cursor: pointer;
        font-size: 12px;
        font-weight: 850;
        list-style-position: inside;
      }

      .funnel-details summary:hover {
        color: var(--ink);
      }

      .funnel-panel p {
        margin: 8px 0 0;
        color: #4d403a;
        font-size: 13px;
        line-height: 1.35;
      }

      .funnel-list {
        display: grid;
        gap: 6px;
        margin: 8px 0 0;
        padding: 0;
        list-style: none;
      }

      .funnel-list li {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.25;
      }

      .funnel-list b {
        color: var(--ink);
        font-weight: 800;
      }

      .result-grid {
        display: grid;
        gap: 18px;
      }

      .result-archetype {
        margin: 0 0 8px;
        font-size: clamp(34px, 7vw, 48px);
        line-height: 1.04;
        letter-spacing: -0.02em;
      }

      .result-archetype-copy {
        margin: 0;
        color: #4d403a;
        line-height: 1.45;
      }

      .pool {
        padding: clamp(18px, 4vw, 24px);
        border-radius: 18px;
        background: var(--accent-2-soft);
      }

      .pool .pool-primary {
        display: block;
        margin: 0 0 10px;
        color: var(--accent-2);
        font-size: clamp(42px, 8vw, 72px);
        line-height: 0.95;
        letter-spacing: -0.03em;
      }

      .pool-sentence {
        margin: 0 0 5px;
        font-size: 17px;
        line-height: 1.5;
      }

      .pool-sub {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.45;
      }

      .result-dots-block {
        margin-top: 20px;
      }

      .result-dots {
        display: grid;
        gap: 2px;
        width: 100%;
        margin-bottom: 10px;
      }

      .result-dots span {
        display: block;
        min-width: 0;
        aspect-ratio: 1;
        border-radius: 1px;
        background: #ded4cc;
      }

      .result-dots span.is-match {
        position: relative;
        border-radius: 2px;
        background: var(--accent-2);
      }

      .result-dots span.is-match.is-single::after {
        content: "";
        position: absolute;
        inset: -5px;
        border: 1.5px solid var(--accent-2);
        border-radius: 50%;
        pointer-events: none;
      }

      .result-dots-legend {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.4;
      }

      .comparison {
        display: grid;
        gap: 4px;
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
      }

      .comparison-label {
        color: var(--accent-2);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .comparison strong {
        margin: 0;
        color: var(--ink);
        font-size: clamp(18px, 3.2vw, 26px);
        line-height: 1.1;
      }

      .comparison p,
      .method-note {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.4;
      }

      .method-note {
        padding-top: 4px;
      }

      .result-funnel-section {
        margin-top: 8px;
        padding-top: 26px;
        border-top: 1px solid var(--line);
      }

      .result-funnel-section .section-title {
        margin-bottom: 4px;
      }

      .result-funnel-note {
        margin: 0 0 18px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.4;
      }

      .result-funnel {
        display: grid;
        gap: 10px;
      }

      .result-funnel-meta {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 4px;
        font-size: 14px;
      }

      .result-funnel-meta em {
        min-width: 0;
        color: var(--muted);
        font-style: normal;
      }

      .result-funnel-meta strong {
        flex: 0 0 auto;
        font-weight: 600;
      }

      .result-funnel-track {
        height: 16px;
        border-radius: 4px;
        background: #efe6df;
        overflow: hidden;
      }

      .result-funnel-fill {
        display: block;
        height: 100%;
        border-radius: 4px;
        background: #c9bcb2;
      }

      .result-funnel-row.is-base .result-funnel-fill {
        background: #b7a99e;
      }

      .result-funnel-total {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
        color: var(--accent-2);
        font-size: 14px;
      }

      .result-funnel-total em {
        font-style: normal;
        font-weight: 700;
      }

      .result-funnel-total strong {
        flex: 0 0 auto;
      }

      .result-meter {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 16px;
        margin-top: 8px;
        padding-top: 24px;
        border-top: 1px solid var(--line);
      }

      .result-meter-bar {
        flex: 1 1 180px;
        min-width: 160px;
        height: 6px;
        border-radius: 999px;
        background: #efe6df;
        overflow: hidden;
      }

      .result-meter-bar span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: var(--gold);
      }

      .result-meter p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
      }

      .result-meter b {
        color: var(--ink);
      }

      .share-card {
        padding: 18px;
        border: 2px solid var(--ink);
        border-radius: 8px;
        background: #fff7d9;
        box-shadow: 5px 5px 0 var(--ink);
      }

      .share-card p {
        margin: 10px 0 0;
        line-height: 1.35;
      }

      .story-note {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.35;
      }

      .actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }

      .actions .secondary:last-child {
        grid-column: 1 / -1;
      }

      .insight {
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        line-height: 1.42;
      }

      .insight strong {
        display: block;
        margin-bottom: 6px;
      }

      .section-title {
        margin: 0;
        font-size: 20px;
        line-height: 1.15;
      }

      .report-card {
        display: grid;
        gap: 10px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #f8fffb;
      }

      .report-card strong {
        font-size: 20px;
      }

      .report-card p {
        margin: 0;
        color: #4d403a;
        line-height: 1.4;
      }

      .email-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
      }

      .email-row input {
        min-height: 48px;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 0 12px;
        background: #fff;
      }

      .toast {
        position: fixed;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%) translateY(90px);
        padding: 12px 14px;
        border-radius: 8px;
        background: var(--ink);
        color: #fff;
        transition: transform 180ms ease;
        z-index: 10;
      }

      .toast.show {
        transform: translateX(-50%) translateY(0);
      }

      .launch-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px 18px;
        margin-top: 24px;
        padding-top: 18px;
        border-top: 1px solid var(--line);
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
      }

      .launch-footer nav {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
      }

      @media (max-width: 860px) {
        .shell {
          padding-top: 18px;
        }

        main {
          grid-template-columns: 1fr;
        }

        .intro {
          padding-top: 0;
        }

        h1 {
          font-size: clamp(34px, 9vw, 46px);
        }

        .lead {
          margin-top: 14px;
        }

        .truth {
          margin-top: 16px;
          padding: 12px 14px;
        }

        .mini-stats {
          display: none;
        }

        .trust-strip {
          display: block;
        }

      }

      @media (max-width: 520px) {
        .topbar {
          align-items: flex-start;
          flex-direction: column;
        }

        .actions {
          grid-template-columns: 1fr;
        }

        .result-funnel-meta {
          align-items: flex-start;
          flex-direction: column;
          gap: 2px;
        }

        .result-funnel-total {
          align-items: baseline;
        }

        .email-row {
          grid-template-columns: 1fr;
        }

        .age-range-grid {
          grid-template-columns: 1fr;
        }

        .funnel-head,
        .funnel-list li {
          align-items: flex-start;
          flex-direction: column;
        }

      }

