:root {
    --ink: #17201d;
    --ink-soft: #53615c;
    --forest: #14231f;
    --forest-2: #1d332c;
    --forest-3: #29483e;
    --paper: #ffffff;
    --cream: #f5f2ea;
    --cream-2: #ece7dc;
    --sage: #dce6df;
    --sage-2: #b7c9bf;
    --gold: #c9954f;
    --gold-dark: #95662d;
    --coral: #d86f52;
    --success: #277658;
    --danger: #a73d3d;
    --line: #dfe4e1;
    --line-dark: rgba(255, 255, 255, 0.13);
    --shadow-sm: 0 8px 24px rgba(23, 32, 29, 0.07);
    --shadow-md: 0 20px 60px rgba(23, 32, 29, 0.12);
    --shadow-lg: 0 30px 100px rgba(7, 20, 15, 0.18);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: 1180px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.test-active {
    background: #f3f5f3;
    overflow-x: hidden;
}

[hidden] {
    display: none !important;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.14;
}

h1,
h2 {
    letter-spacing: -0.035em;
}

p:last-child {
    margin-bottom: 0;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 760px;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--forest);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #e5ad62;
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(23, 32, 29, 0.08);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    color: #fff;
    background: var(--forest);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-mark-small {
    width: 34px;
    height: 34px;
    font-size: 12px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.desktop-nav a {
    color: #34403c;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.desktop-nav a:hover {
    color: var(--gold-dark);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button-small {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
}

.button-large {
    min-height: 58px;
    padding: 16px 26px;
}

.button-primary {
    color: #17201d;
    background: #e7b46b;
    box-shadow: 0 10px 24px rgba(201, 149, 79, 0.24);
}

.button-primary:hover {
    background: #efbd74;
    box-shadow: 0 14px 30px rgba(201, 149, 79, 0.3);
}

.button-dark {
    color: #fff;
    background: var(--forest);
}

.button-dark:hover {
    background: var(--forest-2);
    box-shadow: var(--shadow-sm);
}

.button-light {
    color: var(--forest);
    background: #fff;
}

.button-light:hover {
    background: var(--cream);
}

.button-outline-light {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.42);
}

.button-outline-light:hover {
    border-color: #fff;
}

.button-ghost {
    color: #3c4844;
    background: transparent;
    border-color: #cbd3ce;
}

.button-ghost:hover {
    background: #fff;
    border-color: #aebbb4;
}

.text-button {
    padding: 6px 2px;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-dark);
    font-weight: 750;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #e9bd80;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 76px;
    color: #fff;
    background:
        radial-gradient(circle at 73% 18%, rgba(201, 149, 79, 0.14), transparent 29%),
        linear-gradient(135deg, #10201b 0%, #162b24 62%, #1c352d 100%);
}

.hero::after {
    position: absolute;
    right: -8%;
    bottom: -250px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
}

.hero-orb {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orb-one {
    top: 70px;
    right: 7%;
    width: 330px;
    height: 330px;
}

.hero-orb-two {
    top: 162px;
    right: 14%;
    width: 155px;
    height: 155px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
    align-items: center;
    gap: 80px;
}

.hero-copy {
    max-width: 690px;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 24px;
    font-family: var(--font-serif);
    font-size: clamp(52px, 6.2vw, 86px);
    font-weight: 500;
    letter-spacing: -0.055em;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 16px;
    color: #f4f5f1;
    font-size: clamp(21px, 2.1vw, 28px);
    line-height: 1.4;
}

.hero-text {
    max-width: 625px;
    margin-bottom: 30px;
    color: #bdcbc5;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.privacy-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bdcbc5;
    font-size: 13px;
}

.privacy-note svg {
    width: 18px;
    height: 18px;
    fill: #9bb8aa;
}

.hero-facts {
    display: flex;
    gap: 0;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.hero-facts li {
    display: flex;
    flex-direction: column;
    min-width: 138px;
    padding-right: 26px;
}

.hero-facts li + li {
    padding-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts strong {
    margin-bottom: 3px;
    color: #f0c78f;
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 500;
}

.hero-facts span {
    color: #aabcb4;
    font-size: 12px;
    line-height: 1.35;
}

.hero-visual {
    position: relative;
}

.visual-card {
    position: relative;
    padding: 30px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(1.2deg);
}

.visual-card::before {
    position: absolute;
    z-index: -1;
    inset: 16px -17px -18px 18px;
    background: rgba(201, 149, 79, 0.18);
    border: 1px solid rgba(201, 149, 79, 0.28);
    border-radius: var(--radius-lg);
    content: "";
}

.visual-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
}

.status-dot::before {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    content: "";
}

.sample-result {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 0;
}

.sample-result + .sample-result {
    border-top: 1px solid #edf0ee;
}

.sample-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    color: var(--gold-dark);
    background: #f7efe3;
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 700;
}

.sample-result div {
    display: flex;
    flex-direction: column;
}

.sample-result small {
    margin-bottom: 2px;
    color: #83908b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sample-result strong {
    font-size: 16px;
}

.sample-plan {
    margin-top: 20px;
    padding: 20px;
    background: var(--forest);
    border-radius: 16px;
}

.plan-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    margin: 3px 6px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-line span {
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #e6b36a;
    border: 2px solid var(--forest);
    border-radius: 50%;
}

.plan-line span:nth-child(2) {
    justify-self: center;
}

.plan-line span:nth-child(3) {
    justify-self: end;
}

.sample-plan > div:last-child {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: #b9c8c2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

.sample-plan > div:last-child span:first-child {
    text-align: left;
}

.sample-plan > div:last-child span:last-child {
    text-align: right;
}

.trust-strip {
    padding: 20px 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-2);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    color: #43504b;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
}

.check-icon {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    margin-right: 7px;
    color: var(--success);
    background: #d8e9df;
    border-radius: 50%;
    font-size: 11px;
}

.section {
    padding: 100px 0;
}

.section-soft {
    background: #f7f8f6;
}

.section-heading {
    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 18px;
    font-family: var(--font-serif);
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 500;
}

.section-heading > p:last-child {
    color: var(--ink-soft);
    font-size: 18px;
}

.measure-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.measure-card {
    position: relative;
    min-height: 255px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.measure-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.measure-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 40px;
    color: var(--gold-dark);
    background: #f8f0e4;
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
}

.measure-card h3 {
    margin-bottom: 11px;
    font-size: 20px;
}

.measure-card p {
    color: var(--ink-soft);
    font-size: 14px;
}

.accent-card {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

.accent-card .measure-icon {
    color: var(--forest);
    background: #e6b36a;
    font-size: 24px;
}

.accent-card p {
    color: #b9c9c2;
}

.section-dark {
    color: #fff;
    background:
        radial-gradient(circle at 15% 10%, rgba(201, 149, 79, 0.12), transparent 30%),
        var(--forest);
}

.outcome-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 90px;
}

.outcome-grid h2 {
    margin-bottom: 24px;
    font-family: var(--font-serif);
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 500;
}

.outcome-lead {
    margin-bottom: 32px;
    color: #b9c8c2;
    font-size: 17px;
}

.outcome-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.outcome-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid var(--line-dark);
}

.outcome-list li:last-child {
    border-bottom: 1px solid var(--line-dark);
}

.outcome-list li > span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    color: #e8ba79;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    font-family: var(--font-serif);
}

.outcome-list strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
}

.outcome-list p {
    color: #aebfb7;
    font-size: 14px;
}

.author-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    padding: 48px;
    background: var(--cream);
    border: 1px solid var(--cream-2);
    border-radius: var(--radius-lg);
}

.author-monogram {
    display: grid;
    place-items: center;
    width: 170px;
    height: 170px;
    color: #e8bb7c;
    background: var(--forest);
    border: 9px solid #dfe5df;
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 42px;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-md);
}

.author-card h2 {
    margin-bottom: 4px;
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 500;
}

.author-role {
    margin-bottom: 20px;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 700;
}

.author-card > div:last-child > p:not(.eyebrow):not(.author-role) {
    max-width: 620px;
    color: var(--ink-soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
    gap: 90px;
}

.faq-list {
    border-top: 1px solid #ccd4cf;
}

.faq-list details {
    border-bottom: 1px solid #ccd4cf;
}

.faq-list summary {
    position: relative;
    padding: 24px 48px 24px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 750;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #e2e8e4;
    border-radius: 50%;
    content: "+";
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 670px;
    padding: 0 48px 24px 0;
    color: var(--ink-soft);
}

.final-cta {
    padding: 72px 0;
    color: #fff;
    background: #1f382f;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta h2 {
    max-width: 720px;
    margin-bottom: 0;
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
}

.site-footer {
    padding: 72px 0 24px;
    color: #c1cec8;
    background: #0e1815;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.1fr 0.8fr 0.8fr;
    gap: 50px;
}

.brand-footer {
    margin-bottom: 20px;
    color: #fff;
}

.brand-footer .brand-mark {
    color: var(--forest);
    background: #e3b26e;
}

.brand-footer .brand-copy small {
    color: #9fb1a9;
}

.footer-grid > div:first-child p {
    max-width: 320px;
    color: #879b92;
    font-size: 13px;
}

.footer-grid h2 {
    margin-bottom: 17px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-grid address,
.footer-grid a {
    display: block;
    color: #a6b7b0;
    font-size: 13px;
    font-style: normal;
    text-decoration: none;
}

.footer-grid a + a {
    margin-top: 7px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 55px;
    padding-top: 22px;
    color: #758a81;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
}

/* Test shell */

.test-active .site-header,
.test-active .site-footer {
    display: none;
}

.test-view {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 10%, rgba(201, 149, 79, 0.08), transparent 28%),
        #f3f5f3;
}

.quiz-topbar {
    position: sticky;
    z-index: 80;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #dce2de;
    backdrop-filter: blur(14px);
}

.quiz-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 24px;
}

.quiz-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.save-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #68756f;
    font-size: 12px;
}

.save-dot {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
}

.global-progress {
    height: 4px;
    overflow: hidden;
    background: #e6eae7;
}

.global-progress progress {
    display: block;
    width: 100%;
    height: 4px;
    appearance: none;
    border: 0;
    border-radius: 0;
}

.global-progress progress::-webkit-progress-bar {
    background: #e6eae7;
}

.global-progress progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--gold), #e5b974);
    transition: width 0.3s ease;
}

.global-progress progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--gold), #e5b974);
}

.quiz-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    align-items: start;
    gap: 54px;
    padding-top: 44px;
    padding-bottom: 80px;
}

.quiz-sidebar {
    position: sticky;
    top: 115px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.sidebar-kicker {
    margin-bottom: 18px;
    color: #89948f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.quiz-sidebar ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.quiz-sidebar li {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    color: #8a9690;
}

.quiz-sidebar li:not(:last-child)::after {
    position: absolute;
    z-index: 0;
    top: 47px;
    bottom: -15px;
    left: 16px;
    width: 1px;
    background: #dce2de;
    content: "";
}

.quiz-sidebar li > span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #eef1ef;
    border: 1px solid #dde3df;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.quiz-sidebar li div {
    display: flex;
    flex-direction: column;
}

.quiz-sidebar li strong {
    font-size: 13px;
}

.quiz-sidebar li small {
    margin-top: 2px;
    font-size: 10px;
}

.quiz-sidebar li.is-active {
    color: var(--ink);
}

.quiz-sidebar li.is-active > span {
    color: var(--forest);
    background: #e8b76f;
    border-color: #e8b76f;
}

.quiz-sidebar li.is-complete {
    color: #446257;
}

.quiz-sidebar li.is-complete > span {
    color: transparent;
    background: #dceae2;
    border-color: #bed4c7;
}

.quiz-sidebar li.is-complete > span::after {
    position: absolute;
    color: var(--success);
    content: "✓";
}

.sidebar-note {
    margin-top: 24px;
    padding: 16px;
    background: var(--cream);
    border-radius: 12px;
}

.sidebar-note strong {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

.sidebar-note p {
    color: #68756f;
    font-size: 11px;
    line-height: 1.5;
}

.quiz-main {
    min-width: 0;
}

#quiz-content {
    min-height: 600px;
}

#quiz-content:focus {
    outline: none;
}

.quiz-screen {
    width: 100%;
    max-width: 830px;
    margin-inline: auto;
    animation: screen-in 0.32s ease both;
}

@keyframes screen-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.screen-heading h1,
.education-screen > h1 {
    max-width: 720px;
    margin-bottom: 12px;
    font-family: var(--font-serif);
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 500;
}

.screen-heading > div:first-child > p:last-child {
    max-width: 650px;
    color: var(--ink-soft);
}

.step-label {
    margin-bottom: 11px;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.step-label span {
    margin-left: 5px;
    color: #8d9893;
}

.screen-counter {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: #63706a;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}

.scale-key {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    padding: 0 18px;
    color: #78847e;
    font-size: 10px;
}

.scale-key strong {
    color: var(--ink);
}

.question-stack,
.builder-stack {
    display: grid;
    gap: 16px;
}

.question-card {
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 18px rgba(23, 32, 29, 0.035);
}

.question-card legend {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.question-number {
    margin-right: 7px;
    color: var(--gold-dark);
    font-family: var(--font-serif);
}

.likert-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.likert-option {
    position: relative;
    cursor: pointer;
}

.likert-option input,
.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.likert-option > span {
    display: grid;
    place-items: center;
    min-height: 48px;
    color: #66736d;
    background: #f5f7f5;
    border: 1px solid #dce2de;
    border-radius: 11px;
    font-weight: 800;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.likert-option:hover > span {
    color: var(--gold-dark);
    border-color: #c9a36f;
    transform: translateY(-1px);
}

.likert-option input:focus-visible + span,
.choice-card input:focus-visible ~ span {
    outline: 3px solid #e5ad62;
    outline-offset: 3px;
}

.likert-option input:checked + span {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
    box-shadow: 0 7px 16px rgba(20, 35, 31, 0.16);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
}

.form-error {
    display: none;
    margin-top: 18px;
    padding: 12px 15px;
    color: #8f3232;
    background: #fce9e7;
    border: 1px solid #efc5c0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.form-error.is-visible {
    display: block;
}

.education-screen {
    max-width: 790px;
    padding: 44px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.education-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 8px 13px;
    color: #2c624e;
    background: #e8f1ec;
    border: 1px solid #cfe1d7;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}

.education-badge span {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: #fff;
    background: var(--success);
    border-radius: 50%;
    font-size: 10px;
}

.education-copy {
    margin: 24px 0;
    color: #48544f;
    font-size: 17px;
}

.education-copy p + p {
    margin-top: 17px;
}

.insight-card {
    margin: 28px 0;
    padding: 23px 25px;
    background: var(--forest);
    border: 0;
    border-radius: 15px;
}

.insight-card span {
    display: block;
    margin-bottom: 7px;
    color: #e6b676;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.insight-card p {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 1.4;
}

.reflection-block {
    min-width: 0;
    margin: 32px 0 0;
    padding: 0;
    border: 0;
}

.reflection-block legend {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.field-note {
    margin: 7px 0 14px;
    color: #718078;
    font-size: 12px;
    line-height: 1.5;
}

.choice-list {
    display: grid;
    gap: 10px;
}

.choice-list.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 16px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dbe1dd;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.choice-card:hover {
    background: #fbfcfb;
    border-color: #b7c4bd;
    transform: translateY(-1px);
}

.choice-control {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 1px;
    background: #fff;
    border: 2px solid #b7c2bc;
    border-radius: 50%;
}

.choice-control::after {
    position: absolute;
    inset: 4px;
    background: #fff;
    border-radius: 50%;
    content: "";
    transform: scale(0);
    transition: transform 0.15s ease;
}

.choice-card:has(input:checked) {
    background: #edf3ef;
    border-color: #567769;
    box-shadow: 0 0 0 1px #567769;
}

.choice-card input:checked + .choice-control {
    background: var(--forest-3);
    border-color: var(--forest-3);
}

.choice-card input:checked + .choice-control::after {
    transform: scale(1);
}

.compact-choice {
    padding: 13px 14px;
    font-size: 13px;
}

.scenario-card {
    padding: 26px;
}

.scenario-card legend {
    margin-bottom: 20px;
    font-size: 17px;
}

.scenario-card .choice-card {
    padding: 15px 16px;
}

.care-note,
.quality-note {
    margin: 24px 0;
    padding: 19px 21px;
    color: #70322c;
    background: #fff0eb;
    border: 1px solid #f0c8bd;
    border-radius: 13px;
}

.care-note strong,
.quality-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.care-note p,
.quality-note p {
    font-size: 12px;
}

.quality-note {
    color: #5c5129;
    background: #fff8df;
    border-color: #eadb9e;
}

.transition-note {
    margin: 24px 0;
    padding: 19px 21px;
    color: #24483d;
    background: #eaf4ef;
    border: 1px solid #c2dacf;
    border-radius: 13px;
}

.transition-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.transition-note p {
    color: #4e675e;
    font-size: 12px;
}

.goal-tie-note {
    margin-top: 0;
}

.goal-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.goal-preview {
    padding: 23px;
    background: #f6f7f5;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.goal-preview > span {
    color: #7c8983;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.goal-preview h2 {
    margin: 8px 0 10px;
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 500;
}

.goal-preview p {
    color: var(--ink-soft);
    font-size: 12px;
}

.primary-goal-preview {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

.primary-goal-preview > span {
    color: #e2b472;
}

.primary-goal-preview p {
    color: #b9c9c2;
}

.education-actions {
    margin-top: 32px;
}

.builder-field {
    padding: 27px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 18px rgba(23, 32, 29, 0.035);
}

.builder-field > label,
.builder-field > legend {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.builder-field > label span,
.builder-field > legend span {
    margin-right: 5px;
    color: var(--gold-dark);
    font-family: var(--font-serif);
}

.builder-field textarea {
    display: block;
    width: 100%;
    min-height: 118px;
    padding: 15px 16px;
    resize: vertical;
    color: var(--ink);
    background: #fbfcfb;
    border: 1px solid #cfd7d2;
    border-radius: 11px;
    line-height: 1.55;
}

.builder-field textarea:focus {
    background: #fff;
    border-color: #5f7e71;
    outline: 3px solid rgba(95, 126, 113, 0.16);
}

.builder-field textarea::placeholder {
    color: #9aa49f;
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 7px;
    color: #8b9691;
    font-size: 10px;
}

.goal-builder-field {
    min-width: 0;
    margin: 0;
}

.goal-choice > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.goal-choice strong {
    margin-bottom: 3px;
    font-size: 14px;
}

.goal-choice small {
    color: #69766f;
    font-size: 11px;
}

.goal-choice em {
    align-self: flex-start;
    margin-top: 8px;
    padding: 3px 8px;
    color: #7b5524;
    background: #f5e4c8;
    border-radius: 999px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Results */

.result-page {
    max-width: 930px;
    margin-inline: auto;
    animation: screen-in 0.35s ease both;
}

.result-hero {
    position: relative;
    overflow: hidden;
    padding: 55px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(229, 181, 111, 0.18), transparent 27%),
        linear-gradient(135deg, #10201b, #203a31);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.result-hero::after {
    position: absolute;
    top: -80px;
    right: -70px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    content: "";
}

.result-kicker {
    margin-bottom: 13px;
    color: #e7b876;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.result-hero h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-family: var(--font-serif);
    font-size: clamp(45px, 6vw, 70px);
    font-weight: 500;
}

.result-condition {
    margin-bottom: 24px;
    color: #e5bd82;
    font-size: 14px;
    font-weight: 750;
}

.result-intro {
    position: relative;
    z-index: 1;
    max-width: 710px;
    color: #c6d2cd;
    font-size: 18px;
}

.result-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.result-section {
    margin-top: 24px;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.result-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.summary-card {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.summary-card span,
.obstacle-card > span,
.chosen-goal-card > span,
.stop-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.summary-card p {
    font-size: 14px;
    font-weight: 650;
}

.summary-card small {
    display: block;
    margin-top: 6px;
    color: #738079;
    font-size: 10px;
}

.accent-summary {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

.accent-summary span {
    color: #e8b977;
}

.result-care-note,
.result-page > .quality-note,
.result-page > .result-transition-note {
    margin: 24px 0 0;
    padding: 20px 24px;
}

.result-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 28px;
}

.result-section-heading h2 {
    margin-bottom: 0;
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 500;
}

.result-section-heading > p {
    max-width: 360px;
    color: #78847e;
    font-size: 11px;
    text-align: right;
}

.compact-heading {
    margin-bottom: 20px;
}

.axis-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 30px;
    align-items: center;
}

.axis-cards {
    display: grid;
    gap: 12px;
}

.axis-card {
    padding: 22px;
    background: #f6f7f5;
    border: 1px solid #e1e5e2;
    border-radius: 14px;
}

.axis-card > span {
    display: block;
    color: #68756f;
    font-size: 11px;
    font-weight: 750;
}

.axis-card > strong {
    display: block;
    margin: 3px 0 7px;
    color: var(--forest);
    font-family: var(--font-serif);
    font-size: 37px;
    font-weight: 500;
    line-height: 1;
}

.axis-card > strong small {
    color: #829089;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
}

.axis-card p {
    color: #74817b;
    font-size: 10px;
    line-height: 1.5;
}

.profile-matrix {
    margin: 0;
    padding: 16px;
    background: #f7f8f6;
    border: 1px solid #e1e5e2;
    border-radius: 15px;
}

.profile-matrix svg {
    width: 100%;
    min-height: 280px;
}

.profile-matrix rect {
    fill: #edf1ee;
    stroke: #cbd5cf;
    stroke-width: 0.5;
}

.profile-matrix line {
    stroke: #c0cbc5;
    stroke-dasharray: 2 2;
    stroke-width: 0.45;
}

.profile-matrix text {
    fill: #738079;
    font-family: var(--font-sans);
    font-size: 3.25px;
    font-weight: 650;
}

.profile-matrix circle:not(.pulse-ring) {
    fill: #d89843;
    stroke: #fff;
    stroke-width: 1.4;
}

.profile-matrix .pulse-ring {
    fill: none;
    stroke: rgba(216, 152, 67, 0.35);
    stroke-width: 1;
}

.profile-matrix figcaption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #87928d;
    font-size: 9px;
}

.profile-matrix figcaption strong {
    color: var(--gold-dark);
    text-transform: uppercase;
}

.obstacle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.obstacle-grid .obstacle-card:only-child {
    grid-column: 1 / -1;
}

.obstacle-card {
    padding: 25px;
    background: #f7f8f6;
    border: 1px solid #e0e5e1;
    border-radius: 14px;
}

.primary-obstacle {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

.primary-obstacle > span {
    color: #e5b671;
}

.obstacle-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 500;
}

.obstacle-card > p {
    min-height: 68px;
    color: #66736d;
    font-size: 12px;
}

.primary-obstacle > p {
    color: #b9c8c2;
}

.obstacle-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid #dfe4e1;
}

.primary-obstacle .obstacle-score {
    border-color: rgba(255, 255, 255, 0.13);
}

.obstacle-score span {
    font-size: 10px;
}

.obstacle-score strong {
    font-size: 12px;
}

.score-panel {
    display: grid;
    gap: 15px;
}

.score-row-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 7px;
}

.score-row-head > div {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.score-row-head strong {
    font-size: 13px;
}

.score-row-head span {
    color: #84908a;
    font-size: 9px;
}

.score-row-head b {
    color: var(--gold-dark);
    font-family: var(--font-serif);
    font-size: 17px;
}

.score-row progress,
.goal-score-row progress {
    display: block;
    width: 100%;
    height: 9px;
    overflow: hidden;
    appearance: none;
    background: #e9edea;
    border: 0;
    border-radius: 999px;
}

.score-row progress::-webkit-progress-bar,
.goal-score-row progress::-webkit-progress-bar {
    background: #e9edea;
    border-radius: 999px;
}

.score-row progress::-webkit-progress-value {
    background: linear-gradient(90deg, #2c5043, #6f9685);
    border-radius: 999px;
}

.score-row progress::-moz-progress-bar {
    background: linear-gradient(90deg, #2c5043, #6f9685);
    border-radius: 999px;
}

.goal-result-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
}

.chosen-goal-card {
    padding: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(231, 181, 108, 0.2), transparent 30%),
        var(--forest);
    border-radius: 16px;
}

.chosen-goal-card > span {
    color: #e6b774;
}

.chosen-goal-card h3 {
    margin-bottom: 12px;
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 500;
}

.chosen-goal-card > p {
    color: #bdcbc5;
    font-size: 13px;
}

.goal-confidence {
    margin-top: 22px;
    padding: 16px 17px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.goal-confidence span,
.goal-confidence strong,
.goal-confidence small {
    display: block;
}

.goal-confidence span {
    margin-bottom: 4px;
    color: #b8c9c1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.goal-confidence strong {
    color: #f2d2a3;
    font-size: 13px;
}

.goal-confidence small {
    margin-top: 4px;
    color: #aebfb7;
    font-size: 9px;
}

.goal-alignment-note {
    margin-top: 14px;
    padding: 16px 17px;
    color: #3d3020;
    background: #f4dfbf;
    border-radius: 12px;
}

.goal-alignment-note strong,
.goal-alignment-note p {
    display: block;
}

.goal-alignment-note strong {
    margin-bottom: 5px;
    font-size: 11px;
}

.goal-alignment-note p {
    font-size: 10px;
}

.secondary-goal {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.secondary-goal strong,
.secondary-goal span {
    display: block;
}

.secondary-goal strong {
    margin-bottom: 5px;
    color: #f1d3a7;
    font-size: 11px;
}

.secondary-goal span {
    color: #aebfb7;
    font-size: 10px;
}

.goal-score-panel {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 5px 0;
}

.goal-score-row {
    display: grid;
    grid-template-columns: 150px 1fr 32px;
    align-items: center;
    gap: 10px;
}

.goal-score-row > div {
    display: flex;
    flex-direction: column;
}

.goal-score-row strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goal-score-row span {
    color: var(--gold-dark);
    font-size: 8px;
    font-weight: 700;
}

.goal-score-row b {
    color: #66736d;
    font-size: 10px;
    text-align: right;
}

.goal-score-row progress {
    height: 7px;
}

.goal-score-row progress::-webkit-progress-value {
    background: #9bac9f;
    border-radius: 999px;
}

.goal-score-row progress::-moz-progress-bar {
    background: #9bac9f;
    border-radius: 999px;
}

.selected-goal-row progress::-webkit-progress-value {
    background: var(--gold);
}

.selected-goal-row progress::-moz-progress-bar {
    background: var(--gold);
}

.action-plan-section {
    padding: 40px;
}

.result-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.result-heading-actions .button {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 11px;
}

.goal-statement {
    position: relative;
    margin: 0 0 28px;
    padding: 30px;
    background: #f6f0e5;
    border: 1px solid #ead8bd;
    border-radius: 16px;
}

.goal-statement > span {
    display: block;
    margin-bottom: 9px;
    color: var(--gold-dark);
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.goal-statement p {
    max-width: 750px;
    color: #332e27;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.48;
}

.copy-button {
    margin-top: 15px;
    padding: 7px 11px;
    color: #71512e;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #d8bd98;
    border-radius: 999px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.timeline article {
    position: relative;
    min-height: 170px;
    padding: 24px;
    background: #f7f8f6;
    border: 1px solid #e0e5e1;
    border-radius: 14px;
}

.timeline article > span {
    display: inline-block;
    margin-bottom: 22px;
    padding: 4px 8px;
    color: #496157;
    background: #e1ebe5;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.timeline h3 {
    margin-bottom: 7px;
    font-size: 15px;
}

.timeline p {
    color: #66736d;
    font-size: 12px;
}

.stop-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    margin-top: 14px;
    padding: 24px;
    color: #fff;
    background: #312c29;
    border-radius: 14px;
}

.stop-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #f0bf84;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 28px;
}

.stop-card span {
    color: #e6b676;
}

.stop-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.stop-card p {
    color: #e8e1dd;
    font-size: 13px;
}

.stop-card small {
    display: block;
    margin-top: 9px;
    padding-top: 9px;
    color: #aa9f98;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 10px;
}

.experiment-section {
    background: #fbf7ef;
    border-color: #eadcc5;
}

.experiment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.experiment-grid article {
    min-width: 0;
    padding: 23px;
    background: #fff;
    border: 1px solid #e7dccb;
    border-radius: 14px;
}

.experiment-grid span {
    display: block;
    margin-bottom: 18px;
    color: var(--gold-dark);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.experiment-grid h3 {
    margin-bottom: 7px;
    font-size: 15px;
}

.experiment-grid p {
    color: #65716c;
    font-size: 12px;
}

.experiment-decision {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    margin-top: 14px;
    padding: 19px 22px;
    color: #fff;
    background: var(--forest);
    border-radius: 13px;
}

.experiment-decision strong {
    color: #efc184;
    font-size: 13px;
}

.experiment-decision p {
    color: #c3d0ca;
    font-size: 11px;
}

.retest-section {
    padding: 28px 32px;
    background: #edf4f0;
    border-color: #cfddd5;
}

.retest-card {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    align-items: center;
    gap: 24px;
}

.retest-date {
    display: grid;
    place-items: center;
    min-height: 76px;
    color: #fff;
    background: var(--forest);
    border-radius: 14px;
}

.retest-date span,
.retest-date small {
    display: block;
    line-height: 1;
}

.retest-date span {
    padding-top: 10px;
    font-family: var(--font-serif);
    font-size: 29px;
}

.retest-date small {
    padding-bottom: 10px;
    color: #e8bc80;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.retest-card .step-label {
    margin-bottom: 5px;
}

.retest-card h2 {
    margin-bottom: 4px;
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 500;
}

.retest-card > div:nth-child(2) > p:last-child {
    max-width: 560px;
    color: #617169;
    font-size: 11px;
}

.one-page-plan {
    display: none;
}

.coaching-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
    padding: 40px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 50%, rgba(214, 154, 75, 0.17), transparent 33%),
        var(--forest);
    border-color: var(--forest);
}

.coaching-cta h2 {
    margin-bottom: 13px;
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 500;
}

.coaching-cta > div:first-child > p:last-child {
    max-width: 570px;
    color: #b8c8c1;
    font-size: 13px;
}

.coaching-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.coaching-actions .inline-link {
    color: #efc184;
    font-size: 12px;
}

.result-method {
    margin-top: 22px;
    padding: 0 5px;
}

.result-method details {
    color: #64716b;
    font-size: 11px;
}

.result-method summary {
    cursor: pointer;
    font-weight: 800;
}

.result-method details > div {
    margin-top: 12px;
    padding: 17px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.result-method p + p {
    margin-top: 9px;
}

.result-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}

.danger-text {
    color: var(--danger);
}

.toast {
    position: fixed;
    z-index: 1000;
    right: 22px;
    bottom: 22px;
    max-width: min(380px, calc(100vw - 44px));
    padding: 13px 17px;
    color: #fff;
    background: var(--forest);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 700;
}

.clipboard-fallback {
    position: fixed;
    top: -9999px;
    left: -9999px;
}

.noscript-message {
    position: fixed;
    z-index: 9999;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 18px;
    color: #fff;
    background: #8b3636;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

@media (max-width: 1050px) {
    .desktop-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr 390px;
        gap: 45px;
    }

    .hero {
        padding-top: 75px;
    }

    .quiz-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 30px;
    }

    .quiz-sidebar {
        padding: 18px;
    }

    .goal-score-row {
        grid-template-columns: 120px 1fr 30px;
    }
}

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

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        max-width: 520px;
    }

    .measure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .outcome-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quiz-layout {
        display: block;
        padding-top: 25px;
    }

    .quiz-sidebar {
        position: static;
        margin-bottom: 24px;
        padding: 14px 17px;
    }

    .sidebar-kicker,
    .sidebar-note,
    .quiz-sidebar li div {
        display: none;
    }

    .quiz-sidebar ol {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .quiz-sidebar li {
        display: flex;
        justify-content: center;
        min-height: 36px;
    }

    .quiz-sidebar li:not(:last-child)::after {
        top: 17px;
        right: -50%;
        bottom: auto;
        left: 50%;
        width: 100%;
        height: 1px;
    }

    .quiz-sidebar li > span {
        width: 34px;
        height: 34px;
    }

    .axis-grid,
    .goal-result-grid {
        grid-template-columns: 1fr;
    }

    .axis-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coaching-cta {
        grid-template-columns: 1fr;
    }

    .coaching-actions {
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

    .site-header .brand-copy small {
        display: none;
    }

    .site-header .button-small {
        min-height: 39px;
        padding: 9px 14px;
    }

    .hero {
        padding: 63px 0 56px;
    }

    .hero h1 {
        font-size: clamp(47px, 15vw, 70px);
    }

    .hero-lead {
        font-size: 21px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-facts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-facts li {
        min-width: 0;
        padding-right: 12px;
    }

    .hero-facts li + li {
        padding-left: 12px;
    }

    .hero-facts strong {
        font-size: 21px;
    }

    .visual-card {
        padding: 22px;
        transform: none;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading h2 {
        font-size: 39px;
    }

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

    .measure-card {
        min-height: 0;
    }

    .measure-icon {
        margin-bottom: 25px;
    }

    .outcome-grid {
        gap: 40px;
    }

    .author-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .author-monogram {
        width: 125px;
        height: 125px;
        font-size: 31px;
    }

    .final-cta-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .final-cta .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }

    .quiz-topbar-inner {
        min-height: 62px;
    }

    .save-status {
        font-size: 10px;
    }

    .quiz-layout {
        padding-bottom: 45px;
    }

    .quiz-sidebar {
        margin-bottom: 20px;
    }

    .screen-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 22px;
    }

    .screen-heading h1,
    .education-screen > h1 {
        font-size: 37px;
    }

    .scale-key {
        padding: 0;
    }

    .scale-key span:nth-child(2) {
        display: none;
    }

    .question-card,
    .scenario-card {
        padding: 19px;
    }

    .question-card legend {
        font-size: 15px;
    }

    .likert-options {
        gap: 7px;
    }

    .likert-option > span {
        min-height: 44px;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .form-actions .button {
        width: 100%;
    }

    .education-screen {
        padding: 25px 20px;
        border-radius: 19px;
    }

    .education-copy {
        font-size: 15px;
    }

    .insight-card p {
        font-size: 19px;
    }

    .choice-list.two-column,
    .goal-preview-grid {
        grid-template-columns: 1fr;
    }

    .builder-field {
        padding: 20px;
    }

    .result-hero {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .result-hero h1 {
        font-size: 47px;
    }

    .result-intro {
        font-size: 16px;
    }

    .result-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .result-section {
        padding: 24px 20px;
    }

    .result-summary-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .result-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .result-section-heading > p {
        max-width: none;
        text-align: left;
    }

    .axis-cards,
    .obstacle-grid,
    .timeline,
    .experiment-grid {
        grid-template-columns: 1fr;
    }

    .profile-matrix svg {
        min-height: 230px;
    }

    .obstacle-grid .obstacle-card:only-child {
        grid-column: auto;
    }

    .obstacle-card > p {
        min-height: 0;
    }

    .score-row-head > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .goal-score-row {
        grid-template-columns: 104px 1fr 30px;
    }

    .goal-statement {
        padding: 22px;
    }

    .goal-statement p {
        font-size: 19px;
    }

    .result-heading-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .result-heading-actions .button {
        width: 100%;
    }

    .stop-card {
        grid-template-columns: 1fr;
    }

    .experiment-decision {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .retest-card {
        grid-template-columns: 64px 1fr;
        gap: 16px;
    }

    .retest-card .button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .retest-date {
        min-height: 64px;
    }

    .retest-date span {
        font-size: 25px;
    }

    .coaching-cta {
        padding: 28px 22px;
    }

    .coaching-actions {
        align-items: stretch;
    }

    .result-footer-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .site-header .brand-copy {
        display: none;
    }

    .hero-facts span {
        font-size: 10px;
    }

    .quiz-brand > span:last-child {
        display: none;
    }

    .save-status {
        max-width: 155px;
    }

    .goal-score-row {
        grid-template-columns: 88px 1fr 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    @page {
        size: A4;
        margin: 15mm;
    }

    body {
        color: #111;
        background: #fff;
        font-size: 10pt;
    }

    .quiz-topbar,
    .quiz-sidebar,
    .no-print,
    .toast,
    .result-method,
    .result-footer-actions {
        display: none !important;
    }

    .test-view,
    .quiz-layout {
        display: block !important;
        padding: 0;
        background: #fff;
    }

    .container,
    .result-page {
        width: 100%;
        max-width: none;
    }

    .quiz-main,
    #quiz-content {
        min-height: 0;
    }

    .result-hero,
    .result-section,
    .summary-card,
    .obstacle-card,
    .chosen-goal-card,
    .goal-statement,
    .stop-card,
    .coaching-cta {
        color: #111 !important;
        background: #fff !important;
        border: 1px solid #bbb !important;
        box-shadow: none !important;
    }

    .result-hero {
        padding: 10mm;
    }

    .result-hero h1 {
        font-size: 31pt;
    }

    .result-intro,
    .primary-obstacle > p,
    .chosen-goal-card > p,
    .coaching-cta > div:first-child > p:last-child,
    .stop-card p,
    .stop-card small {
        color: #333 !important;
    }

    .result-section {
        margin-top: 5mm;
        padding: 7mm;
        break-inside: avoid;
    }

    .result-summary-grid {
        display: grid !important;
        padding: 0;
        border: 0 !important;
    }

    .result-care-note,
    .quality-note,
    .result-transition-note {
        break-inside: avoid;
    }

    .profile-matrix svg {
        max-height: 85mm;
    }

    progress {
        border: 1px solid #999 !important;
    }

    .timeline article {
        min-height: 0;
        break-inside: avoid;
    }

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

    .experiment-grid article,
    .experiment-decision,
    .retest-card {
        break-inside: avoid;
    }

    .coaching-cta {
        grid-template-columns: 1fr;
    }

    body.plan-print-mode .result-page > * {
        display: none !important;
    }

    body.plan-print-mode .one-page-plan {
        display: block !important;
        color: #17201d;
        font-family: var(--font-sans);
        line-height: 1.35;
    }

    .one-page-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 10mm;
        margin-bottom: 5mm;
        padding-bottom: 4mm;
        border-bottom: 1.5pt solid #b47a36;
    }

    .one-page-header span,
    .one-page-goal > span,
    .one-page-overview span,
    .one-page-timeline span,
    .one-page-experiment span,
    .one-page-footer span {
        display: block;
        color: #8a5a25;
        font-size: 7pt;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .one-page-header h1 {
        margin: 1mm 0 0;
        font-family: var(--font-serif);
        font-size: 25pt;
        font-weight: 500;
        line-height: 1;
    }

    .one-page-header > p {
        margin: 0;
        color: #59645f;
        font-size: 8pt;
        white-space: nowrap;
    }

    .one-page-overview {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3mm;
        margin-bottom: 4mm;
    }

    .one-page-overview article {
        min-height: 21mm;
        padding: 4mm;
        border: 1px solid #cfd6d2;
        border-radius: 3mm;
    }

    .one-page-overview strong {
        display: block;
        margin: 1.5mm 0 1mm;
        font-family: var(--font-serif);
        font-size: 14pt;
        font-weight: 500;
        line-height: 1.1;
    }

    .one-page-overview p,
    .one-page-timeline p,
    .one-page-experiment p {
        margin: 0;
        color: #56615c;
        font-size: 7.5pt;
    }

    .one-page-goal {
        margin-bottom: 4mm;
        padding: 4mm 5mm;
        background: #f7f1e7 !important;
        border: 1px solid #ddcdb5;
        border-radius: 3mm;
    }

    .one-page-goal p {
        margin: 1.5mm 0 0;
        font-family: var(--font-serif);
        font-size: 10.5pt;
        line-height: 1.35;
    }

    .one-page-timeline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3mm;
        margin-bottom: 4mm;
    }

    .one-page-timeline article {
        min-height: 22mm;
        padding: 3.5mm 4mm;
        border: 1px solid #d3dad6;
        border-radius: 3mm;
        break-inside: avoid;
    }

    .one-page-timeline strong {
        display: block;
        margin: 1mm 0;
        font-size: 9pt;
    }

    .one-page-experiment {
        display: grid;
        grid-template-columns: 1.15fr 1fr 1fr;
        gap: 3mm;
        margin-bottom: 4mm;
        padding: 4mm;
        color: #fff;
        background: #173128 !important;
        border-radius: 3mm;
    }

    .one-page-experiment > div {
        min-width: 0;
    }

    .one-page-experiment span {
        color: #d6a65f;
    }

    .one-page-experiment strong,
    .one-page-experiment p {
        display: block;
        margin: 1.5mm 0 0;
        color: #fff;
        font-size: 7.5pt;
        line-height: 1.35;
    }

    .one-page-review {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 3mm;
        margin-bottom: 4mm;
    }

    .one-page-review > div {
        min-height: 15mm;
        padding: 3.5mm 4mm;
        border: 1px solid #cfd6d2;
        border-radius: 3mm;
    }

    .one-page-review span {
        display: block;
        margin-bottom: 2mm;
        color: #8a5a25;
        font-size: 7pt;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .one-page-review p {
        margin: 0;
        font-size: 8pt;
    }

    .one-page-review .write-line {
        height: 5mm;
        border-bottom: 1px solid #84908a;
    }

    .one-page-footer {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: end;
        gap: 7mm;
        padding-top: 3mm;
        border-top: 1px solid #ccd4d0;
    }

    .one-page-footer strong {
        font-size: 8pt;
    }

    .one-page-footer p {
        margin: 0;
        color: #66716c;
        font-size: 6.5pt;
        text-align: center;
    }
}
