@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: #122033;
    background: #fff;
    line-height: 1.65;
}

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

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;

    border-bottom: 1px solid #e9eef4;
    background: #fff;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: inline-flex;
    align-items: center;

    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.logo span {
    display: inline-grid;
    place-items: center;

    width: 30px;
    height: 30px;

    margin-right: 7px;

    border-radius: 9px;

    background: #087f7b;
    color: #fff;
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 14px;
    font-weight: 600;
    color: #526173;
}

.nav nav a {
    transition: color 0.2s ease;
}

.nav nav a:hover,
.nav nav .active {
    color: #087f7b;
}

.nav-btn {
    padding: 11px 18px !important;

    background: #087f7b;
    color: #fff !important;

    border-radius: 9px;
}

.menu {
    display: none;

    border: 0;
    background: none;

    color: #122033;

    font-size: 25px;
    cursor: pointer;
}


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

.hero {
    padding: 90px 0 70px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.eyebrow {
    margin-bottom: 14px;

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

    letter-spacing: 1.5px;

    color: #087f7b;
}

.eyebrow-dot {
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 6px;

    border-radius: 50%;
    background: #087f7b;
}

.hero h1 {
    margin: 0 0 22px;

    font-size: 55px;
    line-height: 1.08;

    letter-spacing: -2.8px;
}

.hero h1 span {
    color: #087f7b;
}

.hero p {
    max-width: 580px;

    margin: 0;

    font-size: 17px;
    color: #627084;
}

.actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin: 30px 0 18px;
}

.btn {
    display: inline-block;

    padding: 13px 21px;

    border: 1px solid #dce4ec;
    border-radius: 9px;

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

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

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

.btn.primary {
    background: #087f7b;
    color: #fff;
    border-color: #087f7b;
}

.btn.ghost {
    background: #fff;
}

.btn.light {
    background: #fff;
    color: #087f7b;
    border: 0;
}

.btn.full {
    width: 100%;
    text-align: center;
}

.trust {
    font-size: 12px;
    color: #8a95a5;
}


/* =========================================================
   DASHBOARD PREVIEW
========================================================= */

.dashboard {
    padding: 20px;

    border-radius: 18px;

    background: #10212d;
    color: #fff;

    box-shadow: 0 25px 60px rgba(16, 33, 45, 0.14);
}

.dash-top {
    display: flex;
    justify-content: space-between;

    margin-bottom: 20px;
}

.dash-top span {
    font-size: 11px;
    color: #76d7c9;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.metric-grid div {
    padding: 15px;

    border-radius: 10px;

    background: #18313d;
}

.metric-grid small,
.metric-grid em {
    display: block;

    font-size: 10px;
    color: #9db0ba;
}

.metric-grid strong {
    display: block;

    margin: 3px 0;

    font-size: 22px;
}

.metric-grid em {
    color: #71d3c2;
    font-style: normal;
}

.chart {
    height: 150px;

    display: flex;
    align-items: end;

    gap: 9px;

    padding: 20px 5px;
}

.chart i {
    flex: 1;

    border-radius: 4px 4px 0 0;

    background: #5bc9bc;
    opacity: 0.9;
}

.appointment {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 13px;

    border-radius: 9px;

    background: #18313d;

    font-size: 12px;
}

.appointment b {
    margin-left: auto;
}

.appointment button {
    border: 0;
    background: none;

    color: #76d7c9;

    cursor: pointer;
}


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

.section {
    padding: 85px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 30px;

    margin-bottom: 35px;
}

.section-head h2,
.section h2 {
    margin: 0;

    font-size: 35px;
    line-height: 1.2;

    letter-spacing: -1.3px;
}

.section-head a {
    color: #087f7b;
    font-weight: 700;
}

.soft {
    background: #f7fafb;
}


/* =========================================================
   GENERIC CARDS
========================================================= */

.cards {
    display: grid;
    gap: 18px;
}

.cards.four {
    grid-template-columns: repeat(4, 1fr);
}

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

.cards article {
    padding: 25px;

    border: 1px solid #e6ebf0;
    border-radius: 13px;

    background: #fff;
}

.icon {
    font-size: 26px;
    color: #087f7b;
}

.cards h3 {
    margin: 15px 0 6px;
}

.cards p {
    margin: 0;

    font-size: 14px;
    color: #687687;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    margin-top: 20px;

    padding: 65px max(4%, calc((100% - 1160px) / 2));

    background: #087f7b;
    color: #fff;
}

.cta .eyebrow {
    color: #9ce1d8;
}

.cta h2 {
    margin: 0 0 10px;

    font-size: 35px;
    line-height: 1.2;
}

.cta p {
    margin: 0;
    color: #d2f2ee;
}


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

.page-hero {
    padding: 85px 20px 60px;

    text-align: center;

    background: #f5faf9;
}

.page-hero h1 {
    max-width: 850px;

    margin: 0 auto 16px;

    font-size: 48px;
    line-height: 1.15;

    letter-spacing: -2px;
}

.page-hero p {
    max-width: 680px;

    margin: 0 auto;

    color: #687687;
}


/* =========================================================
   FEATURE LIST
========================================================= */

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.feature-list article {
    display: flex;
    gap: 20px;

    padding: 28px;

    border: 1px solid #e6ebf0;
    border-radius: 14px;
}

.feature-list h2 {
    margin: 0 0 6px;

    font-size: 20px;
}

.feature-list p {
    margin: 0;

    font-size: 14px;
    color: #687687;
}

.bigicon {
    min-width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #e8f6f4;
    color: #087f7b;

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


/* =========================================================
   PRICING
========================================================= */

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    padding-top: 30px;
    padding-bottom: 90px;
}

.price {
    position: relative;

    padding: 30px;

    border: 1px solid #e2e8ef;
    border-radius: 16px;

    background: #fff;
}

.price.popular {
    border: 2px solid #087f7b;
}

.price label {
    position: absolute;
    top: 0;
    right: 22px;

    padding: 6px 11px;

    border-radius: 0 0 7px 7px;

    background: #087f7b;
    color: #fff;

    font-size: 9px;
    font-weight: 800;
}

.price h3 {
    margin: 0;

    font-size: 21px;
}

.price p {
    min-height: 44px;

    font-size: 13px;
    color: #778394;
}

.price strong {
    display: block;

    margin: 20px 0;

    font-size: 32px;
}

.price small {
    font-size: 12px;
    color: #778394;
    font-weight: 500;
}

.price ul {
    padding: 0;
    margin: 25px 0 0;

    list-style: none;
}

.price li {
    padding: 9px 0;

    border-top: 1px solid #edf0f3;

    font-size: 13px;
}

.price li::before {
    content: "✓";

    margin-right: 9px;

    color: #087f7b;
    font-weight: 800;
}


/* =========================================================
   SOLUTION / SPLIT
========================================================= */

.solution a {
    display: block;

    margin-top: 20px;

    color: #087f7b;
    font-weight: 700;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.split > p {
    color: #687687;
}

.quote {
    padding: 45px;

    border-radius: 16px;

    background: #10212d;
    color: #fff;

    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
}


/* =========================================================
   WHO CAN USE MEDIBOOK
========================================================= */

.audience-section {
    position: relative;

    padding: 95px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(8, 127, 123, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 90%,
            rgba(46, 154, 255, 0.05),
            transparent 32%
        ),
        #f7fafb;
}

.audience-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -180px;

    border-radius: 50%;

    background: rgba(8, 127, 123, 0.035);

    pointer-events: none;
}

.audience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;

    margin-bottom: 42px;
}

.audience-header h2 {
    margin: 0;

    font-size: 38px;
    line-height: 1.16;

    letter-spacing: -1.5px;
}

.audience-header > p {
    max-width: 430px;

    margin: 0 0 3px;

    color: #6b7888;

    font-size: 14px;
    line-height: 1.75;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.audience-card {
    position: relative;

    min-height: 220px;

    display: flex;
    flex-direction: column;

    padding: 26px;

    border: 1px solid #e4eaee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(18, 32, 51, 0.035);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.audience-card:hover {
    transform: translateY(-5px);

    border-color: rgba(8, 127, 123, 0.35);

    box-shadow:
        0 18px 40px rgba(18, 32, 51, 0.08),
        0 0 0 1px rgba(8, 127, 123, 0.04);
}

.audience-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 11px;

    background: #eaf7f5;
    color: #087f7b;

    font-size: 19px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.audience-card:hover .audience-icon {
    transform: scale(1.06);
    background: #dff3f0;
}

.audience-card h3 {
    margin: 0 0 7px;

    color: #122033;

    font-size: 17px;
    line-height: 1.35;

    letter-spacing: -0.3px;
}

.audience-card p {
    max-width: 290px;

    margin: 0;

    color: #718091;

    font-size: 12.5px;
    line-height: 1.65;
}

.audience-card > span {
    margin-top: auto;
    padding-top: 20px;

    color: #087f7b;

    font-size: 12px;
    font-weight: 700;
}

.audience-card > span b {
    display: inline-block;

    margin-left: 4px;

    transition: transform 0.25s ease;
}

.audience-card:hover > span b {
    transform: translateX(5px);
}

.more-card {
    background:
        linear-gradient(
            145deg,
            rgba(8, 127, 123, 0.055),
            rgba(255, 255, 255, 0.95)
        );

    border-style: dashed;
}

.more-card .audience-icon {
    background: #eef3f6;
    color: #526173;
}

.more-card:hover {
    border-style: solid;
}

.audience-bottom {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 14px;

    margin-top: 38px;

    color: #718091;

    font-size: 13px;
}

.audience-bottom a {
    color: #087f7b;
    font-weight: 700;
}

.audience-bottom a b {
    display: inline-block;

    margin-left: 3px;

    transition: transform 0.25s ease;
}

.audience-bottom a:hover b {
    transform: translateX(4px);
}


/* =========================================================
   HOW MEDIBOOK WORKS
========================================================= */

.workflow-section {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    background: #fff;
}

.workflow-section::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -280px;
    left: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(8, 127, 123, 0.055),
            transparent 68%
        );

    pointer-events: none;
}

.workflow-section::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -200px;
    bottom: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47, 155, 255, 0.045),
            transparent 68%
        );

    pointer-events: none;
}

.workflow-header {
    position: relative;
    z-index: 1;

    max-width: 720px;

    margin: 0 auto 65px;

    text-align: center;
}

.workflow-header h2 {
    margin: 0 0 18px;

    color: #122033;

    font-size: 42px;
    line-height: 1.15;

    letter-spacing: -1.7px;
}

.workflow-header h2 span {
    color: #087f7b;
}

.workflow-header p {
    max-width: 610px;

    margin: 0 auto;

    color: #6d7b8b;

    font-size: 15px;
    line-height: 1.75;
}

.workflow {
    position: relative;
    z-index: 1;

    max-width: 900px;

    margin: 0 auto;
}

.workflow-step {
    position: relative;

    display: grid;
    grid-template-columns: 58px 64px 1fr;

    align-items: start;

    gap: 22px;

    padding: 28px 30px;

    border: 1px solid #e5ebef;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.95);

    box-shadow: 0 5px 18px rgba(18, 32, 51, 0.025);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.workflow-step:hover {
    transform: translateY(-4px);

    border-color: rgba(8, 127, 123, 0.28);

    box-shadow:
        0 18px 40px rgba(18, 32, 51, 0.07),
        0 0 0 1px rgba(8, 127, 123, 0.025);
}

.workflow-number {
    padding-top: 8px;

    color: #9aa6b3;

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

    letter-spacing: 0.5px;
}

.workflow-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border: 1px solid #d8eeeb;
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #e9f7f5,
            #f2faf9
        );

    font-size: 24px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.workflow-step:hover .workflow-icon {
    transform: scale(1.06);

    box-shadow: 0 8px 20px rgba(8, 127, 123, 0.10);
}

.workflow-content h3 {
    margin: 2px 0 7px;

    color: #122033;

    font-size: 19px;

    letter-spacing: -0.35px;
}

.workflow-content p {
    max-width: 650px;

    margin: 0;

    color: #6d7b8b;

    font-size: 13px;
    line-height: 1.7;
}

.workflow-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 15px;
}

.workflow-tags span {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border: 1px solid #e7edf1;
    border-radius: 6px;

    background: #f5f8fa;

    color: #697786;

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

.workflow-connector {
    position: relative;

    height: 40px;

    margin-left: 58px;
}

.workflow-connector::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 29px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            #d9e9e7,
            #b9ddd8
        );
}

.workflow-connector span {
    position: absolute;

    left: 25px;
    bottom: -1px;

    width: 9px;
    height: 9px;

    border-right: 1.5px solid #087f7b;
    border-bottom: 1.5px solid #087f7b;

    transform: rotate(45deg);
}

.workflow-final {
    border-color: rgba(8, 127, 123, 0.18);

    background:
        linear-gradient(
            145deg,
            rgba(8, 127, 123, 0.025),
            #fff
        );
}

.workflow-final .workflow-icon {
    background:
        linear-gradient(
            145deg,
            #dff4f0,
            #eefaf8
        );
}

.workflow-bottom {
    position: relative;
    z-index: 1;

    max-width: 900px;

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

    gap: 25px;

    margin: 45px auto 0;
    padding: 25px 28px;

    border: 1px solid #dcefeb;
    border-radius: 14px;

    background: #f5faf9;
}

.workflow-bottom div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.workflow-bottom strong {
    color: #122033;
    font-size: 14px;
}

.workflow-bottom span {
    color: #758292;
    font-size: 11px;
}


/* =========================================================
   WHY MEDIBOOK
========================================================= */

.why-medibook {
    position: relative;

    padding: 100px 0 60px;

    overflow: hidden;

    background: #fff;
}

.why-medibook-inner {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.why-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);

    align-items: end;

    gap: 60px;

    margin-bottom: 45px;
}

.why-header h2 {
    max-width: 700px;

    margin: 0;

    color: #122033;

    font-size: 42px;
    line-height: 1.12;

    letter-spacing: -1.8px;
}

.why-header h2 span {
    display: block;
    color: #087f7b;
}

.why-header > p {
    margin: 0 0 3px;

    color: #6b7888;

    font-size: 14px;
    line-height: 1.75;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.why-card {
    min-width: 0;
    min-height: 190px;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);

    align-items: start;

    gap: 17px;

    padding: 25px;

    border: 1px solid #e4eaee;
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(18, 32, 51, 0.035);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.why-card:hover {
    transform: translateY(-4px);

    border-color: rgba(8, 127, 123, 0.30);

    box-shadow:
        0 18px 40px rgba(18, 32, 51, 0.07),
        0 0 0 1px rgba(8, 127, 123, 0.04);
}

.why-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: #eaf7f5;
    color: #087f7b;

    font-size: 19px;
    line-height: 1;
}

.why-card small {
    display: block;

    margin-bottom: 4px;

    color: #9aa6b3;

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

    letter-spacing: 1px;
}

.why-card h3 {
    margin: 0 0 7px;

    color: #122033;

    font-size: 17px;
    line-height: 1.35;

    letter-spacing: -0.3px;
}

.why-card p {
    margin: 0;

    color: #718091;

    font-size: 12.5px;
    line-height: 1.65;
}

.why-bottom {
    max-width: 1080px;

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

    gap: 25px;

    margin: 40px auto 0;
    padding: 23px 26px;

    border: 1px solid #dcefeb;
    border-radius: 13px;

    background:
        linear-gradient(
            100deg,
            #f0faf8,
            #f8fbfc
        );
}

.why-bottom div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.why-bottom strong {
    color: #122033;
    font-size: 14px;
}

.why-bottom span {
    color: #788695;
    font-size: 11px;
}


/* =========================================================
   CONNECTED MODULES
========================================================= */

.connected-modules {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(8, 127, 123, 0.045),
            transparent 34%
        ),
        #fff;
}

.connected-head {
    align-items: end;

    margin-bottom: 55px;
}

.connected-head h2 {
    font-size: 40px;
    line-height: 1.14;

    letter-spacing: -1.7px;
}

.connected-head .section-lede {
    max-width: 430px;
}

.connection-map {
    position: relative;

    width: min(1050px, 100%);

    margin: 0 auto;

    padding: 10px 0 5px;
}


/* PATIENT CORE */

.patient-core {
    position: relative;
    z-index: 5;

    width: 235px;
    min-height: 82px;

    display: flex;
    align-items: center;

    gap: 14px;

    margin: 0 auto 55px;
    padding: 15px 18px;

    border: 1px solid rgba(8, 127, 123, 0.25);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #f0faf8,
            #fff
        );

    box-shadow:
        0 15px 35px rgba(8, 127, 123, 0.08),
        0 0 0 6px rgba(8, 127, 123, 0.025);
}

.patient-core::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -55px;

    width: 1px;
    height: 55px;

    background:
        linear-gradient(
            to bottom,
            rgba(8, 127, 123, 0.4),
            rgba(8, 127, 123, 0.08)
        );
}

.patient-core-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: #087f7b;
    color: #fff;

    font-size: 13px;

    box-shadow: 0 7px 18px rgba(8, 127, 123, 0.18);
}

.patient-core div:last-child {
    display: flex;
    flex-direction: column;
}

.patient-label {
    color: #087f7b;

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

    letter-spacing: 1.2px;
}

.patient-core strong {
    color: #122033;

    font-size: 18px;
    line-height: 1.25;
}

.patient-core small {
    margin-top: 2px;

    color: #7b8795;

    font-size: 9px;
}


/* MODULE ROW */

.connection-row {
    position: relative;
    z-index: 3;

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

    gap: 20px;
}

.connection-module {
    position: relative;

    min-width: 0;

    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 22px;

    border: 1px solid #e3e9ee;
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow: 0 8px 28px rgba(18, 32, 51, 0.045);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.connection-module:hover {
    transform: translateY(-5px);

    border-color: rgba(8, 127, 123, 0.28);

    box-shadow:
        0 18px 38px rgba(18, 32, 51, 0.08),
        0 0 0 1px rgba(8, 127, 123, 0.025);
}

.connection-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: #eaf7f5;
    color: #087f7b;

    font-size: 18px;
}

.connection-content {
    min-width: 0;
}

.connection-content > span {
    display: block;

    margin-bottom: 2px;

    color: #a3adb8;

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

    letter-spacing: 1px;
}

.connection-content h3 {
    margin: 0 0 6px;

    color: #122033;

    font-size: 16px;
    line-height: 1.3;

    letter-spacing: -0.25px;
}

.connection-content p {
    margin: 0;

    color: #718091;

    font-size: 11px;
    line-height: 1.65;
}

.connection-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 12px;
}

.connection-tags b {
    padding: 4px 7px;

    border: 1px solid #e8edf1;
    border-radius: 5px;

    background: #f5f8fa;

    color: #718091;

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


/* CONNECTION LINE */

.connection-line {
    position: relative;

    height: 55px;

    pointer-events: none;
}

.connection-line::before {
    content: "";

    position: absolute;

    left: 16.66%;
    right: 16.66%;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #cce4e1 12%,
            #9fd2cc 50%,
            #cce4e1 88%,
            transparent
        );
}

.connection-line span {
    position: absolute;

    top: -4px;

    width: 9px;
    height: 9px;

    border-right: 1px solid #087f7b;
    border-bottom: 1px solid #087f7b;

    transform: rotate(45deg);
}

.connection-line span:nth-child(1) {
    left: 16.66%;
}

.connection-line span:nth-child(2) {
    left: 50%;
}

.connection-line span:nth-child(3) {
    left: 83.33%;
}


/* BILLING */

.billing-module {
    border-color: rgba(8, 127, 123, 0.20);

    background:
        linear-gradient(
            145deg,
            rgba(8, 127, 123, 0.035),
            #fff
        );
}

.billing-module .connection-icon {
    background: #dff3f0;
}


/* HR */

.hr-connection {
    position: relative;

    display: flex;
    justify-content: center;

    margin-top: 0;
}

.hr-line {
    position: absolute;

    top: 0;
    left: 50%;

    width: 1px;
    height: 45px;

    background:
        linear-gradient(
            to bottom,
            #b9ddd8,
            rgba(185, 221, 216, 0)
        );
}

.hr-module {
    width: 360px;

    margin-top: 45px;

    border-color: rgba(8, 127, 123, 0.18);

    background:
        linear-gradient(
            145deg,
            #f3faf9,
            #fff
        );
}

.hr-module .connection-icon {
    background: #e1f4f1;
}

.connected-note {
    max-width: 920px;

    margin: 45px auto 0;
}


/* =========================================================
   CONTACT / DEMO
========================================================= */

.contact {
    width: min(1080px, 92%);

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);

    align-items: start;

    gap: 70px;

    margin: 0 auto;

    padding: 90px 0;
}

.contact h1 {
    margin: 0 0 18px;

    color: #122033;

    font-size: 48px;
    line-height: 1.1;

    letter-spacing: -2px;
}

.contact > div > p {
    max-width: 590px;

    margin: 0;

    color: #687687;

    font-size: 14px;
    line-height: 1.75;
}

.contact-points {
    margin-top: 35px;
}

.contact-points div {
    padding: 14px 0;

    border-top: 1px solid #e8edf2;
}

.contact-points b {
    margin-left: 8px;

    color: #122033;

    font-size: 13px;
}

.contact-points small {
    display: block;

    margin-top: 2px;
    margin-left: 29px;

    color: #788595;

    font-size: 11px;
}


/* FORM */

.form {
    width: 100%;

    padding: 30px;

    border: 1px solid #e1e7ed;
    border-radius: 15px;

    background: #fff;

    box-shadow: 0 15px 40px rgba(16, 33, 45, 0.05);
}

.form label {
    display: block;

    margin-bottom: 16px;

    color: #122033;

    font-size: 12px;
    font-weight: 700;
}

.form input,
.form textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    margin-top: 7px;
    padding: 12px;

    border: 1px solid #dce3ea;
    border-radius: 8px;

    outline: none;

    background: #fff;
    color: #122033;

    font: inherit;
    font-size: 13px;

    resize: vertical;
}

.form input:focus,
.form textarea:focus {
    border-color: #087f7b;
}


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

footer {
    border-top: 1px solid #e8edf2;
    background: #fbfcfd;
}

.foot {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 30px;

    padding: 45px 0;
}

.foot p {
    font-size: 13px;
    color: #7b8795;
}

.foot b {
    display: block;
    margin-bottom: 12px;
}

.foot a:not(.logo) {
    display: block;

    margin: 7px 0;

    color: #718091;

    font-size: 13px;
}

.copyright {
    padding: 18px;

    border-top: 1px solid #edf0f3;

    text-align: center;

    color: #9aa4af;

    font-size: 11px;
}


/* =========================================================
   TABLET — 1000px
========================================================= */

@media (max-width: 1000px) {

    .why-header {
        grid-template-columns: 1fr 360px;
        gap: 35px;
    }

    .why-header h2 {
        font-size: 37px;
    }

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

}


/* =========================================================
   TABLET — 900px
========================================================= */

@media (max-width: 900px) {

    /* Navigation */

    .nav nav {
        display: none;
    }

    .nav nav.show {
        position: absolute;

        top: 78px;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;

        padding: 20px;

        background: #fff;

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    }

    .menu {
        display: block;
    }


    /* Hero */

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    /* General grids */

    .cards.four,
    .cards.three,
    .pricing,
    .feature-list {
        grid-template-columns: 1fr 1fr;
    }


    /* Split */

    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    /* CTA */

    .cta {
        display: block;
    }

    .cta .btn {
        margin-top: 20px;
    }


    /* Audience */

    .audience-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .audience-header h2 {
        font-size: 34px;
    }

    .audience-header > p {
        max-width: 650px;
    }

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


    /* Connected */

    .connected-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .connected-head h2 {
        font-size: 35px;
    }

    .connection-row {
        gap: 14px;
    }

    .connection-module {
        padding: 18px;
        gap: 11px;
    }

    .connection-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        font-size: 16px;
    }

    .connection-content h3 {
        font-size: 14px;
    }

    .connection-content p {
        font-size: 10.5px;
    }

    .hr-module {
        width: 320px;
    }


    /* Contact */

    .contact {
        width: min(680px, 92%);

        grid-template-columns: 1fr;

        gap: 45px;

        padding: 70px 0;
    }

    .contact h1 {
        font-size: 42px;
    }


    /* Footer */

    .foot {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   MOBILE — 760px
========================================================= */

@media (max-width: 760px) {

    .why-medibook {
        padding: 80px 0 50px;
    }

    .why-header {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 35px;
    }

    .why-header h2 {
        font-size: 34px;
        letter-spacing: -1.3px;
    }

    .why-header > p {
        max-width: 650px;
    }

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

        gap: 14px;
    }

    .why-card {
        min-height: 185px;

        padding: 22px;

        grid-template-columns: 40px minmax(0, 1fr);

        gap: 14px;
    }

    .why-icon {
        width: 40px;
        height: 40px;
    }


    /* Workflow */

    .workflow-section {
        padding: 80px 0;
    }

    .workflow-header h2 {
        font-size: 36px;
    }

    .workflow-step {
        grid-template-columns: 45px 55px 1fr;
        gap: 16px;

        padding: 23px;
    }

}


/* =========================================================
   MOBILE — 650px
========================================================= */

@media (max-width: 650px) {

    .section {
        padding: 65px 0;
    }


    /* Connected */

    .connected-modules {
        padding-top: 65px;
        padding-bottom: 55px;
    }

    .connected-head {
        margin-bottom: 38px;
    }

    .connected-head h2 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .connected-head .section-lede {
        font-size: 13px;
    }

    .patient-core {
        width: 215px;

        margin-bottom: 35px;
    }

    .patient-core::after {
        bottom: -35px;
        height: 35px;
    }

    .connection-row {
        grid-template-columns: 1fr;

        gap: 12px;

        padding-left: 20px;

        border-left: 1px dashed #cfe3e0;
    }

    .connection-line {
        display: none;
    }

    .connection-module {
        width: 100%;
        min-height: 92px;

        padding: 18px;
    }

    .connection-module::before {
        content: "";

        position: absolute;

        left: -21px;
        top: 50%;

        width: 20px;
        height: 1px;

        background: #b9ddd8;
    }

    .connection-middle {
        margin-top: 18px;
    }

    .connection-middle::before {
        content: "";

        position: absolute;

        left: 0;
        top: -18px;

        width: 1px;
        height: 18px;

        background: #b9ddd8;
    }

    .hr-connection {
        justify-content: flex-start;

        padding-left: 20px;
    }

    .hr-line {
        left: 0;
        top: 0;

        height: 25px;
    }

    .hr-module {
        width: 100%;

        margin-top: 25px;
    }

    .connected-note {
        margin-top: 30px;
        padding: 20px;
    }


    /* Workflow */

    .workflow-section {
        padding: 65px 0;
    }

    .workflow-header {
        margin-bottom: 40px;
    }

    .workflow-header h2 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .workflow-header p {
        font-size: 13px;
    }

    .workflow-step {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 20px;
    }

    .workflow-number {
        padding-top: 0;
    }

    .workflow-icon {
        width: 50px;
        height: 50px;
    }

    .workflow-content h3 {
        font-size: 17px;
    }

    .workflow-content p {
        font-size: 12.5px;
    }

    .workflow-connector {
        display: none;
    }

    .workflow-bottom,
    .why-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 14px;
    }

}


/* =========================================================
   MOBILE — 560px
========================================================= */

@media (max-width: 560px) {

    .container {
        width: calc(100% - 28px);
    }


    /* Hero */

    .hero {
        padding-top: 55px;
        padding-bottom: 55px;

        gap: 35px;
    }

    .hero h1 {
        font-size: 38px;

        letter-spacing: -1.8px;
    }

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

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .actions .btn {
        text-align: center;
    }


    /* Generic */

    .cards.four,
    .cards.three,
    .pricing,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .section-head h2,
    .section h2 {
        font-size: 30px;
    }


    /* Page hero */

    .page-hero {
        padding: 65px 18px 50px;
    }

    .page-hero h1 {
        font-size: 38px;
    }


    /* Audience */

    .audience-section {
        padding: 65px 0;
    }

    .audience-header h2 {
        font-size: 30px;
    }

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

        gap: 14px;
    }

    .audience-card {
        min-height: 190px;
    }

    .audience-bottom {
        flex-direction: column;

        text-align: center;

        gap: 7px;
    }


    /* Why */

    .why-medibook {
        padding: 65px 0 40px;
    }

    .why-medibook-inner {
        width: calc(100% - 28px);
    }

    .why-header {
        gap: 15px;
        margin-bottom: 28px;
    }

    .why-header h2 {
        font-size: 30px;
        line-height: 1.15;

        letter-spacing: -1px;
    }

    .why-header > p {
        font-size: 13px;
        line-height: 1.7;
    }

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

        gap: 13px;
    }

    .why-card {
        min-height: auto;

        padding: 20px;

        grid-template-columns: 40px minmax(0, 1fr);

        gap: 14px;
    }

    .why-card h3 {
        font-size: 16px;
    }

    .why-card p {
        font-size: 12.5px;
    }


    /* Contact */

    .contact {
        width: calc(100% - 28px);

        padding: 60px 0;

        gap: 35px;
    }

    .contact h1 {
        font-size: 36px;
        letter-spacing: -1.4px;
    }

    .contact > div > p {
        font-size: 13px;
    }

    .contact-points {
        margin-top: 28px;
    }

    .contact-points div {
        padding: 13px 0;
    }

    .form {
        padding: 22px;
        border-radius: 13px;
    }

    .form label {
        margin-bottom: 14px;
    }


    /* Footer */

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

        gap: 25px;

        padding: 40px 0;
    }


    /* CTA */

    .cta {
        padding: 50px 7%;
    }

    .cta h2 {
        font-size: 30px;
    }

}


/* =========================================================
   VERY SMALL MOBILE — 420px
========================================================= */

@media (max-width: 420px) {

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

    .patient-core {
        width: 100%;
        max-width: 230px;
    }

    .connection-module {
        padding: 16px;
    }

    .connection-content h3 {
        font-size: 14px;
    }

    .connection-content p {
        font-size: 10.5px;
    }

    .connection-tags b {
        font-size: 7.5px;
    }

}


/* =========================================================
   VERY SMALL MOBILE — 380px
========================================================= */

@media (max-width: 380px) {

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

    .why-medibook-inner {
        width: calc(100% - 22px);
    }

    .why-header h2 {
        font-size: 27px;
    }

    .why-card {
        padding: 17px;

        grid-template-columns: 36px minmax(0, 1fr);

        gap: 12px;
    }

    .why-icon {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }

    .why-card h3 {
        font-size: 15px;
    }

    .why-card p {
        font-size: 12px;
    }

    .contact h1 {
        font-size: 32px;
    }

    .form {
        padding: 18px;
    }

    .contact-points b {
        font-size: 12px;
    }

}