:root {
    color-scheme: light;
    --background: #f6f7f4;
    --card: #ffffff;
    --text: #17221d;
    --muted: #5b6861;
    --border: #dce7df;
    --green: #1f8a5f;
    --green-dark: #176a49;
    --error: #b42318;
    --shadow: 0 18px 45px rgba(35, 52, 42, 0.13);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

button,
input {
    font: inherit;
}

.page-shell {
    width: min(100% - 32px, 640px);
    margin: 0 auto;
    padding: 28px 0 18px;
}

.test-mode-warning {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid #e2b203;
    border-radius: 8px;
    background: #fff7cf;
    color: #604400;
    font-size: 0.92rem;
    text-align: center;
}

.intro {
    margin-bottom: 20px;
    text-align: center;
}

.intro h1 {
    max-width: 900px;
    margin: 0 auto 10px;
    font-size: clamp(2.25rem, 5.8vw, 3.25rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.intro p {
    margin: 0 auto;
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(1rem, 3.5vw, 1.12rem);
}

.hero-benefits {
    display: grid;
    justify-content: center;
    gap: 4px;
    margin: 0 auto;
    padding: 0;
    color: var(--muted);
    font-size: clamp(0.98rem, 3.2vw, 1.08rem);
    line-height: 1.3;
    list-style: none;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.hero-benefits li::before {
    content: "✓";
    color: var(--green-dark);
    font-weight: 800;
}

.credibility-strip {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: center;
    gap: 7px;
    margin: 12px auto 0;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.credibility-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid #d6e8dc;
    border-radius: 999px;
    background: #eef8f1;
    color: var(--green-dark);
    box-shadow: 0 6px 14px rgba(35, 52, 42, 0.04);
}

.jon-intro {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
}

.jon-intro img {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(35, 52, 42, 0.16);
}

.jon-intro p {
    margin: 0;
    max-width: 330px;
    color: var(--muted);
    font-size: inherit;
    text-align: left;
}

.reassurance-pill {
    display: inline-flex;
    margin-top: 12px;
    padding: 5px 9px;
    border: 1px solid rgba(220, 231, 223, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    font-size: 0.88rem;
    font-weight: 700;
}

.cta-reassurance {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.card,
.step-card,
.bottom-cta {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.card {
    padding: 22px;
}

.card h2,
.bottom-cta h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.form-eyebrow {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef7f2;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.helper-text {
    margin: 0 0 20px;
    color: var(--muted);
}

.lead-form {
    display: grid;
    gap: 13px;
}

.form-step {
    display: grid;
    gap: 14px;
}

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

.card:has([data-form-step="2"]:not([hidden])) > .form-eyebrow,
.card:has([data-form-step="2"]:not([hidden])) > h2,
.card:has([data-form-step="2"]:not([hidden])) > .helper-text {
    display: none;
}

.step-two-header {
    display: grid;
    gap: 6px;
    margin-bottom: 4px;
    text-align: center;
}

.step-two-header h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.55rem, 6vw, 1.95rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.step-two-header p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.35;
}

.step-two-active .intro {
    display: none;
}

.quiz-question {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    border: 0;
}

.quiz-question legend {
    padding: 0;
    color: var(--text);
    font-weight: 800;
}

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

.quiz-options label {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #cbd8d0;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
}

.quiz-options input {
    accent-color: var(--green);
}

.quiz-options label:has(input:checked) {
    border-color: var(--green);
    background: #eef7f2;
    color: var(--green-dark);
}

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

.form-row label {
    font-weight: 700;
}

.field-area {
    min-width: 0;
}

.field-helper {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cbd8d0;
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
}

select {
    appearance: none;
    padding-right: 40px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--green-dark) 50%),
        linear-gradient(135deg, var(--green-dark) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

input::placeholder {
    color: #819187;
}

.step-one-field {
    gap: 8px;
}

.step-one-field label,
.subject-question legend {
    color: var(--text);
    font-weight: 800;
}

.subject-question {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    border: 0;
}

.subject-question legend {
    padding: 0;
}

.subject-question > p {
    margin: -2px 0 2px;
    color: var(--muted);
    font-size: 0.92rem;
}

.subject-options {
    display: grid;
    gap: 8px;
    max-height: 330px;
    overflow: auto;
    padding: 2px 2px 4px;
}

.subject-options label {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 10px 11px;
    border: 1px solid #d6e1da;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    font-weight: 700;
}

.subject-options input {
    width: 17px;
    height: 17px;
    accent-color: var(--green);
}

.subject-options label:has(input:checked) {
    border-color: var(--green);
    background: #eef7f2;
    color: var(--green-dark);
}

[data-form-step="2"] .form-row {
    gap: 7px;
}

.lead-capture-field {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.lead-capture-control {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.field-icon {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e7de;
    border-radius: 12px;
    background: linear-gradient(180deg, #f7fbf8 0%, #edf7f1 100%);
    box-shadow: 0 8px 18px rgba(35, 52, 42, 0.08);
    color: var(--text);
}

.field-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
}

[data-form-step="2"] .lead-capture-control label {
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    padding-top: 0;
}

[data-form-step="2"] input[type="text"],
[data-form-step="2"] input[type="tel"],
[data-form-step="2"] input[type="email"] {
    min-height: 58px;
    padding: 15px 16px;
    border-color: #cfdad4;
    border-radius: 10px;
    background: #fdfefe;
    box-shadow: inset 0 1px 2px rgba(35, 52, 42, 0.03), 0 8px 18px rgba(35, 52, 42, 0.05);
    font-size: 1.02rem;
}

input:focus {
    border-color: var(--green);
    outline: 3px solid rgba(31, 138, 95, 0.16);
}

select:focus {
    border-color: var(--green);
    outline: 3px solid rgba(31, 138, 95, 0.16);
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(31, 138, 95, 0.18);
    outline-offset: 3px;
}

.consent-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
}

.consent-row input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--green);
}

.consent-row label {
    color: var(--muted);
    font-size: 0.95rem;
}

[data-form-step="2"] .consent-row {
    margin-top: 2px;
    padding: 13px;
    border: 1px solid #dfe8e2;
    border-radius: 13px;
    background: #fcfefd;
    box-shadow: 0 8px 18px rgba(35, 52, 42, 0.04);
}

[data-form-step="2"] .consent-row input {
    width: 19px;
    height: 19px;
    margin-top: 3px;
}

[data-form-step="2"] .consent-row label {
    font-size: 0.9rem;
    line-height: 1.45;
}

.error-message,
.form-status {
    min-height: 1.1rem;
    margin: 5px 0 0;
    color: var(--error);
    font-size: 0.9rem;
}

.consent-error,
.form-status {
    margin-top: -8px;
}

.primary-button {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

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

.primary-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin: -2px 0 0;
    color: var(--green-dark);
    font-size: 0.86rem;
    font-weight: 800;
    justify-items: center;
    text-align: center;
}

.trust-strip span {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e8dc;
    border-radius: 999px;
    padding: 7px 10px;
    background: #eef8f1;
    box-shadow: 0 6px 14px rgba(35, 52, 42, 0.04);
}

.form-actions {
    display: grid;
    gap: 10px;
}

.submit-note {
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #dfe8e2;
    border-radius: 10px;
    background: #f8fbf9;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: center;
}

[data-form-step="2"] .form-actions {
    gap: 5px;
}

[data-form-step="2"] .form-actions .primary-button {
    order: 1;
}

[data-form-step="2"] .form-actions .back-button {
    order: 2;
}

.back-button {
    min-height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.back-button:hover,
.back-button:focus-visible {
    background: #f3f7f4;
    color: var(--green-dark);
}

[data-form-step="2"] .primary-button {
    min-height: 58px;
    border-radius: 12px;
    box-shadow: 0 12px 22px rgba(31, 138, 95, 0.22);
    font-size: 1rem;
    font-weight: 800;
    position: relative;
}

[data-form-step="2"] .primary-button::after {
    content: "›";
    position: absolute;
    right: 18px;
    font-size: 1.8rem;
    line-height: 1;
}

[data-form-step="2"] .primary-button:hover,
[data-form-step="2"] .primary-button:focus-visible {
    box-shadow: 0 14px 26px rgba(25, 108, 75, 0.24);
}

[data-form-step="2"] .cta-reassurance {
    display: grid;
    gap: 3px;
    margin: 0;
    color: var(--green-dark);
    text-align: center;
}

[data-form-step="2"] .cta-reassurance strong {
    font-size: 0.92rem;
}

[data-form-step="2"] .cta-reassurance span {
    position: relative;
    color: var(--muted);
    font-size: 0.86rem;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.secondary-article-link {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.card:has([data-form-step="2"]:not([hidden])) .secondary-article-link {
    display: none;
}

.secondary-article-link h3 {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 0.88rem;
}

.secondary-article-link p {
    margin: 5px 0;
}

.secondary-article-link a {
    color: var(--green-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.site-footer {
    width: min(100% - 32px, 640px);
    margin: 18px auto 0;
    padding: 0 0 28px;
    color: var(--muted);
    text-align: center;
}

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

.footer-address {
    font-size: 0.9rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.text-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--green-dark);
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(17, 24, 20, 0.55);
    z-index: 10;
}

.modal {
    width: min(100%, 520px);
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.modal h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.modal p {
    margin: 0 0 10px;
    color: var(--muted);
}

.modal h3 {
    margin: 14px 0 8px;
    font-size: 1rem;
}

.modal .primary-button {
    margin-top: 8px;
}

.about-modal {
    max-height: calc(100vh - 40px);
    overflow: auto;
}

.about-photo {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(35, 52, 42, 0.2);
}

.about-trust-line {
    display: inline-flex;
    margin: 2px 0 4px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef7f2;
    color: var(--green-dark);
    font-weight: 700;
}

.modal-list {
    margin: 0 0 12px;
    padding-left: 20px;
    color: var(--muted);
}

.modal-list li {
    margin-bottom: 4px;
}

.modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.modal-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: none;
}

.modal-links a:hover,
.modal-links a:focus-visible {
    border-color: rgba(31, 138, 95, 0.42);
    background: #f3faf6;
}

.steps {
    display: grid;
    gap: 13px;
}

.next-intro {
    margin-bottom: 18px;
}

.step-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 16px;
}

.step-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dff1e8;
    color: var(--green-dark);
    font-weight: 700;
}

.step-card h2 {
    margin: 0 0 3px;
    font-size: 1.05rem;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

.bottom-cta {
    margin: 0 0 16px;
    padding: 18px;
    text-align: center;
}

.bottom-cta h2 {
    margin-bottom: 14px;
}

.whatsapp-note {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

.consultant-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.article-shell {
    width: min(100% - 32px, 780px);
    margin: 0 auto;
    padding: 28px 0 18px;
}

.article-hero {
    margin-bottom: 22px;
    text-align: center;
}

.article-kicker {
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.article-hero h1 {
    margin: 0 auto 14px;
    max-width: 760px;
    font-size: clamp(1.95rem, 7.4vw, 4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.article-hero p {
    margin: 0 auto 16px;
    max-width: 650px;
    color: var(--muted);
    font-size: 1.08rem;
}

.article-content {
    display: grid;
    gap: 16px;
}

.article-section,
.article-cta-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 18px;
}

.article-section h2,
.article-cta-block h2 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 5vw, 2.15rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.article-section h3,
.process-list h3,
.myth-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.article-section p,
.article-cta-block p,
.process-list p,
.myth-card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.article-section p:last-child,
.article-cta-block p:last-child,
.process-list p:last-child,
.myth-card p:last-child {
    margin-bottom: 0;
}

.authority-callout {
    margin: 16px 0;
    padding: 14px;
    border-left: 4px solid var(--green);
    border-radius: 8px;
    background: #eef7f2;
    color: var(--text);
    font-weight: 700;
}

.authority-callout p {
    color: var(--text);
    font-weight: 700;
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 16px;
}

.tag-grid span {
    padding: 6px 9px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--green-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.checklist {
    display: grid;
    gap: 9px;
    margin: 14px 0 16px;
    padding: 0;
    list-style: none;
}

.checklist li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 800;
}

.checklist-negative li::before {
    content: "•";
    color: var(--error);
}

.myth-grid,
.process-list {
    display: grid;
    gap: 12px;
}

.myth-card,
.process-list article {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfdfb;
}

.article-cta-block {
    text-align: center;
}

.article-cta-button {
    margin-top: 6px;
    padding: 10px 14px;
    line-height: 1.18;
}

.final-cta {
    margin-bottom: 4px;
}

@media (min-width: 720px) {
    .page-shell {
        padding-top: 40px;
    }

    .card {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: minmax(220px, 0.9fr) 1fr;
        gap: 18px;
        align-items: start;
    }

    .form-row label {
        padding-top: 11px;
    }

    .lead-form {
        gap: 15px;
    }

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

    [data-form-step="2"] .lead-capture-field {
        grid-template-columns: 58px 1fr;
        gap: 16px;
    }

    [data-form-step="2"] .field-icon {
        display: inline-flex;
        width: 54px;
        height: 54px;
    }

    [data-form-step="2"] .form-row label {
        padding-top: 0;
    }

    [data-form-step="2"] .form-actions {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        display: flex;
        justify-content: center;
    }

    .trust-strip span {
        width: auto;
        justify-content: center;
    }

    .article-shell {
        padding-top: 44px;
    }

    .article-section,
    .article-cta-block {
        padding: 30px;
    }

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