/* ============================================================
   RESET
============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f4f7fa;
    color: #16324a;

    line-height: 1.55;
}

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

a {
    color: inherit;
    text-decoration: none;
}

:root {
    --blue-dark: #07345d;
    --blue: #0b4f84;
    --blue-light: #eaf5fc;

    --orange: #f26a00;
    --orange-dark: #d85800;

    --green: #169968;
    --purple: #7131a8;

    --text: #17324a;
    --text-soft: #5b6c7a;

    --white: #ffffff;
    --border: #dce5eb;

    --shadow:
        0 5px 20px rgba(0, 38, 70, 0.10);
}


/* ============================================================
   TOP BAR
============================================================ */

.topbar {
    background: var(--blue-dark);
    color: white;

    text-align: center;

    padding: 7px 12px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    background: white;

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 100;
}

.header-inner {
    width: min(1180px, 100%);

    margin: auto;

    padding: 12px 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.brand {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-main {
    font-size: 25px;
    font-weight: 800;

    letter-spacing: -1px;

    color: var(--blue-dark);
}

.brand-main span {
    color: var(--orange);
}

.brand-small {
    margin-top: 5px;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;

    color: var(--text-soft);
}

nav {
    display: flex;

    align-items: center;

    gap: 23px;

    font-size: 14px;
    font-weight: 600;
}

nav a:hover {
    color: var(--orange);
}

.nav-contribute {
    background: var(--orange);

    color: white;

    padding: 9px 15px;

    border-radius: 5px;
}

.nav-contribute:hover {
    color: white;
    background: var(--orange-dark);
}


/* ============================================================
   HERO
============================================================ */

.hero {
    position: relative;

    min-height: 460px;

    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(4,40,71,.93) 0%,
            rgba(4,40,71,.76) 38%,
            rgba(4,40,71,.16) 72%,
            rgba(4,40,71,.04) 100%
        ),
        url('/images/hero.jpg');

    background-size: cover;
    background-position: center;
}

.hero-inner {
    width: min(1180px, 100%);

    margin: auto;

    padding: 55px 25px;

    color: white;
}

.hero-content {
    max-width: 590px;
}

.hero h1 {
    margin: 0;

    font-size: clamp(40px, 6vw, 68px);

    line-height: 1.02;

    letter-spacing: -2px;
}

.hero p {
    max-width: 520px;

    margin: 22px 0 0;

    font-size: 20px;

    line-height: 1.45;
}

.development-badge {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 28px;

    padding: 11px 18px;

    border-radius: 30px;

    background: var(--orange);

    color: white;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .5px;
}

.badge-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: white;
}


/* ============================================================
   GENERAL
============================================================ */

.section {
    width: min(1180px, 100%);

    margin: auto;

    padding: 65px 25px;
}

.section-title {
    margin: 0 auto 14px;

    text-align: center;

    font-size: clamp(29px, 4vw, 40px);

    line-height: 1.15;

    color: var(--blue-dark);
}

.section-text {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;

    color: var(--text-soft);

    font-size: 17px;
}


/* ============================================================
   DEMO SOURCE BAND
============================================================ */

.demo-section {
    background: white;

    border-bottom: 1px solid var(--border);
}

.demo-inner {
    width: min(1180px, 100%);

    margin: auto;

    padding: 27px 20px 31px;
}

.demo-title {
    text-align: center;

    margin: 0;

    font-size: 17px;
    font-weight: 800;

    color: var(--blue-dark);
}

.demo-subtitle {
    margin: 5px auto 22px;

    text-align: center;

    font-size: 12px;

    color: var(--text-soft);
}

.demo-logos {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 12px;
}

.demo-company {
    min-height: 82px;

    border-right: 1px solid var(--border);

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 10px;

    text-align: center;
}

.demo-company:last-child {
    border-right: 0;
}

.demo-symbol {
    width: 38px;
    height: 38px;

    margin-bottom: 7px;

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    font-size: 20px;
    font-weight: 900;

    background: var(--blue);
}

.demo-company:nth-child(2) .demo-symbol {
    background: var(--orange);
}

.demo-company:nth-child(3) .demo-symbol {
    background: #687887;
}

.demo-company:nth-child(4) .demo-symbol {
    background: #bd3943;
}

.demo-company:nth-child(5) .demo-symbol {
    background: #1b87bc;
}

.demo-name {
    font-size: 16px;
    line-height: 1;

    font-weight: 900;

    color: var(--blue-dark);
}

.demo-type {
    margin-top: 4px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .7px;

    color: var(--text-soft);
}


/* ============================================================
   RESOURCE CARDS
============================================================ */

.resources-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 40px;
}

.resource-card {
    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: var(--shadow);

    border: 1px solid var(--border);
}

.resource-image {
    width: 100%;
    height: 205px;

    object-fit: cover;
}

.resource-content {
    padding: 23px 20px 26px;

    text-align: center;
}

.resource-icon {
    width: 54px;
    height: 54px;

    margin: -50px auto 13px;

    position: relative;

    border: 4px solid white;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    font-size: 23px;
    font-weight: 900;

    background: var(--orange);
}

.resource-card:nth-child(2) .resource-icon {
    background: #1597d1;
}

.resource-card:nth-child(3) .resource-icon {
    background: var(--green);
}

.resource-card:nth-child(4) .resource-icon {
    background: var(--purple);
}

.resource-content h3 {
    margin: 0;

    font-size: 22px;

    color: var(--blue-dark);
}

.resource-content p {
    margin: 9px 0 0;

    color: var(--text-soft);

    font-size: 14px;
}


/* ============================================================
   HOW IT WORKS
============================================================ */

.how-section {
    background: var(--blue-light);
}

.steps {
    width: min(1100px, 100%);

    margin: 42px auto 0;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;

    margin: 0 auto 15px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--orange);

    color: white;

    font-size: 20px;
    font-weight: 900;
}

.step:nth-child(2) .step-number {
    background: #1597d1;
}

.step:nth-child(3) .step-number {
    background: var(--green);
}

.step:nth-child(4) .step-number {
    background: var(--purple);
}

.step h3 {
    margin: 0;

    font-size: 17px;

    color: var(--blue-dark);
}

.step p {
    margin: 9px auto 0;

    color: var(--text-soft);

    font-size: 14px;
}


/* ============================================================
   CONTRIBUTION / LETTER
============================================================ */

.contribute-section {
    background: #ffffff;

    border-top: 5px solid var(--orange);
}

.contribute-wrap {
    width: min(980px, 100%);

    margin: auto;

    padding: 70px 25px;
}

.contribute-heading {
    text-align: center;
}

.contribute-label {
    display: inline-block;

    padding: 7px 14px;

    border-radius: 20px;

    background: var(--orange);

    color: white;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}

.contribute-heading h2 {
    margin: 15px 0 10px;

    color: var(--blue-dark);

    font-size: clamp(30px, 5vw, 43px);

    line-height: 1.1;
}

.contribute-heading p {
    max-width: 700px;

    margin: auto;

    color: var(--text-soft);

    font-size: 17px;
}

.letter {
    margin-top: 38px;

    background: #f8fafc;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 36px 40px;

    box-shadow: var(--shadow);
}

.letter-title {
    margin: 0 0 25px;

    color: var(--blue-dark);

    font-size: 22px;

    line-height: 1.25;
}

.letter p {
    margin: 0 0 18px;

    color: #344b5e;

    font-size: 16px;
}

.no-format {
    margin: 28px 0;

    padding: 20px 22px;

    background: #eaf5fc;

    border-left: 5px solid var(--blue);

    border-radius: 5px;
}

.no-format strong {
    display: block;

    margin-bottom: 5px;

    color: var(--blue-dark);

    font-size: 18px;
}

.example-title {
    margin-top: 28px;

    color: var(--blue-dark);

    font-size: 18px;

    font-weight: 800;
}

.example-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px 25px;

    margin: 17px 0 25px;
}

.example-item {
    padding: 10px 12px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 6px;

    font-size: 14px;

    color: #435969;
}

.example-item strong {
    color: var(--blue-dark);
}

.location-box {
    margin: 28px 0;

    padding: 20px 22px;

    background: #fff5ec;

    border-left: 5px solid var(--orange);

    border-radius: 5px;
}

.location-box strong {
    color: var(--orange-dark);
}

.send-box {
    margin-top: 35px;

    padding: 30px;

    border-radius: 10px;

    background: var(--blue-dark);

    color: white;

    text-align: center;
}

.send-box h3 {
    margin: 0;

    font-size: 23px;
}

.send-box p {
    margin: 9px 0 20px;

    color: #d7e7f2;
}

.email-address {
    display: block;

    margin-bottom: 20px;

    font-size: clamp(19px, 4vw, 27px);

    font-weight: 800;

    color: white;

    word-break: break-word;
}

.email-button {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 6px;

    background: var(--orange);

    color: white;

    font-size: 15px;

    font-weight: 800;

    transition: background .2s ease;
}

.email-button:hover {
    background: var(--orange-dark);
}

.review-note {
    margin-top: 25px !important;

    font-size: 12px !important;

    color: #71818d !important;
}


/* ============================================================
   BOTTOM MESSAGE
============================================================ */

.contribution {
    background:
        linear-gradient(
            135deg,
            #07345d,
            #0c568b
        );

    color: white;
}

.contribution-inner {
    width: min(1180px, 100%);

    margin: auto;

    padding: 52px 25px;

    text-align: center;
}

.contribution h2 {
    margin: 0;

    font-size: 31px;
}

.contribution p {
    max-width: 800px;

    margin: 12px auto 0;

    color: #dcebf5;

    font-size: 16px;
}


/* ============================================================
   FOOTER
============================================================ */

footer {
    background: #041f36;

    color: white;
}

.footer-inner {
    width: min(1180px, 100%);

    margin: auto;

    padding: 32px 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;
}

.footer-brand {
    font-size: 21px;

    font-weight: 800;
}

.footer-small {
    margin-top: 4px;

    font-size: 12px;

    color: #aac1d0;
}

.copyright {
    font-size: 12px;

    color: #aac1d0;

    text-align: right;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    nav {
        display: none;
    }

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

    .steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .demo-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-company {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
}


/* ============================================================
   PHONE
============================================================ */

@media (max-width: 600px) {

    body {
        background: white;
    }

    .topbar {
        padding: 6px 8px;

        font-size: 10px;
    }

    .header-inner {
        padding: 11px 16px;
    }

    .brand-main {
        font-size: 23px;
    }

    .brand-small {
        font-size: 7px;
    }


    /* HERO */

    .hero {
        min-height: 560px;

        align-items: flex-end;

        background-image:
            linear-gradient(
                0deg,
                rgba(4,40,71,.98) 0%,
                rgba(4,40,71,.90) 32%,
                rgba(4,40,71,.25) 68%,
                rgba(4,40,71,.05) 100%
            ),
            url('/images/hero.jpg');

        background-position: 72% center;
    }

    .hero-inner {
        padding:
            220px
            20px
            37px;
    }

    .hero h1 {
        font-size: 39px;

        letter-spacing: -1px;
    }

    .hero p {
        margin-top: 15px;

        font-size: 16px;
    }

    .development-badge {
        margin-top: 20px;

        padding: 9px 14px;

        font-size: 11px;
    }


    /* DEMO */

    .demo-inner {
        padding: 25px 14px;
    }

    .demo-title {
        font-size: 15px;
    }

    .demo-subtitle {
        font-size: 11px;
    }

    .demo-logos {
        grid-template-columns: repeat(2, 1fr);

        gap: 7px;
    }

    .demo-company {
        min-height: 92px;

        background: #f7fafc;

        border: 1px solid var(--border);

        border-radius: 7px;
    }

    .demo-company:last-child {
        grid-column: 1 / -1;
    }


    /* GENERAL */

    .section {
        padding: 48px 16px;
    }

    .section-title {
        font-size: 29px;
    }

    .section-text {
        font-size: 15px;

        line-height: 1.55;
    }


    /* RESOURCE */

    .resources-grid {
        grid-template-columns: 1fr;

        gap: 24px;

        margin-top: 32px;
    }

    .resource-image {
        height: 225px;
    }

    .resource-content h3 {
        font-size: 23px;
    }

    .resource-content p {
        font-size: 15px;
    }


    /* STEPS */

    .steps {
        grid-template-columns: 1fr;

        gap: 0;

        margin-top: 32px;
    }

    .step {
        display: grid;

        grid-template-columns: 55px 1fr;

        text-align: left;

        gap: 12px;

        padding: 20px 0;

        border-bottom: 1px solid #cddfe9;
    }

    .step:last-child {
        border-bottom: 0;
    }

    .step-number {
        grid-row: 1 / 3;

        margin: 0;
    }

    .step p {
        margin: 5px 0 0;

        font-size: 14px;
    }


    /* LETTER */

    .contribute-wrap {
        padding: 50px 15px;
    }

    .contribute-heading p {
        font-size: 15px;
    }

    .letter {
        margin-top: 30px;

        padding: 25px 18px;

        border-radius: 8px;
    }

    .letter-title {
        font-size: 20px;

        margin-bottom: 22px;
    }

    .letter p {
        font-size: 15px;

        line-height: 1.6;
    }

    .no-format {
        margin: 23px 0;

        padding: 17px;
    }

    .example-grid {
        grid-template-columns: 1fr;

        gap: 7px;
    }

    .example-item {
        font-size: 14px;

        padding: 10px;
    }

    .location-box {
        padding: 17px;

        margin: 23px 0;
    }

    .send-box {
        padding: 25px 15px;
    }

    .email-button {
        display: block;

        width: 100%;

        padding: 15px 10px;
    }


    /* BOTTOM */

    .contribution-inner {
        padding: 42px 20px;
    }

    .contribution h2 {
        font-size: 27px;
    }

    .contribution p {
        font-size: 15px;
    }


    /* FOOTER */

    .footer-inner {
        padding: 28px 20px;

        display: block;

        text-align: center;
    }

    .copyright {
        margin-top: 18px;

        text-align: center;
    }
}


@media (max-width: 360px) {

    .hero h1 {
        font-size: 34px;
    }

    .demo-logos {
        grid-template-columns: 1fr;
    }

    .demo-company:last-child {
        grid-column: auto;
    }
}
/* ============================================================
   PUBLIC ACCESS HOME — v42
============================================================ */
.nav-account {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 15px;
    border-radius: 7px;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
}
.nav-account:hover { background: var(--orange-dark); color: var(--white); }
.home-account-note {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    background: rgba(10,121,85,.78);
    color: #fff;
    font-weight: 800;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.primary-action { background: var(--orange); color: #fff; }
.primary-action:hover { background: var(--orange-dark); }
.secondary-action { border: 1px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); color: #fff; }
.secondary-action:hover { background: rgba(255,255,255,.22); }
.hero .hero-trust { margin-top: 18px; font-size: 15px; color: #e2eff7; }
.resource-link { display: block; transition: transform .18s ease, box-shadow .18s ease; }
.resource-link:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,38,70,.18); }
.resource-open {
    display: inline-flex;
    margin-top: 10px;
    color: var(--orange);
    font-weight: 800;
}
@media (max-width: 980px) {
    .header-inner { align-items: flex-start; flex-direction: column; }
    .header-inner nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px 14px; }
}
@media (max-width: 560px) {
    .topbar { font-size: 10px; }
    .header-inner { align-items: center; }
    .header-inner nav { font-size: 13px; }
    .nav-account { width: 100%; justify-content: center; }
    .hero-actions { display: grid; }
    .hero-button { width: 100%; }
}


/* 123R revision 02: non-destructive visual overrides */
.site-header .brand { flex-direction:row;align-items:center;gap:10px;min-width:0; }
.brand-logo {width:51px;height:51px;object-fit:contain;flex:none;}
.brand-type {display:flex;flex-direction:column;min-width:0;}
.nav-collab{color:var(--blue-dark);font-weight:800;}
.hero {background-image:linear-gradient(90deg,rgba(3,34,62,.96) 0%,rgba(3,38,69,.86) 35%,rgba(3,38,69,.36) 72%,rgba(3,38,69,.2) 100%),url('/images/hero-clean.jpg');background-position:center center;min-height:475px;}
.hero .hero-content{max-width:640px;}
.hero h1{font-size:clamp(36px,4.6vw,58px);line-height:1.08;letter-spacing:-1px;text-wrap:balance;}
.hero p{font-size:clamp(16px,1.5vw,19px);}
.hero-collaborate{color:white;background:rgba(13,69,106,.84);border:1px solid rgba(255,255,255,.72)}
.r02-contribute {background:#eaf3f9;padding:60px 20px;}
.r02-contribute .contribute-wrap{max-width:860px;margin:0 auto;text-align:center;}
.r02-contribute .contribute-label{letter-spacing:2px;font-weight:800;font-size:12px;color:#e86609;}
.r02-contribute h2{font-size:clamp(28px,3.5vw,39px);line-height:1.2;margin:12px auto 20px;color:#07345d;}
.r02-contribute p{max-width:760px;margin:14px auto;font-size:17px;line-height:1.68;color:#233c54;}
.r02-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:25px 0;}
.r02-action{display:inline-flex;min-height:48px;align-items:center;padding:12px 18px;border-radius:8px;font-weight:800;background:#f26a00;color:white;}
.r02-alt{background:#0b4f84;}
.r02-contribute .r02-muted{font-size:14px;}
.resource-card .resource-image{object-fit:cover;object-position:center;}
@media(max-width:700px){.topbar{font-size:9px;letter-spacing:.65px;}.header-inner{padding:12px 14px;gap:12px;}.brand-logo{width:42px;height:42px}.brand-main{font-size:22px}.brand-small{font-size:7px}.header-inner nav{width:100%;justify-content:center;gap:8px 12px;font-size:12px}.hero{min-height:0;background-position:62% center;}.hero-inner{padding:64px 20px}.hero h1{font-size:clamp(34px,8vw,45px)}.hero p{font-size:16px}.r02-contribute{padding:45px 18px}.r02-contribute p{font-size:16px}.r02-actions{flex-direction:column}.r02-action{justify-content:center}}
