:root {
    --app-vh: 1vh;
    --primary: #197a47;
    --primary-dark: #125732;
    --primary-deep: #17382d;
    --primary-soft: #e5f6ed;
    --accent: #388a1e;
    --mint: #dcf2e5;
    --gold: #f3c766;
    --ink: #0e2219;
    --text: #1d3329;
    --muted: #50675b;
    --surface: #ffffff;
    --bg: #f3f8f5;
    --line: #d1e2d8;
    --radius: 10px;
    --shadow: 0 18px 42px rgba(23, 56, 45, .10);
    --gradient: linear-gradient(135deg, #1b4e45 0%, #197a47 50%, #388a1e 100%);
    --gradient-deep: linear-gradient(135deg, #0d211a 0%, #17382d 52%, #125732 100%);
    --gradient-soft: linear-gradient(135deg, rgba(229, 246, 237, .96) 0%, rgba(255, 255, 255, .94) 44%, rgba(219, 243, 229, .88) 100%);
}

img,
svg {
    max-width: 100%;
}

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

body.landing {
    overflow-x: hidden;
    color: var(--text);
    background: #fff;
}

.landing svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.landing a:focus-visible,
.landing button:focus-visible {
    outline: 3px solid rgba(0, 134, 76, .30);
    outline-offset: 3px;
}

.landing-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 88px;
    padding: 0 clamp(24px, 5vw, 82px);
    border-bottom: 1px solid rgba(216, 234, 223, .82);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 26px rgba(10, 55, 35, .07);
    backdrop-filter: blur(16px);
    transition: min-height .22s ease, box-shadow .22s ease, background .22s ease;
}

.landing-header.scrolled {
    min-height: 76px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 38px rgba(10, 55, 35, .12);
}

.landing-brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink);
}

.landing-brand strong,
.landing-brand small,
.footer-brand strong,
.footer-brand small {
    display: block;
}

.landing-brand strong {
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
}

.landing-brand small,
.footer-brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.landing-seal {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    padding: 4px;
    border: 1px solid #c4dfcd;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 22px rgba(18, 86, 58, .14);
}

.landing-seal img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.landing-nav {
    position: relative;
    display: flex;
    justify-content: center;
    gap: clamp(20px, 3vw, 44px);
    height: 100%;
}

.landing-nav a {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.landing-nav a:hover,
.landing-nav a.active {
    color: var(--primary);
}

.nav-slider {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient);
    transition: transform .25s ease, width .25s ease;
}

.landing-auth {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.landing-btn:hover {
    transform: translateY(-2px);
}

.btn-gradient {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 12px 25px rgba(0, 122, 70, .24);
}

.btn-outline {
    color: var(--primary);
    border-color: #8fcfb0;
    background: #fff;
}

.btn-light {
    color: var(--primary-dark);
    background: #fff;
}

.btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .10);
}

.nav-toggle {
    display: none;
}

.landing-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(380px, .92fr) minmax(460px, 1.08fr);
    align-items: center;
    min-height: 620px;
    padding: 128px clamp(24px, 5vw, 82px) 72px;
    overflow: hidden;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 34%, rgba(255, 255, 255, .45) 58%, rgba(255, 255, 255, .10) 100%),
        radial-gradient(circle at 12% 12%, rgba(21, 183, 110, .12), transparent 30%),
        #fff;
}

.landing-hero:after {
    content: "";
    position: absolute;
    z-index: 3;
    left: -6vw;
    right: -6vw;
    bottom: -38px;
    height: 92px;
    border-top: 11px solid rgba(0, 134, 76, .26);
    border-radius: 50% 50% 0 0;
    background: #fff;
    transform: rotate(1deg);
}

.hero-copy {
    position: relative;
    z-index: 5;
    max-width: 620px;
}

.welcome-pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 9px 17px;
    border: 1px solid #cae9d5;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 18px rgba(18, 86, 58, .06);
    font-size: 13px;
    font-weight: 900;
}

.hero-copy h1 {
    max-width: 610px;
    margin: 19px 0 15px;
    color: var(--ink);
    font-size: clamp(45px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-copy h1 span {
    display: block;
    color: var(--primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy p {
    max-width: 485px;
    margin: 0;
    color: #294057;
    font-size: 17px;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
}

.hero-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 560px;
    margin-top: 30px;
}

.hero-summary span {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 58px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.32;
}

.hero-summary svg,
.feature-card > span,
.portal-icon,
.step-card > span {
    display: grid;
    place-items: center;
    color: var(--primary);
    background: radial-gradient(circle, #fff 0%, var(--primary-soft) 100%);
}

.hero-summary svg {
    width: 48px;
    height: 48px;
    padding: 13px;
    border-radius: 50%;
    stroke-width: 2.2;
}

.hero-media {
    position: absolute;
    z-index: 1;
    inset: 88px 0 0 42%;
    overflow: hidden;
}

.hero-media:before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.30) 24%, rgba(255,255,255,0) 58%);
}

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

.trust-card {
    position: absolute;
    z-index: 5;
    right: clamp(24px, 5vw, 82px);
    bottom: 96px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    width: min(330px, calc(100% - 48px));
    padding: 23px;
    border: 1px solid #e5efe9;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 46px rgba(11, 48, 33, .18);
    backdrop-filter: blur(12px);
}

.trust-card > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: var(--primary);
    background: #f1fbf5;
}

.trust-card svg {
    width: 36px;
    height: 36px;
}

.trust-card strong,
.trust-card p {
    display: block;
    margin: 0;
}

.trust-card strong {
    color: var(--ink);
    font-size: 14px;
}

.trust-card p {
    margin-top: 7px;
    color: #405264;
    font-size: 12px;
    line-height: 1.55;
}

.landing-section {
    padding: 56px clamp(24px, 7vw, 112px);
}

.section-title {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-title > span,
.section-label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.section-title h2,
.left-heading,
.landing-cta h2 {
    margin: 8px 0 8px;
    color: var(--ink);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.16;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.process-section {
    position: relative;
    z-index: 4;
    background: #fff;
}

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

.step-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 110px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 30px rgba(12, 59, 38, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.step-card:not(:last-child):after {
    content: ">";
    position: absolute;
    top: 50%;
    right: -18px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    transform: translateY(-50%);
}

.step-card:hover,
.portal-card:hover,
.feature-card:hover,
.announcement-item:hover {
    transform: translateY(-4px);
    border-color: #a8dcbf;
    box-shadow: 0 20px 42px rgba(12, 59, 38, .13);
}

.step-card b {
    position: absolute;
    top: 21px;
    left: 20px;
    color: var(--primary);
    font-size: 15px;
}

.step-card > span {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.step-card svg {
    width: 34px;
    height: 34px;
}

.step-card h3,
.portal-card h3,
.feature-card h3,
.announcement-item h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 15px;
}

.step-card p,
.portal-card p,
.feature-card p,
.announcement-item p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.62;
}

.services-section,
.benefits-section,
.updates-contact {
    background: #fff;
}

.left-heading {
    margin-bottom: 16px;
    font-size: 24px;
}

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

.portal-card {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 24px;
    min-height: 220px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #a9dec0;
    border-radius: var(--radius);
    background: var(--gradient-soft);
    box-shadow: 0 12px 32px rgba(10, 69, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.portal-card:after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 94px;
    height: 118px;
    opacity: .28;
    background:
        linear-gradient(#d5eadf 0 0) 26px 28px / 42px 7px no-repeat,
        linear-gradient(#d5eadf 0 0) 26px 52px / 46px 7px no-repeat,
        linear-gradient(#d5eadf 0 0) 26px 76px / 40px 7px no-repeat,
        linear-gradient(135deg, transparent 0 18px, #d8efe3 19px) top right / 34px 34px no-repeat,
        #eef8f3;
    border-radius: 6px;
}

.portal-card:nth-child(2):after {
    border-radius: 50%;
}

.portal-icon {
    position: relative;
    z-index: 1;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    color: #fff;
    background: var(--gradient);
}

.portal-icon svg {
    width: 36px;
    height: 36px;
}

.portal-content {
    position: relative;
    z-index: 1;
}

.portal-card h3 {
    color: var(--primary-dark);
    font-size: 21px;
}

.portal-card p {
    max-width: 440px;
    color: #405264;
    font-size: 13px;
}

.portal-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.portal-card li {
    color: #405264;
    font-size: 12px;
    line-height: 1.45;
}

.portal-card li:before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #fff 0 2px, var(--primary) 3px 100%);
    vertical-align: -2px;
}

.portal-card-button,
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 7px;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 10px 20px rgba(0, 122, 70, .18);
    font-size: 12px;
    font-weight: 900;
}

.portal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 15px 0 0;
    color: #536879;
    font-size: 13px;
    font-weight: 700;
}

.portal-note svg {
    color: var(--primary);
}

.benefits-section {
    padding-top: 20px;
}

.benefits-section .section-label {
    display: block;
    margin-bottom: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(12, 59, 38, .06);
}

.feature-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
    transition: transform .2s ease;
}

.feature-card > span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.feature-card svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 14px;
}

.updates-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 0;
}

.announcement-panel,
.contact-panel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(12, 59, 38, .07);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
    margin: 0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.panel-heading a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.announcement-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #e8f1ec;
    transition: transform .2s ease;
}

.announcement-item:last-child {
    border-bottom: 0;
}

.announcement-item time {
    display: grid;
    place-items: center;
    align-content: center;
    width: 58px;
    height: 74px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--primary-dark);
    background: #fff;
}

.announcement-item time strong {
    font-size: 27px;
    line-height: 1;
}

.announcement-item time span {
    margin-top: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.announcement-item div > span {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 10px;
    font-weight: 900;
}

.announcement-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

.contact-list {
    display: grid;
    gap: 15px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.contact-list svg {
    color: var(--primary);
}

.map-card {
    position: relative;
    min-height: 230px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid #cfe5d9;
    background: #deefe6;
}

.map-card iframe {
    display: block;
    width: 100%;
    min-height: 230px;
    border: 0;
}

.map-open {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 14px 28px rgba(0, 93, 56, .25);
    font-size: 12px;
    font-weight: 900;
    border: 0;
    cursor: pointer;
}

.map-open svg {
    width: 16px;
    height: 16px;
}

.map-dialog {
    width: min(900px, calc(100% - 32px));
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
}

.map-dialog::backdrop {
    background: rgba(5, 34, 24, .56);
    backdrop-filter: blur(4px);
}

.map-dialog-panel {
    overflow: hidden;
    border: 1px solid #cfe5d9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(4, 35, 24, .28);
}

.map-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #dcece4;
}

.map-dialog-head strong,
.map-dialog-head small {
    display: block;
}

.map-dialog-head strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.map-dialog-head small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.map-dialog-head button {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #79c89d;
    border-radius: 999px;
    color: var(--primary-dark);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.map-dialog iframe {
    display: block;
    width: 100%;
    height: min(64vh, 560px);
    min-height: 360px;
    border: 0;
}

.contact-button {
    width: 100%;
    color: var(--primary-dark);
    border: 1px solid #79c89d;
    background: #fff;
    box-shadow: none;
}

.landing-cta {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr) 250px;
    gap: 28px;
    align-items: center;
    min-height: 150px;
    margin: 0 clamp(24px, 7vw, 112px);
    padding: 0 36px;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    background: var(--gradient-deep);
    box-shadow: 0 24px 58px rgba(12, 59, 38, .22);
}

.landing-cta h2,
.landing-cta p {
    color: #fff;
}

.landing-cta h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 31px);
}

.landing-cta p {
    max-width: 620px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: .93;
}

.cta-illustration {
    position: relative;
    align-self: stretch;
    min-height: 150px;
}

.cta-illustration:before {
    content: "";
    position: absolute;
    left: -56px;
    bottom: -62px;
    width: 270px;
    height: 150px;
    border-radius: 50% 50% 0 0;
    background: linear-gradient(135deg, #6bc982, #b9ef7f);
}

.cta-illustration span {
    position: absolute;
    bottom: 20px;
    width: 54px;
    height: 82px;
    border-radius: 28px 28px 14px 14px;
    background: #f6c37b;
    box-shadow: inset 0 -31px 0 #0b2830;
}

.cta-illustration span:before {
    content: "";
    position: absolute;
    top: -18px;
    left: 9px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffd49a;
}

.cta-illustration span:nth-child(1) { left: 54px; bottom: 18px; }
.cta-illustration span:nth-child(2) { left: 116px; bottom: 28px; height: 104px; background: #7dd778; }
.cta-illustration span:nth-child(3) { left: 178px; bottom: 18px; background: #c6e567; }
.cta-illustration span:nth-child(4) { left: 126px; bottom: 10px; width: 42px; height: 62px; background: #f6d178; }

.cta-actions {
    display: grid;
    gap: 12px;
}

.landing-footer {
    margin-top: -1px;
    color: #dcefe5;
    background:
        radial-gradient(circle at 96% 20%, rgba(77, 204, 135, .18), transparent 24%),
        linear-gradient(135deg, #003d28 0%, #00623b 48%, #002a1c 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: 44px;
    padding: 38px clamp(24px, 7vw, 112px) 28px;
}

.landing-footer h3 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 14px;
}

.landing-footer a,
.landing-footer p {
    display: block;
    margin: 0 0 8px;
    color: #d2eadf;
    font-size: 13px;
    line-height: 1.55;
}

.landing-footer section:first-child p {
    max-width: 300px;
    margin-top: 12px;
}

.footer-brand {
    align-items: center;
    color: #fff;
}

.footer-brand strong {
    color: #fff;
    font-size: 18px;
}

.footer-brand small {
    color: #d2eadf;
}

.landing-seal.small {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(24px, 7vw, 112px);
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.back-to-top {
    position: fixed;
    z-index: 90;
    right: 28px;
    bottom: 28px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: var(--primary-dark);
    background: #95e19d;
    box-shadow: 0 14px 28px rgba(12, 59, 38, .25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .58s ease, transform .58s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1180px) {
    .landing-header {
        grid-template-columns: 260px minmax(0, 1fr) auto;
        padding-inline: 22px;
    }

    .landing-brand strong {
        font-size: 17px;
    }

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

    .hero-media {
        left: 28%;
        opacity: .72;
    }

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

    .step-card:not(:last-child):after {
        display: none;
    }

    .landing-cta {
        grid-template-columns: minmax(0, 1fr) 250px;
        padding: 30px;
    }

    .cta-illustration {
        display: none;
    }
}

@media (max-width: 1024px) and (min-width: 921px) {
    .landing-header {
        grid-template-columns: 235px minmax(0, 1fr) 205px;
        gap: 14px;
    }

    .landing-nav {
        gap: 18px;
    }

    .landing-auth .landing-btn {
        padding-inline: 15px;
    }

    .hero-summary {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
    }
}

@media (max-width: 920px) {
    html {
        scroll-padding-top: 76px;
    }

    .landing-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        min-height: 72px;
        padding-inline: 14px;
    }

    .landing-header.scrolled {
        min-height: 68px;
    }

    .landing-seal {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .landing-brand strong {
        font-size: 14px;
    }

    .landing-brand small {
        font-size: 10px;
    }

    .nav-toggle {
        order: 3;
        display: grid;
        place-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        margin-left: 8px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
    }

    .nav-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
        transition: transform .18s ease, opacity .18s ease;
    }

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

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

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

    .landing-nav {
        position: absolute;
        top: 76px;
        left: 14px;
        right: 14px;
        display: grid;
        height: auto;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .landing-nav.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .landing-nav a {
        justify-content: flex-start;
        height: 44px;
        padding: 0 12px;
        border-radius: 8px;
    }

    .landing-nav a.active {
        background: var(--primary-soft);
    }

    .nav-slider {
        display: none;
    }

    .landing-auth {
        order: 2;
    }

    .landing-auth .btn-outline {
        display: none;
    }

    .landing-auth .landing-btn {
        min-height: 40px;
        padding-inline: 13px;
    }

    .landing-hero {
        min-height: auto;
        min-height: calc(var(--app-vh, 1vh) * 100 - 74px);
        padding: 100px 18px 62px;
    }

    .landing-hero:after {
        height: 58px;
        bottom: -30px;
        border-top-width: 7px;
    }

    .hero-media {
        position: relative;
        inset: auto;
        height: 300px;
        margin: 34px -18px -62px;
        opacity: 1;
    }

    .hero-media:before {
        background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.48));
    }

    .trust-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: auto;
        margin-top: 22px;
    }

    .service-grid,
    .updates-contact,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .landing-section {
        padding: 48px 18px;
    }

    .benefits-section {
        padding-top: 10px;
    }

    .landing-cta {
        grid-template-columns: 1fr;
        margin: 0 18px;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .landing-header {
        padding-inline: 12px;
    }

    .landing-brand {
        gap: 8px;
    }

    .landing-brand strong {
        max-width: 128px;
        font-size: 12px;
        line-height: 1.15;
    }

    .landing-brand small {
        display: none;
    }

    .landing-auth .landing-btn {
        padding-inline: 10px;
        font-size: 12px;
    }

    .landing-auth .landing-btn svg {
        display: none;
    }

    .welcome-pill {
        font-size: 11px;
    }

    .hero-copy h1 {
        font-size: clamp(32px, 10vw, 39px);
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-actions .landing-btn,
    .landing-cta .landing-btn {
        width: 100%;
    }

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

    .hero-summary,
    .steps-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .portal-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .portal-card ul {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        padding: 22px;
    }

    .feature-card {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .announcement-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
    }

    .contact-panel,
    .announcement-panel {
        padding: 18px;
    }

    .landing-cta {
        padding: 26px 22px;
    }

    .footer-grid {
        gap: 24px;
        padding-block: 34px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 390px) {
    .landing-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 6px;
    }

    .landing-auth .landing-btn {
        min-height: 38px;
        padding-inline: 8px;
        font-size: 11px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
        margin-left: 4px;
    }

    .hero-summary span,
    .feature-card,
    .trust-card {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .trust-card {
        gap: 12px;
        padding: 18px;
    }

    .trust-card > span {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .trust-card svg {
        width: 28px;
        height: 28px;
    }

    .announcement-item {
        grid-template-columns: 1fr;
    }

    .announcement-item time {
        width: 100%;
        height: 58px;
        grid-template-columns: auto auto;
        gap: 6px;
    }
}

@media (max-height: 720px) and (min-width: 921px) {
    .landing-hero {
        min-height: 560px;
        padding-top: 112px;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 4.3vw, 58px);
    }

    .hero-summary {
        margin-top: 22px;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Dark Mode Styles for Public Landing Page
   ========================================================================== */
html[data-theme="dark"] body.landing {
    background: #08140f;
    color: #edf8f2;
}

html[data-theme="dark"] .landing-header {
    background: rgba(8, 20, 15, 0.94);
    border-bottom-color: rgba(41, 68, 56, 0.8);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .landing-nav a {
    color: #edf8f2;
}

html[data-theme="dark"] .landing-nav a:hover,
html[data-theme="dark"] .landing-nav a.active {
    color: #39d98b;
}

html[data-theme="dark"] .landing-btn.btn-outline {
    color: #39d98b;
    border-color: #294438;
    background: #101f18;
}

html[data-theme="dark"] .landing-btn.btn-outline:hover {
    border-color: #39d98b;
    background: #163628;
}

html[data-theme="dark"] .welcome-pill {
    background: rgba(57, 217, 139, 0.12);
    border-color: rgba(57, 217, 139, 0.25);
    color: #39d98b;
}

html[data-theme="dark"] .hero-copy h1 {
    color: #ffffff;
}

html[data-theme="dark"] .hero-copy p {
    color: #a9bdb3;
}

html[data-theme="dark"] .hero-summary span {
    background: #101f18;
    border-color: #294438;
    color: #edf8f2;
}

html[data-theme="dark"] .trust-card {
    background: #101f18;
    border-color: #294438;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .trust-card strong {
    color: #edf8f2;
}

html[data-theme="dark"] .trust-card p {
    color: #a9bdb3;
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .announcement-item,
html[data-theme="dark"] .official-card {
    background: #101f18;
    border-color: #294438;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .announcement-item h3,
html[data-theme="dark"] .official-card strong {
    color: #edf8f2;
}

html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .announcement-item p,
html[data-theme="dark"] .official-card small {
    color: #a9bdb3;
}

html[data-theme="dark"] .landing-footer {
    background: #06110c;
    border-top-color: #1a382b;
}

/* Landing page light/dark color correction */
body.landing {
  --landing-ink: #071b13;
  --landing-text: #243a31;
  --landing-muted: #5f7069;
  --landing-panel: #ffffff;
  --landing-panel-soft: #f4fbf7;
  --landing-on-green: #ffffff;
  --landing-on-green-muted: rgba(255, 255, 255, 0.84);
}

html[data-theme="dark"] body.landing {
  --landing-ink: #f8fafc;
  --landing-text: #e5edf0;
  --landing-muted: #aab9b4;
  --landing-panel: #101f18;
  --landing-panel-soft: #0b1913;
  --landing-on-green: #ffffff;
  --landing-on-green-muted: rgba(255, 255, 255, 0.82);
}

body.landing,
body.landing .landing-main,
body.landing .landing-section {
  color: var(--landing-text) !important;
}

body.landing h1,
body.landing h2,
body.landing h3,
body.landing h4,
body.landing h5,
body.landing h6,
body.landing .landing-brand strong,
body.landing .section-head h2,
body.landing .hero-copy h1,
body.landing .portal-card h3,
body.landing .feature-card h3,
body.landing .step-card h3,
body.landing .announcement-panel h2,
body.landing .contact-panel h2 {
  color: var(--landing-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}

body.landing p,
body.landing small,
body.landing li,
body.landing .hero-copy p,
body.landing .section-head p,
body.landing .portal-card p,
body.landing .portal-card li,
body.landing .feature-card p,
body.landing .step-card p,
body.landing .landing-brand small,
body.landing .portal-note {
  color: var(--landing-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

body.landing .landing-header {
  color: var(--landing-ink) !important;
}

body.landing .landing-nav a,
body.landing .landing-auth .btn-outline,
body.landing .landing-auth .btn-light {
  color: #0b6f43 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="dark"] body.landing .landing-nav a,
html[data-theme="dark"] body.landing .landing-auth .btn-outline,
html[data-theme="dark"] body.landing .landing-auth .btn-light {
  color: #f8fafc !important;
}

body.landing .btn-gradient,
body.landing .landing-btn.btn-gradient,
body.landing .landing-auth .btn-gradient,
body.landing .portal-card-button,
body.landing .contact-button:not(.btn-light),
body.landing .landing-cta .landing-btn,
body.landing .landing-cta .btn-gradient,
body.landing .landing-cta .btn-ghost {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.landing .btn-gradient *,
body.landing .landing-btn.btn-gradient *,
body.landing .landing-auth .btn-gradient *,
body.landing .portal-card-button *,
body.landing .contact-button:not(.btn-light) *,
body.landing .landing-cta .landing-btn *,
body.landing .landing-cta .btn-gradient *,
body.landing .landing-cta .btn-ghost * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

body.landing .btn-outline,
body.landing .landing-btn.btn-outline {
  background: #ffffff !important;
  color: #0b6f43 !important;
  -webkit-text-fill-color: #0b6f43 !important;
}

html[data-theme="dark"] body.landing .btn-outline,
html[data-theme="dark"] body.landing .landing-btn.btn-outline {
  background: #0f2219 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.landing .portal-card,
body.landing .feature-grid,
body.landing .feature-card,
body.landing .step-card,
body.landing .announcement-panel,
body.landing .contact-panel,
body.landing .trust-card,
body.landing .hero-summary span {
  color: var(--landing-text) !important;
}

html[data-theme="dark"] body.landing .portal-card,
html[data-theme="dark"] body.landing .feature-grid,
html[data-theme="dark"] body.landing .feature-card,
html[data-theme="dark"] body.landing .step-card,
html[data-theme="dark"] body.landing .announcement-panel,
html[data-theme="dark"] body.landing .contact-panel,
html[data-theme="dark"] body.landing .trust-card,
html[data-theme="dark"] body.landing .hero-summary span {
  background-color: var(--landing-panel) !important;
  color: var(--landing-text) !important;
}

body.landing .landing-cta,
body.landing .landing-footer {
  color: var(--landing-on-green) !important;
}

body.landing .landing-cta h1,
body.landing .landing-cta h2,
body.landing .landing-cta h3,
body.landing .landing-cta strong,
body.landing .landing-cta a,
body.landing .landing-footer h1,
body.landing .landing-footer h2,
body.landing .landing-footer h3,
body.landing .landing-footer strong,
body.landing .landing-footer a,
body.landing .landing-footer .footer-brand strong {
  color: var(--landing-on-green) !important;
  -webkit-text-fill-color: var(--landing-on-green) !important;
}

body.landing .landing-cta p,
body.landing .landing-cta small,
body.landing .landing-footer p,
body.landing .landing-footer small,
body.landing .landing-footer li,
body.landing .landing-footer .footer-brand small,
body.landing .footer-bottom p,
body.landing .footer-bottom a {
  color: var(--landing-on-green-muted) !important;
  -webkit-text-fill-color: var(--landing-on-green-muted) !important;
}

body.landing .landing-footer a:hover,
body.landing .footer-bottom a:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.landing .section-label,
body.landing .welcome-pill,
body.landing .panel-heading a,
body.landing .portal-note svg,
body.landing .feature-card > span,
body.landing .portal-icon,
body.landing .step-card > span {
  -webkit-text-fill-color: currentColor !important;
}

/* FINAL landing responsive typography and light/dark contrast pass */
body.landing {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

body.landing .landing-nav a {
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

body.landing .landing-btn,
body.landing button,
body.landing .portal-card-button,
body.landing .contact-button {
  font-size: 14px !important;
  font-weight: 900 !important;
}

body.landing .landing-brand strong {
  font-size: clamp(20px, 1.6vw, 24px) !important;
}

body.landing .landing-brand small {
  font-size: 13px !important;
}

body.landing .welcome-pill,
body.landing .section-label,
body.landing .section-title > span {
  font-size: 13px !important;
}

body.landing .hero-copy h1 {
  color: #061b13 !important;
  -webkit-text-fill-color: #061b13 !important;
  font-size: clamp(46px, 5.4vw, 72px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
}

body.landing .hero-copy h1 span {
  color: #197a47 !important;
  background: linear-gradient(135deg, #125732 0%, #197a47 52%, #388a1e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.landing .hero-copy p {
  color: #30473d !important;
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.75 !important;
}

body.landing .section-title h2,
body.landing .left-heading,
body.landing .landing-cta h2 {
  font-size: clamp(28px, 3.2vw, 40px) !important;
  line-height: 1.14 !important;
}

body.landing .section-title p {
  font-size: 16px !important;
}

body.landing .step-card h3,
body.landing .portal-card h3,
body.landing .feature-card h3,
body.landing .announcement-item h3 {
  font-size: 16px !important;
  line-height: 1.25 !important;
}

body.landing .step-card p,
body.landing .portal-card p,
body.landing .portal-card li,
body.landing .feature-card p,
body.landing .announcement-item p,
body.landing .trust-card p {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

body.landing .hero-summary span {
  font-size: 13px !important;
}

body.landing .landing-header,
html[data-theme="light"] body.landing .landing-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(17, 93, 56, 0.16) !important;
}

html[data-theme="light"] body.landing,
html[data-theme="light"] body.landing .process-section,
html[data-theme="light"] body.landing .services-section,
html[data-theme="light"] body.landing .benefits-section,
html[data-theme="light"] body.landing .updates-contact,
html[data-theme="light"] body.landing .landing-section {
  background-color: #ffffff !important;
}

html[data-theme="light"] body.landing .section-title h2,
html[data-theme="light"] body.landing .left-heading,
html[data-theme="light"] body.landing .step-card h3,
html[data-theme="light"] body.landing .portal-card h3,
html[data-theme="light"] body.landing .feature-card h3,
html[data-theme="light"] body.landing .announcement-item h3 {
  color: #061b13 !important;
  -webkit-text-fill-color: #061b13 !important;
}

html[data-theme="light"] body.landing .section-title p,
html[data-theme="light"] body.landing .step-card p,
html[data-theme="light"] body.landing .portal-card p,
html[data-theme="light"] body.landing .portal-card li,
html[data-theme="light"] body.landing .feature-card p,
html[data-theme="light"] body.landing .announcement-item p {
  color: #53675e !important;
  -webkit-text-fill-color: #53675e !important;
}

html[data-theme="dark"] body.landing {
  background: #06110c !important;
  color: #e9f5ef !important;
}

html[data-theme="dark"] body.landing .landing-header {
  background: rgba(7, 22, 16, 0.96) !important;
  border-bottom: 1px solid rgba(72, 214, 150, 0.18) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42) !important;
}

html[data-theme="dark"] body.landing .landing-brand strong,
html[data-theme="dark"] body.landing .landing-brand small,
html[data-theme="dark"] body.landing .landing-nav a,
html[data-theme="dark"] body.landing .landing-auth .landing-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body.landing .landing-nav a.active,
html[data-theme="dark"] body.landing .landing-nav a:hover {
  color: #39d98b !important;
  -webkit-text-fill-color: #39d98b !important;
}

html[data-theme="dark"] body.landing .landing-hero {
  background:
    linear-gradient(90deg, rgba(6, 17, 12, 0.98) 0%, rgba(6, 17, 12, 0.88) 34%, rgba(6, 17, 12, 0.34) 68%, rgba(6, 17, 12, 0.10) 100%),
    radial-gradient(circle at 12% 12%, rgba(57, 217, 139, .16), transparent 32%),
    #06110c !important;
}

html[data-theme="dark"] body.landing .landing-hero:after {
  background: #06110c !important;
  border-top-color: rgba(57, 217, 139, 0.32) !important;
}

html[data-theme="dark"] body.landing .hero-copy h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body.landing .hero-copy h1 span {
  color: #39d98b !important;
  background: linear-gradient(135deg, #b6ffd5 0%, #39d98b 46%, #16b873 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html[data-theme="dark"] body.landing .hero-copy p,
html[data-theme="dark"] body.landing .section-title p {
  color: #b8c9c0 !important;
  -webkit-text-fill-color: #b8c9c0 !important;
}

html[data-theme="dark"] body.landing .process-section,
html[data-theme="dark"] body.landing .services-section,
html[data-theme="dark"] body.landing .benefits-section,
html[data-theme="dark"] body.landing .updates-contact,
html[data-theme="dark"] body.landing .landing-section {
  background: #06110c !important;
}

html[data-theme="dark"] body.landing .section-title h2,
html[data-theme="dark"] body.landing .left-heading,
html[data-theme="dark"] body.landing .step-card h3,
html[data-theme="dark"] body.landing .portal-card h3,
html[data-theme="dark"] body.landing .feature-card h3,
html[data-theme="dark"] body.landing .announcement-item h3,
html[data-theme="dark"] body.landing .panel-heading h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body.landing .step-card,
html[data-theme="dark"] body.landing .portal-card,
html[data-theme="dark"] body.landing .feature-grid,
html[data-theme="dark"] body.landing .feature-card,
html[data-theme="dark"] body.landing .announcement-panel,
html[data-theme="dark"] body.landing .contact-panel,
html[data-theme="dark"] body.landing .trust-card,
html[data-theme="dark"] body.landing .hero-summary span {
  background: #0c2118 !important;
  border-color: rgba(75, 214, 151, 0.24) !important;
  color: #e9f5ef !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32) !important;
}

html[data-theme="dark"] body.landing .step-card p,
html[data-theme="dark"] body.landing .portal-card p,
html[data-theme="dark"] body.landing .portal-card li,
html[data-theme="dark"] body.landing .feature-card p,
html[data-theme="dark"] body.landing .announcement-item p,
html[data-theme="dark"] body.landing .trust-card p {
  color: #b8c9c0 !important;
  -webkit-text-fill-color: #b8c9c0 !important;
}

html[data-theme="dark"] body.landing .hero-summary span,
html[data-theme="dark"] body.landing .hero-summary span strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.landing .btn-gradient,
body.landing .landing-btn.btn-gradient,
body.landing .portal-card-button,
body.landing .contact-button:not(.btn-light),
body.landing .landing-auth .btn-gradient {
  background: linear-gradient(135deg, #147d49 0%, #1e9658 56%, #2b8a1f 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body.landing .btn-outline,
html[data-theme="dark"] body.landing .landing-btn.btn-outline {
  background: transparent !important;
  border-color: rgba(57, 217, 139, 0.42) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.landing .landing-cta,
body.landing .landing-footer {
  color: #ffffff !important;
}

body.landing .landing-cta *,
body.landing .landing-footer h3,
body.landing .landing-footer strong,
body.landing .landing-footer a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.landing .landing-footer p,
body.landing .landing-footer small,
body.landing .footer-bottom p,
body.landing .footer-bottom a {
  color: rgba(255, 255, 255, 0.82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 1100px) {
  body.landing .landing-header {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    min-height: 78px !important;
    padding-inline: 22px !important;
  }

  body.landing .landing-nav {
    font-size: 14px !important;
  }

  body.landing .landing-hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding-top: 118px !important;
    padding-bottom: 72px !important;
  }

  body.landing .hero-media {
    inset: 78px 0 0 36% !important;
    opacity: 0.55 !important;
  }

  body.landing .steps-grid,
  body.landing .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.landing .landing-header {
    gap: 10px !important;
    min-height: 70px !important;
    padding-inline: 14px !important;
  }

  body.landing .landing-brand strong {
    font-size: 17px !important;
  }

  body.landing .landing-brand small {
    font-size: 11px !important;
  }

  body.landing .landing-seal {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }

  body.landing .hero-copy h1 {
    font-size: clamp(36px, 12vw, 52px) !important;
  }

  body.landing .hero-copy p,
  body.landing .section-title p {
    font-size: 15px !important;
  }

  body.landing .hero-actions,
  body.landing .landing-auth {
    gap: 10px !important;
  }

  body.landing .landing-btn,
  body.landing .portal-card-button,
  body.landing .contact-button {
    min-height: 42px !important;
    padding-inline: 14px !important;
    font-size: 13px !important;
  }

  body.landing .hero-summary,
  body.landing .steps-grid,
  body.landing .feature-grid,
  body.landing .service-grid,
  body.landing .updates-contact,
  body.landing .footer-grid {
    grid-template-columns: 1fr !important;
  }

  body.landing .step-card:not(:last-child):after {
    display: none !important;
  }

  body.landing .landing-section {
    padding-inline: 16px !important;
  }
}

/* Landing header brand alignment fix */
body.landing .landing-brand {
  display: inline-grid !important;
  grid-template-columns: 58px minmax(0, max-content) !important;
  align-items: center !important;
  column-gap: 12px !important;
  min-width: 0 !important;
  line-height: 1.1 !important;
}

body.landing .landing-brand .landing-seal {
  grid-row: 1 / span 2 !important;
  align-self: center !important;
  margin: 0 !important;
}

body.landing .landing-brand div,
body.landing .landing-brand span:not(.landing-seal) {
  min-width: 0 !important;
}

body.landing .landing-brand strong {
  display: block !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: clamp(22px, 1.7vw, 26px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap !important;
}

body.landing .landing-brand small {
  display: block !important;
  margin-top: 5px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

html[data-theme="light"] body.landing .landing-brand strong {
  color: #071b13 !important;
  -webkit-text-fill-color: #071b13 !important;
}

html[data-theme="light"] body.landing .landing-brand small {
  color: #52665e !important;
  -webkit-text-fill-color: #52665e !important;
}

html[data-theme="dark"] body.landing .landing-brand strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body.landing .landing-brand small {
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 760px) {
  body.landing .landing-brand {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  body.landing .landing-brand strong {
    font-size: 18px !important;
    white-space: normal !important;
    line-height: 1.08 !important;
  }

  body.landing .landing-brand small {
    margin-top: 4px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  body.landing .landing-brand strong {
    max-width: 150px !important;
  }
}

/* FINAL landing page arrangement and mobile responsive polish */
body.landing {
  overflow-x: hidden !important;
}

body.landing .landing-header {
  box-sizing: border-box !important;
}

body.landing .landing-brand {
  min-width: 0 !important;
}

body.landing .landing-brand strong,
body.landing .landing-brand small {
  overflow-wrap: normal !important;
}

body.landing .hero-copy,
body.landing .section-title,
body.landing .left-heading,
body.landing .service-grid,
body.landing .steps-grid,
body.landing .feature-grid,
body.landing .updates-contact,
body.landing .landing-cta,
body.landing .footer-grid,
body.landing .footer-bottom {
  box-sizing: border-box !important;
}

body.landing .landing-btn,
body.landing .portal-card-button,
body.landing .contact-button {
  min-width: 0 !important;
  text-align: center !important;
}

body.landing .portal-card,
body.landing .step-card,
body.landing .feature-card,
body.landing .announcement-panel,
body.landing .contact-panel,
body.landing .landing-cta {
  overflow: hidden !important;
}

@media (min-width: 921px) {
  body.landing .landing-header {
    grid-template-columns: minmax(260px, 330px) minmax(420px, 1fr) auto !important;
  }

  body.landing .landing-nav {
    justify-self: center !important;
  }

  body.landing .landing-auth {
    justify-self: end !important;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 84px !important;
  }

  body.landing .landing-header,
  body.landing .landing-header.scrolled {
    min-height: 84px !important;
    height: 84px !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    align-items: center !important;
  }

  body.landing .landing-brand {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    width: 100% !important;
  }

  body.landing .landing-seal {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
    padding: 3px !important;
  }

  body.landing .landing-brand strong {
    max-width: 118px !important;
    font-size: 18px !important;
    line-height: 1.03 !important;
    white-space: normal !important;
    letter-spacing: -0.04em !important;
  }

  body.landing .landing-brand small {
    margin-top: 3px !important;
    font-size: 11px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  body.landing .landing-auth {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.landing .landing-auth .theme-toggle-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  body.landing .landing-auth .btn-outline {
    display: none !important;
  }

  body.landing .landing-auth .btn-gradient {
    display: inline-flex !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
  }

  body.landing .landing-auth .btn-gradient svg {
    display: none !important;
  }

  body.landing .nav-toggle {
    order: 3 !important;
    display: grid !important;
    place-content: center !important;
    gap: 5px !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 9px !important;
  }

  body.landing .landing-nav {
    top: 92px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 120 !important;
    padding: 10px !important;
  }

  body.landing .landing-nav a {
    height: 42px !important;
    font-size: 14px !important;
  }

  body.landing .landing-hero {
    display: block !important;
    min-height: auto !important;
    padding: 124px 18px 54px !important;
    background:
      radial-gradient(circle at 8% 4%, rgba(29, 185, 109, .12), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%) !important;
  }

  html[data-theme="dark"] body.landing .landing-hero {
    background:
      radial-gradient(circle at 8% 4%, rgba(57, 217, 139, .15), transparent 34%),
      linear-gradient(180deg, #06110c 0%, #0b1812 100%) !important;
  }

  body.landing .hero-copy {
    max-width: none !important;
    width: 100% !important;
  }

  body.landing .welcome-pill {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
  }

  body.landing .hero-copy h1 {
    margin: 24px 0 16px !important;
    max-width: 100% !important;
    font-size: clamp(40px, 12vw, 50px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.05em !important;
  }

  body.landing .hero-copy p {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  body.landing .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 26px !important;
  }

  body.landing .hero-actions .landing-btn {
    width: 100% !important;
    min-height: 43px !important;
    justify-content: center !important;
    font-size: 13px !important;
  }

  body.landing .hero-summary {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    max-width: none !important;
    margin-top: 30px !important;
  }

  body.landing .hero-summary span {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    min-height: 60px !important;
    gap: 12px !important;
    font-size: 14px !important;
  }

  body.landing .hero-media {
    display: none !important;
  }

  body.landing .trust-card {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 30px 0 0 !important;
    padding: 18px !important;
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 14px !important;
    border-radius: 14px !important;
  }

  body.landing .landing-hero:after {
    height: 42px !important;
    bottom: -24px !important;
  }

  body.landing .landing-section {
    padding: 46px 18px !important;
  }

  body.landing .section-title {
    margin-bottom: 22px !important;
  }

  body.landing .section-title h2,
  body.landing .left-heading,
  body.landing .landing-cta h2 {
    font-size: clamp(26px, 8vw, 34px) !important;
    line-height: 1.15 !important;
  }

  body.landing .section-title p {
    font-size: 14.5px !important;
  }

  body.landing .steps-grid,
  body.landing .service-grid,
  body.landing .feature-grid,
  body.landing .updates-contact {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.landing .step-card,
  body.landing .feature-card {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: auto !important;
    padding: 18px !important;
  }

  body.landing .step-card b {
    position: static !important;
    grid-column: 1 / -1 !important;
    margin-bottom: -6px !important;
    font-size: 13px !important;
  }

  body.landing .step-card > span,
  body.landing .feature-card > span,
  body.landing .portal-icon {
    width: 56px !important;
    height: 56px !important;
  }

  body.landing .step-card:not(:last-child):after {
    display: none !important;
  }

  body.landing .portal-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 22px !important;
  }

  body.landing .portal-card ul {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.landing .portal-card-button,
  body.landing .contact-button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0 14px !important;
  }

  body.landing .announcement-panel,
  body.landing .contact-panel {
    padding: 18px !important;
  }

  body.landing .announcement-item {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.landing .announcement-item time {
    width: 100% !important;
    height: 56px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  body.landing .map-card {
    min-height: 260px !important;
  }

  body.landing .landing-cta {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin: 0 18px !important;
    padding: 28px 22px !important;
    text-align: left !important;
  }

  body.landing .cta-illustration {
    display: none !important;
  }

  body.landing .cta-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.landing .landing-cta .landing-btn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
  }

  body.landing .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 34px 26px !important;
  }

  body.landing .footer-brand {
    align-items: center !important;
  }

  body.landing .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px 26px !important;
  }

  body.landing .footer-bottom nav {
    gap: 12px !important;
  }

  body.landing .back-to-top {
    right: 16px !important;
    bottom: 16px !important;
    width: 46px !important;
    height: 46px !important;
  }
}

@media (max-width: 390px) {
  body.landing .landing-header,
  body.landing .landing-header.scrolled {
    padding-inline: 10px !important;
    gap: 6px !important;
  }

  body.landing .landing-brand {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  body.landing .landing-seal {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  body.landing .landing-brand strong {
    max-width: 102px !important;
    font-size: 16px !important;
  }

  body.landing .landing-auth .theme-toggle-btn,
  body.landing .nav-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  body.landing .landing-auth .btn-gradient {
    padding-inline: 10px !important;
    font-size: 12px !important;
  }

  body.landing .landing-hero {
    padding-inline: 16px !important;
  }

  body.landing .hero-copy h1 {
    font-size: clamp(36px, 11.5vw, 44px) !important;
  }
}
