:root {
    color-scheme: light;
    --paper: #fbfcfa;
    --surface: #ffffff;
    --surface-soft: #f3f7f4;
    --mint: #eaf5ef;
    --mint-strong: #dcefe6;
    --ink: #102821;
    --ink-soft: #52635d;
    --green: #147a5c;
    --green-hover: #0d684e;
    --green-dark: #0c2721;
    --green-dark-soft: #17352e;
    --line: #dfe8e3;
    --line-dark: rgba(255, 255, 255, 0.12);
    --danger: #cf5a52;
    --warning: #d5a52c;
    --success: #3f9872;
    --neutral: #84918c;
    --shadow: 0 24px 70px rgba(18, 54, 43, 0.10);
    --shadow-soft: 0 14px 38px rgba(18, 54, 43, 0.07);
    --radius-large: 28px;
    --radius: 18px;
    --radius-small: 12px;
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: Inter, "Segoe UI", Arial, sans-serif;
    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.0625rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --heading-hero: clamp(2.8rem, 5.8vw, 5.25rem);
    --heading-section: clamp(2.1rem, 4.5vw, 4rem);
    --heading-subsection: clamp(2rem, 3.5vw, 3rem);
    --heading-compact: clamp(1.75rem, 3.2vw, 2.8rem);
    --heading-result: clamp(2.625rem, 5vw, 4.5rem);
    --heading-card: clamp(1.35rem, 2.3vw, 1.8rem);
    --heading-card-large: clamp(2rem, 3.2vw, 3rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(20, 122, 92, 0.35);
    outline-offset: 4px;
}

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

h1,
h2 {
    font-family: var(--font-display);
    letter-spacing: -0.015em;
    line-height: 1.04;
}

h3 {
    font-family: var(--font-body);
    letter-spacing: -0.01em;
    line-height: 1.22;
}

h1 {
    font-size: var(--heading-hero);
}

h2 {
    margin-bottom: 24px;
    max-width: 850px;
    font-size: var(--heading-section);
}

h3 {
    font-size: var(--text-xl);
}

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

.site-main {
    overflow: hidden;
}

.section {
    padding: 104px 0;
}

.section-dark {
    background: var(--green-dark);
    color: #f6fbf8;
}

.section-lead,
.wide-copy {
    max-width: 760px;
    color: var(--ink-soft);
    font-size: var(--text-xl);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: var(--green);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(20, 122, 92, 0.10);
}

.eyebrow-light {
    color: #68d0a9;
}

.centered {
    justify-content: center;
}

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

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

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

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(251, 252, 250, 0.95);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark,
.outline-icon,
.ready-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1.5px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    font-weight: 800;
}

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

.brand-copy strong {
    font-size: var(--text-base);
}

.brand-copy span {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: var(--text-xs);
    line-height: 1.4;
}

.header-cta {
    color: var(--green);
    font-size: var(--text-base);
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
}

.header-cta span {
    margin-left: 8px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

button.button {
    cursor: pointer;
}

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

.button-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 30px rgba(20, 122, 92, 0.20);
}

.button-primary:hover:not(:disabled) {
    background: var(--green-hover);
}

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

.button-soft {
    background: var(--surface-soft);
    color: var(--green);
}

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

.button-ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--ink);
}

.button:disabled,
.button.is-disabled,
.button[aria-disabled="true"] {
    opacity: 0.42;
    cursor: not-allowed;
    box-shadow: none;
}

.text-button {
    padding: 4px;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
}

.hero {
    padding-top: 94px;
    padding-bottom: 116px;
}

.hero-grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: 76px;
}

.hero-copy h1 {
    max-width: 760px;
    margin-bottom: 28px;
}

.hero-lead {
    max-width: 720px;
    margin-bottom: 32px;
    color: var(--ink-soft);
    font-size: clamp(1.15rem, 1.8vw, 1.42rem);
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 0;
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: var(--text-sm);
    line-height: 1.5;
    list-style: none;
}

.trust-list li::before,
.check-list li::before {
    margin-right: 8px;
    color: var(--green);
    content: "✓";
    font-weight: 800;
}

.control-map {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background-color: #f9fbf9;
    background-image: linear-gradient(rgba(16, 40, 33, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 40, 33, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    box-shadow: var(--shadow-soft);
}

.control-map::after {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    color: var(--ink-soft);
    content: "";
}

.map-topline {
    position: absolute;
    z-index: 2;
    top: 22px;
    right: 24px;
    left: 24px;
    display: flex;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.map-topline strong {
    color: var(--green);
}

.map-orbits span {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(20, 122, 92, 0.11);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one { width: 180px; height: 180px; }
.orbit-two { width: 300px; height: 300px; }
.orbit-three { width: 430px; height: 430px; }

.map-center {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: flex;
    width: 146px;
    height: 146px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transform: translate(-50%, -50%);
    flex-direction: column;
}

.map-center > span {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green);
}

.map-center small {
    margin-top: 4px;
    color: var(--ink-soft);
}

.map-node {
    position: absolute;
    z-index: 3;
    min-width: 90px;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    font-size: var(--text-xs);
    line-height: 1.4;
}

.map-node::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--green);
    content: "";
}

.map-key { top: 28%; left: 5%; }
.map-backup { top: 30%; right: 5%; }
.map-asset { bottom: 25%; left: 8%; }
.map-access { right: 6%; bottom: 24%; }
.map-access::before { background: var(--danger); }
.map-backup::before { background: var(--warning); }

.control-map > p {
    position: absolute;
    right: 24px;
    bottom: 16px;
    left: 24px;
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-xs);
    line-height: 1.4;
}

.evidence-section h2,
.business-section h2 {
    color: #fff;
}

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

.evidence-card,
.business-card {
    padding: 34px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--green-dark-soft);
}

.card-kicker {
    color: #74d5b0;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.card-kicker::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.card-kicker.danger { color: #ff7d73; }
.card-kicker.warning { color: #e8bd50; }

.evidence-number {
    display: block;
    margin: 28px 0 24px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    letter-spacing: -0.01em;
    line-height: 1.03;
}

.evidence-card h3 {
    max-width: 520px;
    color: #fff;
}

.evidence-card p {
    color: rgba(246, 251, 248, 0.68);
}

.evidence-card a {
    color: #74d5b0;
    font-size: var(--text-sm);
    line-height: 1.5;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.section-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 28px 0 0;
    color: rgba(246, 251, 248, 0.72);
}

.section-note span,
.info-callout > span,
.warning-callout > span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(104, 208, 169, 0.13);
    color: #68d0a9;
    font-size: var(--text-xs);
    font-weight: 800;
}

.scheme-section h2 span {
    color: #7b8984;
}

.scenario-grid,
.feature-grid {
    display: grid;
    margin: 48px 0 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scenario-grid article,
.feature-grid article {
    min-height: 235px;
    padding: 26px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.scenario-grid article + article,
.feature-grid article + article {
    border-left: 0;
}

.scenario-grid article:first-child,
.feature-grid article:first-child {
    border-radius: var(--radius-small) 0 0 var(--radius-small);
}

.scenario-grid article:last-child,
.feature-grid article:last-child {
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.scenario-grid article > span,
.feature-grid article > span,
.responsibility-track span {
    color: var(--green);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.scenario-grid h3,
.feature-grid h3 {
    margin-top: 48px;
}

.scenario-grid p,
.feature-grid p {
    color: var(--ink-soft);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.responsibility-section {
    padding-top: 0;
}

.responsibility-track {
    display: grid;
    margin-top: 42px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.responsibility-track div {
    position: relative;
    min-height: 150px;
    padding: 24px;
    border-radius: var(--radius-small);
    background: var(--surface-soft);
}

.responsibility-track div:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -13px;
    z-index: 2;
    color: var(--green);
    content: "→";
}

.responsibility-track strong {
    display: block;
    margin-top: 32px;
    line-height: 1.3;
}

.audit-preview-section,
.audit-workspace,
.ready-section {
    background: var(--mint);
}

.audit-preview-grid,
.business-grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
    gap: 72px;
}

.audit-preview-grid > div:first-child > p:not(.eyebrow),
.business-grid > div > p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: var(--text-md);
}

.info-callout,
.warning-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border: 1px solid #d4e8de;
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.52);
}

.info-callout p,
.warning-callout p {
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.preview-card,
.question-card,
.ready-card {
    padding: 36px;
    border: 1px solid rgba(18, 54, 43, 0.08);
    border-radius: var(--radius-large);
    background: #fff;
    box-shadow: var(--shadow);
}

.question-count,
.course-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink-soft);
    font-size: var(--text-xs);
    line-height: 1.4;
}

progress {
    width: 100%;
    height: 5px;
    margin: 18px 0 30px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #e7eeea;
    appearance: none;
}

progress::-webkit-progress-bar { background: #e7eeea; }
progress::-webkit-progress-value { background: var(--green); }
progress::-moz-progress-bar { background: var(--green); }

.preview-options {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 24px 0;
    list-style: none;
}

.preview-options li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink-soft);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.preview-options li span {
    width: 18px;
    height: 18px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.preview-options b {
    margin-left: auto;
    color: var(--green);
}

.preview-actions {
    display: flex;
    justify-content: space-between;
    color: #a5afab;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.section-heading-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.section-heading-with-icon h2 {
    max-width: 900px;
}

.warning-callout {
    margin: 34px 0 0;
    border-color: #ebdfbc;
    background: #fff9e9;
}

.warning-callout > span {
    background: rgba(213, 165, 44, 0.14);
    color: #a97906;
}

.business-section p {
    color: rgba(246, 251, 248, 0.7);
}

.process-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    color: rgba(246, 251, 248, 0.8);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.process-chain i {
    color: #68d0a9;
    font-style: normal;
}

.business-card h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 2rem;
}

.faq-list {
    margin-top: 48px;
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 25px 44px 25px 0;
    font-size: var(--text-md);
    font-weight: 750;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    position: absolute;
    right: 4px;
    color: var(--green);
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
}

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

.faq-list summary span {
    min-width: 22px;
    color: var(--neutral);
    font-size: var(--text-xs);
    line-height: 1.4;
}

.faq-list details p {
    max-width: 760px;
    padding: 0 44px 24px 50px;
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-base);
    line-height: 1.6;
}

.final-cta-section {
    background: var(--mint);
    text-align: center;
}

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

.final-cta-inner h2 {
    max-width: 900px;
}

.site-footer {
    padding: 38px 0;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.footer-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-size: var(--text-base);
    line-height: 1.35;
}

.footer-brand span,
.footer-disclaimer,
.footer-credit {
    color: var(--ink-soft);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.footer-links a {
    color: var(--ink-soft);
    text-decoration: none;
}

.footer-links a[aria-disabled="true"] {
    cursor: default;
}

.footer-disclaimer,
.footer-credit {
    margin: 0;
}

.footer-credit {
    text-align: right;
}

.footer-credit a {
    color: var(--green);
    font-weight: 750;
    text-decoration: none;
}

.scroll-top {
    position: fixed;
    z-index: 30;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: var(--green-dark);
    color: #fff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Audit question and profile */
.audit-workspace {
    padding: 68px 0 76px;
}

.audit-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
    gap: 56px;
    margin-bottom: 68px;
}

.audit-intro {
    display: flex;
    align-self: stretch;
    flex-direction: column;
    padding-top: 18px;
}

.audit-intro h1 {
    margin-bottom: 24px;
    font-size: var(--heading-section);
}

.audit-intro > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.audit-intro .info-callout {
    margin-top: 28px;
}

.audit-intro-reset {
    padding-top: 32px;
    margin-top: auto;
}

.question-card {
    padding: clamp(28px, 4vw, 48px);
}

.question-card h2 {
    max-width: 820px;
    margin-bottom: 28px;
    font-size: var(--heading-compact);
}

.question-helper {
    margin: 0 0 12px;
    color: var(--green);
    font-size: var(--text-sm);
}

.answer-options {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    border: 0;
}

.option {
    display: grid;
    min-height: 58px;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    grid-template-columns: auto 1fr auto;
    gap: 13px;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.option:hover {
    border-color: #a8cbbd;
}

.option:has(input:checked),
.option.is-selected {
    border-color: var(--green);
    background: #eff8f4;
    box-shadow: inset 0 0 0 1px var(--green);
}

.option input {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid #aab8b2;
    border-radius: 50%;
    background: #fff;
    appearance: none;
}

.option input:checked {
    border: 6px solid var(--green);
}

.option-copy {
    line-height: 1.35;
}

.option-arrow {
    color: var(--green);
}

.errorlist {
    padding: 12px 16px;
    border-radius: 9px;
    background: #fff0ef;
    color: #a33d36;
    list-style: none;
}

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

.question-actions {
    justify-content: space-between;
}

.profile-section {
    padding: 56px 0 72px;
    background: var(--paper);
}

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

.profile-heading .eyebrow {
    margin-bottom: 6px;
}

.profile-heading h2 {
    margin-bottom: 24px;
    font-size: var(--heading-subsection);
}

.profile-grid,
.risk-grid,
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.profile-item {
    position: relative;
    min-height: 104px;
    padding: 20px 42px 20px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: #fff;
    text-decoration: none;
    transition: border-color 150ms ease, transform 150ms ease;
}

.profile-item:hover {
    border-color: #a8cbbd;
    transform: translateY(-1px);
}

.profile-item span {
    display: block;
    margin-bottom: 9px;
    color: var(--ink-soft);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.profile-item strong {
    display: block;
    line-height: 1.3;
}

.profile-item i {
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--green);
    font-style: normal;
}

/* Ready */
.ready-section {
    padding: 90px 0 132px;
}

.ready-card {
    max-width: 850px;
    margin-bottom: 68px;
    text-align: center;
}

.ready-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 26px;
    background: var(--mint);
    font-size: 1.4rem;
}

.ready-card h1 {
    margin-bottom: 22px;
    font-size: var(--heading-hero);
}

.ready-card > p:not(.eyebrow) {
    max-width: 650px;
    margin-inline: auto;
    color: var(--ink-soft);
    font-size: var(--text-lg);
}

.ready-actions {
    justify-content: center;
}

.inline-reset {
    margin-top: 20px;
}

/* Result */
.result-hero {
    padding: 86px 0;
    background: var(--green-dark);
    color: #fff;
}

.result-hero-inner h1 {
    max-width: 1050px;
    margin-bottom: 26px;
    font-size: var(--heading-result);
}

.result-hero-inner > p:last-child {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.65);
}

.result-section {
    padding: 76px 0;
}

.result-section + .result-section {
    border-top: 1px solid var(--line);
}

.result-section-heading h2,
.course-heading h2 {
    margin-bottom: 30px;
    font-size: var(--heading-section);
}

.risk-card {
    position: relative;
    min-height: 145px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: #fff;
}

.risk-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--neutral);
    content: "";
}

.risk-card.ok::after { background: var(--success); }
.risk-card.attention::after { background: var(--warning); }
.risk-card.high::after { background: var(--danger); }
.risk-card.neutral::after { background: var(--neutral); }

.risk-dot {
    display: block;
    width: 9px;
    height: 9px;
    margin-bottom: 30px;
    border-radius: 50%;
    background: var(--neutral);
}

.risk-card.ok .risk-dot { background: var(--success); }
.risk-card.attention .risk-dot { background: var(--warning); }
.risk-card.high .risk-dot { background: var(--danger); }

.risk-card strong {
    display: block;
    margin-bottom: 8px;
}

.risk-card p {
    margin: 0;
    color: var(--ink-soft);
}

.risk-card .risk-explanation {
    margin-top: 14px;
    color: var(--ink);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.now-section {
    background: #f8fbf9;
}

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

.action-card {
    display: grid;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    grid-template-columns: 52px 1fr;
    gap: 18px;
}

.action-content {
    min-width: 0;
}

.action-number {
    color: var(--green);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.action-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 750;
    line-height: 1.25;
}

.action-status-high {
    border-color: rgba(207, 90, 82, 0.28);
    background: rgba(207, 90, 82, 0.10);
    color: #8d312c;
}

.action-status-attention {
    border-color: rgba(213, 165, 44, 0.32);
    background: rgba(213, 165, 44, 0.12);
    color: #75580b;
}

.action-status-clarification {
    border-color: rgba(132, 145, 140, 0.34);
    background: #f1f3f2;
    color: var(--ink-soft);
}

.action-status-later {
    border-color: rgba(20, 122, 92, 0.22);
    background: var(--mint);
    color: var(--green);
}

.action-category {
    background: var(--surface-soft);
    color: var(--ink-soft);
}

.action-card h3 {
    margin-bottom: 18px;
    font-size: var(--heading-card);
}

.action-card p {
    max-width: 900px;
    margin-bottom: 10px;
    color: var(--ink-soft);
}

.action-detail + .action-detail {
    margin-top: 18px;
}

.action-detail > :last-child {
    margin-bottom: 0;
}

.action-detail-label {
    margin-bottom: 6px !important;
    color: var(--ink) !important;
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1.4;
}

.action-fact {
    color: var(--ink) !important;
}

.action-detail-list {
    display: grid;
    max-width: 900px;
    gap: 6px;
    padding-left: 20px;
    margin: 0;
    color: var(--ink-soft);
}

.later-section .action-number {
    color: var(--neutral);
}

.soft-panel,
.neutral-panel {
    padding: 38px;
    border-radius: var(--radius-large);
    background: var(--surface-soft);
}

.neutral-panel {
    background: #f1f3f2;
}

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

.course-section {
    background: var(--mint);
}

.course-heading {
    align-items: flex-end;
}

.course-heading > strong {
    padding-bottom: 34px;
    color: var(--green);
    font-size: 1.35rem;
}

.course-offer-heading {
    max-width: 850px;
    margin-bottom: 38px;
}

.course-offer-heading h2 {
    margin-bottom: 20px;
    font-size: var(--heading-section);
}

.course-options {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 20px;
}

.course-options-single {
    max-width: 880px;
    grid-template-columns: minmax(0, 1fr);
}

.course-option {
    display: flex;
    padding: 38px;
    border: 1px solid #d4e8de;
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.68);
    flex-direction: column;
}

.course-option-personal {
    border-color: rgba(20, 122, 92, 0.28);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 50px rgba(20, 122, 92, 0.08);
}

.course-option-expanded {
    background: rgba(245, 251, 248, 0.72);
}

.course-option h3 {
    margin-bottom: 20px;
    font-size: var(--heading-card-large);
}

.course-option > p {
    color: var(--ink-soft);
}

.course-option-expanded > p + p {
    margin-top: 14px;
}

.offer-availability {
    max-width: 880px;
    padding: 26px 28px;
    margin-bottom: 28px;
    border: 1px solid #d4e8de;
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.64);
}

.offer-availability-neutral {
    border-color: #d9d2be;
    background: #fbf8ef;
}

.offer-availability h3 {
    margin-bottom: 10px;
    font-size: var(--heading-card);
}

.offer-availability p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.course-route-summary {
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid #d4e8de;
    color: var(--ink);
}

.full-system-scope {
    font-weight: 800;
}

.offer-price {
    margin: 24px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.offer-upgrade-note {
    padding: 16px 18px;
    margin: 24px 0 0;
    border: 1px solid #cfe4da;
    border-radius: 11px;
    background: var(--surface-soft);
    color: var(--ink-soft);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.module-grid {
    margin: 34px 0;
}

.module-card {
    min-height: 150px;
    padding: 22px;
    border: 1px solid #d4e8de;
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.72);
}

.module-card > span {
    display: block;
    margin-bottom: 28px;
    color: var(--green);
    font-size: var(--text-xs);
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.module-card strong {
    display: block;
    line-height: 1.3;
}

.module-card p,
.small-note {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.course-option-actions {
    padding-top: 28px;
    margin-top: auto;
}

.course-option-actions .small-note {
    max-width: 420px;
}

.split-panel {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
}

.split-panel h2 {
    font-size: var(--heading-subsection);
}

.split-panel > p {
    color: var(--ink-soft);
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
        gap: 42px;
    }

    .audit-layout {
        grid-template-columns: minmax(230px, 0.5fr) minmax(0, 1.5fr);
        gap: 34px;
    }

    .scenario-grid,
    .feature-grid,
    .responsibility-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .scenario-grid article + article,
    .feature-grid article + article {
        border-left: 1px solid var(--line);
    }

    .scenario-grid article,
    .feature-grid article {
        border-radius: var(--radius-small) !important;
    }

    .responsibility-track div:not(:last-child)::after {
        display: none;
    }
}

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

    .hero-grid,
    .audit-preview-grid,
    .business-grid,
    .audit-layout,
    .course-options,
    .split-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 70px;
    }

    .control-map {
        min-height: 470px;
    }

    .audit-preview-grid,
    .business-grid,
    .audit-layout {
        gap: 38px;
    }

    .audit-intro {
        max-width: 680px;
    }

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

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

    .footer-links {
        justify-content: flex-start;
    }

    .footer-credit {
        text-align: left;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 32px, 1200px);
    }

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

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .brand-copy strong {
        font-size: var(--text-base);
    }

    .brand-copy span {
        font-size: var(--text-xs);
    }

    .header-cta {
        white-space: nowrap;
    }

    .hero {
        padding-top: 54px;
        padding-bottom: 72px;
    }

    .hero-lead,
    .section-lead {
        font-size: var(--text-md);
    }

    .button-large,
    .hero-copy > .button {
        width: 100%;
    }

    .trust-list {
        align-items: flex-start;
        flex-direction: column;
    }

    .control-map {
        min-height: 420px;
    }

    .orbit-three { width: 350px; height: 350px; }
    .orbit-two { width: 260px; height: 260px; }
    .map-node { min-width: auto; padding: 9px 11px; }
    .map-key { left: 4%; }
    .map-backup { right: 4%; }
    .map-asset { left: 4%; }
    .map-access { right: 4%; }

    .evidence-card,
    .business-card,
    .preview-card,
    .question-card,
    .soft-panel,
    .neutral-panel,
    .course-option {
        padding: 24px;
    }

    .scenario-grid,
    .feature-grid,
    .responsibility-track {
        grid-template-columns: 1fr;
    }

    .scenario-grid article,
    .feature-grid article {
        min-height: 190px;
    }

    .audit-workspace {
        padding: 48px 0;
    }

    .option {
        min-height: 62px;
        padding: 13px;
    }

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

    .question-actions .button {
        padding-inline: 12px;
    }

    .profile-section {
        padding: 44px 0 56px;
    }

    .profile-grid,
    .risk-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .ready-section,
    .result-hero,
    .result-section {
        padding: 58px 0;
    }

    .ready-section {
        padding-bottom: 88px;
    }

    .ready-actions {
        display: grid;
    }

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

    .action-card {
        padding: 22px;
        grid-template-columns: 1fr;
    }

    .course-heading,
    .profile-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-heading > strong {
        padding-bottom: 18px;
    }

    .faq-list summary {
        gap: 14px;
        padding-right: 34px;
    }

    .faq-list details p {
        padding-left: 36px;
    }

    .footer-links {
        flex-direction: column;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
/* Commerce, access and legal pages */
.commerce-page,
.legal-page {
    background: var(--paper);
}

.commerce-hero,
.legal-hero {
    min-height: 70vh;
    padding: 72px 0 96px;
}

.commerce-shell,
.legal-shell,
.access-shell {
    width: min(100% - 32px, 1120px);
}

.commerce-back {
    display: inline-flex;
    margin-bottom: 26px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20, 43, 34, .1);
}

.checkout-summary {
    padding: 50px;
    color: #fff;
    background: var(--ink);
}

.checkout-summary h1,
.commerce-status-card h1,
.access-shell h1,
.legal-document h1 {
    margin: 12px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.04;
}

.checkout-summary > p {
    color: rgba(255, 255, 255, .76);
}

.checkout-summary .eyebrow,
.checkout-summary .checkout-price {
    color: #fff;
}

.checkout-price {
    margin: 34px 0 10px;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
}

.checkout-note,
.checkout-security-note {
    font-size: .91rem;
}

.checkout-form {
    min-width: 0;
    padding: 48px;
}

.checkout-field {
    display: grid;
    gap: 9px;
    margin-bottom: 30px;
}

.checkout-field label,
.consent-list legend {
    color: var(--ink);
    font-weight: 800;
}

.checkout-field input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.checkout-field input:focus {
    border-color: var(--green);
    outline: 3px solid rgba(37, 116, 86, .14);
}

.consent-list {
    display: grid;
    gap: 12px;
    min-width: 0;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.consent-list legend {
    margin-bottom: 10px;
}

.consent-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
    cursor: pointer;
}

.consent-row input {
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: var(--green);
}

.consent-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.consent-row a {
    color: var(--green-dark);
    font-weight: 750;
}

.consent-row strong {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.consent-row-optional {
    border-style: dashed;
    background: #fff;
}

.checkout-submit {
    width: 100%;
}

.checkout-security-note {
    margin: 14px 0 0;
    color: var(--muted);
    text-align: center;
}

.field-error,
.form-alert {
    color: #a92f2f;
    font-size: .88rem;
}

.form-alert,
.form-success {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff0ef;
}

.form-alert ul {
    margin: 0;
    padding-left: 20px;
}

.form-success {
    color: var(--green-dark);
    background: var(--soft);
}

.commerce-status-card,
.access-shell,
.legal-document {
    padding: clamp(28px, 6vw, 64px);
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(20, 43, 34, .08);
}

.commerce-status-card {
    width: min(100% - 32px, 820px);
}

.access-request {
    max-width: 620px;
}

.access-products {
    display: grid;
    gap: 10px;
    margin: 24px 0 30px;
}

.access-products article {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 15px 18px;
    border-radius: 12px;
    background: var(--soft);
}

.access-products span,
.access-placeholder {
    color: var(--muted);
}

.access-modules {
    margin-top: 24px;
}

.legal-shell {
    max-width: 940px;
}

.legal-copy {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.72;
}

.legal-copy h2 {
    margin: 44px 0 14px;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.legal-copy h3 {
    margin: 30px 0 12px;
    font-size: 1.2rem;
}

.legal-copy p,
.legal-copy ul {
    margin: 0 0 16px;
}

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

@media (max-width: 800px) {
    .commerce-hero,
    .legal-hero {
        padding: 42px 0 70px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary,
    .checkout-form {
        padding: 28px 22px;
    }

    .checkout-summary h1,
    .commerce-status-card h1,
    .access-shell h1,
    .legal-document h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .checkout-price {
        font-size: 3rem;
    }

    .consent-row {
        padding: 13px;
    }

    .commerce-status-card,
    .access-shell,
    .legal-document {
        padding: 28px 22px;
    }
}
