:root {
    --bg: #f7f9fb;
    --surface: #ffffff;
    --surface-muted: #eef4f7;
    --border: #dbe4ec;
    --border-strong: #b9c8d5;
    --text: #16202a;
    --muted: #5f7182;
    --primary: #6f35d7;
    --primary-strong: #5326a8;
    --teal: #165d59;
    --success: #1f7a4d;
    --danger: #b42318;
    --shadow: 0 14px 36px rgba(22, 32, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

a {
    color: var(--primary-strong);
    font-weight: 700;
    text-underline-offset: 3px;
}

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

.button-link,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    padding: 10px 16px;
    text-decoration: none;
}

.button-link.secondary,
button.secondary {
    background: var(--surface);
    color: var(--primary-strong);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 32px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.94);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 170px;
    height: 40px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.site-nav a {
    color: var(--text);
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--primary-strong);
}

.language-switcher {
    display: inline-flex;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    padding: 3px;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 28px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.language-switcher a.is-active {
    background: var(--primary);
    color: #ffffff;
}

.site-main {
    flex: 1 0 auto;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 32px;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: stretch;
    min-height: 420px;
    padding: 46px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background:
        linear-gradient(130deg, rgba(111, 53, 215, 0.09), rgba(22, 93, 89, 0.06)),
        var(--surface);
    box-shadow: var(--shadow);
}

.hero-section h1,
.page-intro h1 {
    margin: 10px 0 14px;
    color: var(--text);
    font-size: 44px;
    line-height: 1.12;
}

.hero-section p,
.page-intro p,
.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

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

.hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcfe;
    padding: 24px;
}

.hero-panel span,
.eyebrow {
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    font-size: 24px;
    line-height: 1.25;
}

.home-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.75)),
        linear-gradient(130deg, rgba(111, 53, 215, 0.13), rgba(22, 93, 89, 0.08)),
        var(--surface);
}

.hero-copy {
    align-self: center;
}

.hero-visual {
    align-self: stretch;
    display: grid;
    align-content: center;
    gap: 14px;
}

.hero-visual-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(22, 32, 42, 0.07);
}

.hero-visual-card-main {
    padding: 26px;
}

.hero-visual-card span {
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-visual-card strong {
    display: block;
    margin: 8px 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

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

.home-hero-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(22, 32, 42, 0.07);
}

.home-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.home-stats-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: center;
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 24px;
}

.home-stats-copy h2 {
    margin: 8px 0;
    font-size: 28px;
}

.home-stats-copy p {
    color: var(--muted);
    margin: 0;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-stats-grid article {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    padding: 18px;
}

.home-stats-grid strong,
.home-stats-grid span,
.home-stats-grid small {
    display: block;
}

.home-stats-grid strong {
    color: var(--primary-strong);
    font-size: 34px;
    line-height: 1;
}

.home-stats-grid span {
    margin-top: 10px;
    font-weight: 900;
}

.home-stats-grid small {
    color: var(--muted);
    margin-top: 2px;
    font-weight: 700;
}

.application-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 720px;
    margin: 0 0 24px;
    counter-reset: step;
}

.application-step {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--muted);
}

.application-step-number,
.application-step-label {
    position: relative;
    z-index: 1;
}

.application-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
}

.application-step-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--bg);
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.application-step.is-complete {
    color: var(--success);
}

.application-step.is-complete .application-step-number {
    border-color: #9fe4bf;
    background: #ecfdf5;
    color: var(--success);
}

.application-step.is-active {
    color: var(--primary-strong);
}

.application-step.is-active .application-step-number {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(111, 53, 215, 0.11);
}

.application-step.is-active .application-step-label {
    background: #f1ecff;
}

.page-intro,
.section-heading {
    max-width: 780px;
    margin-bottom: 30px;
}

.apply-page .page-intro {
    margin-bottom: 16px;
}

.section-heading {
    margin-top: 42px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: 28px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}

.product-card,
.detail-panel,
.empty-state,
.notice-panel,
.form-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 22px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.product-card h2,
.detail-panel h2,
.notice-panel h2 {
    margin: 0 0 10px;
}

.product-card p,
.detail-panel p,
.notice-panel p,
.empty-state p {
    color: var(--muted);
}

.product-card .button-link {
    margin-top: auto;
    align-self: flex-start;
}

.home-section-heading {
    margin-top: 56px;
}

.home-category-card {
    position: relative;
    overflow: hidden;
}

.category-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid #d8cbff;
    border-radius: 8px;
    background: #f4f0ff;
    color: var(--primary-strong);
    font-weight: 900;
    margin-bottom: 18px;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-steps article {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    min-height: 230px;
    padding: 24px;
}

.home-steps article span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
    font-weight: 900;
}

.home-steps article h3 {
    margin: 20px 0 10px;
    font-size: 22px;
}

.home-steps article p {
    color: var(--muted);
    margin: 0;
}

.featured-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-product-card {
    min-height: 330px;
}

.featured-product-card h2 {
    font-size: 21px;
    line-height: 1.25;
}

.featured-product-meta {
    display: grid;
    gap: 8px;
    margin: 14px 0 18px;
}

.featured-product-meta div {
    display: grid;
    gap: 3px;
    border-top: 1px solid var(--border);
    padding-top: 8px;
}

.featured-product-meta dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.featured-product-meta dd {
    margin: 0;
    font-weight: 800;
}

.home-split-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    margin-top: 56px;
    padding: 28px;
}

.home-split-panel h2 {
    margin: 8px 0 10px;
    font-size: 28px;
}

.home-split-panel p {
    color: var(--muted);
    margin: 0;
    max-width: 760px;
}

.home-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-faq-card {
    min-height: 220px;
}

.home-faq-actions {
    display: flex;
    margin-top: 16px;
}

.product-meta {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.product-meta div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.product-meta span:first-child {
    color: var(--muted);
}

.product-meta strong {
    text-align: right;
}

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

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.trust-grid div {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    padding: 18px;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid span {
    margin-top: 6px;
    color: var(--muted);
}

.form-grid {
    display: grid;
    gap: 18px;
    max-width: 780px;
}

.form-card {
    padding: 26px;
}

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

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

.form-row input,
.form-row select,
.form-row textarea {
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 16px;
    padding: 12px;
    width: 100%;
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row-full {
    grid-column: 1 / -1;
}

.contact-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.form-row input[type="file"] {
    padding: 10px;
}

.checkbox-row {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    padding: 14px;
}

.checkbox-row input {
    margin-top: 5px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.otp-countdown-card {
    align-items: center;
    background: #f2fbf7;
    border: 1px solid #bbebd3;
    border-radius: 8px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
}

.otp-countdown-card div {
    display: grid;
    gap: 4px;
}

.otp-countdown-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.otp-countdown-card strong {
    color: #14532d;
    font-size: 16px;
}

.otp-countdown-card .otp-countdown-value {
    background: #ffffff;
    border: 1px solid #bbebd3;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    min-width: 86px;
    padding: 6px 12px;
}

.otp-countdown-card.is-expired {
    background: #fff7f6;
    border-color: #f1b8b3;
}

.otp-countdown-card.is-expired strong {
    color: var(--danger);
}

.alert-list {
    border: 1px solid #f1b8b3;
    border-left: 4px solid var(--danger);
    border-radius: 8px;
    background: #fff7f6;
    margin-bottom: 24px;
    padding: 16px 20px;
}

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

.notice-panel {
    border-left: 4px solid var(--teal);
}

.notice-panel + .form-card {
    margin-top: 18px;
}

.upload-advisory-note {
    border: 1px solid #bbebd3;
    border-radius: 8px;
    background: #f2fbf6;
    color: #14532d;
    padding: 14px 16px;
}

.upload-advisory-note strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}

.upload-advisory-note p {
    color: #245c44;
    margin: 4px 0 0;
}

.thank-you-panel {
    max-width: 720px;
}

.session-note {
    display: inline-flex;
    border: 1px solid #bbebd3;
    border-radius: 999px;
    background: #ecfdf5;
    color: #14532d;
    margin: 12px 0 0;
    padding: 6px 12px;
}

.site-footer {
    flex-shrink: 0;
    padding: 10px 24px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 7px;
}

.footer-links a {
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.site-footer p {
    margin: 0;
}

.cms-content {
    max-width: 840px;
}

.cms-content p,
.faq-item p {
    color: var(--muted);
}

.about-intro {
    max-width: 860px;
}

.about-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.about-trust-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 210px;
}

.about-trust-card h2 {
    margin: 0;
    font-size: 24px;
}

.about-trust-card p,
.about-content p {
    color: var(--muted);
}

.about-content {
    max-width: none;
    border-left: 4px solid var(--teal);
}

.campaign-enquiry-intro,
.campaign-enquiry-form {
    max-width: 760px;
}

.campaign-enquiry-page .notice-panel,
.campaign-enquiry-page .alert-list {
    max-width: 760px;
}

.faq-list {
    display: grid;
    gap: 16px;
    max-width: 860px;
}

.faq-item h2 {
    margin: 8px 0 10px;
    font-size: 22px;
}

.status-reference-box,
.status-result-panel {
    display: grid;
    gap: 8px;
}

.status-check-page .status-result-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    gap: 22px;
    max-width: 780px;
    margin-top: 24px;
    padding: 26px;
}

.status-reference-box {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    margin-top: 16px;
    padding: 14px;
}

.status-summary {
    display: grid;
    gap: 10px;
}

.status-summary h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}

.status-summary p {
    color: var(--muted);
    margin: 0;
}

.status-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.status-timeline-step {
    position: relative;
    display: grid;
    gap: 8px;
    min-height: 92px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    color: var(--muted);
    padding: 14px;
}

.status-timeline-step.is-complete {
    border-color: #b9e8cf;
    background: #f2fbf6;
    color: var(--success);
}

.status-timeline-step.is-current {
    border-color: var(--primary);
    background: #f5f1ff;
    color: var(--primary-strong);
    box-shadow: inset 0 0 0 1px rgba(111, 53, 215, 0.18);
}

.status-timeline-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--surface);
    color: inherit;
    font-size: 13px;
    font-weight: 900;
}

.status-timeline-step.is-complete .status-timeline-dot {
    background: #dff8ea;
}

.status-timeline-step.is-current .status-timeline-dot {
    background: var(--primary);
    color: #ffffff;
}

.status-timeline-label {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

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

.status-detail-grid div {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcfe;
    padding: 14px;
}

.status-detail-grid dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-detail-grid dd {
    margin: 6px 0 0;
    color: var(--text);
    font-weight: 800;
    overflow-wrap: anywhere;
}

@media (max-width: 860px) {
    .hero-section,
    .trust-grid,
    .about-trust-grid,
    .home-steps,
    .featured-product-grid,
    .home-faq-grid,
    .home-stats-panel,
    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
        padding: 30px;
    }

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

    .home-split-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-section h1,
    .page-intro h1 {
        font-size: 36px;
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 20px;
    }

    .site-logo img {
        height: 34px;
        max-width: 150px;
    }

    .site-main {
        padding: 32px 16px;
    }

    .hero-section {
        padding: 24px;
    }

    .hero-section h1,
    .page-intro h1 {
        font-size: 32px;
    }

    .home-steps article,
    .featured-product-card,
    .home-faq-card {
        min-height: auto;
    }

    .application-stepper {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }

    .application-step {
        min-height: 40px;
        padding: 6px 10px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
    }

    .application-step-label {
        background: transparent;
        padding: 0;
    }

    .status-timeline,
    .status-detail-grid {
        grid-template-columns: 1fr;
    }

    .status-timeline-step {
        min-height: auto;
    }

    .product-meta div {
        display: grid;
    }

    .product-meta strong {
        text-align: left;
    }
}
