:root {
    color-scheme: light;
    --ink: #111827;
    --muted: #5f6b7a;
    --line: #d7dee7;
    --surface: #ffffff;
    --soft: #f4f7f9;
    --green: #107457;
    --green-dark: #0d5f49;
    --blue: #143f6b;
    --yellow: #f2c744;
    --danger: #b43232;
    --shadow: 0 20px 52px rgba(15, 23, 42, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #eef3f6;
    color: var(--ink);
    font-family: Arial, "Helvetica Neue", sans-serif;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px clamp(18px, 4vw, 58px);
    border-bottom: 1px solid rgba(17, 24, 39, .12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 249, 252, .94));
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 13px;
    text-decoration: none;
}

.brand img {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand strong,
.footer-brand strong {
    display: block;
    color: var(--blue);
    font-size: 23px;
    font-weight: 950;
    letter-spacing: 0;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a,
.hero-actions a,
.portal-section a,
.contact-band a,
.form-actions a,
.form-actions button,
.form-message a {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #aeb7c2;
    border-radius: 3px;
    padding: 0 13px;
    background-image: linear-gradient(#ffffff, #e7ebef);
    box-shadow: rgba(255, 255, 255, .75) 0 1px 0 inset;
    color: #111827;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

nav .nav-primary {
    border-color: #0b5f47;
    background-image: linear-gradient(#1b9873, #107457);
    color: #fff;
}

nav a:hover,
.hero-actions a:hover,
.portal-section a:hover,
.contact-band a:hover {
    border-color: #8e98a5;
}

.primary,
.hero-actions .primary,
.portal-section a,
.contact-band a {
    border-color: #0b5f47;
    background-image: linear-gradient(#1b9873, #107457);
    color: #fff;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: grid;
    align-items: center;
    padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px) 96px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 25, 43, .94) 0%, rgba(8, 25, 43, .84) 36%, rgba(8, 25, 43, .50) 66%, rgba(8, 25, 43, .24) 100%),
        url("kobis-hero.jpg") center right / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    left: clamp(18px, 5vw, 72px);
    right: clamp(18px, 5vw, 72px);
    bottom: 42px;
    height: 1px;
    background: rgba(255, 255, 255, .22);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 790px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--yellow);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 6.2vw, 80px);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.12;
}

h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.lead {
    max-width: 700px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 750;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-actions a:not(.primary) {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .13);
    color: #fff;
    box-shadow: none;
}

.hero-status {
    position: absolute;
    z-index: 1;
    right: clamp(18px, 5vw, 72px);
    bottom: 68px;
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 8px;
    width: min(520px, calc(100% - 36px));
}

.hero-status span {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 4px;
    background: rgba(10, 22, 35, .52);
    backdrop-filter: blur(10px);
}

.hero-status strong,
.hero-status small {
    display: block;
}

.hero-status strong {
    font-size: 20px;
}

.hero-status small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 800;
}

.intro-band,
.portal-section,
.process-section,
.feature-grid,
.contact-band {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.intro-band {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 32px;
    align-items: end;
    padding: 38px 0 30px;
}

.intro-band p:last-child,
.portal-section p,
.feature-grid p,
.contact-band p,
.process-list span {
    color: var(--muted);
    font-weight: 750;
    line-height: 1.55;
}

.portal-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.portal-section article,
.feature-grid article {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.portal-section article {
    display: grid;
    align-content: start;
    padding: 22px;
    min-height: 255px;
}

.portal-icon {
    width: 38px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid #d6a920;
    border-radius: 3px;
    background: linear-gradient(#ffe680, var(--yellow));
    color: #1b2733;
    font-size: 12px;
    font-weight: 950;
}

.portal-section a {
    justify-self: start;
    margin-top: auto;
}

.process-section {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 42px;
    padding: 70px 0 34px;
}

.section-heading {
    align-self: start;
}

.process-list {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
    background: var(--line);
    box-shadow: var(--shadow);
}

.process-list li {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    padding: 20px;
    background: #fff;
}

.process-list strong {
    color: var(--blue);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 36px 0 70px;
}

.feature-grid article {
    padding: 22px;
}

.feature-grid article:nth-child(2) {
    border-top: 4px solid var(--yellow);
}

.feature-grid article:nth-child(3) {
    border-top: 4px solid var(--green);
}

.feature-grid article:nth-child(5) {
    border-top: 4px solid var(--blue);
}

.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 28px;
    padding: 28px;
    border: 1px solid #cdd7df;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(20, 63, 107, .06), rgba(16, 116, 87, .08)),
        #ffffff;
    box-shadow: var(--shadow);
}

.contact-band div {
    max-width: 780px;
}

.contact-band p {
    margin-bottom: 0;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr;
    gap: 22px;
    align-items: center;
    padding: 28px clamp(18px, 4vw, 58px);
    border-top: 1px solid rgba(17, 24, 39, .1);
    background:
        linear-gradient(90deg, rgba(20, 63, 107, .04), rgba(16, 116, 87, .04)),
        #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.footer-brand small,
.footer-contact span {
    display: block;
    margin-top: 2px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links a {
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
    text-decoration: none;
}

.footer-contact {
    text-align: right;
}

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

.signup-page {
    background:
        linear-gradient(135deg, rgba(20, 63, 107, .08), rgba(16, 116, 87, .08)),
        #eef3f6;
}

.signup-main {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0 56px;
}

.signup-hero {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(10, 28, 48, .92), rgba(10, 28, 48, .76)),
        url("kobis-hero.jpg") center right / cover no-repeat;
    color: #fff;
    box-shadow: var(--shadow);
}

.signup-hero h1 {
    margin-bottom: 0;
    font-size: clamp(34px, 4.8vw, 58px);
}

.signup-hero p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .84);
    font-weight: 750;
    line-height: 1.55;
}

.signup-assurance {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.signup-assurance span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 3px;
    padding: 0 10px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 900;
}

.signup-form,
.form-message {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.signup-form {
    display: grid;
    gap: 1px;
    overflow: hidden;
    background: var(--line);
}

.form-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: end;
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(20, 63, 107, .05), rgba(16, 116, 87, .06)),
        #fff;
}

.form-intro h2 {
    margin-bottom: 0;
    font-size: clamp(22px, 2.2vw, 30px);
}

.form-intro p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.55;
}

.signup-form fieldset {
    margin: 0;
    padding: 24px;
    border: 0;
    background: #fff;
}

.signup-form legend {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 950;
}

.signup-form legend span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6a920;
    border-radius: 3px;
    background: linear-gradient(#ffe680, var(--yellow));
    color: #182230;
    font-size: 12px;
    font-weight: 950;
}

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

.signup-form label {
    display: grid;
    gap: 7px;
    color: #243244;
    font-size: 13px;
    font-weight: 900;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
    width: 100%;
    min-height: 38px;
    border: 1px solid #b4bfca;
    border-radius: 4px;
    padding: 8px 10px;
    background: linear-gradient(#ffffff, #f8fafc);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
}

.signup-form textarea {
    resize: vertical;
    line-height: 1.45;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
    border-color: var(--green);
    box-shadow: rgba(16, 116, 87, .25) 0 0 0 3px;
    outline: 0;
}

.signup-form small,
.field-error {
    color: var(--danger);
    font-size: 12px;
    font-weight: 850;
}

.help {
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

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

.check-grid label {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--soft);
    transition: border-color .15s ease, background .15s ease;
}

.check-grid input {
    width: 16px;
    min-height: 16px;
    flex: 0 0 auto;
}

.check-grid label:has(input:checked) {
    border-color: rgba(16, 116, 87, .55);
    background: rgba(16, 116, 87, .08);
}

.privacy-note,
.form-actions {
    padding: 18px 24px;
    background: #fff;
}

.privacy-note {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-actions button {
    cursor: pointer;
}

.form-actions a {
    background-image: linear-gradient(#ffffff, #e7ebef);
}

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

.form-message {
    margin: 18px 0;
    padding: 24px;
}

.form-message.success {
    border-left: 5px solid var(--green);
}

.form-message.error {
    border-left: 5px solid var(--danger);
    color: var(--danger);
    font-weight: 900;
}

.form-message p {
    color: var(--muted);
    font-weight: 750;
}

@media (max-width: 980px) {
    .hero {
        min-height: 760px;
        padding-bottom: 210px;
        background-position: center;
    }

    .hero-status,
    .portal-section,
    .process-section,
    .feature-grid,
    .intro-band {
        grid-template-columns: 1fr;
    }

    .hero-status {
        left: clamp(18px, 5vw, 72px);
        right: auto;
    }

    .process-list li {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 680px) {
    .site-header {
        position: static;
        display: grid;
        gap: 12px;
    }

    nav {
        justify-content: flex-start;
    }

    .brand small {
        max-width: 220px;
    }

    .hero {
        min-height: 740px;
        padding-top: 38px;
        padding-bottom: 255px;
    }

    .hero-status {
        grid-template-columns: 1fr;
        bottom: 34px;
    }

    .contact-band {
        display: grid;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-contact {
        text-align: left;
    }

    .signup-hero,
    .form-intro,
    .form-grid,
    .check-grid {
        grid-template-columns: 1fr;
    }
}
