body, html {
    min-height: 100vh;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    line-height: 1.1;
    text-wrap: balance;
}

* {
    overflow-wrap: break-word;
}

b,
strong {
    font-weight: bolder;
}

button, img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
}

textarea:not([rows]) {
    min-height: 5em
}

:target {
    scroll-margin-block: 1em;
}

a {
    background-color: transparent;
}

label, input, textarea {
    display: block;
}


/* =========================== Main styles =========================== */

body {
    font-family: 'Hanken Grotesk', serif;
    /* color: #1a1e29; */
    color: #1d2024;
}

.header {
    /* background-color: aliceblue;
    background-color: rgba(62, 132, 221, 1); */
    /* background-color: hsl(0, 0%, 100%, 0.1); */
    backdrop-filter: blur(25px);
    height: 68px;
    padding-block: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    inset-inline: 0;
    padding-inline: 1rem;
    z-index: 1000;
    overflow: hidden;
}

.nav-list {
    list-style: none;
}

.logo {
    width: 120px;
}

.primary-btn {
    background-color: #026bd4;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.575rem 1.125rem;
    border-radius: 6px;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    display: none;
}

.main {
    padding-top: 68px;
    /* background-color: #fafcfd; */
    /* border: 1.25px solid #e3e8ed; */
}

.main > * {
    padding-inline: 1rem;
}

.bg-dark {
    background-color: #1B1B1B;
    color: #fff;
}

.operations-section,
.fraud-section,
.policies-section,
.support-section,
.form-section {
    margin-top: 9rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 550;
    margin-bottom: 2.5rem;
    letter-spacing: -0.015em;
    text-wrap: stable;
}

.section-title-md {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-sm {
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.card-desc {
    margin-bottom: 2rem;
    max-width: 480px;
    text-wrap: pretty;
}

.section-desc {
    max-width: 400px;
}

.card-title {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.card-img-wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.card-img {
    height: 100%;
    object-fit: cover;
}


@media (min-width: 480px) {
    .header {
        padding-inline: 1.5rem;
    }

    .main > * {
        padding-inline: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3.25rem;
    }

    .primary-btn {
        display: inline-block;
    }
}

@media (min-width: 768px) {
    .header {
        padding-inline: 2.5rem;
    }

    .main > * {
        padding-inline: 2.5rem;
    }
    
    .section-title {
        font-size: 3.125rem;
        margin-bottom: 3.25rem;
    }
    
    .section-title-md {
        font-size: 2.75rem;
        font-weight: 500;
        text-align: center;
        margin-bottom: 3rem;
    }

    .card-title {
        font-size: 1.625rem;
    }

    .card-desc {
        text-wrap: balance;
    }
}

@media (min-width: 960px) {
    .header {
        padding-inline: 3rem;
    }

    .main > * {
        padding-inline: 3rem;
    }
}


/* ========================== Hero =========================== */

.hero-section {
    /* background: linear-gradient(180deg, rgba(62, 132, 221, 1) 1%, rgba(155, 192, 240, 1) 100%); */
    margin-top: -68px;
    padding-block: 68px;
    background-color: #bbd4f6;
    height: calc(100vh - 68px);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.headline {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 90%;
    justify-self: center;
    margin-bottom: 2.25rem;
}


@media (min-width: 480px) {
    .headline {
        font-size: 3rem;
    }
}

@media (min-width: 640px) {
    .headline {
        font-size: 3.25rem;
    }
}

@media (min-width: 768px) {
    .headline {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 1.125rem;
        max-width: 640px;
    }
}


/* ========================== Features =========================== */

.features-section {
    margin-top: 6rem;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.175px;
    max-width: 1024px;
    margin-bottom: 2.5rem;
}

.feature-card {
    padding: 1.5rem;
    border: 1px solid #0d0d0d1a;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.feature-card-icon {
    color: #000;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.feature-card-title {
    color: #2e3135;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.feature-card-desc {
    color: #34373a;
    font-size: 0.95rem;
    line-height: 1.6;
}


@media (min-width: 480px) {
    .features-title {
        font-size: 1.625rem;
    }
}

@media (min-width: 768px) {
    .features-title {
        font-size: 2rem;
        margin-bottom: 3.5rem;
    }

    .features-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .feature-card {
        margin-bottom: 0;
    }

    .feature-card-title {
        line-height: 1.4;
    }
}


/* ========================== Workflow =========================== */

.workflow-section {
    margin-top: 8rem;
}

.workflow-card {
    background-color: #f9fbfd;
    padding: 1.5rem;
    border: 1px solid #e3e8ed;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 1.25rem;
}

.workflow-card-title {
    font-size: 1.175rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.workflow-card-icon {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.workflow-card-desc {
    text-align: center;
}


@media (min-width: 768px) {
    .workflow-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .workflow-card {
        margin-bottom: 1.25rem;
    }
}


/* ========================== Operations =========================== */


.operations-card {
    border: 1.25px solid #cadff8;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.operations-card {
    background-color: #afcff3;
}

@media (min-width: 768px) {
    .operations-card {
        padding: 2rem;
    }
}

@media (min-width: 820px) {
    .operations-list,
    .support-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        gap: 1.25rem;
    }

    .full-width {
        grid-column: 1 / span 2;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }

    .operations-card {
        padding: 2.25rem;
        margin-bottom: 0;
    }
}

@media (min-width: 820px) and (max-width: 960px) {
    .operations-card.full-width {
        display: block;
    }

    .operations-card.full-width .card-img {
        display: block;
        width: 90%;
        justify-self: center;
    }
}


/* ========================== Fraud =========================== */


.fraud-card {
    background-color: #f9fbfd;
    border: 1.25px solid #cadff8;
    border-radius: 4px;
    overflow: hidden;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    /* box-shadow: 0 0 4px 1px hsl(0, 0%, 0%, 0.03); */
}

.fraud-card.full-width .card-desc,
.fraud-card.full-width .card-desc {
    margin-bottom: 0;
    max-width: 480px;
}

.fraud-img {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .fraud-card {
        padding: 2rem;
    }
}

@media (min-width: 820px) {
    .fraud-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 1.375rem;
    }

    .fraud-card {
        padding: 2.25rem;
        align-items: center;
        margin-bottom: 0;
    }

    .fraud-card.full-width,
    .fraud-card.full-width {
        grid-column: 1 / span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .fraud-card.full-width .card-desc,
    .fraud-card.full-width .card-desc {
        margin-bottom: 0;
        max-width: 480px;
    }

    .fraud-img {
        margin-top: 0;
    }
}


/* ========================== Policies =========================== */

.policies-section {
    margin-top: 8rem;
    padding-block: 6rem;
}

/* ------------ Compliance ------------ */

.compliance-section {
    background-color: #2E2E2E;
    padding: 1.5rem;
    margin-bottom: 6rem;
}

.compliance-image {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------------ Controls ------------ */

.controls-section .section-title-md {
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 640px;
    justify-self: center;
    margin-bottom: 2.25rem;
}

.control-card {
    background-color: #2e2e2e;
    border: 1px solid #636363;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.control-card-title {
    font-size: 1.125rem;
    font-weight: 450;
    margin-bottom: 0.75rem;
}

.control-card-list > * {
    list-style: none;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0.375rem;
    display: flex;
    gap: 0.5rem;
    align-items: start;
}

.control-card-list svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

@media (min-width: 768px) {
    .compliance-section {
        padding: 2rem;
    }
}


@media (min-width: 960px) {
    .policies-section {
        margin-top: 8rem;
        padding-block: 6rem 8rem;
    }

    .compliance-section {
        padding: 2.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        margin-bottom: 8rem;
    }

    .controls-section .section-title-md {
        margin-bottom: 1.25rem;
    }

    .compliance-image {
        margin-left: 4rem;
        margin-top: 0;
    }

    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }

    .controls-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.375rem;
    }

    .control-card {
        padding: 1.5rem;
        margin-bottom: 0;
    }
}


/* ========================== Support =========================== */

.support-section {
    margin-top: 6rem;
}

.support-card {
    background-color: #f9fbfd;
    border: 1.25px solid #cadff8;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.bottom-image,
.side-image {
    padding: 0;
    padding-top: 2rem;
}

.side-image .card-text,
.bottom-image .card-text {
    padding-inline: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 820px) {
    .support-section {
        margin-top: 7rem;
    }

    .support-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 400px auto;
        gap: 1.25rem;
    }

    .support-card {
        background-color: #f9fbfd;
        border: 1.25px solid #cadff8;
        border-radius: 4px;
        padding: 2.25rem;
        margin-bottom: 0;
    }

    .side-image,
    .bottom-image {
        gap: 0;
        padding: 0;
    }

    .side-image.full-width {
        grid-template-columns: 1fr 1fr;
        /* gap: 1.25rem; */
    }

    .side-image .card-text {
        padding: 2.25rem;
    }

    .side-image .card-img-wrapper {
        justify-self: end;
    }

    .side-image .card-img {
        height: 100%;
        object-fit: cover;
    }

    .bottom-image .card-text {
        padding-inline: 2rem;
        padding-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* ========================== Form =========================== */

.form-section {
    /* display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
    gap: 7rem; */
    background-color: #afcff3;
    padding-block: 7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section .section-title {
    margin-bottom: 1rem;
}

.form-section .section-subtitle {
    max-width: 90%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.325rem;
    min-width: min(100%, 600px);
    max-width: 680px;
}

.names-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

label, input, textarea {
    width: 100%;
    color: #2E2E2E;
}

label {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    font-weight: 475;
}

input, textarea {
    font-size: 0.95rem;
    background-color: #fff;
    border: 1px solid #cadff8;
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
}

textarea {
    resize: none;
    height: 120px;
}

.contact-form .primary-btn {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .form-section .section-subtitle {
        max-width: 600px;
    }
}


/* ========================== Volume Graphic =========================== */


.volume-graphic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.volume-graphic-header,
.volume-graphic-body {
    width: min(100%, 380px);
    background-color: #fff;
    /* padding-bottom: 1.5rem; */
    /* border: 1px solid #e3e8ed; */
    border-radius: 6px;
}

/* .volume-graphic-container > * {
    padding-inline: 1.5rem
} */

.volume-graphic-header {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between;
    align-items: center; */
    /* border-bottom: 1px solid #e3e8ed; */
    padding: 1rem 1.25rem;
}

.volume-graphic-title {
    font-size: 0.875rem;
    font-weight: 600;
    /* margin-bottom: 0.125rem; */
}

.volume-graphic-context {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #9ca0a3;
}

.volume-graphic-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
}

.volume-graphic-text-main {
    font-size: 3.25rem;
    font-weight: 450;
    color: #1a1e2e;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.375rem;
}

.volume-graphic-text-sm {
    font-size: 0.825rem;
    color: #9ca0a3;
}

.volume-graphic-chip {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01rem;
    background-color: #ECF6F3;
    color: #1a7a5a;
    padding: 0.3rem 0.75rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(45,158,120,0.22);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.325rem;
}

.volume-graphic-chip-text {
    display: flex;
    gap: 0.275rem
}




.notifications {
    width: min(100%, 600px);
    background-color: #fff;
    border: 1px solid #e3e8ed;
    border-radius: 6px;
    padding: 1.5rem;
}

.notifications .title {
    font-size: 0.95rem;
    font-weight: 500;
}

.notifications .buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca0a3;
}

.notifications .tab-nav {
    margin-bottom: 1rem;
}

.notifications .card {
    background-color: #f6f7f9;
    padding: 0.875rem;
    border-radius: 4px;
}

.notifications .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #3AB08A;
}

.exception-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 550;
    margin-bottom: 0.5rem;
}

.exception-time {
    font-size: 0.75rem;
    font-weight: 400;
    color: #a0a4b0;
    width: max-content;
}

.notifications .details {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.notifications .info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.notifications .info .name {
    font-weight: 450;
    color: #a0a4b0;
}

.notifications .info .value {
    font-size: 0.8rem;
}

.graphic-num {
    font-family: 'DM Mono', sans-serif;
}

.graphic {
    font-family: 'DM Sans', sans-serif;
}

/* =================== Audit graphic ==================== */

.audit-graphic-container {
    width: min(100%, 600px);
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #e3e8ed;
}

.audit-graphic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.audit-graphic-header-title {
    font-size: 0.925rem;
}

.audit-graphic-header-chip {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    background-color: #3AB08A;
    color: #fff;
    border-radius: 9999px;
}

.audit-graphic-details {
    display: flex;
    gap: 3rem;
    margin-top: 1.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e3e8ed;
}

@media (max-width: 420px) {
    .audit-graphic-details {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.25rem;
    }
}

.audit-detail {
    line-height: 1.25;
}

.audit-graphic-title {
    font-size: 0.75rem;
    font-weight: 525;
    letter-spacing: 0.02rem;
    color: #a0a4b0;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

.audit-graphic-content {
    font-size: 0.85rem;
    font-weight: 475;
}

.audit-graphic-body {
    margin-bottom: 0.5rem;
}

.audit-graphic-items {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.audit-item {
    display: flex;
    align-items: start;
    gap: 1.75rem;
}

.audit-item-icon {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #dfebfb;
    color: #4d8de0;
}

.audit-item-icon::after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    height: 2.25rem;
    width: 0.25px;
    background-color: #afcff3;
}

.audit-item:last-child .audit-item-icon::after {
    height: 1.25rem;
}

.audit-item-body {
    margin-top: 0.25rem;
}

.audit-item-title {
    line-height: 1;
    margin-bottom: 0.125rem;
}

.audit-item-context {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #a0a4b0;
}




.notifications .actions {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

@media (max-width: 480px) {
    .notifications .detail-chip {
        display: none;
    }
}

@media (min-width: 820px) {
    .notifications .actions {
        margin-top: 0.75rem;
    }

    .notifications .detail-chip {
        display: none;
    }
}

.notifications .action-btn {
    padding: 0.25rem 0.875rem;
    border: 1px solid #e3e8ed;
    border-radius: 4px;
}

.notifications .action-btn.primary {
    background-color: #3C8DF2;
    color: #fff;
}

.notifications .exception-item {
    margin-top: 0.75em;
    padding-top: 0.75rem;
    border-top: 1px solid #e3e8ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.exception-item .details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notifications .time {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exception-item .info {
    line-height: 1.25;
}

.exception-item .exception-type {
    font-size: 0.825rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.exception-item .transaction-type {
    color: #9ca0a3;
}

.exception-item .detail-chip {
    width: max-content;
    margin-left: 0.5rem;
    font-size: 0.675rem;
    font-weight: 500;
    line-height: 1;
    padding: 0.275rem 0.65rem;
    border-radius: 9999px;
    background-color: #fffad1;
    color: #997c08;
}

.exception-item .detail-chip.escalated {
    background-color: #FCEDED;
    color: #c03030;
}


.required-docs {
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.01rem;
    width: min(100%, 480px);
    background-color: #fff;
    color: #1a1e2e;
    padding: 1.5rem;
    border: 1px solid #e3e8ed;
    border-radius: 6px;
}

.notifications .graphic-header,
.required-docs > .graphic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.375rem;
}

.notifications .graphic-header {
    margin-bottom: 1rem;
}

.required-docs .title {
    font-size: 1rem;
    font-weight: 550;
}

.required-docs .button {
    font-size: 0.85rem;
    color: #4d8de0;
}

.tab-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 0.625rem;
    border-bottom: 1.25px solid #e3e8ed;
    margin-bottom: 1.25rem;
}

.tab-item {
    font-size: 0.825rem;
    font-weight: 450;
    line-height: 1;
    color: #a5a9ac;
    padding-inline: 0.25rem;
}

.tab-item.selected {
    position: relative;
    color: #026bd4;
}

.tab-item.selected::after {
    content: "";
    display: block;
    position: absolute;
    padding-bottom: 0.625rem;
    left: 0;
    right: 0;
    border-bottom: 1.375px solid #026bd4;
}

@media (max-width: 420px) {
    .required-docs .tab-item:nth-child(4) {
        display: none;
    }
}

.docs-list {
    list-style: none;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.doc-item.disabled {
    opacity: 0.55;
}

.check-box {
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
    background-color: #EEF0F5;
    border: 1px solid #A0AAB8;
}

.check-box.checked {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.2rem;
    background-color: #3AB08A;
    border: none;
}
