
:root {
    --ink: #151515;
    --ink-2: #2f2f2f;
    --muted: #6d6961;
    --line: #ded9cf;
    --line-strong: #bdb5a8;
    --surface: #ffffff;
    --surface-2: #f7f4ed;
    --surface-3: #ebe7df;
    --brand: #151515;
    --brand-dark: #000000;
    --brand-soft: #fff0ad;
    --brand-fill: #ffc400;
    --accent: #ffc400;
    --accent-soft: #fff0ad;
    --danger: #c41f1f;
    --danger-soft: #fff0ee;
    --warning: #8d6100;
    --warning-soft: #fff5cc;
    --positive: #176d45;
    --positive-soft: #e8f6ef;
    --blue: #275f95;
    --blue-soft: #eaf2ff;
    --shadow-sm: 0 8px 25px rgba(21, 21, 21, 0.08);
    --shadow-md: 0 22px 55px rgba(21, 21, 21, 0.14);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shell: 1180px;
    --reading: 820px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
}

body::selection,
body *::selection {
    background: var(--brand-soft);
    color: var(--ink);
}

a {
    color: var(--brand-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brand);
}

button,
input,
select,
textarea {
    font: inherit;
}

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

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

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

h1,
h2,
h3 {
    line-height: 1.13;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.45rem, 5.1vw, 5rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(1.85rem, 3.2vw, 3rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

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

.shell-narrow {
    width: min(calc(100% - 40px), 940px);
}

.shell-reading {
    width: min(calc(100% - 40px), var(--reading));
}

.section {
    padding: 96px 0;
}

.section-tight {
    padding: 48px 0;
}

.section-muted {
    background: var(--surface-2);
}

.section-contrast {
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.07), transparent 32%),
        linear-gradient(145deg, #102a43, #163c56 58%, #0c5352);
    color: #fff;
}

.eyebrow,
.card-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-contrast .eyebrow,
.result-hero .eyebrow,
.action-card .card-label {
    color: #9fe0d7;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
}

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

.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(188, 204, 220, 0.65);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

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

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

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    box-shadow: 0 8px 18px rgba(15, 103, 99, 0.22);
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 0.98rem;
}

.brand small {
    color: var(--muted);
    font-size: 0.75rem;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-nav a {
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.top-nav a:hover {
    color: var(--brand);
}

.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--line);
    background: #0b1f30;
    color: #c8d5e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
    gap: 60px;
}

.site-footer strong {
    color: #fff;
}

.site-footer p {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: 0.88rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 16px;
}

.footer-links a,
.footer-links span {
    color: #c8d5e0;
    font-size: 0.84rem;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(37, 99, 166, 0.28);
    outline-offset: 3px;
}

.button-primary {
    background: var(--brand);
    box-shadow: 0 12px 28px rgba(15, 103, 99, 0.23);
    color: #fff;
}

.button-primary:hover {
    background: var(--brand-dark);
    color: #fff;
}

.button-ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
}

.button-ghost:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
}

.button-danger {
    border-color: #efb4ae;
    background: var(--danger-soft);
    color: var(--danger);
}

.button-large {
    min-height: 54px;
    padding-inline: 26px;
    border-radius: 14px;
    font-size: 1rem;
}

.button[disabled] {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.js-only {
    display: none;
}

.js .js-only {
    display: inline-flex;
}

.flash {
    margin-top: 18px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.flash-error {
    border-color: #efb4ae;
    background: var(--danger-soft);
    color: var(--danger);
}

.flash-success {
    border-color: #a7dfc3;
    background: var(--positive-soft);
    color: var(--positive);
}

.flash-info {
    border-color: #b8d1f2;
    background: var(--blue-soft);
    color: #174f88;
}

.hero {
    overflow: hidden;
    padding: 112px 0 88px;
    background:
        radial-gradient(circle at 85% 10%, rgba(15, 103, 99, 0.15), transparent 36%),
        radial-gradient(circle at 5% 90%, rgba(200, 132, 24, 0.12), transparent 28%),
        linear-gradient(180deg, #f9fbfd, #fff);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(330px, 0.62fr);
    align-items: center;
    gap: 80px;
}

.hero-copy h1 {
    max-width: 840px;
}

.hero-lead {
    max-width: 760px;
    color: var(--ink-2);
    font-size: clamp(1.12rem, 1.9vw, 1.35rem);
}

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

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.9rem;
}

.trust-line span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

.trust-line strong {
    color: var(--ink);
    font-size: 1.15rem;
}

.hero-diagnostic-card {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(188, 204, 220, 0.8);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-md);
}

.hero-diagnostic-card::before {
    position: absolute;
    inset: -10px 24px auto;
    height: 10px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(90deg, var(--brand), #4fa9a2, var(--accent));
    content: "";
}

.hero-diagnostic-card blockquote {
    margin: 8px 0 26px;
    color: var(--ink);
    font-size: 1.36rem;
    font-weight: 800;
    line-height: 1.35;
}

.hero-diagnostic-card p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.mini-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.mini-scale span {
    height: 9px;
    border-radius: 999px;
    background: var(--surface-3);
}

.mini-scale span:nth-child(1),
.mini-scale span:nth-child(2) {
    background: #e7b9b3;
}

.mini-scale span:nth-child(3) {
    background: #f0d18d;
}

.mini-scale span:nth-child(4),
.mini-scale span:nth-child(5) {
    background: #87c9b0;
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: var(--shadow-sm);
}

.value-strip article {
    padding: 25px 28px;
    background: var(--surface);
}

.value-strip strong,
.value-strip span {
    display: block;
}

.value-strip span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading-left {
    margin-left: 0;
    text-align: left;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.04rem;
}

.light-heading p {
    color: #c9d8e3;
}

.dimension-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dimension-preview {
    position: relative;
    min-height: 240px;
    padding: 28px 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dimension-preview:hover {
    transform: translateY(-3px);
    border-color: #9bcfc9;
    box-shadow: var(--shadow-sm);
}

.dimension-number {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-bottom: 30px;
    place-items: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.dimension-preview p {
    color: var(--muted);
    font-size: 0.9rem;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 80px;
}

.section-contrast p {
    color: #d3e0e8;
}

.check-list {
    display: grid;
    gap: 11px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: rgba(159, 224, 215, 0.18);
    color: #9fe0d7;
    content: "✓";
    font-size: 0.75rem;
    font-weight: 900;
}

.profile-stack {
    display: grid;
    gap: 12px;
}

.profile-stack article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 2px 14px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
}

.profile-stack span {
    grid-row: 1 / span 2;
    color: #9fe0d7;
    font-weight: 900;
}

.profile-stack strong {
    color: #fff;
}

.profile-stack small {
    color: #c8d8e2;
}

.final-cta {
    background: linear-gradient(135deg, var(--brand-soft), #f8fbfc 60%, var(--accent-soft));
}

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

.final-cta h2 {
    max-width: 850px;
    margin-bottom: 0;
}

.test-intro {
    padding: 58px 0 38px;
    background: linear-gradient(180deg, #f6fafb, #fff);
}

.test-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.test-heading h1 {
    max-width: 780px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.55rem);
}

.test-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.test-meta {
    display: grid;
    min-width: 180px;
    gap: 5px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.test-meta strong {
    color: var(--brand-dark);
    font-size: 1.05rem;
}

.test-meta span {
    color: var(--muted);
    font-size: 0.83rem;
}

.wizard-progress-wrap {
    position: sticky;
    z-index: 40;
    top: 0;
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.wizard-progress-inner {
    display: grid;
    grid-template-columns: 170px 1fr 70px;
    min-height: 54px;
    align-items: center;
    gap: 18px;
}

.wizard-progress-label,
.wizard-progress-inner strong {
    color: var(--ink-2);
    font-size: 0.78rem;
    font-weight: 800;
}

.wizard-progress-inner strong {
    text-align: right;
}

.wizard-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.wizard-progress span {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), #46a39d);
    transition: width 260ms ease;
}

.section-test-form {
    min-height: 700px;
    padding-top: 62px;
    background: var(--surface-2);
}

.test-form {
    position: relative;
}

.wizard-step {
    min-width: 0;
    margin: 0;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.js .wizard-step[hidden] {
    display: none;
}

.step-header {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    margin-bottom: 34px;
}

.step-number {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
}

.step-title {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.step-header p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
}

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

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

.field-group > span {
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 750;
}

.field-group select,
.admin-field input,
.admin-field select,
.admin-field textarea {
    width: 100%;
    min-height: 49px;
    padding: 10px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
}

.field-group select:hover,
.admin-field input:hover,
.admin-field select:hover,
.admin-field textarea:hover {
    border-color: #8cb5b2;
}

.team-context-summary {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #b8d1f2;
    border-radius: 13px;
    background: var(--blue-soft);
}

.team-context-summary p {
    margin: 5px 0 0;
    color: #315c85;
    font-size: 0.9rem;
}

.scale-key {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: -10px 0 18px;
    padding: 0 4px;
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 700;
}

.question-list {
    display: grid;
    gap: 14px;
}

.question-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 24px;
    padding: 19px 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.question-card:hover {
    border-color: #a9c5c3;
}

.question-card.answered {
    border-color: #86beb9;
    background: #fbfefd;
    box-shadow: inset 4px 0 0 var(--brand);
}

.question-copy {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 6px;
}

.question-id {
    color: var(--brand);
    font-weight: 900;
}

.question-copy p {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.96rem;
    font-weight: 650;
    line-height: 1.45;
}

.answer-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}

.answer-scale label {
    position: relative;
    cursor: pointer;
}

.answer-scale input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.answer-scale label > span {
    display: grid;
    min-height: 43px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--ink-2);
    font-weight: 850;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.answer-scale label:hover > span {
    transform: translateY(-1px);
    border-color: var(--brand);
}

.answer-scale input:focus-visible + span {
    outline: 3px solid rgba(37, 99, 166, 0.25);
    outline-offset: 2px;
}

.answer-scale input:checked + span {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 6px 16px rgba(15, 103, 99, 0.2);
    color: #fff;
}

.answer-scale small {
    display: none;
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.wizard-error {
    margin-top: 22px;
    padding: 13px 16px;
    border: 1px solid #efb4ae;
    border-radius: 10px;
    background: var(--danger-soft);
    color: var(--danger);
    font-weight: 750;
}

.consent-box {
    margin-top: 26px;
    padding: 19px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
}

.consent-box p {
    margin: 5px 0 14px;
    color: var(--muted);
    font-size: 0.86rem;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 650;
}

.consent-check input {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    accent-color: var(--brand);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.result-hero {
    padding: 70px 0;
    background:
        radial-gradient(circle at 90% 0%, rgba(79, 169, 162, 0.25), transparent 32%),
        linear-gradient(140deg, #102a43, #0d3a50 52%, #0b5b58);
    color: #fff;
}

.result-hero-grid {
    display: grid;
    grid-template-columns: 390px 1fr;
    align-items: stretch;
    gap: 24px;
}

.overall-score-card,
.profile-result-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
}

.overall-score-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
}

.score-ring {
    --score: 0deg;
    position: relative;
    display: grid;
    flex: 0 0 148px;
    width: 148px;
    height: 148px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#9fe0d7 var(--score), rgba(255, 255, 255, 0.13) 0);
}

.score-ring::after {
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: #12384d;
    content: "";
}

.score-ring > span {
    position: relative;
    z-index: 1;
    display: grid;
    text-align: center;
}

.score-ring strong {
    font-size: 2.55rem;
    line-height: 1;
}

.score-ring small {
    margin-top: 5px;
    color: #bfd3df;
}

.overall-score-card .card-label {
    color: #9fe0d7;
}

.maturity-title {
    display: block;
    margin-bottom: 6px;
    font-size: 1.06rem;
    line-height: 1.35;
}

.overall-score-card > div > small {
    color: #bfd3df;
    font-size: 0.76rem;
}

.profile-result-card {
    padding: 36px 40px;
}

.profile-result-card h1 {
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 4vw, 4.2rem);
}

.profile-result-card p {
    max-width: 780px;
    margin-bottom: 0;
    color: #d6e2ea;
    font-size: 1.07rem;
}

.privacy-note {
    margin-top: 22px;
    padding: 14px 17px;
    border: 1px solid #b8d1f2;
    border-radius: 12px;
    background: var(--blue-soft);
    color: #214f79;
    font-size: 0.88rem;
}

.profile-result-card .privacy-note {
    border-color: rgba(184, 209, 242, 0.25);
    background: rgba(234, 242, 255, 0.1);
    color: #d9e8f6;
}

.large-note {
    margin-top: 0;
    font-size: 0.94rem;
}

.alert-list {
    display: grid;
    gap: 12px;
}

.alert-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.alert-card h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.alert-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.alert-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    font-weight: 900;
}

.alert-high {
    border-color: #efb4ae;
    background: var(--danger-soft);
}

.alert-high .alert-icon {
    background: var(--danger);
    color: #fff;
}

.alert-medium {
    border-color: #e7cd8d;
    background: var(--warning-soft);
}

.alert-medium .alert-icon {
    background: var(--warning);
    color: #fff;
}

.alert-positive {
    border-color: #a7dfc3;
    background: var(--positive-soft);
}

.alert-positive .alert-icon {
    background: var(--positive);
    color: #fff;
}

.alert-info {
    border-color: #b8d1f2;
    background: var(--blue-soft);
}

.alert-info .alert-icon {
    background: var(--blue);
    color: #fff;
}

.panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.result-grid-large {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
    gap: 24px;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.panel-heading h2 {
    margin-bottom: 0;
    font-size: 1.75rem;
}

.score-legend,
.comparison-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 0.72rem;
}

.radar-wrap {
    display: grid;
    grid-template-columns: minmax(330px, 0.95fr) minmax(320px, 1.05fr);
    align-items: center;
    gap: 18px;
}

.radar-chart {
    min-height: 440px;
}

.radar-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.radar-grid-line {
    fill: none;
    stroke: #cbd8e3;
    stroke-width: 1;
}

.radar-axis {
    stroke: #d9e2ec;
    stroke-width: 1;
}

.radar-data {
    fill: rgba(15, 103, 99, 0.18);
    stroke: var(--brand);
    stroke-width: 3;
}

.radar-dot {
    fill: var(--brand);
    stroke: #fff;
    stroke-width: 2;
}

.radar-label {
    fill: var(--ink-2);
    font-size: 11px;
    font-weight: 750;
}

.dimension-bars,
.comparison-bars {
    display: grid;
    gap: 15px;
}

.score-row-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
    color: var(--ink-2);
    font-size: 0.82rem;
}

.score-row-head strong {
    flex: 0 0 auto;
    font-size: 0.77rem;
}

.score-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.score-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), #55aaa4);
    transition: width 700ms ease;
}

.delta {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--surface-3);
    color: var(--muted);
}

.delta.positive {
    background: var(--positive-soft);
    color: var(--positive);
}

.delta.negative {
    background: var(--danger-soft);
    color: var(--danger);
}

.metric-panel h2 {
    font-size: 1.65rem;
}

.metric-list {
    display: grid;
    gap: 11px;
}

.metric-card {
    display: grid;
    grid-template-columns: 1fr 56px;
    gap: 2px 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
}

.metric-card > div strong,
.metric-card > div span {
    display: block;
}

.metric-card > div strong {
    font-size: 0.88rem;
}

.metric-card > div span {
    color: var(--muted);
    font-size: 0.72rem;
}

.metric-card > b {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    color: var(--brand-dark);
    font-size: 1.7rem;
    text-align: right;
}

.metric-risk > b {
    color: var(--warning);
}

.metric-card p {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

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

.dimension-result-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--line-strong);
    border-radius: 15px;
    background: #fff;
}

.dimension-result-card.tier-critical {
    border-top-color: var(--danger);
}

.dimension-result-card.tier-developing {
    border-top-color: var(--warning);
}

.dimension-result-card.tier-stable {
    border-top-color: var(--blue);
}

.dimension-result-card.tier-strong {
    border-top-color: var(--positive);
}

.dimension-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dimension-result-head h3 {
    font-size: 1rem;
}

.dimension-result-head strong {
    color: var(--brand-dark);
    font-size: 1.45rem;
}

.dimension-result-card p {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

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

.ranked-list {
    display: grid;
    gap: 18px;
}

.ranked-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
}

.ranked-list > div > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--surface-3);
    color: var(--ink-2);
    font-weight: 900;
}

.strengths-list > div > span {
    background: var(--positive-soft);
    color: var(--positive);
}

.risks-list > div > span {
    background: var(--warning-soft);
    color: var(--warning);
}

.ranked-list strong {
    font-size: 0.93rem;
}

.ranked-list p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.83rem;
}

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

.action-card {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.action-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.action-card-top > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: #9fe0d7;
    color: #0b4a48;
    font-weight: 900;
}

.action-card-top small {
    color: #c8d8e2;
    font-weight: 750;
}

.action-card h3 {
    color: #fff;
    font-size: 1.35rem;
}

.action-card p {
    font-size: 0.9rem;
}

.action-card dl {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
}

.action-card dl > div {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.action-card dt {
    color: #9fe0d7;
    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.action-card dd {
    margin: 4px 0 0;
    color: #e7eff4;
    font-size: 0.82rem;
}

.stress-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px 55px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 95% 10%, rgba(200, 132, 24, 0.12), transparent 30%),
        #fff;
    box-shadow: var(--shadow-sm);
}

.stress-card-title p {
    color: var(--muted);
}

.stress-effects {
    display: grid;
    gap: 11px;
}

.stress-effects article {
    padding: 16px 18px;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--accent-soft);
}

.stress-effects p {
    margin: 5px 0 0;
    color: #705526;
    font-size: 0.83rem;
}

.first-break {
    grid-column: 1 / -1;
    padding: 18px 20px;
    border: 1px solid #efb4ae;
    border-radius: 14px;
    background: var(--danger-soft);
}

.first-break p {
    margin: 5px 0 0;
    color: #7f2b24;
}

.profile-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 24px;
}

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

.profile-detail-columns h3 {
    font-size: 0.92rem;
}

.profile-detail-columns ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 0.87rem;
}

.priority-box {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 13px;
    background: var(--brand-soft);
}

.priority-box p {
    margin: 4px 0 0;
    color: #285e5a;
}

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

.secondary-profile .eyebrow {
    color: #9fe0d7;
}

.secondary-profile p {
    color: #cad8e2;
    font-size: 0.9rem;
}

.next-step-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 18px;
}

.next-step-grid.two-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.next-step-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.next-step-card.featured {
    border-color: #8fc5c1;
    background: linear-gradient(160deg, #f9fefd, var(--brand-soft));
}

.next-step-card p {
    color: var(--muted);
    font-size: 0.87rem;
}

.copy-field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    margin-top: 12px;
}

.copy-field > span {
    grid-column: 1 / -1;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 750;
}

.copy-field input {
    min-width: 0;
    height: 43px;
    padding: 9px 11px;
    border: 1px solid var(--line-strong);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
    color: var(--ink-2);
    font-size: 0.74rem;
}

.copy-field button {
    min-width: 82px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 850;
}

.copy-field button.copied {
    background: var(--positive);
}

.copy-field.wide {
    width: min(100%, 760px);
    margin-inline: auto;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 800;
    text-decoration: none;
}

.inline-note {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 0.78rem;
}

.result-tools-section {
    border-top: 1px solid var(--line);
    background: #f8fafc;
}

.result-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px 40px;
}

.result-tools h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.result-tools p {
    max-width: 760px;
    color: var(--muted);
    font-size: 0.88rem;
}

.tool-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.delete-details {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.delete-details summary {
    width: fit-content;
    cursor: pointer;
    color: var(--danger);
    font-size: 0.84rem;
    font-weight: 750;
}

.delete-details p {
    margin-top: 10px;
}

.retest-comparison {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 40px;
}

.retest-summary h2 {
    font-size: 1.6rem;
}

.retest-summary p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.team-report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.team-report-head h1 {
    max-width: 850px;
    margin-bottom: 14px;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.team-report-head p {
    margin: 0;
    color: #d4e1e9;
}

.team-overview-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 24px;
}

.dual-score {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.dual-score > div {
    padding: 18px;
    border-radius: 14px;
    background: var(--surface-2);
    text-align: center;
}

.dual-score strong,
.dual-score span {
    display: block;
}

.dual-score strong {
    color: var(--brand-dark);
    font-size: 2.3rem;
    line-height: 1;
}

.dual-score span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.74rem;
}

.gap-summary {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

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

.gap-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 15px;
    border-radius: 11px;
    background: var(--surface-2);
}

.gap-list span {
    color: var(--muted);
    font-size: 0.78rem;
}

.comparison-legend span {
    position: relative;
    padding-left: 15px;
}

.comparison-legend span::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    content: "";
}

.leader-dot::before {
    background: var(--brand);
}

.team-dot::before {
    background: var(--accent);
}

.dual-bar-list {
    display: grid;
    gap: 22px;
}

.dual-bar-row {
    display: grid;
    gap: 7px;
}

.dual-bar-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 0.86rem;
}

.dual-bar-head span {
    color: var(--muted);
}

.dual-track {
    position: relative;
    height: 19px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.dual-track > span {
    display: flex;
    width: 0;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    border-radius: inherit;
    color: #fff;
    font-size: 0.64rem;
    transition: width 700ms ease;
}

.leader-bar {
    background: var(--brand);
}

.team-bar {
    background: var(--accent);
}

.dual-bar-row p {
    margin: 1px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.workshop-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 50px;
    padding: 38px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #fff;
}

.workshop-card .eyebrow {
    color: #9fe0d7;
}

.workshop-card ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 24px;
    color: #d6e2ea;
}

.empty-state {
    padding-block: 82px;
    text-align: center;
}

.empty-state h1,
.empty-state h2 {
    max-width: 720px;
    margin-inline: auto;
}

.empty-state p {
    max-width: 700px;
    margin-inline: auto;
    color: var(--muted);
}

.empty-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 24px;
    place-items: center;
    border-radius: 20px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 1.25rem;
    font-weight: 900;
}

.content-hero {
    padding: 82px 0 58px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f5faf9, #fff);
}

.content-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.3rem, 4.8vw, 4.2rem);
}

.content-hero p {
    color: var(--muted);
    font-size: 1.1rem;
}

.prose {
    color: var(--ink-2);
}

.prose h2 {
    margin-top: 42px;
    font-size: 1.75rem;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p,
.prose li {
    color: #334e68;
}

.prose li + li {
    margin-top: 7px;
}

.method-scale {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 28px 0;
}

.method-scale span {
    padding: 14px 10px;
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 0.7rem;
    text-align: center;
}

.method-scale strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 1rem;
}

/* Admin */
.admin-page {
    background: var(--surface-2);
}

.admin-shell {
    padding: 48px 0 90px;
}

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

.admin-heading h1 {
    margin-bottom: 5px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.admin-stat-grid.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 0;
}

.admin-stat {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.admin-stat span,
.admin-stat strong,
.admin-stat small {
    display: block;
}

.admin-stat span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 750;
}

.admin-stat strong {
    margin: 5px 0;
    color: var(--ink);
    font-size: 2rem;
    line-height: 1;
}

.admin-stat small {
    color: var(--muted);
    font-size: 0.7rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 20px;
}

.admin-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.admin-card h2 {
    font-size: 1.45rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.admin-table th,
.admin-table td {
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-table td.wrap {
    white-space: normal;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table-note {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}

.admin-login-wrap {
    display: grid;
    min-height: calc(100vh - 180px);
    place-items: center;
    padding: 60px 20px;
}

.admin-login-card {
    width: min(100%, 520px);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-field {
    display: grid;
    gap: 7px;
}

.admin-field > span {
    color: var(--ink-2);
    font-size: 0.85rem;
    font-weight: 750;
}

.admin-field small {
    color: var(--muted);
    font-size: 0.72rem;
}

.admin-field textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand);
}

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

.health-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 13px;
    border-radius: 10px;
    background: var(--surface-2);
    font-size: 0.8rem;
}

.health-good {
    color: var(--positive);
    font-weight: 800;
}

.health-bad {
    color: var(--danger);
    font-weight: 800;
}

.profile-distribution {
    display: grid;
    gap: 10px;
}

.profile-distribution > div {
    display: grid;
    grid-template-columns: 1fr 45px;
    gap: 8px;
    font-size: 0.8rem;
}

.profile-distribution .score-track {
    grid-column: 1 / -1;
    height: 7px;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 22px;
}

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

@media (max-width: 1080px) {
    .dimension-preview-grid,
    .dimension-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .two-column,
    .result-hero-grid,
    .result-grid-large,
    .profile-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-diagnostic-card {
        max-width: 620px;
    }

    .overall-score-card {
        max-width: 480px;
    }

    .radar-wrap {
        grid-template-columns: 1fr;
    }

    .radar-chart {
        width: min(100%, 540px);
        margin-inline: auto;
    }

    .action-plan-grid,
    .next-step-grid {
        grid-template-columns: 1fr;
    }

    .admin-grid,
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 78px 0 64px;
    }

    .hero-grid,
    .two-column {
        gap: 44px;
    }

    .top-nav a:nth-child(2),
    .top-nav a:nth-child(3) {
        display: none;
    }

    .value-strip,
    .insight-columns,
    .stress-card,
    .retest-comparison,
    .team-overview-grid,
    .workshop-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-inner,
    .test-heading,
    .team-report-head,
    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .test-heading,
    .team-report-head,
    .admin-heading {
        display: flex;
    }

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

    .answer-scale {
        max-width: 430px;
    }

    .stress-card {
        gap: 26px;
    }

    .first-break {
        grid-column: auto;
    }

    .profile-detail-columns {
        grid-template-columns: 1fr;
    }

    .result-tools {
        grid-template-columns: 1fr;
    }

    .tool-buttons {
        justify-content: flex-start;
    }

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

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

@media (max-width: 620px) {
    .shell,
    .shell-narrow,
    .shell-reading {
        width: min(calc(100% - 26px), var(--shell));
    }

    h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .site-header {
        position: static;
    }

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

    .brand small {
        display: none;
    }

    .top-nav {
        gap: 10px;
    }

    .top-nav a {
        font-size: 0.8rem;
    }

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

    .hero-diagnostic-card,
    .panel,
    .stress-card,
    .workshop-card,
    .admin-login-card {
        padding: 23px;
    }

    .dimension-preview-grid,
    .dimension-result-grid,
    .context-grid,
    .admin-stat-grid,
    .admin-stat-grid.compact-grid,
    .admin-result-dimensions {
        grid-template-columns: 1fr;
    }

    .dimension-preview {
        min-height: auto;
    }

    .wizard-progress-inner {
        grid-template-columns: 1fr 56px;
    }

    .wizard-progress-label {
        display: none;
    }

    .wizard-step {
        padding: 22px 15px;
        border-radius: 18px;
    }

    .step-header {
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .step-title {
        font-size: 1.55rem;
    }

    .scale-key {
        display: none;
    }

    .question-card {
        padding: 16px 13px;
        gap: 15px;
    }

    .question-copy {
        grid-template-columns: 28px 1fr;
    }

    .answer-scale {
        gap: 5px;
    }

    .answer-scale label > span {
        min-height: 42px;
        border-radius: 9px;
    }

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

    .wizard-actions .button,
    .wizard-actions > span {
        width: 100%;
    }

    .overall-score-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-result-card {
        padding: 27px 23px;
    }

    .result-hero {
        padding: 48px 0;
    }

    .score-ring {
        width: 132px;
        height: 132px;
        flex-basis: 132px;
    }

    .radar-chart {
        min-height: 330px;
    }

    .radar-label {
        font-size: 9px;
    }

    .action-plan-grid {
        gap: 13px;
    }

    .copy-field {
        grid-template-columns: 1fr;
    }

    .copy-field input {
        border-right: 1px solid var(--line-strong);
        border-radius: 10px 10px 0 0;
    }

    .copy-field button {
        min-height: 40px;
        border-radius: 0 0 10px 10px;
    }

    .method-scale {
        grid-template-columns: 1fr;
    }

    .gap-list > div,
    .dual-bar-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .gap-list > div,
    .dual-bar-head {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::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: 12mm;
    }

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

    .site-header,
    .site-footer,
    .next-steps-section,
    .result-tools-section,
    .button,
    .copy-field,
    .wizard-progress-wrap,
    .flash,
    .delete-details {
        display: none !important;
    }

    .section,
    .section-tight,
    .result-hero {
        padding: 16px 0;
    }

    .result-hero,
    .section-contrast {
        background: #fff !important;
        color: #000 !important;
    }

    .result-hero .eyebrow,
    .section-contrast .eyebrow,
    .action-card .card-label {
        color: #333 !important;
    }

    .overall-score-card,
    .profile-result-card,
    .panel,
    .dimension-result-card,
    .action-card,
    .stress-card,
    .workshop-card {
        break-inside: avoid;
        border: 1px solid #bbb !important;
        background: #fff !important;
        box-shadow: none !important;
        color: #000 !important;
    }

    .profile-result-card p,
    .section-contrast p,
    .action-card p,
    .action-card dd,
    .workshop-card ol,
    .secondary-profile p {
        color: #333 !important;
    }

    .action-plan-grid,
    .dimension-result-grid {
        grid-template-columns: 1fr;
    }

    .score-ring {
        border: 8px solid #555;
        background: #fff !important;
        color: #000;
    }

    .score-ring::after {
        background: #fff;
    }

    .radar-wrap,
    .result-grid-large,
    .profile-detail-grid,
    .insight-columns,
    .stress-card,
    .team-overview-grid {
        grid-template-columns: 1fr;
    }

    a {
        color: #000;
        text-decoration: none;
    }
}

/* ================================================================
   DG márkaréteg – v1.2.0
   ================================================================ */

body {
    background: #fff;
    color: var(--ink);
}

body::selection,
body *::selection {
    background: var(--brand-fill);
    color: #151515;
}

.eyebrow,
.card-label {
    color: #8b6500;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-top: 5px solid var(--brand-fill);
    border-bottom: 1px solid rgba(21, 21, 21, 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 7px 24px rgba(21, 21, 21, 0.055);
}

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

.brand-branded {
    gap: 18px;
}

.brand-logo {
    display: block;
    width: 164px;
    height: auto;
    flex: 0 0 auto;
}

.brand-product {
    display: grid;
    padding-left: 18px;
    border-left: 1px solid var(--line);
    line-height: 1.15;
}

.brand-product strong {
    color: #151515;
    font-size: 0.9rem;
}

.brand-product small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.68rem;
}

.top-nav a:first-child {
    padding: 9px 13px;
    border-radius: 9px;
    background: #151515;
    color: #fff;
}

.top-nav a:first-child:hover {
    background: var(--brand-fill);
    color: #151515;
}

.site-footer-branded {
    padding: 45px 0;
    border-top: 5px solid var(--brand-fill);
    background: #111;
    color: #cfcfcf;
}

.footer-brand-block {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    align-items: start;
    gap: 26px;
}

.footer-logo {
    display: block;
    width: 155px;
    height: auto;
}

.site-footer-branded strong {
    color: #fff;
}

.site-footer-branded .footer-links a,
.site-footer-branded .footer-links span {
    color: #d9d9d9;
}

.button-primary {
    border: 2px solid #151515;
    background: var(--brand-fill);
    box-shadow: 5px 5px 0 #151515;
    color: #151515;
}

.button-primary:hover {
    transform: translate(2px, 2px);
    background: #ffd21f;
    box-shadow: 3px 3px 0 #151515;
    color: #151515;
}

.button-ghost {
    border-color: #bfb8ac;
    background: #fff;
    color: #151515;
}

.button-ghost:hover {
    border-color: #151515;
    background: #faf8f2;
    color: #151515;
}

.hero-branded {
    position: relative;
    overflow: hidden;
    padding: 108px 0 116px;
    background:
        linear-gradient(rgba(21, 21, 21, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 21, 21, 0.055) 1px, transparent 1px),
        radial-gradient(circle at 91% 86%, rgba(255, 196, 0, 0.26) 0 14%, transparent 14.2%),
        linear-gradient(112deg, #fff5c9 0, #fffdf7 32%, #fff 72%);
    background-size: 54px 54px, 54px 54px, auto, auto;
}

.hero-branded::after {
    position: absolute;
    right: -95px;
    bottom: -185px;
    width: 430px;
    height: 430px;
    border: 54px solid rgba(255, 196, 0, 0.16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero-branded .hero-grid {
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.72fr);
    gap: 76px;
}

.hero-branded .hero-copy {
    max-width: 720px;
}

.hero-branded .hero-copy h1 {
    max-width: 690px;
    margin-bottom: 26px;
    color: #151515;
    font-size: clamp(4rem, 6.25vw, 6rem);
    letter-spacing: -0.055em;
}

.hero-branded .hero-lead {
    max-width: 680px;
    color: #4d4a45;
}

.hero-branded .trust-line {
    gap: 9px;
    margin-top: 31px;
}

.hero-branded .trust-line span {
    padding: 7px 11px;
    border: 1px solid #d7d1c5;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #5b5750;
    font-size: 0.82rem;
}

.hero-branded .trust-line strong {
    color: #151515;
    font-size: 0.91rem;
}

.hero-byline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 8px 12px 8px 8px;
    border: 1px solid #d7d1c5;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
}

.hero-byline img {
    width: 35px;
    height: 35px;
    padding: 5px;
    border-radius: 50%;
    background: var(--brand-fill);
    object-fit: contain;
}

.hero-byline strong,
.hero-byline small {
    display: block;
}

.hero-byline strong {
    color: #151515;
    font-size: 0.76rem;
}

.hero-byline small {
    color: var(--muted);
    font-size: 0.64rem;
}

.hero-portrait-card {
    position: relative;
    width: min(100%, 440px);
    justify-self: end;
    border: 4px solid #151515;
    border-radius: 31px;
    background: #dcdfe2;
    box-shadow: 15px 15px 0 var(--brand-fill), var(--shadow-md);
}

.hero-portrait-card picture,
.hero-portrait-card picture img {
    display: block;
    width: 100%;
}

.hero-portrait-card picture {
    overflow: hidden;
    border-radius: 25px;
}

.hero-portrait-card picture img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}

.hero-image-tag {
    position: absolute;
    z-index: 4;
    top: 30px;
    left: -24px;
    padding: 9px 13px;
    border: 2px solid #151515;
    border-radius: 8px;
    background: var(--brand-fill);
    color: #151515;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: rotate(-1.5deg);
}

.hero-portrait-card .hero-diagnostic-card {
    position: absolute;
    z-index: 5;
    bottom: -51px;
    left: -84px;
    width: 365px;
    max-width: none;
    padding: 24px 26px 22px;
    border: 2px solid #151515;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 8px 8px 0 #151515;
}

.hero-portrait-card .hero-diagnostic-card::before {
    display: none;
}

.hero-portrait-card .hero-diagnostic-card .card-label {
    margin-bottom: 8px;
}

.hero-portrait-card .hero-diagnostic-card blockquote {
    margin: 0 0 9px;
    font-size: 1.08rem;
    line-height: 1.28;
}

.hero-portrait-card .hero-diagnostic-card p {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.46;
}

.value-strip-section {
    position: relative;
    z-index: 3;
    padding-top: 58px;
}

.value-strip {
    border: 2px solid #151515;
    border-radius: 20px;
    background: #151515;
    box-shadow: 0 8px 0 var(--brand-fill);
}

.value-strip article {
    position: relative;
    padding: 29px 31px;
}

.value-strip article::before {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 38px;
    height: 4px;
    background: var(--brand-fill);
    content: "";
}

.value-strip strong {
    padding-top: 11px;
}

.dimension-preview-branded .dimension-preview {
    min-height: 258px;
    border: 1px solid #d4cfc5;
    border-top: 4px solid #151515;
    border-radius: 16px;
    background: #fff;
}

.dimension-preview-branded .dimension-preview:hover {
    border-color: #151515;
    box-shadow: 0 8px 0 var(--brand-fill);
}

.dimension-preview-branded .dimension-number {
    border: 2px solid #151515;
    border-radius: 50%;
    background: var(--brand-fill);
    color: #151515;
}

.section-contrast-branded {
    position: relative;
    overflow: hidden;
    background: #151515;
    color: #fff;
}

.section-contrast-branded::after,
.result-hero::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 82px;
    height: 100%;
    background: repeating-linear-gradient(135deg, var(--brand-fill) 0 13px, #151515 13px 26px);
    content: "";
    pointer-events: none;
}

.section-contrast-branded .shell,
.result-hero .shell {
    position: relative;
    z-index: 2;
}

.section-contrast-branded .eyebrow,
.result-hero .eyebrow,
.action-card .card-label {
    color: var(--brand-fill);
}

.section-contrast-branded p {
    color: #d3d3d3;
}

.check-list li::before {
    border: 1px solid var(--brand-fill);
    background: var(--brand-fill);
    color: #151515;
}

.profile-stack article {
    border-color: rgba(255, 196, 0, 0.25);
    background: rgba(255, 255, 255, 0.055);
}

.profile-stack span {
    color: var(--brand-fill);
}

.author-section {
    background: #f7f4ed;
}

.author-card {
    display: grid;
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
    overflow: hidden;
    border: 2px solid #151515;
    border-radius: 30px;
    background: #fff;
    box-shadow: 14px 14px 0 var(--brand-fill);
}

.author-media {
    position: relative;
    min-height: 100%;
    background: #dfe2e5;
}

.author-media picture,
.author-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.author-media img {
    object-fit: cover;
    object-position: center;
}

.author-media-label {
    position: absolute;
    right: 22px;
    bottom: 22px;
    padding: 9px 13px;
    border: 2px solid #151515;
    border-radius: 9px;
    background: var(--brand-fill);
    color: #151515;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.author-copy {
    padding: 48px 50px;
}

.author-copy h2 {
    margin-bottom: 7px;
}

.author-role {
    margin-bottom: 20px;
    color: #151515;
    font-size: 1.04rem;
    font-weight: 800;
}

.author-bio {
    color: var(--muted);
}

.author-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 26px 0;
}

.author-proof-grid span {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--ink-2);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.35;
}

.author-book-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 18px 20px 18px 10px;
    border: 2px solid #151515;
    border-radius: 18px;
    background: var(--brand-fill);
}

.author-book-card picture,
.author-book-card img {
    display: block;
    width: 100%;
}

.author-book-card img {
    max-height: 155px;
    object-fit: contain;
}

.author-book-card .card-label {
    margin-bottom: 5px;
    color: #151515;
}

.author-book-card h3 {
    margin-bottom: 7px;
}

.author-book-card p {
    margin-bottom: 7px;
    color: #2f2f2f;
    font-size: 0.8rem;
    line-height: 1.45;
}

.author-book-card .text-link {
    color: #151515;
    font-weight: 900;
}

.final-cta-branded {
    border-block: 2px solid #151515;
    background:
        repeating-linear-gradient(135deg, rgba(21, 21, 21, 0.08) 0 14px, transparent 14px 28px),
        var(--brand-fill);
}

.final-cta-branded .eyebrow {
    color: #5c4300;
}

.final-cta-branded .button-primary {
    background: #151515;
    box-shadow: 5px 5px 0 #fff;
    color: #fff;
}

.final-cta-branded .button-primary:hover {
    background: #292929;
    color: #fff;
}

/* Testfolyamat és eredményoldal */
.test-intro {
    background: linear-gradient(180deg, #fff5c6, #fff);
}

.wizard-progress-wrap {
    top: 82px;
    border-color: #d8d1c4;
}

.wizard-progress span {
    background: var(--brand-fill);
}

.step-number,
.question-id {
    color: #151515;
}

.step-number {
    border: 2px solid #151515;
    background: var(--brand-fill);
}

.question-card.answered {
    border-color: #151515;
    background: #fffdf5;
    box-shadow: inset 5px 0 0 var(--brand-fill);
}

.answer-scale input:checked + span {
    border-color: #151515;
    background: var(--brand-fill);
    box-shadow: 3px 3px 0 #151515;
    color: #151515;
}

.consent-check input {
    accent-color: var(--brand-fill);
}

.result-hero {
    position: relative;
    overflow: hidden;
    background: #151515;
}

.overall-score-card,
.profile-result-card {
    border-color: rgba(255, 196, 0, 0.26);
    background: rgba(255, 255, 255, 0.055);
}

.score-ring {
    background: conic-gradient(var(--brand-fill) var(--score), rgba(255, 255, 255, 0.13) 0);
}

.score-ring::after {
    background: #191919;
}

.score-ring small,
.overall-score-card > div > small {
    color: #d2d2d2;
}

.overall-score-card .card-label {
    color: var(--brand-fill);
}

.profile-result-card p {
    color: #d9d9d9;
}

.radar-data {
    fill: rgba(255, 196, 0, 0.19);
    stroke: var(--brand-fill);
}

.radar-dot {
    fill: var(--brand-fill);
    stroke: #151515;
}

.score-fill {
    background: var(--brand-fill);
}

.metric-card > b {
    color: #151515;
}

.advisor-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    padding: 7px 11px 7px 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff8d7;
}

.advisor-chip img {
    width: 34px;
    height: 34px;
    padding: 5px;
    border-radius: 50%;
    background: var(--brand-fill);
}

.advisor-chip strong,
.advisor-chip small {
    display: block;
}

.advisor-chip strong {
    color: #151515;
    font-size: 0.75rem;
}

.advisor-chip small {
    color: var(--muted);
    font-size: 0.62rem;
}

/* Admin márkakezelés */
.admin-settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 345px;
    align-items: start;
    gap: 24px;
}

.admin-settings-main {
    display: grid;
    gap: 24px;
}

.admin-settings-side {
    min-width: 0;
}

.admin-technical-card {
    position: sticky;
    top: 106px;
}

.admin-brand-card {
    border-top: 5px solid var(--brand-fill);
}

.admin-card-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-brand-preview-logo {
    width: 150px;
    height: auto;
}

.admin-mark-preview {
    width: 58px;
    height: 58px;
    padding: 8px;
    border-radius: 14px;
    background: var(--brand-fill);
}

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

.checkbox-feature {
    margin-bottom: 18px;
    border: 1px solid #d5c675;
    background: #fff9d9;
}

.admin-divider {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.admin-side-note {
    margin: 22px 0 0;
    padding: 13px 14px;
    border: 1px solid #d6c87e;
    border-radius: 10px;
    background: #fff9db;
    color: #5b5140;
    font-size: 0.78rem;
}

@media (max-width: 1080px) {
    .hero-branded .hero-grid,
    .author-card,
    .admin-settings-layout {
        grid-template-columns: 1fr;
    }

    .hero-branded .hero-copy {
        max-width: 820px;
    }

    .hero-portrait-card {
        width: min(100%, 520px);
        margin-top: 30px;
        justify-self: start;
    }

    .author-media {
        max-height: 600px;
    }

    .author-media img {
        aspect-ratio: 4 / 3;
    }

    .admin-technical-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .brand-logo {
        width: 150px;
    }

    .brand-product {
        display: none;
    }

    .wizard-progress-wrap {
        top: 78px;
    }

    .hero-branded {
        padding-top: 70px;
    }

    .hero-portrait-card .hero-diagnostic-card {
        left: -24px;
    }

    .section-contrast-branded::after,
    .result-hero::after {
        width: 44px;
        opacity: 0.65;
    }

    .author-copy {
        padding: 38px 32px;
    }

    .author-proof-grid,
    .admin-field-grid,
    .admin-check-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-block {
        grid-template-columns: 130px 1fr;
    }
}

@media (max-width: 620px) {
    .site-header {
        border-top-width: 3px;
    }

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

    .brand-logo {
        width: 124px;
    }

    .top-nav a:first-child {
        padding: 7px 9px;
    }

    .hero-branded .hero-copy h1 {
        font-size: clamp(2.55rem, 13vw, 3.6rem);
    }

    .hero-branded .trust-line span {
        padding: 6px 9px;
        font-size: 0.77rem;
    }

    .hero-byline {
        align-items: flex-start;
        border-radius: 15px;
    }

    .hero-byline > span:last-child {
        display: grid;
        gap: 0;
    }

    .hero-portrait-card {
        width: calc(100% - 14px);
        margin-bottom: 118px;
        box-shadow: 10px 10px 0 var(--brand-fill), var(--shadow-md);
    }

    .hero-image-tag {
        top: 16px;
        left: -10px;
        max-width: calc(100% - 20px);
        font-size: 0.62rem;
    }

    .hero-portrait-card .hero-diagnostic-card {
        bottom: -108px;
        left: -9px;
        width: calc(100% + 18px);
        box-shadow: 6px 6px 0 #151515;
    }

    .value-strip-section {
        padding-top: 34px;
    }

    .author-card {
        box-shadow: 8px 8px 0 var(--brand-fill);
    }

    .author-copy {
        padding: 30px 22px;
    }

    .author-book-card {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 14px 14px 7px;
    }

    .author-book-card img {
        max-height: 120px;
    }

    .footer-brand-block {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        width: 136px;
    }

    .admin-card-heading-row {
        flex-direction: column;
    }
}

@media print {
    .author-section,
    .hero-image-tag,
    .hero-byline,
    .advisor-chip {
        display: none !important;
    }

    .result-hero::after,
    .section-contrast-branded::after {
        display: none !important;
    }
}


/* v1.2.1 – végleges publikus lábléc */
.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) minmax(150px, .55fr) minmax(260px, .9fr);
    gap: 54px;
    align-items: start;
}
.footer-brand-copy strong,
.footer-nav strong,
.footer-legal strong { display:block; margin-bottom:10px; color:#fff; font-size:.84rem; letter-spacing:.08em; text-transform:uppercase; }
.footer-brand-copy p,
.footer-legal p { margin:0; color:#bfc4c9; line-height:1.7; }
.footer-nav { display:grid; gap:9px; align-content:start; }
.footer-nav a { color:#e7e7e7; text-decoration:none; font-weight:700; font-size:.9rem; }
.footer-nav a:hover { color:var(--brand-fill); }
.footer-bottom { display:flex; justify-content:space-between; gap:24px; margin-top:34px; padding-top:20px; border-top:1px solid rgba(255,255,255,.13); color:#8f969c; font-size:.78rem; }
.footer-bottom a { color:#bfc4c9; text-decoration:none; }
.footer-legal-admin { grid-column: 2 / -1; }
@media (max-width: 900px) {
    .footer-main-grid { grid-template-columns: 1fr 1fr; gap:34px; }
    .footer-brand-block { grid-column:1 / -1; }
    .footer-legal-admin { grid-column:auto; }
}
@media (max-width: 620px) {
    .site-footer-branded { padding:38px 0 26px; }
    .footer-main-grid { grid-template-columns:1fr; gap:30px; }
    .footer-brand-block { grid-column:auto; }
    .footer-bottom { flex-direction:column; gap:8px; margin-top:28px; }
}
