@view-transition {
    navigation:auto;
}

.quiz-page,.result-page {background:var(--paper)}
.quiz-page {
    background:radial-gradient(ellipse at 75% 16%,#ffe0ec 0%,transparent 54%),
        radial-gradient(ellipse at 18% 0%,#ffe9e8,transparent 58%),var(--paper);
}
.quiz-page .site-header,.result-page .site-header {background:#fff7fa;border-color:#f0d9e3}
.quiz-page .header-layout,.result-page .header-layout {padding-block:12px}
.quiz-page .site-header nav a,.result-page .site-header nav a {display:flex;align-items:center;min-height:44px}
.quiz-page .site-footer {background:#fff1f6;margin-top:3rem;padding-block:12px}
.quiz-gate,.quiz-question,.quiz-details {padding-top:clamp(23px,5.5vh,58px)}
.quiz-gate {max-width:590px}
.quiz-panel {
    border:1px solid #f0d5df;
    border-radius:26px;
    background:#fff9fbf5;
    box-shadow:0 20px 46px #893f5c13;
}
.quiz-gate .quiz-panel {padding:clamp(24px,6vw,49px);text-align:center}
.quiz-gate-glyph {
    width:57px;height:57px;display:grid;place-items:center;margin:0 auto 17px;border-radius:20px;
    background:#ffe3ef;border:1px solid #f5cddd;color:#ac315e;
}
.quiz-gate-glyph .icon {width:27px;height:27px}
.quiz-panel .eyebrow {color:#99355c;margin-bottom:.8em}
.quiz-gate h1 {font-size:clamp(2.85rem,7.8vw,4.35rem);margin-bottom:.36em;line-height:.96}
.quiz-lead {max-width:34ch;margin-inline:auto;color:var(--muted)}
.quiz-gate-facts {
    display:flex;flex-wrap:wrap;justify-content:center;gap:7px 15px;
    margin:17px 0 23px;padding:0;list-style:none;color:#7b5063;font-size:.81rem;font-weight:650;
}
.quiz-gate-facts li {display:flex;align-items:center;gap:6px}
.quiz-gate-facts .icon {width:15px;height:15px}
.quiz-gate .gate-confirmation {
    display:flex;align-items:center;gap:10px;justify-content:center;text-align:left;background:#ffedf4;
    border:1px solid #f2ccd9;border-radius:12px;padding:11px 13px;color:#64384e;cursor:pointer;min-height:46px;
}
.gate-confirmation input {margin:0}
.quiz-primary,.profile-upgrade .button {min-height:53px;border-radius:999px;gap:13px}
.quiz-gate .quiz-primary {width:100%}

.quiz-details {max-width:590px}
.quiz-details .quiz-panel {padding:clamp(21px,5vw,39px)}
.quiz-details h1 {font-size:clamp(2.6rem,7.1vw,4.1rem);margin-bottom:.28em}
.quiz-details .quiz-panel>p:not(.eyebrow,.notice) {color:var(--muted)}
.quiz-details form {margin:18px 0 10px}
.quiz-details .quiz-primary {width:100%}
.quiz-details .contact-note {margin:0;font-size:.81rem;line-height:1.45}
.profile-intro .eyebrow {overflow-wrap:anywhere}
.quiz-progress {view-transition-name:quiz-progress}
.quiz-meta {display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.85rem;color:var(--muted)}
.quiz-meta a {
    display:inline-flex;align-items:center;gap:6px;min-height:42px;padding-right:10px;color:#94355b;
    text-decoration:none;font-weight:650;
}
.quiz-meta a:hover {text-decoration:underline}
.quiz-meta .icon {width:16px;height:16px}
.quiz-meta strong {color:#7c294b}
.quiz-segments {display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:5px;margin:2px 0 22px}
.quiz-segments span {height:6px;background:#f6d8e4;border-radius:99px}
.quiz-segments .is-completed {background:#e695b3}
.quiz-segments .is-current {position:relative;overflow:hidden;background:#efb9ce}
.quiz-segments .is-current::after {content:"";position:absolute;inset:0;border-radius:inherit;background:#b31f54;transform-origin:left}
@media (prefers-reduced-motion:no-preference) {
    .quiz-segments .is-current::after {animation:quiz-progress-in .32s ease-out both}
    @keyframes quiz-progress-in {from {transform:scaleX(.2)} to {transform:scaleX(1)}}
}
.quiz-question .quiz-panel {padding:clamp(20px,4.4vw,36px)}
.quiz-question legend {font-size:clamp(2.12rem,5.6vw,3.55rem);line-height:1;letter-spacing:-.032em;margin:0 0 .24em;max-width:100%}
.quiz-instructions {margin:0 0 17px;color:var(--muted);font-size:.92rem}
.answer-list {display:grid;gap:9px}
.answer {display:block;position:relative;cursor:pointer}
.answer input {
    position:absolute;z-index:1;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;
}
.answer-body {
    min-height:65px;display:grid;grid-template-columns:32px minmax(0,1fr) 21px;align-items:center;gap:11px;
    padding:9px 13px;border:1px solid #efd0dd;border-radius:13px;background:#fffafd;
    color:var(--ink);font-weight:550;line-height:1.28;
    transition:background .19s,border-color .19s,box-shadow .19s,transform .15s;
}
.answer-letter {
    display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fae2ed;
    color:#a0486a;font-weight:700;font-size:.78rem;
}
.answer-state {
    width:20px;height:20px;border:1px solid #ce86a3;border-radius:50%;display:grid;place-items:center;color:#fff;
    transition:background .18s,border-color .18s;
}
.answer-state .icon {width:13px;height:13px;opacity:0;transform:scale(.6);transition:opacity .15s,transform .15s}
.answer input:checked + .answer-body {border-color:#c35e86;background:#ffe6f0;box-shadow:inset 0 0 0 1px #c35e86}
.answer input:checked + .answer-body .answer-letter {background:#f7cde0;color:#903356}
.answer input:checked + .answer-body .answer-state {background:#b31f54;border-color:#b31f54}
.answer input:checked + .answer-body .answer-state .icon {opacity:1;transform:scale(1)}
.answer input:focus-visible + .answer-body {outline:3px solid #af3968;outline-offset:3px}
.answer input:active + .answer-body {transform:scale(.993)}
@media (hover:hover) {
    .answer:hover .answer-body {border-color:#c35e86}
}
.quiz-submit {display:flex;justify-content:flex-end;padding-top:15px}
.quiz-submit .quiz-primary {min-width:183px}
.quiz-primary[aria-disabled=true] {cursor:wait;opacity:.76;transform:none}

.profile-hero {
    background:radial-gradient(ellipse at 64% 22%,var(--card),transparent 72%),#fff2f5;
    border-bottom:1px solid var(--line);
}
.profile-hero-layout {
    display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,1fr);align-items:center;
    gap:clamp(22px,6vw,82px);max-width:1060px;padding-block:clamp(45px,7vw,94px);
}
.profile-emblem {
    width:clamp(185px,24vw,300px);aspect-ratio:1;justify-self:center;display:grid;place-items:center;position:relative;
    isolation:isolate;color:var(--card-ink);
    background:radial-gradient(circle,#fff7fccc 0%,var(--card) 63%,transparent 71%);
}
.profile-emblem::before,.profile-emblem::after {
    content:"";position:absolute;inset:4%;border:1px dashed var(--wash);border-radius:50%;pointer-events:none;
}
.profile-emblem::after {
    inset:30% -3%;border-style:solid;border-color:color-mix(in srgb,var(--card-ink) 43%,var(--wash));transform:rotate(-26deg);
}
.emblem-face {
    display:grid;place-items:center;width:62%;aspect-ratio:1;z-index:1;border:1px solid var(--wash);border-radius:40%;
    background:linear-gradient(140deg,#fff6f8,var(--card) 80%);
    box-shadow:0 15px 32px #743b501f;
    animation:emblem-reveal .52s cubic-bezier(.16,.76,.25,1) both;
}
.emblem-face .type-icon {width:44%;height:44%;color:var(--card-ink)}
.emblem-spark {width:12%;height:12%;position:absolute;right:9%;top:7%;color:var(--card-ink)}
.profile-intro .eyebrow {color:var(--card-ink);margin-bottom:1rem}
.profile-intro h1 {font-size:clamp(3.35rem,6.6vw,6.15rem);line-height:.94;margin-bottom:.25em;max-width:19ch}
.profile-lead {font-size:clamp(1.03rem,1.8vw,1.23rem);color:#624958;max-width:52ch;margin-bottom:1rem}
.profile-secondary {
    display:inline-flex;align-items:center;gap:8px;
    padding:7px 12px;border:1px solid var(--wash);border-radius:12px;
    background:#fffbf7c7;color:var(--card-ink);font-size:.84rem;margin:0;
}
.profile-secondary .icon {width:16px;height:16px}
.profile-details {max-width:1060px;padding-top:clamp(28px,6vw,64px)}
.profile-traits {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.profile-traits section {
    background:#fff7fa;border:1px solid var(--line);border-radius:17px;padding:clamp(16px,3vw,30px);
}
.profile-details h2 {font-size:clamp(1.65rem,3.1vw,2.52rem);line-height:1.01;margin-bottom:.4em}
.profile-traits h2 {display:flex;align-items:flex-start;gap:9px}
.profile-traits h2 .icon {margin-top:.18em;color:var(--card-ink)}
.profile-strengths ul,.profile-preferences dl {margin:0;padding:0}
.profile-strengths li {
    display:flex;align-items:flex-start;gap:9px;list-style:none;padding:9px 0;border-top:1px solid #f2dfe7;
}
.profile-strengths li .icon {width:16px;height:16px;margin-top:4px;color:var(--card-ink)}
.profile-preferences dl div {padding:8px 0;border-top:1px solid #f2dfe7}
.profile-preferences dt {color:var(--muted);font-size:.79rem;font-weight:650}
.profile-preferences dd {margin:0}
.profile-practice {
    display:grid;grid-template-columns:auto 1fr;align-items:start;gap:12px;
    margin:15px 0 20px;padding:clamp(16px,3vw,28px);
    border-radius:16px;background:var(--card);border:1px solid var(--wash);
}
.profile-practice>div:first-child {color:var(--card-ink);width:35px;height:35px;background:#ffffffa8;border-radius:11px;display:grid;place-items:center}
.profile-practice h2 {font-size:clamp(1.45rem,2.9vw,2.15rem)}
.profile-practice p {margin:0;color:#5c4352}
.profile-save .button {border-radius:999px;min-height:46px}
.profile-disclaimer {margin:10px 0 0;color:var(--muted);font-size:.82rem}
.profile-upgrade {
    display:grid;grid-template-columns:.6fr 1.4fr;align-items:center;gap:clamp(15px,4vw,38px);
    background:radial-gradient(ellipse at 17% 40%,#ffd9e2,transparent 65%),#ffe9f1;
    border:1px solid #f1cddd;border-radius:22px;margin-top:clamp(25px,6vw,54px);padding:clamp(19px,4vw,43px);
}
.profile-upgrade .eyebrow {margin-bottom:10px}
.profile-upgrade h2 {font-size:clamp(1.95rem,4.4vw,3.55rem)}
.profile-upgrade>div:last-child>p {max-width:48ch}
.upgrade-price {font-size:.91rem}
.upgrade-price strong {color:#94294f;font-size:1.04rem;margin-right:4px}
.profile-cover {
    justify-self:center;display:grid;justify-items:center;gap:8px;text-align:center;padding:11px;
    border:1px solid #f0cbd9;border-radius:7px 11px 11px 7px;background:#fff9fb;color:#73324e;
    width:min(100%,150px);transform:rotate(-7deg);box-shadow:0 12px 25px #8d3c583b;
}
.profile-cover img {width:100%;height:85px;object-fit:cover;object-position:center 55%;border-radius:6px}
.profile-cover span {font-size:.54rem;text-transform:uppercase;letter-spacing:.14em}
.profile-cover strong {font:500 1.94rem/.88 var(--display);letter-spacing:-.03em}
.profile-review {display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:18px;font-size:.9rem}

.quiz-stage {view-transition-name:quiz-stage;animation:quiz-enter .24s cubic-bezier(.2,.8,.25,1) both}
.profile-intro {view-transition-name:quiz-result}
:root:active-view-transition .quiz-stage {animation:none}
::view-transition {pointer-events:none}
::view-transition-old(root) {animation:none;opacity:0}
::view-transition-new(root) {animation:none}
::view-transition-group(quiz-progress) {animation-duration:.2s}
::view-transition-old(quiz-progress),
::view-transition-old(quiz-stage),
::view-transition-old(quiz-result) {animation:quiz-exit .105s ease both;mix-blend-mode:normal}
::view-transition-new(quiz-stage),
::view-transition-new(quiz-result) {animation:quiz-snapshot-enter .22s .105s cubic-bezier(.2,.8,.25,1) both;mix-blend-mode:normal}
@keyframes quiz-enter {from{opacity:.59;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes quiz-snapshot-enter {from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes quiz-exit {to{opacity:0;transform:translateY(-4px)}}
@keyframes emblem-reveal {from{opacity:.82;transform:rotate(-7deg) scale(.93)}to{opacity:1;transform:rotate(0) scale(1)}}

@media (max-width: 760px) {
    .quiz-page .shell.narrow,.result-page .shell {width:calc(100% - 32px)}
    .quiz-page .header-layout,.result-page .header-layout {padding-block:7px}
    .quiz-question,.quiz-details {padding-top:10px}
    .quiz-gate {padding-top:22px}
    .quiz-panel {border-radius:19px}
    .quiz-segments {margin-bottom:14px}
    .quiz-question .quiz-panel {padding:16px 13px}
    .quiz-instructions {margin-bottom:12px;font-size:.87rem}
    .answer-body {min-height:61px;gap:8px;padding:8px 10px}
    .quiz-question {padding-bottom:82px;min-height:calc(100svh - 60px)}
    .quiz-submit {
        position:fixed;inset:auto 0 0;z-index:3;display:block;
        padding:8px 16px max(8px,env(safe-area-inset-bottom));background:#fff9fbf5;border-top:1px solid var(--line);
    }
    .quiz-submit .quiz-primary {width:100%;min-height:49px}
    .quiz-page:has(.quiz-submit) .site-footer {display:none}
    .profile-hero-layout {grid-template-columns:1fr;gap:11px;text-align:center;padding-block:23px 29px}
    .profile-emblem {width:clamp(130px,37vw,177px)}
    .profile-intro h1 {font-size:clamp(2.8rem,11vw,4.3rem);margin-inline:auto}
    .profile-intro .eyebrow {margin-bottom:.65em}
    .profile-lead {margin-inline:auto}
    .profile-traits {grid-template-columns:1fr;gap:11px}
    .profile-save .button {flex-grow:1}
}
@media (max-width:385px) {
    .answer-body {grid-template-columns:27px minmax(0,1fr) 19px;font-size:.93rem}
    .answer-letter {width:27px;height:27px}
    .answer-state {width:18px;height:18px}
    .profile-upgrade {grid-template-columns:1fr}
    .profile-cover {width:119px}
    .profile-cover img {height:64px}
    .profile-cover strong {font-size:1.63rem}
}
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation:none }
    ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) {animation:none!important}
}

.profile-upgrade-preview {
    margin-top:0;
    background:linear-gradient(145deg,#fff1f6,#fff9f8 70%);
    border-color:#e6bacd;
}
.profile-upgrade-preview .report-result-excerpt {
    margin:10px 0 15px;
    padding:12px 15px;
    border-left:3px solid #ba3f6c;
    background:#fff9fc;
    color:#4e2a41;
}
.report-result-excerpt strong {font-size:.77rem;letter-spacing:.06em;text-transform:uppercase}
.report-result-excerpt p {margin:3px 0 0;line-height:1.55}
.profile-upgrade .upgrade-price {margin:10px 0 0;font-size:.81rem}
@media (max-width:620px) {
    .profile-upgrade-preview .profile-cover {display:none}
    .profile-upgrade-preview .button {width:100%}
}
