:root {
    --nkr-red: #CE0E2D;
    --nkr-light-blue: #3B76B5;
    --nkr-dark-blue: #113459;
    --nkr-text: #000000;
    --nkr-white: #FFFFFF;
    --nkr-border: #d8dde5;
    --nkr-surface: #ffffff;
    --shadow-soft: 0 18px 40px rgba(17, 52, 89, 0.16);
    --max-width: 1200px;
    --narrow-width: 890px;
    --font-stack: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    color: var(--nkr-text);
    background: #fff;
    line-height: 1.5;
    font-size: 16px;
}

header {
    padding: 0;
    position: sticky;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus,
button:focus,
.form-control:focus {
    outline: 2px solid var(--nkr-light-blue);
    outline-offset: 2px;
}

.form-control:focus {
    border-color: var(--nkr-dark-blue);
    background: #f7fbff;
    box-shadow: none;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.main-content {
    overflow: hidden;
}

.dynamic-main-content {
    padding: 0;
    background-color: #fff;
}

.dynamic-inner-wrap {
    width: min(var(--max-width), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.dynamic-inner-wrap-narrow {
    width: min(var(--narrow-width), calc(100% - 48px));
}

.dynamic-header-wrap {
    padding: 0 24px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    margin-left: 0;
    margin-right: 0;
    gap: 16px;
}

.header-logo,
.header-actions {
    display: flex;
    align-items: center;
}

.header-logo {
    justify-content: flex-start;
}

.header-logo img {
    max-height: 54px;
}

.header-actions {
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    row-gap: 12px;
}

.header-actions .btn {
    white-space: nowrap;
}

.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero--message {
    position: relative;
    padding: clamp(120px, 16vw, 190px) 0 clamp(90px, 12vw, 150px);
}

.hero--image {
    position: relative;
    aspect-ratio: 1400 / 500;
    background-position: center bottom;
    background-size: cover;
    max-height: 50vh;
    min-height: 340px;
    width: 100%;
}

.hero-overlay-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-overlay-text {
    max-width: 560px;
    margin: 0;
    color: var(--nkr-white);
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-overlay-text--left {
    margin-right: auto;
    text-align: left;
}

.hero-overlay-text--right {
    margin-left: auto;
    text-align: right;
}

.section {
    padding: 3.125em 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    margin: 0 0 34px;
    padding: 0;
    color: var(--nkr-dark-blue);
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.12;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0;
}

.section-title::before,
.section-title::after {
    content: "";
    height: 7px;
    flex: 1 1 120px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.section-title.light {
    color: var(--nkr-white);
}

.ribbon-two-section {
    padding-bottom: 48px;
}

.ribbon-two-wrap {
    display: flex;
    align-items: flex-start;
    gap: 42px;
    flex-wrap: nowrap;
}

.ribbon-two-wrap::before,
.ribbon-two-wrap::after {
    display: table;
    content: " ";
}

.ribbon-two-container {
    background-color: #eff4fa;
    border-radius: 0.625em;
    padding: 1.5em 1em;
    margin-bottom: 2em;
}

.ribbon-two-copy,
.ribbon-two-img-container {
    float: none;
    padding-left: 0;
    padding-right: 0;
}

.ribbon-two-copy {
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    align-content: center;
}

.ribbon-two-img-container {
    flex: 0 0 min(34vw, 360px);
    aspect-ratio: 525 / 296;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.ribbon-two-intro {
    margin: 0 0 18px;
    color: var(--nkr-text);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    font-weight: 700;
}

.ribbon-two-body {
    color: var(--nkr-text);
    font-size: 16px;
    line-height: 1.65;
}

.form-container {
    padding: 1em 1em 2em;
}

.form-container label {
    font-weight: 500;
}

.form-wrapper {
    max-width: 83em;
    margin: auto;
}

.registration-form-section {
    color: var(--nkr-text);
}

.registration-form-section label {
    color: var(--nkr-text);
    font-weight: 500;
}

.registration-form-section .hipaa-release label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--nkr-text);
}

.hipaa-release span {
    color: var(--nkr-dark-blue) !important;
    font-size: 0.875em;
}

.registration-form-section .hipaa-release label a {
    color: var(--nkr-text);
}

.registration-form-section .hipaa-release input[type="checkbox"] {
    margin: 3px 0 0;
    flex: 0 0 auto;
}

a.hipaa-release-link {
    color: var(--nkr-red) !important;
    text-decoration: underline;
}

.text-opt-in {
    float: none;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
    font-size: 0.875em;
    font-style: italic;
}

.registration-form-section label em {
    color: var(--nkr-red);
    font-weight: 300;
    font-size: 15px;
}

.stats-section {
    color: var(--nkr-white);
    background-color: var(--nkr-light-blue);
    background-image: url('../images/bitmap.png');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
}

.stats-copy {
    margin: 0 auto 34px;
    color: var(--nkr-white);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
    font-weight: 400;
    text-align: center;
}

.stats-grid {
    display: flex;
    gap: clamp(28px, 5vw, 56px);
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: var(--nkr-white);
    color: var(--nkr-dark-blue);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    width: min(100%, 400px);
    min-height: 360px;
}

.stat-card.dark {
    background: var(--nkr-dark-blue);
    color: var(--nkr-white);
}

.stat-card h3 {
    margin: 0;
    color: inherit;
    font-size: clamp(24px, 2.6vw, 30px);
    line-height: 1.15;
    font-weight: 700;
}

.metric {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    align-items: start;
}

.icon {
    width: 36px;
    height: 48px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.icon.calendar {
    background-image: url('../Images/Calendar.svg');
}

.icon.hourglass {
    background-image: url('../images/full hourglass.svg');
}

.icon.many-calendar {
    background-image: url('../images/many calendar.svg');
}

.icon.half-hourglass {
    background-image: url('../images/half hourglass.svg');
}

.metric strong {
    display: block;
    margin-bottom: 6px;
    color: inherit;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1;
    font-weight: 700;
}

.metric p {
    margin: 0;
    color: inherit;
    font-size: 16px;
    line-height: 1.45;
}

.media-section {
    background: var(--nkr-white);
}

.media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
    gap: clamp(40px, 6vw, 84px);
    align-items: center;
}

.video-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.media-copy {
    margin: 0;
}

.media-copy h2 {
    margin: 0 0 18px;
    color: var(--nkr-red);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.08;
    font-weight: 700;
}

.media-copy p {
    margin: 0 0 16px;
    color: var(--nkr-text);
    font-size: 17px;
    line-height: 1.65;
}

.media-copy a {
    color: var(--nkr-red);
    font-weight: 700;
    text-decoration: none;
}

.media-copy a:hover {
    color: var(--nkr-dark-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.media-copy a:focus {
    color: var(--nkr-dark-blue);
    text-decoration: none;
}

.process-section {
    padding-bottom: 42px;
    color: var(--nkr-white);
    background: linear-gradient(135deg, var(--nkr-red) 0%, #a60c25 100%);
}

.process-copy {
    margin: 0 auto 34px;
    color: var(--nkr-white);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
    text-align: center;
}

.process-grid {
    display: flex;
    gap: clamp(28px, 5vw, 56px);
    flex-wrap: wrap;
    justify-content: center;
}

.process-card {
    background: var(--nkr-white);
    color: var(--nkr-dark-blue);
    padding: 14px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    width: min(100%, 400px);
}

.process-card h3 {
    margin: 12px 0 18px;
    text-align: center;
    color: var(--nkr-red);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.15;
    font-weight: 500;
}

.icon.clipboard,
.icon.hospital {
    margin: 0 auto;
}

.icon.clipboard {
    background-image: url('../images/clipboard.svg');
}

.icon.hospital {
    background-image: url('../images/hospital.svg');
}

hr.red-line {
    margin: 0 0 12px;
    border: 0;
    border-top: 2px solid var(--nkr-red);
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-list li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) 12px 90px;
    gap: 10px;
    align-items: center;
    padding: 14px 0;
    color: var(--nkr-text);
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
}

.process-list li::before {
    font-weight: 800;
    font-size: 16px;
    color: var(--nkr-red);
}

.process-list li.one::before   { content: "1"; }
.process-list li.two::before   { content: "2"; }
.process-list li.three::before { content: "3"; }
.process-list li.four::before  { content: "4"; }
.process-list li.five::before  { content: "5"; }

.process-list li.surgery-recovery::before {
    content: url('../images/symbol.svg');
    color: var(--nkr-red);
    font-size: 16px;
    font-weight: 400;
}

.process-list .icon {
    width: 18px;
    height: 18px;
}

.icon.timer {
    background-image: url('../images/timer.svg');
}

.icon.calendar-week {
    background-image: url('../images/calendar-week.svg');
}

.icon.calendar-day {
    background-image: url('../images/calendar-day.svg');
}

.icon.calendar-blank {
    background-image: url('../images/calendar-blank.svg');
}

.process-stat {
    color: var(--nkr-light-blue);
    font-weight: 300;
    text-align: left;
}

.process-note {
    width: min(var(--narrow-width), calc(100% - 48px));
    margin: 28px auto 0;
    color: var(--nkr-white);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .ribbon-two-wrap {
        gap: 28px;
    }

    .ribbon-two-img-container {
        flex-basis: min(36vw, 300px);
        width: min(36vw, 300px);
    }

    .header-actions {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .dynamic-inner-wrap,
    .dynamic-inner-wrap-narrow,
    .process-note {
        width: min(100% - 28px, var(--max-width));
    }

    .header {
        min-height: auto;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .header-logo,
    .header-actions {
        justify-content: center;
        width: 100%;
    }

    .header-actions {
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero--message {
        padding: 200px 0 76px;
    }

    .hero-overlay-text {
        max-width: 100%;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .ribbon-two-wrap {
        display: block;
    }

    .ribbon-two-copy {
        min-height: auto;
        display: block;
    }

    .ribbon-two-img-container {
        margin-top: 24px;
        width: 100%;
    }

    .section-title {
        gap: 10px;
        padding: 0 14px;
        margin-bottom: 0.5em;
        font-size: 26px;
    }

    .section-title::before,
    .section-title::after {
        flex-basis: 42px;
    }

    .metric {
        grid-template-columns: 52px 1fr;
    }

    .stat-card.dark {
        min-height: auto;
    }

    .process-list li {
        grid-template-columns: 22px 15px minmax(0, 1fr);
        row-gap: 6px;
    }

    .process-list li .process {
        grid-column: 2 / 4;
        grid-row: 1;
    }

    .process-list .icon {
        grid-column: 2;
        grid-row: 2;
    }

    .process-stat {
        grid-column: 3;
        grid-row: 2;
        text-align: left;
    }
}
