:root {
    --navy: #07152B;
    --navy2: #0D2144;
    --navy3: #152E5A;
    --cyan: #29ABE2;
    --cyan2: #5DC8F0;
    --green: #10B981;
    --amber: #F59E0B;
    --red: #EF4444;
    --white: #FFFFFF;
    --muted: #7A97B8;
    --border: rgba(255, 255, 255, 0.08);
    --borderc: rgba(41, 171, 226, 0.22);
    --ext-w: 356px;
    --sky: #38bdf8;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--navy);
    color: #fff;
    overflow-x: hidden;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(41, 171, 226, 0.18) transparent;
}

/* Page switching — only one page visible at a time */
section[data-page] {
    display: none;
}

section[data-page].active {
    display: block;
}

.nav-links a.active {
    color: #fff !important;
}

.nav-links a.active::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, #29ABE2, transparent);
    margin-top: 4px;
    border-radius: 1px;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(41, 171, 226, 0.2);
    border-radius: 3px;
}

/* ── PAGE 1 HERO ── */
#page1 {
    position: relative;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
}

#page1.active {
    display: flex;
}

.p1-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.p1-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.15) saturate(1.05);
}

.p1-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
            120deg,
            rgba(7, 21, 43, 0.85) 0%,
            rgba(7, 21, 43, 0.65) 40%,
            rgba(7, 21, 43, 0.9) 100%
    );
}

.p1-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 21, 43, 0.15) 0%, transparent 35%, rgba(7, 21, 43, 0.4) 78%, rgba(7, 21, 43, 0.85) 100%);
}

.p1-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: linear-gradient(rgba(41, 171, 226, 0.033) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 171, 226, 0.033) 1px, transparent 1px);
    background-size: 54px 54px;
}

.p1-ecg {
    position: absolute;
    bottom: 19%;
    left: 0;
    right: 0;
    height: 54px;
    z-index: 2;
    opacity: 0.08;
    overflow: hidden;
    pointer-events: none;
}

.p1-ecg svg {
    width: 200%;
    animation: ecgScroll 10s linear infinite;
}

@keyframes ecgScroll {
    from {
        transform: translateX(0)
    }
    to {
        transform: translateX(-50%)
    }
}

/* NAV */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 1.35rem 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    background: rgba(7, 21, 43, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.logo-pill {
    background: #fff;
    border-radius: 10px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.logo-pill img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    margin-left: 3rem;
}

.nav-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-right {
    margin-left: auto;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.hamburger-btn {
    display: none;
}

.nav-domain {
    font-family: "JetBrains Mono", serif;
    font-size: 0.77rem;
    color: var(--cyan);
    opacity: 0.75;
    letter-spacing: 0.05em;
}

.btn-try {
    background: var(--cyan);
    color: var(--navy);
    font-family: "Outfit", serif;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.5rem 1.3rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 26px rgba(41, 171, 226, 0.32);
}

.btn-try:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 38px rgba(41, 171, 226, 0.48);
}

/* HERO CONTENT */
.p1-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 5rem 4rem;
    max-width: 760px;
}

.p1-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan2);
    animation: fadeUp 0.7s ease both;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulseG 2s ease infinite;
}

@keyframes pulseG {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6)
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0)
    }
}

.p1-h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.9rem, 4.8vw, 4.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.7s 0.1s ease both;
}

.p1-h1 em {
    font-style: italic;
    color: var(--cyan);
}

.p1-h1 .block {
    display: block;
}

.p1-sub {
    font-size: 1.07rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.8;
    max-width: 555px;
    margin-bottom: 2.8rem;
    animation: fadeUp 0.7s 0.2s ease both;
}

.p1-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cyan);
    color: var(--navy);
    font-family: "Outfit", serif;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.88rem 2.2rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.01em;
    box-shadow: 0 0 38px rgba(41, 171, 226, 0.38);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 56px rgba(41, 171, 226, 0.56);
    background: var(--cyan2);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-family: "Outfit", serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.88rem 1.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    cursor: pointer;
    transition: all 0.25s;
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.p1-trust {
    display: flex;
    gap: 1.6rem;
    margin-top: 3rem;
    animation: fadeUp 0.7s 0.4s ease both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.48);
    font-weight: 500;
}

/* STATS STRIP */
.p1-stats {
    position: relative;
    z-index: 5;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(7, 21, 43, 0.62);
    backdrop-filter: blur(22px);
}

.stat-b {
    flex: 1;
    padding: 1.65rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.055);
    display: flex;
    flex-direction: column;
}

.stat-b:last-child {
    border-right: none;
}

.stat-n {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 0.22rem;
}

.stat-l {
    font-size: 0.73rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    font-weight: 500;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ── PAGE 2 WHAT WE DO ── */
#page2 {
    background: linear-gradient(180deg, var(--navy) 0%, #091c3a 100%);
    padding: 9rem 5rem;
    position: relative;
    overflow: hidden;
}

#page2::before {
    content: "";
    position: absolute;
    right: -160px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 171, 226, 0.065) 0%, transparent 70%);
    pointer-events: none;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.section-tag::before, .section-tag::after {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--cyan);
    opacity: 0.5;
}

.section-h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3.3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.section-sub {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.78;
    max-width: 580px;
}

/* Intro layout */
.p2-intro {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 7rem;
}

.p2-left p {
    font-size: 0.94rem;
    color: var(--muted);
    line-height: 1.82;
    margin-top: 1.4rem;
}

/* Challenge cards — neutral professional tone */
.challenge-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ch-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid rgba(41, 171, 226, 0.4);
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: border-left-color 0.2s;
}

.ch-card:hover {
    border-left-color: var(--cyan);
}

.ch-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    opacity: 0.75;
}

.ch-text strong {
    display: block;
    font-size: 0.84rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.ch-text span {
    font-size: 0.77rem;
    color: var(--muted);
    line-height: 1.55;
}

/* How it works */
.hiw-wrap {
    margin-bottom: 7rem;
}

.hiw-hdr {
    text-align: center;
    margin-bottom: 4rem;
}

.steps-flow {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps-flow::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    opacity: 0.22;
    z-index: 0;
}

.step-col {
    text-align: center;
    padding: 0 1.5rem 2rem;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid rgba(41, 171, 226, 0.28);
    background: rgba(41, 171, 226, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
    color: var(--cyan);
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.step-col:hover .step-num {
    background: rgba(41, 171, 226, 0.17);
    border-color: var(--cyan);
}

.step-emoji {
    font-size: 1.3rem;
    margin-bottom: 0.45rem;
}

.step-col-title {
    font-weight: 700;
    font-size: 0.93rem;
    margin-bottom: 0.45rem;
}

.step-col-desc {
    font-size: 0.79rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Feature grid */
.features-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.4rem;
}

.f-card {
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 14px;
    padding: 1.8rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.f-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.f-card:hover::before {
    opacity: 1;
}

.f-card:hover {
    border-color: rgba(41, 171, 226, 0.22);
    transform: translateY(-4px);
}

.f-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: rgba(41, 171, 226, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.f-card-title {
    font-weight: 700;
    font-size: 0.93rem;
    margin-bottom: 0.45rem;
}

.f-card-desc {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.72;
}

/* ── PAGE 3 DEMO ── */
#page3 {
    background: #091c3a;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    padding: 9rem 5rem;
    position: relative;
    overflow: hidden;
}

#page3::before {
    content: "";
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 171, 226, 0.055) 0%, transparent 70%);
    pointer-events: none;
}

.demo-hdr {
    text-align: center;
    margin-bottom: 4rem;
}

.demo-hdr p {
    font-size: 0.96rem;
    color: var(--muted);
    line-height: 1.72;
    max-width: 510px;
    margin: 0 auto;
}

/* Browser */
.browser-wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.browser-chrome {
    background: #101f36;
    border-radius: 14px 14px 0 0;
    padding: 0.78rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: none;
}

.b-dots {
    display: flex;
    gap: 0.42rem;
}

.b-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.b-dots span:nth-child(1) {
    background: #FF5F57;
}

.b-dots span:nth-child(2) {
    background: #FEBC2E;
}

.b-dots span:nth-child(3) {
    background: #28C840;
}

.b-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.055);
    border-radius: 6px;
    padding: 0.37rem 1rem;
    font-family: "JetBrains Mono", serif;
    font-size: 0.72rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.b-url::before {
    content: "🔒";
    font-size: 0.6rem;
}

.b-extpill {
    background: rgba(41, 171, 226, 0.12);
    border: 1px solid rgba(41, 171, 226, 0.28);
    border-radius: 6px;
    padding: 0.28rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.69rem;
    color: var(--cyan);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.b-extpill:hover {
    background: rgba(41, 171, 226, 0.22);
}

.b-extpill img {
    height: 18px;
    width: auto;
    background: #fff;
    border-radius: 3px;
    padding: 1px;
}

/* EMR */
.emr-body {
    background: #f4f6f9;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 0 0 14px 14px;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.52);
}

.oscar-hdr {
    background: #1a3050;
    padding: 0.62rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.oscar-logo-box {
    background: #2A7DB5;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.2rem 0.62rem;
    border-radius: 4px;
}

.oscar-nm {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
}

.oscar-nav {
    display: flex;
    gap: 0.2rem;
    margin-left: 1rem;
}

.oscar-nav-i {
    padding: 0.27rem 0.88rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: all 0.2s;
}

.oscar-nav-i.act {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

.oscar-nav-i:hover {
    color: #fff;
}

.oscar-usr {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 700;
}

.emr-layout {
    display: grid;
    grid-template-columns:185px 1fr;
    min-height: 632px;
}

.emr-sb {
    background: #e8ecf2;
    border-right: 1px solid #d0d7e2;
    padding: 0.8rem 0;
}

.emr-sb-i {
    padding: 0.52rem 1.1rem;
    font-size: 0.75rem;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.emr-sb-i:hover {
    background: #dce2ec;
}

.emr-sb-i.act {
    background: #fff;
    color: #1a3050;
    font-weight: 700;
    border-left-color: #2A7DB5;
}

.emr-main {
    padding: 1.35rem 1.8rem;
    position: relative;
}

.emr-main-h {
    font-size: 1.04rem;
    font-weight: 700;
    color: #1a3050;
    margin-bottom: 0.22rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.pt-tag {
    background: #e8f0fe;
    color: #2A7DB5;
    font-size: 0.67rem;
    font-weight: 600;
    padding: 0.17rem 0.58rem;
    border-radius: 20px;
    border: 1px solid #bcd4f5;
}

.emr-bc {
    font-size: 0.69rem;
    color: #a0aec0;
    margin-bottom: 1.15rem;
}

.emr-fg {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 0.82rem;
    margin-bottom: 0.82rem;
}

.emr-fl {
    display: flex;
    flex-direction: column;
    gap: 0.26rem;
}

.emr-fl.full {
    grid-column: span 2;
}

.emr-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6b7a90;
}

.emr-inp, .emr-sel, .emr-ta {
    background: #fff;
    border: 2px solid #dde3ee;
    border-radius: 7px;
    padding: 0.5rem 0.75rem;
    font-family: "Outfit", serif;
    font-size: 0.82rem;
    color: #2d3748;
    outline: none;
    transition: border-color 0.2s;
}

.emr-inp:focus, .emr-sel:focus {
    border-color: #2A7DB5;
    box-shadow: 0 0 0 3px rgba(42, 125, 181, 0.1);
}

.emr-ta {
    resize: none;
    height: 66px;
    font-size: 0.79rem;
}

.emr-acts {
    display: flex;
    gap: 0.62rem;
    margin-top: 1rem;
}

.emr-btnp {
    background: #1a3050;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 0.52rem 1.35rem;
    font-family: "Outfit", serif;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.emr-btnp:hover {
    background: #2A7DB5;
}

.emr-btns {
    background: transparent;
    color: #6b7a90;
    border: 2px solid #dde3ee;
    border-radius: 7px;
    padding: 0.52rem 1.05rem;
    font-family: "Outfit", serif;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.emr-btns:hover {
    border-color: #a0aec0;
    color: #2d3748;
}

.emr-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #eef1f7;
    border-top: 1px solid #d0d7e2;
    padding: 0.42rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.69rem;
    color: #6b7a90;
}

.s-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
}

/* ── CORTICO EXTENSION ── */
.ext-wrap {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.ext-fab {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0D2144, #1a3870);
    border: 3px solid rgba(41, 171, 226, 0.52);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: visible;
}

.ext-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(41, 171, 226, 0.1);
}

.ext-fab.open {
    border-color: var(--cyan);
}

.fab-logo-wrap {
    background: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fab-logo-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.fab-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cyan);
    border: 2px solid #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.57rem;
    font-weight: 900;
    color: var(--navy);
}

.fab-tip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy2);
    border: 1px solid rgba(41, 171, 226, 0.28);
    border-radius: 8px;
    padding: 0.37rem 0.72rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.fab-tip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right: none;
    border-left-color: rgba(41, 171, 226, 0.28);
}

.ext-fab:hover .fab-tip {
    opacity: 1;
}

.ext-panel {
    width: var(--ext-w);
    background: var(--navy2);
    border: 1px solid rgba(41, 171, 226, 0.18);
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(41, 171, 226, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.052);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.85) translateY(18px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 560px;
}

.ext-panel.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.ep-hdr {
    background: linear-gradient(135deg, #0D2144 0%, #112960 100%);
    padding: 0.82rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid rgba(41, 171, 226, 0.12);
    flex-shrink: 0;
}

.ep-hdr-logo {
    background: #fff;
    border-radius: 7px;
    padding: 3px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ep-hdr-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.ep-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.11);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 20px;
    padding: 0.2rem 0.58rem;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
}

.ep-cls {
    background: rgba(255, 255, 255, 0.065);
    border: none;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.92rem;
    transition: all 0.2s;
}

.ep-cls:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.ep-steps {
    display: flex;
    background: rgba(0, 0, 0, 0.17);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    flex-shrink: 0;
}

.ep-s {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.2rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.ep-s.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.ep-s.done {
    color: var(--green);
    border-bottom-color: var(--green);
}

.ep-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(41, 171, 226, 0.16) transparent;
}

.ep-view {
    display: none;
    animation: vIn 0.3s ease both;
}

.ep-view.active {
    display: block;
}

@keyframes vIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Idle */
.v-idle {
    padding: 2rem 1.4rem;
    text-align: center;
}

.v-idle-ico {
    font-size: 2.1rem;
    margin-bottom: 0.75rem;
    opacity: 0.38;
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.07)
    }
}

.v-idle-ttl {
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.38rem;
}

.v-idle-sub {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.1rem;
}

.v-idle-hint {
    background: rgba(41, 171, 226, 0.048);
    border: 1px solid rgba(41, 171, 226, 0.13);
    border-radius: 10px;
    padding: 0.85rem;
    font-size: 0.73rem;
    color: var(--muted);
    line-height: 1.6;
}

.v-idle-hint strong {
    color: var(--cyan);
}

.search-now-btn {
    display: block;
    width: 100%;
    margin-top: 0.72rem;
    background: var(--cyan);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    padding: 0.58rem;
    font-family: "Outfit", serif;
    font-weight: 700;
    font-size: 0.79rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-now-btn:hover {
    background: var(--cyan2);
}

/* Matching */
.v-match {
    padding: 1.5rem;
}

.spin-ring {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid rgba(41, 171, 226, 0.14);
    border-top-color: var(--cyan);
    animation: spin 0.9s linear infinite;
    position: relative;
}

.spin-ring::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 2px solid rgba(41, 171, 226, 0.07);
    border-top-color: rgba(41, 171, 226, 0.28);
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.match-ttl {
    text-align: center;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 0.24rem;
}

.match-sub {
    text-align: center;
    font-family: "JetBrains Mono", serif;
    font-size: 0.66rem;
    color: var(--cyan);
    animation: blink 1.4s ease infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1
    }
    50% {
        opacity: 0.35
    }
}

.crit-chips {
    display: flex;
    gap: 0.48rem;
    margin-top: 1.35rem;
}

.c-chip {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.058);
    border-radius: 8px;
    padding: 0.58rem 0.28rem;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.c-chip .ci {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 0.22rem;
}

/* Results */
.v-results {
    padding: 0.78rem;
}

.res-lbl {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.68rem;
    padding: 0 0.32rem;
}

.scards {
    display: flex;
    flex-direction: column;
    gap: 0.52rem;
}

.scard {
    background: rgba(255, 255, 255, 0.038);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 11px;
    padding: 0.78rem 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.scard::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--muted);
    border-radius: 3px 0 0 3px;
    transition: background 0.2s;
}

.scard.best::before {
    background: linear-gradient(180deg, var(--cyan), var(--green));
}

.scard:hover {
    border-color: rgba(41, 171, 226, 0.28);
    transform: translateX(2px);
}

.scard.best {
    border-color: rgba(41, 171, 226, 0.18);
}

.best-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    background: linear-gradient(90deg, rgba(41, 171, 226, 0.16), rgba(16, 185, 129, 0.11));
    border: 1px solid rgba(41, 171, 226, 0.2);
    color: var(--cyan);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.12rem 0.46rem;
    border-radius: 4px;
    margin-bottom: 0.26rem;
}

.scard-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.scard-sub {
    font-size: 0.69rem;
    color: var(--muted);
    margin-bottom: 0.52rem;
}

.scard-meta {
    display: flex;
    gap: 0.68rem;
}

.scard-meta span {
    font-size: 0.67rem;
    display: flex;
    align-items: center;
    gap: 0.21rem;
}

.cg {
    color: var(--green);
}

.ca {
    color: var(--amber);
}

.cm {
    color: var(--muted);
}

.sel-btn {
    display: block;
    width: 100%;
    margin-top: 0.62rem;
    padding: 0.41rem;
    border-radius: 7px;
    border: none;
    font-family: "Outfit", serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.sel-best {
    background: linear-gradient(90deg, var(--cyan), #50d0f5);
    color: var(--navy);
}

.sel-best:hover {
    opacity: 0.9;
}

.sel-std {
    background: rgba(255, 255, 255, 0.058);
    color: #fff;
}

.sel-std:hover {
    background: rgba(41, 171, 226, 0.14);
    color: var(--cyan);
}

.manual-tog {
    text-align: center;
    padding: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    margin-top: 0.48rem;
}

.manual-lnk {
    font-size: 0.7rem;
    color: var(--muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.manual-lnk:hover {
    color: var(--cyan);
}

/* Manual */
.v-manual {
    padding: 1rem;
}

.v-manual-ttl {
    font-size: 0.73rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.68rem;
}

.m-row {
    display: flex;
    gap: 0.44rem;
    margin-bottom: 0.82rem;
}

.m-inp {
    flex: 1;
    background: rgba(255, 255, 255, 0.048);
    border: 1px solid rgba(255, 255, 255, 0.088);
    border-radius: 7px;
    padding: 0.53rem 0.72rem;
    font-family: "Outfit", serif;
    font-size: 0.79rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.m-inp:focus {
    border-color: var(--cyan);
}

.m-sbtn {
    background: var(--cyan);
    color: var(--navy);
    border: none;
    border-radius: 7px;
    padding: 0.53rem 0.82rem;
    font-family: "Outfit", serif;
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.m-sbtn:hover {
    background: var(--cyan2);
}

.af-card {
    background: rgba(255, 255, 255, 0.038);
    border: 1px solid rgba(41, 171, 226, 0.17);
    border-radius: 10px;
    padding: 0.88rem;
    display: none;
    animation: vIn 0.3s ease both;
}

.af-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.26rem;
    background: rgba(41, 171, 226, 0.1);
    color: var(--cyan);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.15rem 0.48rem;
    border-radius: 4px;
    margin-bottom: 0.62rem;
}

.af-name {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.68rem;
    color: #fff;
}

.af-row {
    display: flex;
    gap: 0.44rem;
    font-size: 0.71rem;
    margin-bottom: 0.28rem;
    align-items: flex-start;
}

.af-lbl {
    color: var(--cyan);
    font-weight: 600;
    min-width: 50px;
    flex-shrink: 0;
}

.af-val {
    color: var(--muted);
}

.af-send {
    display: block;
    width: 100%;
    margin-top: 0.78rem;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.088);
    border-radius: 7px;
    color: #fff;
    font-family: "Outfit", serif;
    font-weight: 700;
    font-size: 0.79rem;
    padding: 0.58rem;
    cursor: pointer;
    transition: all 0.2s;
}

.af-send:hover {
    background: var(--cyan);
    color: var(--navy);
}

.back-lnk {
    display: block;
    text-align: center;
    margin-top: 0.68rem;
    font-size: 0.69rem;
    color: var(--muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.back-lnk:hover {
    color: var(--cyan);
}

/* Sent */
.v-sent {
    padding: 1.35rem;
    text-align: center;
}

.sent-ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    animation: popB 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popB {
    from {
        transform: scale(0);
        opacity: 0
    }
    to {
        transform: scale(1);
        opacity: 1
    }
}

.sent-ttl {
    font-weight: 800;
    font-size: 0.93rem;
    color: var(--green);
    margin-bottom: 0.32rem;
}

.sent-sub {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.sms-bubble {
    background: rgba(255, 255, 255, 0.038);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 11px;
    padding: 0.78rem;
    text-align: left;
    margin-bottom: 0.78rem;
}

.sms-from {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.38rem;
    display: flex;
    align-items: center;
    gap: 0.32rem;
}

.sms-txt {
    font-family: "JetBrains Mono", serif;
    font-size: 0.69rem;
    color: var(--muted);
    line-height: 1.7;
}

.sms-txt strong {
    color: #fff;
}

.emr-logged {
    background: rgba(41, 171, 226, 0.048);
    border: 1px solid rgba(41, 171, 226, 0.12);
    border-radius: 10px;
    padding: 0.72rem;
    font-size: 0.7rem;
    color: var(--muted);
    text-align: left;
    margin-bottom: 0.85rem;
}

.emr-log-ttl {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.38rem;
    display: flex;
    align-items: center;
    gap: 0.32rem;
}

.emr-logged ul {
    list-style: none;
}

.emr-logged li {
    padding: 0.15rem 0;
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.emr-logged li::before {
    content: "✓";
    color: var(--green);
    font-size: 0.67rem;
}

.new-ref {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.088);
    border-radius: 8px;
    color: #fff;
    font-family: "Outfit", serif;
    font-weight: 700;
    font-size: 0.79rem;
    padding: 0.6rem;
    cursor: pointer;
    transition: all 0.2s;
}

.new-ref:hover {
    background: rgba(41, 171, 226, 0.14);
    border-color: rgba(41, 171, 226, 0.28);
    color: var(--cyan);
}

/* Outcomes */
.outcomes-wrap {
    max-width: 1100px;
    margin: 5.5rem auto 0;
}

.outcomes-wrap h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.outcomes-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.4rem;
}

.oc {
    background: rgba(13, 33, 68, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 16px;
    padding: 1.9rem;
    transition: all 0.3s;
}

.oc:hover {
    transform: translateY(-4px);
}

.oc.ac {
    border-color: rgba(16, 185, 129, 0.18);
}

.oc.dc {
    border-color: rgba(245, 158, 11, 0.18);
}

.oc.rc {
    border-color: rgba(239, 68, 68, 0.18);
}

.oc-ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.95rem;
}

.ac .oc-ico {
    background: rgba(16, 185, 129, 0.1);
}

.dc .oc-ico {
    background: rgba(245, 158, 11, 0.1);
}

.rc .oc-ico {
    background: rgba(239, 68, 68, 0.1);
}

.oc-ey {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.42rem;
}

.ac .oc-ey {
    color: var(--green);
}

.dc .oc-ey {
    color: var(--amber);
}

.rc .oc-ey {
    color: var(--red);
}

.oc-ttl {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.oc-desc {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.75;
}

.oc-list {
    margin-top: 0.85rem;
    list-style: none;
}

.oc-list li {
    font-size: 0.77rem;
    color: var(--muted);
    padding: 0.23rem 0;
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.ac .oc-list li::before {
    content: "✓";
    color: var(--green);
    font-size: 0.67rem;
}

.dc .oc-list li::before {
    content: "→";
    color: var(--amber);
}

.rc .oc-list li::before {
    content: "↻";
    color: var(--red);
}

/* Footer */
footer {
    background: var(--navy2);
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    padding: 2.5rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.foot-logo {
    background: #fff;
    border-radius: 8px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
}

.foot-logo img {
    height: 33px;
    width: auto;
}

.foot-domain {
    font-family: "JetBrains Mono", serif;
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 0.28rem;
}

.foot-copy {
    font-size: 0.71rem;
    color: rgba(122, 151, 184, 0.42);
}

/* ── REAL OSCAR CONSULTATION FORM ── */
.oscar-consult-wrap {
    background: #f0f2f5;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: #1a2a40;
}

.oscar-pt-bar {
    background: #6699cc;
    color: #fff;
    padding: 0.32rem 0.8rem;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.oscar-pt-bar .ocean-btn {
    background: #fff;
    color: #1a3050;
    font-size: 0.65rem;
    font-weight: 700;
    border: none;
    padding: 0.18rem 0.55rem;
    border-radius: 3px;
    cursor: pointer;
}

.oscar-action-row {
    background: #e8eef5;
    border-bottom: 1px solid #c5cdd8;
    padding: 0.38rem 0.75rem;
    display: flex;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.oscar-act-btn {
    background: linear-gradient(180deg, #f5f7fa, #e0e6ef);
    border: 1px solid #b0bccf;
    color: #1a3050;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.oscar-act-btn:hover {
    background: linear-gradient(180deg, #e8f0fb, #ccd8eb);
}

.oscar-act-btn.primary {
    background: linear-gradient(180deg, #2A7DB5, #1a5c8a);
    color: #fff;
    border-color: #1a5c8a;
}

.oscar-act-btn.primary:hover {
    background: linear-gradient(180deg, #3a8dc5, #2a6c9a);
}

.oscar-3col {
    display: grid;
    grid-template-columns:152px 1fr 210px;
    min-height: 580px;
}

/* Left status panel */
.oscar-status-panel {
    background: #e4e9f0;
    border-right: 1px solid #c5cdd8;
    padding: 0.6rem 0.55rem;
    font-size: 0.71rem;
}

.oscar-status-panel .sp-hdr {
    font-weight: 700;
    color: #1a3050;
    font-size: 0.75rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.28rem;
    border-bottom: 1px solid #c5cdd8;
}

.oscar-status-panel .sp-created {
    font-size: 0.67rem;
    color: #4a5568;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.status-radio {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    margin-bottom: 0.85rem;
}

.status-radio label {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: #2d3748;
    cursor: pointer;
    line-height: 1.4;
}

.status-radio input[type=radio] {
    accent-color: #2A7DB5;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.sp-attach {
    font-size: 0.67rem;
    color: #2A7DB5;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 0.5rem;
    display: block;
}

.sp-files-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6b7a90;
    margin-bottom: 0.18rem;
}

.sp-files-val {
    font-size: 0.67rem;
    color: #4a5568;
    margin-bottom: 0.65rem;
}

.sp-legend {
    margin-top: 0.5rem;
}

.sp-legend .leg-ttl {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6b7a90;
    margin-bottom: 0.28rem;
}

.sp-legend .leg-item {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.64rem;
    color: #4a5568;
    margin-bottom: 0.2rem;
}

.leg-dot {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Main form */
.oscar-form-main {
    padding: 0.65rem 0.9rem;
    overflow-y: auto;
    background: #f9fbfd;
}

.oscar-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.38rem;
    min-height: 26px;
}

.oscar-form-row.tall {
    align-items: flex-start;
}

.ofl {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a3050;
    min-width: 128px;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.ofi {
    flex: 1;
}

.ofi input[type=text], .ofi input[type=date], .ofi select, .ofi textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #b0bccf;
    border-radius: 3px;
    padding: 0.22rem 0.42rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: #1a2a40;
    outline: none;
    transition: border-color 0.15s;
}

.ofi input[type=text]:focus, .ofi select:focus, .ofi textarea:focus {
    border-color: #2A7DB5;
}

.ofi select option {
    background: #fff;
}

.ofi textarea {
    resize: none;
    height: 62px;
    line-height: 1.5;
}

.ofi textarea.tall {
    height: 130px;
}

.oscar-section-hdr {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1a3050;
    margin: 0.7rem 0 0.35rem;
    padding: 0.2rem 0.4rem;
    background: #dde3ee;
    border-left: 3px solid #2A7DB5;
}

.oscar-info-btns {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-bottom: 0.32rem;
}

.oscar-info-btn {
    background: #dde3ee;
    border: 1px solid #b0bccf;
    color: #1a3050;
    font-size: 0.63rem;
    font-weight: 600;
    padding: 0.16rem 0.48rem;
    border-radius: 3px;
    cursor: pointer;
}

.oscar-info-btn:hover {
    background: #c5cdd8;
}

.ofi-date-wrap {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.ofi-date-wrap input {
    flex: 1;
}

.ofi-time-wrap {
    display: flex;
    gap: 0.28rem;
    align-items: center;
}

.ofi-time-wrap select {
    width: auto;
}

/* Letterhead row */
.letterhead-row {
    display: grid;
    grid-template-columns:128px 1fr;
    gap: 0 0.5rem;
    margin-bottom: 0.35rem;
    align-items: center;
}

.letterhead-row .ofl {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a3050;
}

.letterhead-row input {
    width: 100%;
    background: #e8f0fb;
    border: 1px solid #b0bccf;
    border-radius: 3px;
    padding: 0.22rem 0.42rem;
    font-size: 0.72rem;
    color: #1a2a40;
    outline: none;
    text-align: right;
}

/* Right patient panel */
.oscar-pt-panel {
    background: #e8eef5;
    border-left: 1px solid #c5cdd8;
    padding: 0.55rem 0.65rem;
    font-size: 0.71rem;
    overflow-y: auto;
}

.pt-name-link {
    color: #1a56a0;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 0.45rem;
    display: block;
}

.pt-field {
    display: grid;
    grid-template-columns:80px 1fr;
    gap: 0.15rem 0.4rem;
    margin-bottom: 0.22rem;
    align-items: start;
}

.pt-field .pfl {
    font-size: 0.68rem;
    font-weight: 600;
    color: #4a5568;
}

.pt-field .pfv {
    font-size: 0.7rem;
    color: #1a2a40;
}

.pt-sep {
    height: 1px;
    background: #c5cdd8;
    margin: 0.55rem 0;
}

.pt-appt-notes {
    margin-bottom: 0.5rem;
}

.pt-appt-notes label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.22rem;
}

.pt-appt-notes textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #b0bccf;
    border-radius: 3px;
    padding: 0.22rem 0.4rem;
    font-size: 0.7rem;
    color: #1a2a40;
    resize: none;
    height: 55px;
    outline: none;
}

.pt-followup {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    color: #4a5568;
    font-weight: 600;
}

.pt-followup input {
    background: #fff;
    border: 1px solid #b0bccf;
    border-radius: 3px;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    color: #1a2a40;
    outline: none;
    width: 90px;
}

.pt-doc-select select {
    width: 100%;
    background: #fff;
    border: 1px solid #b0bccf;
    border-radius: 3px;
    padding: 0.22rem 0.42rem;
    font-size: 0.7rem;
    color: #1a2a40;
    margin-bottom: 0.35rem;
    outline: none;
}

.pt-include {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.68rem;
    color: #1a2a40;
    margin-bottom: 0.52rem;
}

.pt-include input[type=checkbox] {
    accent-color: #2A7DB5;
}

.pt-lh-row {
    display: flex;
    justify-content: flex-end;
    font-size: 0.69rem;
    color: #1a2a40;
    margin-bottom: 0.25rem;
}

.pt-lh-val {
    color: #1a3050;
    font-weight: 500;
}

/* Hide mobile drawer on desktop by default */
#mobileDrawer {
    display: none !important;
}

@media (max-width: 900px) {
    .nav, .p1-content, #page2, #page3, footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .p2-intro, .emr-layout, .features-grid, .outcomes-grid {
        grid-template-columns:1fr;
    }

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

    .steps-flow::before {
        display: none;
    }

    .emr-sb {
        display: none;
    }

    .emr-fg {
        grid-template-columns:1fr;
    }

    .emr-fl.full {
        grid-column: span 1;
    }

    .p1-stats {
        flex-wrap: wrap;
    }

    .stat-b {
        min-width: 45%;
    }

    .nav {
        padding: 0.8rem 1rem;
    }

    .logo-pill img {
        height: 30px;
    }

    .logo-pill {
        padding: 4px 8px;
    }

    .nav-links {
        display: none;
    }

    .nav-domain {
        display: none;
    }

    .btn-try {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 8px;
        margin-left: auto;
    }

    .hamburger-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
    }

    #mobileDrawer {
        display: none;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: #07152b;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 99999;
        flex-direction: column;
    }

    #mobileDrawer.open {
        display: flex !important;
    }

    #mobileDrawer a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-family: "Outfit", sans-serif;
        font-size: 1rem;
        font-weight: 500;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        display: block;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* PAGE 4 — FAQ */
#page4 {
    background: #091c3a;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    padding: 9rem 5rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

#page4::before {
    content: "";
    position: absolute;
    right: -200px;
    top: 30%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 171, 226, 0.045) 0%, transparent 70%);
    pointer-events: none;
}

.faq-grid {
    margin: 0 auto;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;

    max-width: 920px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.35rem 1.8rem;
    transition: all 0.25s;
    cursor: pointer;
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(41, 171, 226, 0.04);
    border-color: rgba(41, 171, 226, 0.2);
}

.faq-q {
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.faq-a {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.72;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.faq-item:hover .faq-a, .faq-item:focus-within .faq-a {
    max-height: 420px;
    opacity: 1;
    margin-top: 0.7rem;
}

#page4 {
    padding: 4rem 1.5rem;
}


/* HOW IT WORKS — hero block */
.hiw-hero {
    display: grid;
    grid-template-columns:1.05fr 1fr;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 6rem;
    padding-bottom: 4.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.hiw-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #29ABE2;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.4rem;
}

.hiw-hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: #29ABE2;
}

.hiw-hero h2 {
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1.2rem;
}

.hiw-hero h2 em {
    font-style: normal;
    color: #29ABE2;
    font-weight: 600;
}

.hiw-hero-lede {
    font-size: 1.04rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 2.3rem;
    font-weight: 400;
}

.hiw-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.hiw-pillar {
    display: grid;
    grid-template-columns:auto 1fr;
    gap: 1.1rem;
    align-items: start;
    padding: 1.05rem 1.1rem 1.05rem 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.35s cubic-bezier(.4, 0, .2, 1), padding 0.35s cubic-bezier(.4, 0, .2, 1), border-color 0.2s;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.hiw-pillar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 70%;
    background: linear-gradient(180deg, #29ABE2, rgba(41, 171, 226, 0.3));
    border-radius: 0 3px 3px 0;
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1);
    transform-origin: center;
}

.hiw-pillar:first-child {
    border-top: none;
    padding-top: 0;
}

.hiw-pillar:first-child.active, .hiw-pillar:first-child:hover {
    padding-top: 1.05rem;
}

.hiw-pillar:hover, .hiw-pillar.active {
    background: linear-gradient(90deg, rgba(41, 171, 226, 0.08) 0%, rgba(41, 171, 226, 0.02) 65%, transparent 100%);
    padding-left: 1.4rem;
}

.hiw-pillar:hover::before, .hiw-pillar.active::before {
    transform: translateY(-50%) scaleY(1);
}

.hiw-pillar-num {
    font-size: 0.78rem;
    font-weight: 600;
    color: #29ABE2;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    font-variant-numeric: tabular-nums;
    transition: font-size 0.35s cubic-bezier(.4, 0, .2, 1), color 0.3s, text-shadow 0.3s, transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
    display: inline-block;
}

.hiw-pillar:hover .hiw-pillar-num, .hiw-pillar.active .hiw-pillar-num {
    font-size: 1.05rem;
    color: #5cc7eb;
    text-shadow: 0 0 18px rgba(41, 171, 226, 0.55);
    transform: translateY(-2px);
}

.hiw-pillar-body strong {
    display: block;
    font-size: 1.0rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.32rem;
    letter-spacing: -0.005em;
    transition: font-size 0.35s cubic-bezier(.4, 0, .2, 1), letter-spacing 0.35s cubic-bezier(.4, 0, .2, 1), color 0.3s, font-weight 0.3s;
}

.hiw-pillar:hover .hiw-pillar-body strong, .hiw-pillar.active .hiw-pillar-body strong {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #fff;
}

.hiw-pillar-body span {
    font-size: 0.91rem;
    color: var(--muted);
    line-height: 1.65;
    transition: color 0.35s cubic-bezier(.4, 0, .2, 1);
    display: block;
}

.hiw-pillar:hover .hiw-pillar-body span, .hiw-pillar.active .hiw-pillar-body span {
    color: rgba(255, 255, 255, 0.92);
}

.hiw-image-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 28px 70px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(41, 171, 226, 0.14);
    aspect-ratio: 1408/768;
}

.hiw-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hiw-image-caption {
    position: absolute;
    left: 1.4rem;
    bottom: 1.2rem;
    right: 1.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.hiw-image-caption strong {
    color: #fff;
    font-weight: 600;
}

.hiw-closing {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto 1rem;
    text-align: center;
    font-weight: 400;
}

.hiw-closing em {
    font-style: normal;
    color: #29ABE2;
    font-weight: 500;
}

@media (max-width: 980px) {
    .hiw-hero {
        grid-template-columns:1fr;
        gap: 2.5rem;
    }

    .hiw-hero h2 {
        font-size: 2rem;
    }

    .hiw-image-wrap {
        order: -1;
    }
}

