:root {
    --green: #009447;
    --green-dark: #007a39;
    --yellow: #ffc107;
    --dark: #222222;
    --muted: #6b7280;
    --border: #e5e7eb;
    --footer: #4e4e4e;
    --background: #f7f8fa;
}

.public-page,
.public-page * {
    box-sizing: border-box;
}

.public-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    margin: 0;
    background: #ffffff;
}

html {
    scroll-behavior: smooth;
}

.landing-content {
    flex: 1;
    width: 100%;
    color: var(--dark);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

.public-page .btn-primary,
.public-page .btn-download {
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 5%;
}

.hero-image {
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border-radius: 18px;
    background: #eeeeee;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 520px;
}

.hero-label {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.hero-content h1 {
    margin: 12px 0;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.2;
}

.hero-content p {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 16px;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--green);
    color: #ffffff;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--green-dark);
}

.documents {
    padding: 28px 5% 72px;
    background: var(--background);
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-heading h2 {
    margin: 8px 0;
    font-size: clamp(24px, 3vw, 32px);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.document-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.requirements-card {
    min-width: 0;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.requirements-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin: 0 0 20px;
}

.requirements-heading .document-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
}

.requirements-card .requirements-heading h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--dark);
    font-size: 20px;
    line-height: 1.4;
}

.requirements-list {
    margin: 0;
    padding-left: 22px;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.8;
}

.requirements-list > li {
    margin-bottom: 14px;
    padding-left: 5px;
}

.requirements-list > li:last-child {
    margin-bottom: 0;
}

.requirements-list ul {
    margin-top: 8px;
    padding-left: 22px;
}

.requirements-list ul li {
    margin-bottom: 6px;
}

.requirements-list strong {
    font-weight: 400;
}

.download-documents {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 16px;
    min-width: 0;
}

.document-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.document-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #d1e7d8;
    border-radius: 6px;
    background: #f0f7f2;
    color: #00923f;
}

.document-icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

.document-card h3 {
    margin: 18px 0 6px;
    font-size: 17px;
    line-height: 1.5;
}

.document-card p {
    flex: 1;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.btn-download {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 14px;
    border: 1px solid #00923f;
    border-radius: 5px;
    background: #00923f;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.btn-download:hover {
    border-color: #007d35;
    background: #007d35;
    color: #ffffff;
}

.public-page .blanko-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}

.public-page .blanko-actions .btn-download {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
}

@media (min-width: 901px) {
    .public-page .download-documents {
        grid-template-columns: 1fr;
        align-content: start;
        gap: 16px;
    }

    .public-page .download-documents .document-card {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        column-gap: 14px;
        align-content: start;
        align-items: start;
        padding: 16px 20px;
    }

    .public-page .download-documents .document-icon {
        grid-column: 1;
        grid-row: 1 / 4;
    }

    .public-page .download-documents .document-card h3 {
        grid-column: 2;
        margin: 0 0 4px;
        font-size: 16px;
        line-height: 1.4;
    }

    .public-page .download-documents .document-card p {
        grid-column: 2;
        margin: 0 0 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .public-page .download-documents .btn-download {
        grid-column: 2;
        justify-self: end;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: auto;
        min-width: 140px;
        min-height: 40px;
        margin: 4px 0 0;
        padding: 9px 16px;
        box-sizing: border-box;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .document-layout {
        grid-template-columns: 1fr;
    }

    .download-documents {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-documents .document-card {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .download-documents .document-card h3 {
        margin: 14px 0 6px;
        font-size: 17px;
    }

    .download-documents .document-card p {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .download-documents .btn-download {
        width: 100%;
        min-height: 44px;
        margin-top: auto;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px 40px;
    }

    .hero-image {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .hero-content {
        max-width: none;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn-primary {
        width: 100%;
    }

    .documents {
        padding: 24px 20px 40px;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .requirements-card {
        padding: 20px;
    }

    .requirements-heading {
        gap: 12px;
    }

    .requirements-card .requirements-heading h3 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .download-documents {
        grid-template-columns: 1fr;
    }

    .section-heading {
        text-align: center;
    }

    .section-heading h2 {
        text-align: center;
    }
}

@media (max-width: 400px) {
    .public-page .blanko-actions {
        gap: 8px;
    }

    .public-page .blanko-actions .btn-download {
        padding: 9px 6px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .requirements-card,
    .download-documents .document-card {
        padding: 16px;
    }

    .requirements-heading {
        gap: 10px;
    }

    .requirements-card .requirements-heading h3 {
        font-size: 17px;
    }
}
