:root {
    color-scheme: light;
    --ink: #302b3b;
    --muted: #6f6878;
    --bg: #f8f5ef;
    --purple: #69519b;
    --purple-dark: #513b80;
    --lavender: #e9e1f5;
    --line: #e4ded9;
    --green: #386454;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
button, summary, a { touch-action: manipulation; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: #69519b18; }
button {
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 16px 25px;
    background: var(--purple);
    color: #fff;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
    transition: background .18s, box-shadow .18s, transform .18s, border-color .18s;
}
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { color: #766e82; background: #e6e1e9; cursor: default; }
button:focus-visible, summary:focus-visible, a:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 5px;
}
.secondary { background: transparent; color: var(--ink); border-color: #cfc5d9; }
nav {
    width: min(1200px, calc(100% - 64px));
    margin: auto;
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid var(--line);
}
.brand {
    background: none;
    padding: 0;
    color: var(--ink);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.2px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    white-space: nowrap;
}
.brand span { color: var(--purple); font-size: 34px; line-height: 1; }
nav small { color: var(--muted); font-size: 12px; margin-left: auto; }
.nav-start { font-size: 13px; border-radius: 100px; min-height: 44px; padding: 11px 18px; }
.nav-start span { margin-left: 10px; }
main { max-width: 1200px; margin: auto; padding: 62px 32px 35px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 65px; }
.hero-copy { padding: 12px 0; min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 1.5px; color: var(--purple-dark); line-height: 1.7; }
.hero-copy > .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #e8eee3;
    color: #3a5e48;
    border-radius: 100px;
    padding: 8px 14px;
    letter-spacing: .3px;
    font-size: 12px;
}
.hero-copy > .eyebrow::before { content: ''; width: 6px; height: 6px; background: #578464; border-radius: 50%; }
h1 { font-size: clamp(46px, 5.6vw, 76px); line-height: 1.1; font-weight: 750; letter-spacing: -3px; margin: 25px 0; }
h1 em { color: var(--purple); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
p { color: var(--muted); line-height: 1.85; max-width: 650px; }
.hero-copy > p:not(.notice) { font-size: 15px; margin: 22px 0 27px; max-width: 460px; }
.hero-copy > button:first-of-type { min-width: 210px; border-radius: 100px; padding: 18px 28px; box-shadow: 0 8px 0 #dfd6ea; }
.hero-copy > .notice { max-width: 430px; margin-bottom: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 25px 0 15px; font-size: 11px; color: #605768; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta span::before { content: '✓'; color: #42745e; font-size: 12px; font-weight: 700; }
.meta span:last-child { flex-basis: 100%; }

/* A small illustration made entirely from SVG and CSS. */
.art { position: relative; height: 540px; border-radius: 150px 150px 34px 34px; background: #e9e1f0; overflow: hidden; isolation: isolate; }
.art::before { content: ''; position: absolute; width: 320px; height: 300px; background: #f5baa5; border-radius: 50%; right: -90px; bottom: -70px; z-index: -1; }
.art-caption { position: absolute; top: 38px; left: 0; width: 100%; text-align: center; font-size: 10px; letter-spacing: 2.3px; color: #67557a; }
.art-sun { position: absolute; width: 85px; height: 85px; border-radius: 50%; background: #f8d77e; left: 42px; top: 110px; }
.orbit { position: absolute; width: 375px; height: 345px; border: 1px solid #9581a663; border-radius: 50%; top: 110px; left: calc(50% - 187px); transform: rotate(-30deg); }
.orbit + .orbit { width: 240px; height: 460px; top: 53px; left: calc(50% - 120px); transform: rotate(32deg); }
.mirror { position: absolute; width: 235px; height: 330px; top: 106px; left: calc(50% - 117px); display: grid; place-items: center; border: 9px solid #fff9ee; border-radius: 125px 125px 22px 22px; background: #c5d6ba; box-shadow: 9px 10px 0 #58446717; transform: rotate(-7deg); }
.flower { width: 205px; height: 205px; color: #8266ae; filter: drop-shadow(0 6px 0 #69519b1c); animation: flower-sway 8s ease-in-out infinite; }
.art-spark { position: absolute; right: 40px; top: 110px; color: #6d568e; font-size: 44px; }
.tag { position: absolute; font-size: 12px; line-height: 1.6; padding: 15px 18px; border: 1px solid #fff9; border-radius: 14px; box-shadow: 0 8px 22px #4c365914; }
.tag.a { background: #fffaf1; left: 22px; bottom: 90px; transform: rotate(-7deg); display: flex; gap: 14px; align-items: center; }
.tag.a span { font-size: 31px; font-weight: 400; color: var(--purple); }
.tag.b { background: #f9d985; right: 12px; top: 185px; transform: rotate(9deg); }
.art-bottom { position: absolute; bottom: 26px; left: 18px; right: 18px; text-align: center; font-size: 10px; color: #594a65; }

.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 85px 0 25px; }
.section-intro h2 { margin: 10px 0 0; }
.section-intro > p { font-size: 13px; margin: 0; }
h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.35; letter-spacing: -1px; font-weight: 700; }
h3 { font-size: 18px; line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps > div { padding: 28px; border-radius: 24px; background: #e9e1f3; }
.steps > div:nth-child(2) { background: #f8e2d3; }
.steps > div:nth-child(3) { background: #e4ebde; }
.number { display: inline-block; border: 1px solid #69519b35; padding: 5px 10px; font-size: 10px; border-radius: 100px; letter-spacing: 1px; color: #554264; }
.steps b { display: block; font-size: 17px; line-height: 1.5; margin: 20px 0 10px; }
.steps p { font-size: 13px; margin: 0; color: #665d6d; }
.card { background: #fffdf9; border: 1px solid var(--line); border-radius: 25px; padding: 32px; margin: 22px 0; }
.instructions { margin-top: 38px; border: none; padding: 35px 40px; background: #eee9f3; }
.instructions h2 { margin-top: 0; font-size: 25px; }
.instructions p { max-width: 850px; font-size: 14px; }
.instructions .notice { font-size: 12px; }
.faq { margin-top: 40px; }
.faq::before { content: 'Магадгүй чи асуух байх'; display: block; font-size: 23px; font-weight: 700; margin-bottom: 16px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { position: relative; display: block; cursor: pointer; font-size: 15px; font-weight: 600; padding: 2px 35px 2px 0; list-style: none; line-height: 1.65; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 5px; top: 0; font-size: 24px; color: var(--purple); font-weight: 400; }
details[open] > summary::after { content: '−'; }
.faq details p { font-size: 14px; }
.panel { max-width: 760px; margin: 0 auto; min-width: 0; }
.quiz-panel { padding: 34px 38px 24px; background: #fffdf9; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 14px 60px #47345208; }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; font-weight: 600; color: var(--muted); }
.topline > span:last-child { background: var(--lavender); color: var(--purple-dark); padding: 7px 13px; border-radius: 100px; white-space: nowrap; }
progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 100px; overflow: hidden; accent-color: var(--purple); margin: 20px 0 30px; background: #eee8f2; }
progress::-webkit-progress-bar { background: #eee8f2; border-radius: 100px; }
progress::-webkit-progress-value { background: var(--purple); border-radius: 100px; }
progress::-moz-progress-bar { background: var(--purple); border-radius: 100px; }
.quiz-panel h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.55; margin: 18px 0 22px; letter-spacing: -.6px; }
.choices { display: grid; gap: 11px; margin: 22px 0 26px; counter-reset: choice; }
.choice { display: flex; align-items: center; gap: 15px; border: 2px solid #e8e1eb; background: #fff; color: var(--ink); border-radius: 17px; padding: 17px; text-align: left; font-size: 15px; font-weight: 500; line-height: 1.65; }
.choice::before { counter-increment: choice; content: counter(choice, decimal-leading-zero); display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: #f4f0f7; border-radius: 10px; color: #7c6a8e; font-size: 11px; font-weight: 700; }
.choice.selected { background: #eee7f6; border-color: var(--purple); }
.choice.selected::before { content: '✓'; background: var(--purple); color: white; font-size: 16px; }
.skip { background: transparent; border: 1px dashed #cfc5d8; padding: 13px 18px; color: var(--muted); font-size: 13px; }
.skip::before { content: '↷'; background: transparent; font-size: 20px; }
.skip.selected { border: 1px solid var(--purple); }
.actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.quiz-panel > .actions { background: #fffdf9f5; padding: 14px 0 5px; border-top: 1px solid #eee8f1; }
.quiz-panel > .actions button:last-child { flex: 1; max-width: 320px; }
.notice { font-size: 12px; line-height: 1.8; color: #736b7a; }
.resulthead { position: relative; background: #e7def2; padding: 40px 32px; border-radius: 30px; border-top: 5px solid #ac94ca; }
.resulthead h2 { margin: 15px 0; font-size: 33px; }
.resulthead p { margin-bottom: 0; color: #5e526d; }
.result-art { --accent: #8266ae; color: var(--accent); width: min(100%, 340px); margin: -20px auto 0; }
.result-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.resulthead { animation: result-appear .55s ease-out both; }
.resulthead > .eyebrow { margin-top: 8px; }
.replay-animation { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -8px auto 10px; padding: 7px 11px; min-height: 44px; font-size: 11px; color: #63516f; }
.result-art.is-playing .portrait-motion { animation: portrait-bob 1.8s ease-in-out 2; transform-origin: center bottom; }
.result-art.is-playing .result-art-badge { animation: badge-pop .65s cubic-bezier(.2,.8,.3,1.3); transform-box: fill-box; transform-origin: center; }
.result-art.is-playing .result-sparkles { animation: sparkle-glow 1.8s ease-in-out 2; }
.result-art.is-playing .portrait-eyes { animation: portrait-blink 1.8s ease-in-out 2; transform-origin: 70px 66px; }
.score-explanation { padding: 12px 0; }
.score-explanation p { font-size: 13px; }
@keyframes result-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes portrait-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes badge-pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes sparkle-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes portrait-blink { 0%, 43%, 49%, 100% { transform: scaleY(1); } 46% { transform: scaleY(.1); } }
.result-panel > p:first-of-type { font-size: 13px; text-align: center; margin: 20px auto 28px; }
.bar { --accent: #8266ae; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(40px, 1fr) auto; align-items: center; gap: 15px; font-size: 13px; margin: 22px 0; }
.bar > span:first-child { font-weight: 600; }
.bar > span:last-child { color: var(--muted); font-size: 11px; }
.track { height: 9px; background: #eee8ee; border-radius: 100px; overflow: hidden; }
.fill { height: 100%; background: var(--accent); border-radius: 100px; }
[data-direction='feeling'] { --accent: #9c69a8; --tint: #f2e7f4; }
[data-direction='structure'] { --accent: #4f8370; --tint: #e8efe4; }
[data-direction='explore'] { --accent: #b77b38; --tint: #fbefd7; }
[data-direction='connect'] { --accent: #b96b61; --tint: #f9e8e1; }
[data-direction='autonomy'] { --accent: #5f7fbd; --tint: #e7edf7; }
[data-direction='own'] { --accent: #a16b43; --tint: #f8eadc; }
[data-direction='logic'] { --accent: #5f7fbd; --tint: #e7edf7; }
[data-direction='reassure'] { --accent: #9c69a8; --tint: #f2e7f4; }
[data-direction='withdraw'] { --accent: #777e9f; --tint: #ececf3; }
[data-direction='appease'] { --accent: #b96b61; --tint: #f9e8e1; }
[data-direction='collaborate'] { --accent: #4f8370; --tint: #e8efe4; }
.report { border-top: 5px solid var(--accent); }
.report > .eyebrow { color: var(--ink); display: inline-block; font-size: 10px; padding: 6px 11px; background: var(--tint); border-radius: 8px; letter-spacing: .5px; }
.report h2 { margin: 20px 0 14px; }
.report h2 span { color: var(--accent); margin-right: 5px; }
.report h3 { margin: 30px 0 10px; }
.report p { font-size: 14px; }
.report .notice { font-size: 12px; }
.report li, .evidence li { line-height: 1.85; margin: 12px 0; color: var(--muted); font-size: 14px; }
.report ol, .evidence ul { padding-left: 23px; }
.report ol li { padding-left: 7px; }
.report ol li::marker { font-weight: 700; color: var(--accent); }
.evidence summary { font-size: 13px; }
.evidence p { margin: 6px 0 18px; }
blockquote { margin: 20px 0; padding: 20px 23px; border-left: 3px solid var(--accent); border-radius: 0 15px 15px 0; background: var(--tint); font-size: 15px; line-height: 1.85; }
.secondary-heading { margin-top: 46px; }
.secondary-heading h2 { font-size: 25px; }
footer { width: min(1136px, calc(100% - 64px)); margin: 30px auto 0; padding: 26px 0 32px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; line-height: 1.7; }
a { color: var(--purple-dark); }
.hidden { display: none; }
.catalog-hero h1 { font-size: clamp(42px, 4.7vw, 64px); line-height: 1.15; letter-spacing: -2px; }
.catalog-hero .art { height: 500px; }
.catalog-hero .meta span:last-child { flex-basis: auto; }
.test-catalog { scroll-margin-top: 26px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.category-filter { min-height: 46px; border: 1px solid #d9cfe2; border-radius: 100px; background: transparent; color: var(--muted); font-size: 13px; padding: 11px 20px; }
.category-filter[aria-pressed='true'] { background: var(--purple); color: white; border-color: var(--purple); }
.catalog-status { font-size: 12px; margin: 19px 0 14px; }
.test-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.test-card { display: flex; flex-direction: column; overflow: hidden; background: #fffdf9; border: 1px solid var(--line); border-radius: 26px; min-width: 0; }
.test-card-art { position: relative; height: 155px; display: grid; place-items: center; background: #e9e1f3; overflow: hidden; isolation: isolate; }
.test-card-art::before, .test-card-art::after { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid #a38bb35c; border-radius: 50%; transform: rotate(-30deg); z-index: -1; }
.test-card-art::after { width: 260px; height: 95px; transform: rotate(25deg); }
.test-card-art > span { display: grid; place-items: center; width: 105px; height: 105px; background: #f9f5ed; border-radius: 30px; color: var(--purple); font-size: 75px; line-height: 1; transform: rotate(-9deg); box-shadow: 6px 7px 0 #69519b12; }
.test-card-art i { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: #f8d77e; top: 21px; right: 18%; z-index: -1; }
.test-upcoming .test-card-art { background: #f6e2d7; }
.test-card[data-test-id='couple-conflict'] .test-card-art { background: #f6e2d7; }
.test-card[data-test-id='couple-conflict'] .test-card-art > span { color: #b16c65; font-size: 70px; transform: rotate(7deg); }
.test-card[data-test-id='couple-conflict'] .test-card-art i { background: #d3dcbf; }
.test-upcoming .test-card-art > span { color: #b16c65; font-size: 70px; transform: rotate(7deg); }
.test-upcoming .test-card-art i { background: #d3dcbf; }
.test-card-body { display: flex; flex-direction: column; flex: 1; padding: 27px; }
.test-card-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; }
.category-label, .coming-badge { display: inline-block; font-size: 10px; padding: 6px 10px; border-radius: 100px; background: #eee7f5; color: #5d477e; }
.test-upcoming .category-label { background: #f8ece4; color: #8a554f; }
.coming-badge { color: #675932; background: #f9edcb; }
.test-card h3 { font-size: 25px; letter-spacing: -.5px; line-height: 1.4; margin: 20px 0 12px; }
.test-card-body > p { font-size: 14px; margin: 0 0 22px; }
.test-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: #70657b; margin-top: auto; padding-top: 4px; }
.test-facts span { display: inline-flex; align-items: center; gap: 7px; line-height: 1.6; }
.test-facts span::before { content: ''; width: 5px; height: 5px; flex: 0 0 5px; background: #9986ac; border-radius: 50%; }
.test-card-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.test-card-actions > button:first-child { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.test-card-actions > button:disabled { justify-content: center; background: #eee7e1; color: #807469; }
.saved-progress { margin-top: 22px; font-size: 11px; color: var(--purple-dark); }
.saved-progress progress { height: 5px; margin: 10px 0 0; }
.text-button { background: transparent; color: var(--purple-dark); border: 0; border-radius: 8px; min-height: 44px; padding: 9px 4px; font-size: 13px; font-weight: 600; }
.all-tests { margin-bottom: 8px; text-align: left; }
.test-context, .result-panel > .test-context:first-of-type { color: var(--purple-dark); font-size: 13px; font-weight: 600; text-align: left; margin: 0 0 23px; }
.quiz-panel .test-context { margin: 0 0 19px; }
.quiz-instructions { padding: 8px 0 13px; border-color: #eee8f1; }
.quiz-instructions summary { font-size: 12px; color: var(--purple-dark); }
.quiz-instructions p { font-size: 13px; }
.delete-answers { color: #866d73; font-size: 12px; }
.question-heading { margin: 24px 0 8px; font-size: 13px; color: var(--purple-dark); font-weight: 650; }
.question-heading + h2 { margin-top: 8px; }
.answer-evidence { padding: 15px 20px 15px 35px; background: var(--tint); border-radius: 16px; }
.answer-evidence li { font-size: 13px; }
.answer-evidence p { font-size: 13px; margin: 6px 0 14px; }
.relationship-scores details p { font-size: 13px; }
.direct-summary { margin: 24px 0; }
.direct-takeaway { padding: 30px; margin: 16px 0; background: var(--tint, #eee7f6); border: 1px solid var(--accent, #b9a6cf); border-radius: 25px; }
.direct-takeaway .eyebrow { color: var(--ink); font-size: 10px; letter-spacing: .8px; }
.direct-takeaway h2 { font-size: 30px; line-height: 1.4; margin: 15px 0; }
.direct-takeaway > p { font-size: 14px; color: #534b5e; }
.direct-action { padding: 18px 20px; margin: 22px 0 12px; border-radius: 16px; background: #fffaf2cf; }
.direct-action b { font-size: 12px; color: var(--ink); }
.direct-action p { margin: 8px 0 0; font-size: 14px; color: #534b5e; }
.direct-takeaway .notice { font-size: 11px; margin-bottom: 0; }
.direct-takeaway .evidence { border-color: #81718c33; }
@keyframes flower-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(7deg); } }
@media (hover: hover) {
    button:hover:not(:disabled):not(.brand):not(.choice) { background: var(--purple-dark); color: white; box-shadow: 0 6px 18px #69519b20; }
    .choice:hover { border-color: #bba8d2; background: #f8f4fc; }
    .choice.selected:hover { background: #eee7f6; }
    .brand:hover { color: var(--purple); }
}
@media (max-width: 1000px) {
    .hero { gap: 32px; }
    h1 { font-size: 60px; }
    .art { height: 500px; }
    .tag.b { right: 8px; padding: 12px; font-size: 11px; }
    .art-spark { right: 24px; }
    .steps > div { padding: 23px; }
}
@media (max-width: 700px) {
    .direct-takeaway { padding: 23px 21px; border-radius: 22px; }
    .direct-takeaway h2 { font-size: 25px; }
    .direct-action { padding: 16px; }
    .catalog-hero h1 { font-size: clamp(39px, 9.7vw, 55px); }
    .catalog-hero .art { display: none; }
    .catalog-hero .meta span:last-child { display: inline-flex; }
    .test-catalog .section-intro { margin-top: 32px; }
    .test-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .category-filters { gap: 8px; }
    .category-filter { padding: 10px 14px; font-size: 12px; }
    .test-card-body { padding: 23px; }
    .test-card h3 { font-size: 24px; }
    .test-card-art { height: 135px; }
    .test-facts { font-size: 11px; }
    nav { width: calc(100% - 40px); min-height: 78px; gap: 12px; }
    .brand { font-size: 23px; }
    .brand span { font-size: 29px; }
    nav small { display: none; }
    .nav-start { margin-left: auto; font-size: 11px; padding: 10px 13px; }
    .nav-start span { margin-left: 3px; }
    main { padding: 30px 20px 20px; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .hero-copy { padding: 0; }
    h1 { font-size: clamp(42px, 10.5vw, 64px); line-height: 1.12; letter-spacing: -2px; margin: 23px 0 20px; }
    .hero-copy > p:not(.notice) { font-size: 14px; margin: 20px 0 24px; }
    .hero-copy > button:first-of-type { width: 100%; min-height: 58px; }
    .hero-copy > p > button { width: 100%; }
    .meta { gap: 8px 15px; margin: 23px 0 12px; }
    .meta span:last-child { display: none; }
    .hero-copy > .notice { font-size: 11px; }
    .art { height: 360px; border-radius: 100px 100px 26px 26px; }
    .art-caption { top: 25px; font-size: 9px; }
    .mirror { width: 170px; height: 240px; left: calc(50% - 85px); top: 65px; border-width: 7px; }
    .flower { width: 150px; height: 150px; }
    .art-sun { width: 61px; height: 61px; left: 28px; top: 73px; }
    .orbit { width: 280px; height: 250px; left: calc(50% - 140px); top: 65px; }
    .orbit + .orbit { width: 170px; height: 320px; top: 25px; left: calc(50% - 85px); }
    .art-spark { right: 27px; top: 63px; font-size: 35px; }
    .tag.a { bottom: 55px; left: 12px; padding: 10px 12px; font-size: 10px; gap: 8px; }
    .tag.a span { font-size: 25px; }
    .tag.b { top: 130px; right: 9px; padding: 11px; font-size: 10px; }
    .art-bottom { font-size: 9px; bottom: 18px; }
    .section-intro { margin: 48px 0 20px; }
    .section-intro .eyebrow { font-size: 9px; letter-spacing: 1px; }
    .section-intro h2 { font-size: 25px; max-width: 290px; }
    .section-intro > p { display: none; }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .steps > div { padding: 22px 24px; }
    .steps b { margin: 14px 0 8px; }
    .card { padding: 24px 21px; border-radius: 21px; margin: 18px 0; }
    .instructions { margin-top: 28px; padding: 25px 23px; }
    .instructions h2 { font-size: 23px; }
    .faq::before { font-size: 21px; }
    summary { font-size: 14px; }
    .quiz-panel { padding: 24px 17px 16px; border-radius: 24px; }
    .topline { font-size: 11px; gap: 8px; }
    .topline > span:last-child { padding: 6px 11px; }
    progress { margin: 16px 0 24px; }
    .quiz-panel h2 { font-size: 23px; }
    .quiz-panel > .notice { font-size: 11px; }
    .choice { font-size: 14px; padding: 14px 12px; gap: 11px; border-radius: 15px; min-height: 70px; }
    .choice::before { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; font-size: 10px; }
    .choice.selected::before { font-size: 15px; }
    .skip { min-height: 52px; font-size: 12px; padding: 10px 13px; }
    .quiz-panel > .actions { position: sticky; bottom: 0; padding: 12px 0 max(10px, env(safe-area-inset-bottom)); z-index: 5; }
    .quiz-panel > .actions button { padding: 14px 15px; font-size: 13px; }
    .resulthead { padding: 28px 23px; border-radius: 24px; }
    .resulthead h2 { font-size: 28px; }
    .result-art { width: min(100%, 265px); margin-top: -14px; }
    .resulthead p { font-size: 14px; }
    .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
    .bar > span:last-child { grid-column: 2; grid-row: 1; }
    .track { grid-row: 2; grid-column: 1 / -1; }
    .report h2 { font-size: 27px; }
    .result-panel > .actions { display: grid; grid-template-columns: 1fr; }
    .result-panel > p > button { width: 100%; }
    footer { width: calc(100% - 40px); flex-direction: column; gap: 5px; margin-top: 20px; font-size: 10px; }
}
@media (max-width: 359px) {
    nav { width: calc(100% - 28px); }
    main { padding-left: 14px; padding-right: 14px; }
    .nav-start { font-size: 10px; padding: 9px 10px; }
    .brand { font-size: 21px; }
    h1 { font-size: 40px; }
    .quiz-panel { padding-left: 13px; padding-right: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
    body { background: white; color: black; }
    nav, footer, .actions, .faq, button, .report-export, .report-download-note { display: none; }
    main { padding: 0; max-width: none; }
    .panel { max-width: none; }
    .card { break-inside: avoid; box-shadow: none; border-color: #bbb; }
    .direct-takeaway { break-inside: avoid; background: white; border-color: #bbb; }
    .report { break-inside: auto; }
    .report h2, .report h3 { break-after: avoid; }
    .resulthead { background: none; border: 1px solid #bbb; }
    .resulthead, .result-art * { animation: none !important; }
    .result-art { width: 200px; }
    .flower { animation: none; }
    p, .notice, .report li { color: #333; }
}
