/*
Theme Name: ALVYRA
Theme URI: https://alvyra.fr/
Author: 2Cafés
Description: Thème de production ALVYRA fondé sur la direction V1 - Sérénité humaine.
Version: 0.7.28
Text Domain: alvyra
*/

:root {
    --green: #0f4129;
    --green-2: #267b52;
    --mint: #84caa8;
    --gold: #c8aa73;
    --gold-light: #ecd9b5;
    --ivory: #f3eadc;
    --paper: #fbf7f0;
    --ink: #17231c;
    --gray: #59615d;
    --white: #fff;
    --pale-green: #edf3ed;
    --line: rgba(38, 123, 82, 0.18);
    --shadow: 0 24px 70px rgba(15, 65, 41, 0.12);
    --sans: "Montserrat", Arial, sans-serif;
    --serif: "Cormorant Garamond", Georgia, serif;
    --display: "Cinzel", Georgia, serif;
    --page: min(1240px, calc(100vw - 64px));
    --wide: min(1560px, calc(100vw - 48px));
}

* {
    box-sizing: border-box;
}

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

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

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

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

.screen-reader-text {
    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:focus {
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 18px;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    clip: auto;
    overflow: visible;
    background: var(--white);
    color: var(--green);
    font-weight: 700;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.environment-ribbon {
    min-height: 32px;
    padding: 7px max(20px, calc((100vw - 1240px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--green);
    color: var(--white);
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.environment-ribbon span {
    color: var(--gold-light);
    font-weight: 700;
}

.environment-ribbon strong {
    font-weight: 500;
}

.site-header {
    width: var(--page);
    min-height: 110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    position: relative;
    z-index: 30;
}

.brand {
    width: 205px;
    flex: 0 0 auto;
}

.brand .custom-logo-link,
.brand > img {
    display: block;
}

.brand img,
.brand .custom-logo {
    width: 100%;
    height: 82px;
    object-fit: contain;
    object-position: left center;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(17px, 2vw, 32px);
}

.primary-nav .menu,
.footer-meta .menu {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: inherit;
    list-style: none;
}

.primary-nav li,
.footer-meta li {
    margin: 0;
    padding: 0;
}

.primary-nav a {
    position: relative;
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-decoration: none;
}

.primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-nav .nav-cta {
    padding: 12px 20px;
    border: 1px solid var(--green);
    border-radius: 999px;
    transition: background 180ms ease, color 180ms ease;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
    background: var(--green);
    color: var(--white);
}

.menu-toggle {
    display: none;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--green-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero {
    width: var(--wide);
    min-height: 740px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(430px, 0.85fr) minmax(560px, 1.15fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 12px 12px 180px 12px;
    background: var(--ivory);
}

.hero-media {
    grid-column: 2;
    grid-row: 1;
    min-height: 740px;
}

.hero-media picture {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-copy {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: clamp(64px, 6vw, 104px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(52px, 5.2vw, 75px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.hero h1 em {
    display: block;
    margin-top: 12px;
    color: var(--green-2);
    font-weight: 500;
}

.hero-lead {
    max-width: 610px;
    margin: 28px 0 0;
    color: var(--gray);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.7;
}

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

.button {
    min-height: 50px;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green);
    border-radius: 999px;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
    background: var(--green);
    color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--green-2);
}

.button-secondary {
    background: transparent;
}

.hero-trust {
    margin: 38px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    list-style: none;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hero-trust li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.promise-band {
    width: 100%;
    min-height: 148px;
    margin-top: 42px;
    padding: 0 max(32px, calc((100vw - 1460px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #f0e6d6;
}

.promise-band p {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(24px, 2.6vw, 38px);
    font-style: italic;
}

.promise-band span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.guarantees-section,
.eligibility-section,
.principles-section,
.faq-section {
    width: var(--wide);
    margin: 0 auto;
    padding: 148px 0;
}

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

.section-heading h2,
.professions-copy h2,
.closing-section h2,
.standard-page-header h1,
.not-found h1 {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 70px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.section-heading > p:last-child {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--gray);
}

.guarantee-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.guarantee-grid article {
    min-height: 500px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--line);
    border-radius: 48px 10px;
    background: rgba(255, 255, 255, 0.72);
}

.guarantee-grid article:nth-child(2) {
    background: var(--ivory);
}

.guarantee-grid .card-number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: var(--gold);
    font-family: var(--display);
    font-size: 11px;
}

.line-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.line-icon img {
    width: 28px;
    height: 28px;
}

.guarantee-amount {
    margin-bottom: 12px;
    color: var(--green-2);
    font-family: var(--display);
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.guarantee-grid h3 {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 600;
    line-height: 1.08;
}

.guarantee-grid p {
    margin: 18px 0 24px;
    color: var(--gray);
    font-size: 13px;
}

.guarantee-grid a {
    margin-top: auto;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-facts-section {
    width: 100%;
    padding: 130px max(32px, calc((100vw - 1400px) / 2));
    background: var(--green);
    color: var(--white);
}

.client-facts-section .section-heading h2 {
    color: var(--white);
}

.client-facts-section .eyebrow {
    color: var(--gold-light);
}

.client-facts-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.client-facts-grid article {
    min-height: 250px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.client-facts-grid article:last-child {
    border-right: 0;
}

.client-facts-grid span {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.client-facts-grid strong {
    margin: 34px 0 18px;
    font-family: var(--serif);
    font-size: clamp(35px, 3.8vw, 58px);
    font-weight: 500;
    line-height: 0.95;
}

.client-facts-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.source-alert {
    margin-top: 34px;
    padding: 22px 26px;
    border: 1px solid rgba(236, 217, 181, 0.5);
    background: rgba(243, 234, 220, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.source-alert strong {
    color: var(--gold-light);
}

.professions-section {
    width: 100%;
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(420px, 0.82fr) minmax(560px, 1.18fr);
    overflow: hidden;
    border-radius: 0 180px 0 180px;
}

.professions-visual {
    min-width: 0;
    padding: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--green);
    color: var(--white);
    text-align: center;
}

.professions-visual img {
    width: min(320px, 70%);
    margin-bottom: 32px;
    opacity: 0.24;
    filter: brightness(0) invert(1);
}

.professions-visual strong {
    font-family: var(--serif);
    font-size: clamp(64px, 8vw, 120px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.85;
}

.professions-visual p {
    margin: 25px 0 0;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.professions-copy {
    padding: clamp(64px, 8vw, 120px);
    padding-right: max(64px, calc((100vw - 1320px) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ivory);
}

.professions-copy > p:not(.eyebrow) {
    max-width: 610px;
    margin: 30px 0 0;
    color: var(--gray);
}

.profession-tags {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profession-tags span {
    padding: 8px 13px;
    border: 1px solid rgba(15, 65, 41, 0.25);
    border-radius: 999px;
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
}

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

.coverage-notes article {
    padding: 24px;
    border: 1px solid rgba(15, 65, 41, 0.2);
    background: rgba(255, 255, 255, 0.35);
}

.coverage-notes h3 {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.05;
}

.coverage-notes p {
    margin: 14px 0 0;
    color: var(--gray);
    font-size: 12px;
}

.content-source-note {
    margin-top: 18px !important;
    color: var(--green-2) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eligibility-section {
    background: var(--paper);
}

.eligibility-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.eligibility-grid article {
    min-height: 320px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px 64px 12px 12px;
    background: var(--white);
}

.eligibility-grid article:nth-child(2) {
    border-radius: 64px 12px 12px 12px;
    background: var(--ivory);
}

.eligibility-grid article:nth-child(3) {
    border-radius: 12px 12px 64px 12px;
}

.eligibility-grid span {
    color: var(--gold);
    font-family: var(--display);
    font-size: 12px;
}

.eligibility-grid strong {
    margin-top: auto;
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(34px, 3.6vw, 52px);
    font-weight: 600;
    line-height: 1;
}

.eligibility-grid p {
    margin: 18px 0 0;
    color: var(--gray);
    font-size: 13px;
}

.section-status {
    margin: 28px 0 0;
    color: var(--green-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.journey-section {
    width: 100%;
    padding: 148px max(32px, calc((100vw - 1400px) / 2));
    background: var(--pale-green);
}

.journey-section .section-heading {
    max-width: 1100px;
}

.journey-section .section-heading h2 {
    text-wrap: balance;
}

.journey-sequence {
    white-space: nowrap;
}

.journey-list {
    margin: 70px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
}

.journey-list li {
    min-height: 340px;
    padding: 42px;
    display: block;
    border: 1px solid var(--line);
    border-radius: 76px 8px 8px;
    background: rgba(255, 255, 255, 0.72);
}

.journey-list li:nth-child(2) {
    border-radius: 8px 76px 8px 8px;
}

.journey-list li:nth-child(3) {
    border-radius: 8px 8px 76px 8px;
}

.journey-list li > span {
    display: block;
    margin-bottom: 82px;
    color: var(--gold);
    font-family: var(--display);
    font-size: 12px;
}

.journey-list h3 {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.05;
}

.journey-list p {
    margin: 12px 0 0;
    color: var(--gray);
    font-size: 13px;
}

.journey-tech {
    margin-top: 28px;
    padding: 22px 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 34px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.5);
}

.journey-tech p {
    margin: 0;
    color: var(--gray);
    font-size: 11px;
}

.journey-tech strong {
    color: var(--green);
}

.member-section {
    width: 100%;
    padding: 130px max(32px, calc((100vw - 1400px) / 2));
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.15fr);
    gap: clamp(60px, 9vw, 150px);
    align-items: center;
    background: var(--green);
    color: var(--white);
}

.member-copy h2 {
    margin: 0;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(44px, 5vw, 70px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.member-copy > p:not(.eyebrow) {
    max-width: 610px;
    margin: 28px 0;
    color: rgba(255, 255, 255, 0.72);
}

.member-copy .eyebrow {
    color: var(--gold-light);
}

.status-badge {
    padding: 10px 14px;
    display: inline-flex;
    border: 1px solid rgba(236, 217, 181, 0.55);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.member-features {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.member-features li {
    min-height: 96px;
    padding: 24px 50px 24px 0;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.1;
}

.member-features li::after {
    content: "✓";
    position: absolute;
    right: 4px;
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: 18px;
}

.principles-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
    gap: clamp(60px, 9vw, 150px);
    align-items: start;
}

.principles-section .section-heading {
    position: sticky;
    top: 32px;
}

.brand-values {
    max-width: 580px;
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-values span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.principles-grid {
    border-top: 1px solid var(--line);
}

.principles-grid article {
    min-height: 170px;
    padding: 30px 0;
    display: grid;
    grid-template-columns: 54px minmax(140px, 0.48fr) 1fr;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.principles-grid article > span {
    color: var(--gold);
    font-family: var(--display);
    font-size: 11px;
}

.principles-grid h3 {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
}

.principles-grid p {
    margin: 0;
    color: var(--gray);
    font-size: 13px;
}

.faq-section {
    padding-right: clamp(40px, 4vw, 72px);
    padding-left: clamp(40px, 4vw, 72px);
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(560px, 1.2fr);
    gap: clamp(60px, 9vw, 150px);
    background: var(--ivory);
}

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

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

.faq-list summary {
    padding: 30px 52px 30px 0;
    position: relative;
    color: var(--green);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.15;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    color: var(--green-2);
    font-family: var(--sans);
    font-size: 24px;
    font-weight: 400;
    transform: translateY(-50%);
}

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

.faq-list details p {
    max-width: 650px;
    margin: -6px 0 30px;
    color: var(--gray);
    font-size: 14px;
}

.closing-section {
    min-height: 620px;
    padding: 100px max(32px, calc((100vw - 1000px) / 2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 160px 160px 0 0;
    background: #dceadf;
    color: var(--green);
    text-align: center;
}

.closing-section h2 em {
    color: var(--green-2);
    font-weight: 500;
}

.closing-section > p:not(.eyebrow) {
    max-width: 650px;
    margin: 28px auto;
    color: var(--gray);
}

.site-footer {
    width: var(--page);
    min-height: 220px;
    margin: 0 auto;
    padding: 52px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.footer-brand img {
    width: 160px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
}

.site-footer p,
.site-footer a {
    color: var(--gray);
    font-size: 11px;
}

.site-footer p {
    margin: 5px 0 0;
}

.footer-meta {
    max-width: 560px;
    text-align: right;
}

.footer-meta nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.footer-meta .menu {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.footer-meta a {
    color: var(--green);
    font-weight: 600;
}

.standard-page,
.not-found {
    width: var(--page);
    min-height: 65vh;
    margin: 0 auto;
    padding: 90px 0 130px;
}

.standard-page-header {
    max-width: 900px;
    padding-bottom: 54px;
    border-bottom: 1px solid var(--line);
}

.standard-page-content {
    max-width: 820px;
    padding-top: 54px;
}

.standard-page-content h2,
.standard-page-content h3,
.post-summary h2 {
    color: var(--green);
    font-family: var(--serif);
}

.standard-page-content h2 {
    margin-top: 52px;
    font-size: 38px;
}

.standard-page-content h3 {
    margin-top: 38px;
    font-size: 28px;
}

.standard-page-content p,
.standard-page-content li {
    color: var(--gray);
}

.post-summary {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.post-summary h2 {
    margin: 0;
    font-size: 34px;
}

.post-summary a {
    text-decoration: none;
}

.not-found {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.not-found > p:not(.eyebrow) {
    margin: 24px 0 32px;
    color: var(--gray);
}

.journey-link,
.text-link {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-transform: uppercase;
}

.member-copy .button {
    margin-top: 24px;
}

.flow-page {
    padding-bottom: 130px;
}

.flow-page h1,
.flow-page h2 {
    margin-top: 0;
    color: var(--green);
    font-family: var(--serif);
    font-weight: 500;
    line-height: 0.98;
}

.flow-hero,
.activities-hero,
.member-hero {
    width: var(--wide);
    min-height: 430px;
    margin: 0 auto;
    padding: clamp(70px, 8vw, 125px) clamp(40px, 8vw, 130px);
    display: grid;
    grid-template-columns: minmax(0, 830px) auto;
    align-items: end;
    gap: 80px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 110px 0;
    background: var(--ivory);
}

.flow-hero h1,
.activities-hero h1,
.member-hero h1 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(54px, 6vw, 86px);
}

.flow-hero > div > p:last-child,
.activities-hero > div > p:last-child,
.member-hero > div > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--gray);
    font-size: 17px;
}

.flow-hero-index {
    color: var(--gold);
    font-family: var(--serif);
    font-size: clamp(90px, 13vw, 180px);
    font-weight: 500;
    line-height: 0.7;
    opacity: 0.55;
}

.flow-hero-dark {
    background: var(--green);
}

.flow-hero-dark h1,
.flow-hero-dark .eyebrow,
.flow-hero-dark > div > p:last-child {
    color: var(--white);
}

.flow-hero-dark .flow-hero-index {
    color: var(--mint);
}

.flow-hero-soft {
    background: var(--pale-green);
}

.flow-progress {
    width: var(--page);
    margin: 0 auto;
}

.flow-progress ol {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    border-bottom: 1px solid var(--line);
}

.flow-progress a {
    min-height: 92px;
    padding: 24px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    color: var(--gray);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.flow-progress a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: transparent;
}

.flow-progress span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
}

.flow-progress .is-current a {
    color: var(--green);
}

.flow-progress .is-current a::after {
    background: var(--green);
}

.flow-shell {
    width: var(--page);
    margin: 0 auto;
    padding-top: 72px;
}

.environment-notice {
    margin-bottom: 64px;
    padding: 24px 30px;
    display: grid;
    grid-template-columns: minmax(180px, 0.35fr) 1fr;
    gap: 26px;
    border: 1px solid rgba(200, 170, 115, 0.5);
    background: rgba(236, 217, 181, 0.35);
}

.environment-notice strong {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.environment-notice p {
    margin: 0;
    color: var(--gray);
    font-size: 13px;
}

.form-section {
    padding: 64px 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(50px, 8vw, 120px);
    border-top: 1px solid var(--line);
}

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

.form-section-heading > span,
.panel-index {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 18px;
}

.form-section-heading h2 {
    max-width: 390px;
    font-size: clamp(40px, 4vw, 58px);
}

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

.form-grid label,
.form-grid fieldset {
    min-width: 0;
}

.form-grid label > span:first-child,
.form-grid legend {
    margin-bottom: 9px;
    display: block;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-grid input:not([type="checkbox"]),
.form-grid select {
    width: 100%;
    min-height: 55px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: var(--white);
    color: var(--ink);
}

.form-grid input:focus,
.form-grid select:focus {
    border-color: var(--green-2);
    box-shadow: 0 0 0 3px rgba(132, 202, 168, 0.25);
}

.form-grid fieldset {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--white);
}

.field-wide {
    grid-column: 1 / -1;
}

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

.choice-field {
    padding: 17px 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--gray);
    font-size: 13px;
}

.choice-field input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--green);
    flex: 0 0 auto;
}

.choice-field + .text-link {
    margin-top: 18px;
    display: inline-block;
}

.form-actions {
    padding: 38px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    border-top: 1px solid var(--line);
}

.form-actions p {
    max-width: 420px;
    margin: 0;
    color: var(--gray);
    font-size: 12px;
}

.form-submit-message {
    padding: 34px;
    border: 1px solid var(--line);
    background: var(--pale-green);
}

.form-submit-message strong {
    color: var(--green);
    font-family: var(--serif);
    font-size: 27px;
}

.form-submit-message p {
    color: var(--gray);
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: start;
}

.order-summary {
    padding: 48px;
    position: sticky;
    top: 26px;
    background: var(--ivory);
    border-radius: 0 0 70px 0;
}

.order-summary h2,
.flow-panel h2,
.confirmation-card h2,
.document-grid h2,
.member-overview h2,
.dashboard-panel h2,
.activity-main h2,
.activity-rules h2,
.flow-next h2 {
    font-size: clamp(32px, 3.3vw, 48px);
}

.order-summary dl {
    margin: 40px 0 0;
}

.order-summary dl > div {
    padding: 18px 0;
    display: grid;
    gap: 4px;
    border-top: 1px solid var(--line);
}

.order-summary dt {
    color: var(--gray);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.order-summary dd {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
}

.contract-note {
    margin: 26px 0 0;
    color: var(--gray);
    font-size: 11px;
}

.payment-methods {
    display: grid;
}

.flow-panel {
    padding: 48px 0;
    border-top: 1px solid var(--line);
}

.flow-panel > p:not(.eyebrow) {
    max-width: 650px;
    color: var(--gray);
}

.signature-strip {
    margin-top: 30px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    background: var(--pale-green);
    color: var(--gray);
    font-size: 12px;
}

.signature-strip strong {
    color: var(--green);
}

.flow-next {
    margin-top: 80px;
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border-radius: 0 70px 0 0;
    background: var(--green);
}

.flow-next h2,
.flow-next .eyebrow {
    color: var(--white);
}

.flow-next h2 {
    margin-bottom: 0;
}

.flow-next .button-primary {
    border-color: var(--white);
    background: var(--white);
    color: var(--green);
    flex: 0 0 auto;
}

.confirmation-card {
    max-width: 920px;
    margin: 0 auto 65px;
    text-align: center;
}

.confirmation-mark {
    width: 82px;
    height: 82px;
    margin: 0 auto 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--green);
    font-size: 30px;
}

.confirmation-card > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--gray);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.document-grid article {
    min-height: 390px;
    padding: 46px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid var(--line);
}

.document-grid article:last-child {
    border-right: 0;
}

.document-grid article > span:first-child {
    margin-bottom: 50px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.document-grid h2 {
    font-size: 32px;
}

.document-grid p {
    color: var(--gray);
    font-size: 13px;
}

.document-grid .button {
    margin-top: auto;
}

.button-disabled {
    border-color: rgba(89, 97, 93, 0.25);
    color: #7d8580;
    cursor: not-allowed;
    opacity: 0.8;
}

.member-hero {
    min-height: 400px;
    align-items: center;
    background: var(--green);
}

.member-hero h1,
.member-hero .eyebrow,
.member-hero > div > p:last-child {
    color: var(--white);
}

.member-identity {
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.member-identity > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green);
    font-family: var(--serif);
    font-size: 25px;
}

.member-identity strong,
.member-identity small {
    display: block;
}

.member-identity small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
}

.member-nav {
    margin-bottom: 52px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.member-nav a {
    padding: 11px 16px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    color: var(--gray);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.member-nav .is-active {
    background: var(--green);
    color: var(--white);
}

.member-overview {
    padding: 54px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--ivory);
}

.member-overview h2 {
    margin-bottom: 0;
}

.member-overview dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.member-overview dl > div {
    padding: 8px 25px;
    border-left: 1px solid var(--line);
}

.member-overview dt {
    color: var(--gray);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.member-overview dd {
    margin: 12px 0 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 21px;
}

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

.dashboard-panel {
    min-height: 410px;
    padding: 46px;
    border: 1px solid var(--line);
    background: var(--white);
}

.dashboard-panel > p:not(.eyebrow) {
    color: var(--gray);
}

.dashboard-documents {
    grid-row: span 2;
}

.dashboard-documents ul,
.coverage-list {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.dashboard-documents li,
.coverage-list > div {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.dashboard-documents strong,
.dashboard-documents span,
.coverage-list dt,
.coverage-list dd {
    display: block;
}

.dashboard-documents strong,
.coverage-list dd {
    color: var(--green);
    font-family: var(--serif);
    font-size: 20px;
}

.dashboard-documents span,
.coverage-list dt {
    color: var(--gray);
    font-size: 10px;
}

.coverage-list dd {
    margin: 0;
}

.dashboard-support {
    min-height: 300px;
    grid-column: 1 / -1;
    background: var(--pale-green);
}

.dashboard-support p {
    max-width: 720px;
}

.activities-hero {
    background: var(--ivory);
}

.activities-hero > strong {
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(100px, 15vw, 220px);
    font-weight: 500;
    line-height: 0.7;
}

.activity-main {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.activity-main p:last-child {
    color: var(--gray);
}

.activity-directory {
    padding: 90px 0;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(60px, 8vw, 130px);
}

.activity-directory .section-heading {
    margin: 0;
}

.activity-directory ul {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    border-top: 1px solid var(--line);
}

.activity-directory li {
    min-height: 82px;
    padding: 20px 12px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--green);
    font-family: var(--serif);
    font-size: 22px;
}

.activity-directory li:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.activity-directory li span {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 9px;
}

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

.activity-rules section {
    padding: 55px;
    background: var(--pale-green);
}

.activity-rules section:last-child {
    background: var(--ivory);
}

.activity-rules ol,
.activity-rules ul {
    margin: 30px 0 0;
    padding-left: 22px;
    color: var(--gray);
}

.activity-rules li {
    margin: 12px 0;
}

.primary-activities {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: clamp(50px, 8vw, 120px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.primary-activities .section-heading {
    margin: 0;
}

.primary-activities ol {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    border-top: 1px solid var(--line);
}

.primary-activities li {
    min-height: 76px;
    padding: 18px 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--green);
    font-family: var(--serif);
    font-size: 21px;
}

.primary-activities li:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.primary-activities li span {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 9px;
}

.activity-directory-complete {
    align-items: start;
}

.activity-directory-complete > div:last-child {
    max-height: 1040px;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-color: var(--green-2) var(--ivory);
}

.activity-directory-complete ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-directory-complete li {
    min-height: 74px;
    align-items: flex-start;
    font-family: var(--sans);
    font-size: 13px;
}

.activity-directory-complete li div {
    min-width: 0;
}

.activity-directory-complete li strong,
.activity-directory-complete li small {
    display: block;
}

.activity-directory-complete li strong {
    color: var(--green);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.05;
}

.activity-directory-complete li small {
    margin-top: 7px;
    color: var(--gray);
    font-size: 10px;
    line-height: 1.45;
}

.activity-search {
    margin-top: 34px;
    display: block;
}

.activity-search > span {
    margin-bottom: 9px;
    display: block;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.activity-search input {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: var(--white);
    color: var(--ink);
}

.activity-search input:focus {
    border-color: var(--green-2);
    box-shadow: 0 0 0 3px rgba(132, 202, 168, 0.25);
}

.activity-search-count {
    color: var(--gray);
    font-size: 11px;
}

.activity-search-count strong {
    color: var(--green);
}

.activity-empty {
    padding: 28px;
    color: var(--gray);
    border: 1px solid var(--line);
    background: var(--ivory);
}

.activity-empty[hidden] {
    display: none;
}

[data-activity-option][hidden] {
    display: none !important;
}

.rule-source,
.activity-rules p,
.programme-conditions p,
.programme-conditions li {
    color: var(--gray);
}

.rule-source {
    margin-top: 24px;
    font-size: 11px;
}

.programme-conditions {
    padding: 90px 0;
    border-bottom: 1px solid var(--line);
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.condition-grid article {
    min-height: 320px;
    padding: 38px;
    border-right: 1px solid var(--line);
}

.condition-grid article:last-child {
    border-right: 0;
}

.condition-grid h3 {
    margin: 0 0 26px;
    color: var(--green);
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 500;
    line-height: 1.02;
}

.condition-grid ul {
    margin: 0;
    padding-left: 18px;
}

.condition-grid li {
    margin: 12px 0;
}

.form-grid label > small,
.form-help {
    margin-top: 8px;
    display: block;
    color: var(--gray);
    font-size: 10px;
    line-height: 1.5;
}

.activity-picker {
    padding: 28px !important;
}

.activity-options {
    max-height: 470px;
    margin-top: 18px;
    display: grid;
    overflow: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    scrollbar-color: var(--green-2) var(--ivory);
}

.activity-option {
    min-height: 62px;
    padding: 12px 6px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.activity-option:last-of-type {
    border-bottom: 0;
}

.activity-option input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--green);
    flex: 0 0 auto;
}

.activity-option strong,
.activity-option small {
    display: block;
}

.activity-option strong {
    color: var(--green);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.05;
}

.activity-option small {
    margin-top: 5px;
    color: var(--gray);
    font-size: 9px;
}

.activity-picker-footer {
    padding: 14px 0 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--gray);
    font-size: 10px;
}

.activity-picker-footer strong {
    color: var(--green);
}

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

.upload-field {
    min-height: 210px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--line);
    background: var(--white);
}

.upload-index {
    margin-bottom: 26px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 18px;
}

.upload-field strong {
    color: var(--green);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.08;
}

.upload-field input {
    width: 100%;
    margin-top: auto;
    padding-top: 22px;
    color: var(--gray);
    font-size: 10px;
}

.upload-field input::file-selector-button {
    margin-right: 10px;
    padding: 9px 12px;
    border: 1px solid var(--green);
    background: transparent;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.upload-field small {
    margin-top: 8px;
    color: var(--gray);
    font-size: 9px;
}

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

.tariff-choices > label {
    min-height: 190px;
    padding: 26px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid var(--line);
    background: var(--white);
}

.tariff-choices > label:has(input:checked) {
    border-color: var(--green);
    background: var(--pale-green);
}

.tariff-choices input {
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    accent-color: var(--green);
}

.tariff-choices label span,
.tariff-choices label strong,
.tariff-choices label small {
    display: block;
}

.tariff-choices label span {
    color: var(--gray);
    font-size: 12px;
}

.tariff-choices label strong {
    margin-bottom: 18px;
    color: var(--green);
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
}

.tariff-choices label small {
    margin-top: 10px;
    font-size: 9px;
}

.selected-tariff {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px 22px;
    background: var(--green);
    color: var(--white);
    font-size: 12px;
}

.selected-tariff strong {
    color: var(--mint);
}

.legal-warning {
    margin: 22px 0;
    padding: 24px;
    border-left: 3px solid var(--gold);
    background: var(--ivory);
}

.legal-warning strong {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-warning p {
    margin: 10px 0 0;
    color: var(--gray);
    font-size: 12px;
}

.signature-fields {
    margin-top: 24px;
}

.tariff-choices-compact {
    margin-top: 26px;
}

.tariff-choices-compact > label {
    min-height: 140px;
}

.confirmation-email {
    margin-top: 30px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: minmax(180px, 0.35fr) 1fr;
    gap: 26px;
    background: var(--pale-green);
}

.confirmation-email strong {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.confirmation-email p {
    margin: 0;
    color: var(--gray);
    font-size: 12px;
}

@media (max-width: 1120px) {
    :root {
        --page: min(100% - 40px, 960px);
        --wide: calc(100% - 24px);
    }

    .site-header {
        gap: 20px;
    }

    .brand {
        width: 176px;
    }

    .primary-nav {
        gap: 15px;
    }

    .primary-nav a {
        font-size: 9px;
    }

    .hero {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    }

    .hero-copy {
        padding: 52px;
    }

    .professions-section {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .professions-copy {
        padding-right: 52px;
    }

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

    .client-facts-grid article:nth-child(2) {
        border-right: 0;
    }

    .client-facts-grid article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .member-section {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .principles-section,
    .faq-section {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .principles-section .section-heading {
        position: static;
    }
}

@media (max-width: 760px) {
    :root {
        --page: calc(100% - 32px);
        --wide: 100%;
    }

    .environment-ribbon {
        min-height: 34px;
        padding: 7px 16px;
        justify-content: center;
        text-align: center;
    }

    .environment-ribbon span {
        display: none;
    }

    .site-header {
        min-height: 86px;
    }

    .brand {
        width: 156px;
    }

    .brand img,
    .brand .custom-logo {
        height: 68px;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: var(--paper);
    }

    .menu-toggle > span:not(.screen-reader-text) {
        height: 1px;
        background: var(--green);
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        inset: 116px 16px auto;
        padding: 28px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid var(--line);
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav .menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .primary-nav a {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
        font-size: 11px;
    }

    .primary-nav .nav-cta {
        margin-top: 18px;
        padding: 13px;
        border-radius: 999px;
        text-align: center;
    }

    .hero {
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: visible;
        border-radius: 0;
    }

    .hero-media {
        width: 100%;
        height: 360px;
        min-height: 0;
        order: 1;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
        padding: 46px 24px 54px;
        order: 2;
        background: var(--ivory);
    }

    .hero h1 {
        font-size: clamp(37px, 10.5vw, 44px);
    }

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

    .button {
        width: 100%;
    }

    .promise-band {
        min-height: 72px;
        margin-top: 0;
        padding: 0 18px;
        gap: 8px;
    }

    .promise-band p {
        font-family: var(--sans);
        font-size: 9px;
        font-style: normal;
        font-weight: 700;
        letter-spacing: 0.035em;
        text-transform: uppercase;
    }

    .guarantees-section,
    .eligibility-section,
    .principles-section,
    .faq-section,
    .journey-section {
        width: 100%;
        padding: 88px 16px;
    }

    .section-heading h2,
    .professions-copy h2,
    .closing-section h2,
    .standard-page-header h1,
    .not-found h1 {
        font-size: 44px;
    }

    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .guarantee-grid article {
        min-height: 0;
        padding: 30px;
        border-radius: 32px 8px;
    }

    .line-icon {
        margin-bottom: 48px;
    }

    .client-facts-section,
    .member-section {
        padding: 88px 24px;
    }

    .client-facts-grid {
        grid-template-columns: 1fr;
    }

    .client-facts-grid article,
    .client-facts-grid article:nth-child(2) {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .client-facts-grid article:last-child {
        border-bottom: 0;
    }

    .professions-section {
        min-height: 0;
        display: flex;
        flex-direction: column;
        border-radius: 0;
    }

    .professions-visual {
        min-height: 430px;
        padding: 48px 24px;
        order: 1;
    }

    .professions-visual strong {
        font-size: clamp(58px, 19vw, 88px);
    }

    .professions-copy {
        padding: 74px 24px;
        order: 2;
    }

    .coverage-notes,
    .eligibility-grid {
        grid-template-columns: 1fr;
    }

    .eligibility-grid article,
    .eligibility-grid article:nth-child(2),
    .eligibility-grid article:nth-child(3) {
        min-height: 250px;
        padding: 30px;
        border-radius: 38px 8px 8px;
    }

    .journey-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .journey-list li,
    .journey-list li:nth-child(2),
    .journey-list li:nth-child(3) {
        min-height: 0;
        padding: 30px;
        display: grid;
        grid-template-columns: 54px 1fr;
        border-radius: 38px 6px 6px;
    }

    .journey-list li > span {
        margin-bottom: 0;
    }

    .journey-list h3 {
        font-size: 27px;
    }

    .journey-tech {
        padding: 22px;
        display: grid;
        gap: 10px;
    }

    .member-section {
        grid-template-columns: 1fr;
    }

    .member-copy h2 {
        font-size: 44px;
    }

    .member-features li {
        min-height: 84px;
        font-size: 22px;
    }

    .principles-grid article {
        min-height: 0;
        grid-template-columns: 44px 1fr;
    }

    .principles-grid article p {
        grid-column: 2;
    }

    .faq-list summary {
        font-size: 23px;
    }

    .faq-section {
        padding-right: 24px;
        padding-left: 24px;
    }

    .closing-section {
        min-height: 540px;
        padding: 78px 24px;
        border-radius: 56px 56px 0 0;
    }

    .site-footer {
        min-height: 0;
        padding: 48px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-meta,
    .footer-meta nav,
    .footer-meta .menu {
        text-align: left;
        justify-content: flex-start;
    }

    .standard-page,
    .not-found {
        padding: 64px 0 88px;
    }
}

@media (max-width: 900px) {
    .flow-hero,
    .activities-hero,
    .member-hero {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .flow-hero-index {
        position: absolute;
        right: 40px;
        bottom: 45px;
        opacity: 0.16;
    }

    .form-section,
    .payment-layout,
    .activity-directory {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .document-grid,
    .activity-rules,
    .member-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .document-grid article {
        min-height: 300px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .document-grid article:last-child {
        border-bottom: 0;
    }

    .member-overview {
        grid-template-columns: 1fr;
    }

    .dashboard-documents {
        grid-row: auto;
    }

    .dashboard-support {
        grid-column: auto;
    }

    .activity-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .primary-activities {
        grid-template-columns: 1fr;
        gap: 38px;
    }

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

    .condition-grid article {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .condition-grid article:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 760px) {
    .flow-page {
        padding-bottom: 80px;
    }

    .flow-hero,
    .activities-hero,
    .member-hero {
        width: 100%;
        min-height: 430px;
        padding: 60px 24px;
        border-radius: 0;
    }

    .flow-hero h1,
    .activities-hero h1,
    .member-hero h1 {
        font-size: clamp(43px, 13vw, 58px);
    }

    .flow-hero > div > p:last-child,
    .activities-hero > div > p:last-child,
    .member-hero > div > p:last-child {
        font-size: 14px;
    }

    .flow-progress {
        width: 100%;
        overflow-x: auto;
    }

    .flow-progress ol {
        width: 680px;
    }

    .flow-progress a {
        min-height: 76px;
        padding: 18px 16px;
    }

    .flow-shell {
        width: calc(100% - 32px);
        padding-top: 48px;
    }

    .environment-notice {
        margin-bottom: 45px;
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .form-section {
        padding: 48px 0;
        gap: 34px;
    }

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

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

    .field-wide {
        grid-column: auto;
    }

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

    .signature-strip,
    .flow-next {
        align-items: flex-start;
        flex-direction: column;
    }

    .flow-next {
        margin-top: 55px;
        padding: 38px 26px;
        border-radius: 0 45px 0 0;
    }

    .flow-next .button {
        width: 100%;
    }

    .document-grid article,
    .order-summary,
    .dashboard-panel,
    .member-overview,
    .activity-rules section {
        padding: 34px 24px;
    }

    .member-identity {
        width: 100%;
    }

    .member-overview {
        gap: 34px;
    }

    .member-overview dl {
        grid-template-columns: 1fr;
    }

    .member-overview dl > div {
        padding: 15px 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .dashboard-panel {
        min-height: 0;
    }

    .activities-hero > strong {
        font-size: 110px;
    }

    .activity-main {
        padding: 45px 0;
    }

    .activity-directory {
        padding: 60px 0;
        gap: 38px;
    }

    .activity-directory ul {
        grid-template-columns: 1fr;
    }

    .activity-directory li:nth-child(odd) {
        border-right: 0;
    }

    .primary-activities {
        padding: 60px 0;
    }

    .primary-activities ol,
    .upload-grid,
    .tariff-choices {
        grid-template-columns: 1fr;
    }

    .primary-activities li:nth-child(odd) {
        border-right: 0;
    }

    .activity-directory-complete > div:last-child {
        max-height: 760px;
    }

    .activity-picker {
        padding: 20px !important;
    }

    .activity-options {
        max-height: 420px;
    }

    .activity-picker-footer,
    .confirmation-email {
        grid-template-columns: 1fr;
    }

    .activity-picker-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .upload-field {
        min-height: 190px;
    }

    .selected-tariff {
        grid-column: auto;
    }

    .confirmation-email {
        display: grid;
        gap: 8px;
    }

    .condition-grid article {
        padding: 32px 24px;
    }
}

@media (max-width: 420px) {
    .promise-band p:nth-of-type(2) {
        display: none;
    }

    .promise-band span:nth-of-type(2) {
        display: none;
    }

    .guarantee-grid h3 {
        font-size: 26px;
    }
}

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

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

/* Conversion journey 0.5.0 */

.header-quick-cta {
    display: none;
}

.hero-reassurance {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.closing-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.qualification-page [hidden],
.payment-page [hidden],
.confirmation-page [hidden] {
    display: none !important;
}

.qualification-hero {
    min-height: 430px;
}

.qualification-wizard {
    max-width: 1160px;
    margin: 56px auto 0;
}

.wizard-progress {
    position: sticky;
    top: 16px;
    z-index: 12;
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(251, 247, 240, 0.96);
    box-shadow: 0 14px 38px rgba(15, 65, 41, 0.08);
    backdrop-filter: blur(12px);
}

.wizard-progress > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wizard-progress > div:first-child > span {
    color: var(--green-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wizard-progress > div:first-child > strong {
    color: var(--green);
    font-size: 13px;
}

.wizard-progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(38, 123, 82, 0.14);
}

.wizard-progress-track span {
    display: block;
    width: 9%;
    height: 100%;
    border-radius: inherit;
    background: var(--green-2);
    transition: width 220ms ease;
}

.wizard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
}

.wizard-main {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.wizard-step {
    min-height: 520px;
    padding: 54px clamp(28px, 6vw, 68px) 36px;
}

.wizard-step-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.wizard-step-heading h2 {
    margin: 8px 0 12px;
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 600;
    line-height: 1;
}

.wizard-step-heading > p:last-child {
    max-width: 650px;
    margin: 0;
    color: var(--gray);
}

.wizard-search {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.wizard-search > span,
.wizard-fields label > span,
.activity-fallback label > span {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wizard-search input,
.wizard-fields input,
.wizard-fields select,
.activity-fallback textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 65, 41, 0.22);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
}

.activity-fallback textarea {
    min-height: 110px;
    resize: vertical;
}

.wizard-search input:focus,
.wizard-fields input:focus,
.wizard-fields select:focus,
.activity-fallback textarea:focus {
    border-color: var(--green-2);
    outline: 3px solid rgba(38, 123, 82, 0.14);
    outline-offset: 1px;
}

.wizard-activity-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wizard-activity-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 74px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

button.wizard-activity-option:hover,
button.wizard-activity-option:focus-visible,
.wizard-secondary-option:hover,
.wizard-secondary-option:has(input:focus-visible) {
    border-color: var(--green-2);
    background: var(--pale-green);
    transform: translateY(-1px);
}

.wizard-activity-option > span {
    display: grid;
    gap: 3px;
}

.wizard-activity-option strong {
    color: var(--green);
    line-height: 1.3;
}

.wizard-activity-option small {
    color: var(--gray);
    font-size: 11px;
    line-height: 1.45;
}

.wizard-selected {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(38, 123, 82, 0.3);
    border-radius: 12px;
    background: var(--pale-green);
}

.wizard-selected > span {
    grid-column: 1 / -1;
    color: var(--green-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wizard-selected > strong {
    color: var(--green);
}

.text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green-2);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.activity-fallback {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}

.activity-fallback summary {
    color: var(--green);
    font-weight: 700;
    cursor: pointer;
}

.activity-fallback[open] summary {
    margin-bottom: 18px;
}

.activity-fallback label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

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

.wizard-choice-group {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.secondary-proof-list {
    display: grid;
    gap: 26px;
}

.secondary-proof-block {
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--white);
}

.secondary-proof-activity {
    margin-bottom: 14px;
    padding: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.secondary-proof-sworn {
    margin-top: 4px;
}

.siret-lookup-status {
    display: block;
    margin-top: 7px;
    color: var(--green-2);
    font-size: 0.78rem;
    line-height: 1.5;
}

.siret-lookup-status.is-error {
    color: #7b251e;
}

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

.wizard-choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.wizard-choice input {
    position: absolute;
    inset: 20px auto auto 20px;
    width: 18px;
    height: 18px;
    accent-color: var(--green-2);
}

.wizard-choice > span {
    display: grid;
    gap: 5px;
    min-height: 86px;
    padding: 20px 20px 20px 54px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--gray);
    line-height: 1.45;
    transition:
        border-color 160ms ease,
        background 160ms ease;
}

.wizard-choice strong {
    color: var(--green);
    font-size: 16px;
}

.wizard-choice:has(input:checked) > span {
    border-color: var(--green-2);
    background: var(--pale-green);
    box-shadow: inset 0 0 0 1px var(--green-2);
}

.wizard-choice:has(input:focus-visible) > span {
    outline: 3px solid rgba(38, 123, 82, 0.18);
    outline-offset: 2px;
}

.secondary-activity-panel {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.secondary-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.secondary-selected:empty {
    display: none;
}

.secondary-selected span {
    padding: 7px 10px;
    border-radius: 99px;
    background: var(--pale-green);
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
}

.wizard-secondary-results {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 5px;
}

.wizard-secondary-option {
    position: relative;
}

.wizard-secondary-option input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--green-2);
}

.wizard-secondary-option:has(input:checked) {
    border-color: var(--green-2);
    background: var(--pale-green);
}

.wizard-fields {
    gap: 18px;
}

.wizard-fields label {
    display: grid;
    gap: 8px;
}

/* Les champs qui suivent un groupe de choix — dates du sinistre (étape 5) et
   date d'effet du contrat (étape 6) — étaient collés au dernier bouton radio. */
.wizard-choice-group + .form-grid {
    margin-top: 30px;
}

.qualification-result {
    display: grid;
    gap: 20px;
}

.result-status,
.result-guarantees,
.result-documents {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
}

.result-status {
    border-color: rgba(38, 123, 82, 0.35);
    background: var(--pale-green);
}

.result-status > span {
    display: block;
    margin-bottom: 5px;
    color: var(--green-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.result-status > strong {
    display: block;
    color: var(--green);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.1;
}

.result-status p {
    margin: 9px 0 0;
    color: var(--gray);
}

.result-summary,
.final-review,
.confirmation-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.result-summary div,
.final-review div,
.confirmation-summary div {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.result-summary div:nth-child(odd),
.final-review div:nth-child(odd),
.confirmation-summary div:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.result-summary div:nth-last-child(-n + 2),
.final-review div:nth-last-child(-n + 2),
.confirmation-summary div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.result-summary dt,
.final-review dt,
.confirmation-summary dt {
    margin-bottom: 4px;
    color: var(--gray);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.result-summary dd,
.final-review dd,
.confirmation-summary dd {
    margin: 0;
    color: var(--green);
    font-weight: 600;
}

.result-guarantees h3,
.result-documents h3 {
    margin: 0 0 12px;
    color: var(--green);
    font-family: var(--serif);
    font-size: 26px;
}

.result-guarantees ul,
.result-documents ul,
.wizard-aside ul {
    margin: 0;
    padding-left: 20px;
}

.result-guarantees > p {
    margin: 14px 0 0;
    color: var(--gray);
    font-size: 12px;
}

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

.wizard-final-consent {
    margin-top: 24px;
}

.wizard-terms-heading {
    margin-top: 28px;
}

.intermediation-letter-confirmation {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--pale-green);
}

.intermediation-letter-confirmation h3,
.intermediation-letter-confirmation p {
    margin-top: 0;
}

.intermediation-letter-dialog {
    width: min(920px, calc(100vw - 32px));
    height: min(760px, calc(100vh - 32px));
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 28px 90px rgba(15, 65, 41, 0.28);
}

.intermediation-letter-dialog::backdrop {
    background: rgba(8, 27, 18, 0.72);
}

.intermediation-letter-dialog-header,
.intermediation-letter-dialog-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
}

.intermediation-letter-dialog-header {
    border-bottom: 1px solid var(--line);
}

.intermediation-letter-dialog-header h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.intermediation-letter-document {
    display: block;
    width: 100%;
    height: calc(100% - 146px);
    border: 0;
    background: var(--white);
}

.intermediation-letter-dialog-actions {
    border-top: 1px solid var(--line);
}

.wizard-terms-heading h3 {
    margin: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 27px;
}

.wizard-terms-heading p {
    margin: 8px 0 14px;
    color: var(--gray);
    font-size: 13px;
}

.wizard-terms-scroll {
    height: 220px;
    overflow-y: auto;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--ivory);
    color: var(--gray);
    line-height: 1.7;
    scrollbar-color: var(--green-2) var(--sand);
}

.wizard-terms-scroll:focus {
    outline: 3px solid rgba(31, 111, 78, 0.2);
    outline-offset: 2px;
}

.wizard-terms-scroll p {
    margin: 0 0 16px;
}

.wizard-terms-scroll p:last-child {
    margin-bottom: 0;
}

.wizard-terms-status {
    margin: 10px 0 0;
    color: var(--gray);
    font-size: 12px;
    font-weight: 600;
}

.wizard-terms-status.is-complete {
    color: var(--green-2);
}

.wizard-final-consent:has(input:disabled) {
    cursor: not-allowed;
    opacity: 0.58;
}

.wizard-error {
    margin: 0 36px 16px;
    padding: 14px 16px;
    border-left: 4px solid #a83f35;
    border-radius: 6px;
    background: #fff1ee;
    color: #7b251e;
    font-weight: 600;
}

.wizard-actions {
    position: sticky;
    bottom: 0;
    z-index: 8;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px clamp(24px, 5vw, 52px);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
}

.wizard-actions [data-wizard-next] {
    margin-left: auto;
}

.wizard-aside {
    position: sticky;
    top: 124px;
    padding: 28px;
    border: 1px solid rgba(200, 170, 115, 0.45);
    border-radius: 18px;
    background: var(--ivory);
}

.wizard-aside h2 {
    margin: 7px 0 18px;
    color: var(--green);
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1;
}

.wizard-aside li {
    margin-bottom: 9px;
}

.wizard-aside > p:last-child {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 65, 41, 0.16);
    font-size: 13px;
}

.wizard-aside a {
    color: var(--green);
    font-weight: 700;
}

.payment-state-warning,
.confirmation-invalid {
    margin: 48px auto;
    padding: clamp(30px, 6vw, 60px);
    border: 1px solid rgba(200, 170, 115, 0.55);
    border-radius: 18px;
    background: var(--ivory);
    text-align: center;
}

.payment-state-warning strong,
.confirmation-invalid h2 {
    color: var(--green);
}

.confirmation-invalid h2 {
    margin: 8px 0 12px;
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1;
}

.confirmation-invalid p:not(.eyebrow) {
    max-width: 680px;
    margin: 0 auto 24px;
}

.payment-tariff {
    margin: 18px 0 !important;
}

.payment-tariff strong {
    display: block;
    color: var(--green);
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
}

.payment-submit button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.confirmation-summary {
    max-width: 920px;
    margin: 0 auto 40px;
}

@media (max-width: 960px) {
    .wizard-layout {
        grid-template-columns: 1fr;
    }

    .wizard-aside {
        position: static;
        padding: 22px 24px;
    }

    .wizard-aside h2 {
        font-size: 30px;
    }

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

@media (max-width: 760px) {
    .site-header {
        gap: 10px;
    }

    .header-quick-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        margin-left: auto;
        padding: 8px 12px;
        border: 1px solid var(--green);
        border-radius: 99px;
        color: var(--green);
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
    }

    .menu-toggle {
        margin-left: 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        min-height: 210px;
        max-height: 250px;
    }

    .hero-copy {
        padding-top: 30px;
    }

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

    .hero-reassurance {
        margin-top: 0;
        font-size: 12px;
    }

    .qualification-hero {
        min-height: 360px;
    }

    .qualification-wizard {
        margin-top: 32px;
    }

    .wizard-progress {
        top: 8px;
        padding: 14px 16px;
        border-radius: 12px;
    }

    .wizard-layout {
        gap: 16px;
    }

    .wizard-main {
        border-radius: 16px;
    }

    .wizard-step {
        min-height: 480px;
        padding: 34px 20px 28px;
    }

    .wizard-step-heading {
        margin-bottom: 26px;
    }

    .wizard-step-heading h2 {
        font-size: 38px;
    }

    .wizard-activity-results,
    .wizard-choice-grid,
    .wizard-upload-grid,
    .result-summary,
    .final-review,
    .confirmation-summary {
        grid-template-columns: 1fr;
    }

    .result-summary div,
    .final-review div,
    .confirmation-summary div,
    .result-summary div:nth-child(odd),
    .final-review div:nth-child(odd),
    .confirmation-summary div:nth-child(odd),
    .result-summary div:nth-last-child(-n + 2),
    .final-review div:nth-last-child(-n + 2),
    .confirmation-summary div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .result-summary div:last-child,
    .final-review div:last-child,
    .confirmation-summary div:last-child {
        border-bottom: 0;
    }

    .wizard-aside ul {
        grid-template-columns: 1fr;
    }

    .wizard-actions {
        padding: 14px 16px;
    }

    .wizard-actions .button {
        min-width: 0;
        padding-inline: 18px;
    }

    .wizard-error {
        margin-inline: 20px;
    }

    .intermediation-letter-dialog-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .intermediation-letter-dialog-actions .button {
        width: 100%;
    }

    .payment-layout {
        gap: 22px;
    }

    .payment-state-warning,
    .confirmation-invalid {
        margin: 28px auto;
    }
}

@media (max-width: 420px) {
    .header-quick-cta {
        padding-inline: 10px;
        font-size: 10px;
    }

    .wizard-progress > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .wizard-step-heading h2 {
        font-size: 34px;
    }

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

    .wizard-actions [data-wizard-next] {
        width: 100%;
    }
}
