/* ============================================================
   public.css — BriefMed (Public Pages)
   Design system: Clean modern SaaS — 2025/2026
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --ink-blue: #2563EB;
    --ink-blue-hover: #1D4ED8;
    --ink-blue-glow: rgba(37, 99, 235, 0.10);
    --ink-blue-light: rgba(37, 99, 235, 0.06);
    --midnight: #0F172A;
    --arctic: #F8FAFC;
    --white: #FFFFFF;
    --surface: #F1F5F9;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(20px);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.08);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --emerald: #22C55E;
    --crimson: #EF4444;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lift: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 48px rgba(37, 99, 235, 0.08);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Section max-width */
    --max-w: 1120px;
    --max-w-narrow: 720px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ink-blue-hover); }

h1, h2, h3, h4 {
    color: var(--midnight);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
h1 { font-size: 3.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }


/* ============================================================
   NAVIGATION — Sticky Top Bar
   ============================================================ */
.pub-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0 var(--space-lg);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pub-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.pub-nav__brand img {
    width: 30px;
    height: 30px;
}

.pub-nav__logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--midnight);
    letter-spacing: -0.03em;
}

.pub-nav__logo span { color: var(--ink-blue); }

.pub-nav__links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.pub-nav__links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    padding: 6px 0;
    transition: color var(--transition);
}

.pub-nav__links a:hover { color: var(--midnight); }

.pub-nav__links .btn-nav,
.pub-nav__links .pub-nav__btn {
    background: var(--ink-blue);
    color: var(--white);
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.pub-nav__links .btn-nav:hover,
.pub-nav__links .pub-nav__btn:hover {
    background: var(--ink-blue-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
    overflow: hidden;
    background: var(--white);
    z-index: 1;
}

.hero__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-blue);
    background: var(--ink-blue-glow);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.hero__tagline {
font-size: 2.2rem;
font-weight: 800;
color: var(--midnight);
line-height: 1.08;
margin-bottom: 1.25rem;
letter-spacing: -0.035em;
}

.hero__tagline span {
    background: linear-gradient(135deg, var(--ink-blue), #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.22rem;
}

.hero__subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    max-width: 460px;
    line-height: 1.7;
    font-weight: 400;
}

.hero__cta {
    display: inline-block;
    position: relative;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #3B78ED 0%, #9065F0 50%, #3B78ED 100%);
    background-size: 200% 200%;
    animation: ai-shimmer 4.5s ease infinite;
    box-shadow: 0 4px 20px rgba(109, 114, 243, 0.22), 0 0 40px rgba(144, 101, 240, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    animation: ai-glint 6s ease-in-out infinite;
}

.hero__cta:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(109, 114, 243, 0.32), 0 0 60px rgba(144, 101, 240, 0.14);
}

@keyframes ai-shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ai-glint {
    0%   { left: -100%; }
    20%  { left: 100%; }
    100% { left: 100%; }
}

.hero__image { text-align: center; }
.hero__image img {
    max-width: 440px;
    margin: 0 auto;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.06));
}


/* ============================================================
   PARALLAX BACKGROUND — Mouse-tracked orbs
   ============================================================ */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.parallax-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.parallax-orb--1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 65%);
    animation: orb-float-1 8s ease-in-out infinite;
}

.parallax-orb--2 {
    width: 500px;
    height: 500px;
    bottom: 10%;
    left: -8%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
    animation: orb-float-2 10s ease-in-out infinite;
}

.parallax-orb--3 {
    width: 400px;
    height: 400px;
    top: 40%;
    right: 20%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 65%);
    animation: orb-float-3 12s ease-in-out infinite;
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 15px); }
}
@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -20px); }
}
@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -15px); }
}


/* ============================================================
   STATS BAR — Social Proof Strip
   ============================================================ */
.stats-bar {
    position: relative;
    z-index: 1;
    padding: 0 var(--space-lg);
    margin-top: -1.5rem;

    /* scroll reveal */
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-bar__inner {
    max-width: var(--max-w);
    margin: 1rem auto 0 auto;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.stats-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.125rem;
    flex: 1;
}

.stats-bar__icon {
    font-size: 1.375rem;
    color: var(--ink-blue);
    margin-bottom: 0.25rem;
}

.stats-bar__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--midnight);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stats-bar__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 180px;
}

.stats-bar__divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
    flex-shrink: 0;
}


/* ============================================================
   HOW IT WORKS — Carousel
   ============================================================ */
.journey {
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    position: relative;
    z-index: 1;
background-image: linear-gradient(white, rgba(246, 246, 246, 0) 19.33%, rgb(255, 255, 255) 48.74%, rgb(247, 247, 247));
}

.journey__header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3rem;
}

.journey__eyebrow {
display: inline-block;
font-size: 0.875rem;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.12em;
color: rgba(0, 0, 0, 0.76);
background: rgba(38, 99, 235, 0.14);
padding: 8px 40px;
border-radius: var(--radius-pill);
margin-bottom: 2rem;
border: 1px solid color(srgb 0.738 0.8179 0.9);
}

.journey__heading {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.625rem;
    letter-spacing: -0.03em;
}

.journey__sub {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Carousel Container --- */
.journey-carousel {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;

    /* scroll reveal */
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-carousel.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Journey Progress Bar (synced with carousel) */
.journey-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
}
.journey-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    position: relative;
}
.journey-progress__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border-medium);
    font-size: 1.125rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}
.journey-progress__label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s ease;
}
.journey-progress__connector {
    flex: 1;
    height: 2px;
    background: var(--border-medium);
    min-width: 30px;
    max-width: 80px;
    margin: 0 0.25rem;
    margin-bottom: 1.25rem;
    transition: background 0.3s ease;
}
.journey-progress__step.is-active .journey-progress__icon {
    background: var(--ink-blue);
    border-color: var(--ink-blue);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.journey-progress__step.is-active .journey-progress__label {
    color: var(--ink-blue);
}
.journey-progress__step.is-completed .journey-progress__icon {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--white);
}
.journey-progress__step.is-completed .journey-progress__label {
    color: var(--emerald);
}
.journey-progress__connector.is-completed {
    background: var(--emerald);
}

.journey-carousel__track {
    position: relative;
    min-height: 380px;
}

/* Each step — fade transition only (no translateX clipping) */
.journey__step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey__step.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Step number watermark */
.journey__num {
    position: absolute;
    top: 0.5rem;
    left: 0;
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(37, 99, 235, 0.04);
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
}

/* Carousel Controls */
.journey-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.journey-carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-medium);
    background: var(--white);
    color: var(--midnight);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.journey-carousel__btn:hover {
    border-color: var(--ink-blue);
    box-shadow: var(--shadow-sm);
}

.journey-carousel__btn:disabled {
    opacity: 0.25;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
}

.journey-carousel__indicator {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.journey-carousel__current {
    color: var(--ink-blue);
    font-weight: 700;
    font-size: 0.9375rem;
}

/* Dots */
.journey-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1rem;
}

.journey-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-medium);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}

.journey-carousel__dot.is-active {
    background: var(--ink-blue);
    transform: scale(1.4);
}

/* Text side */
.journey__content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.journey__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--ink-blue-glow);
    border-radius: var(--radius-sm);
    color: var(--ink-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.journey__title {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.journey__text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

/* Visual side — glass card mockup */
.journey__visual {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}

.journey__visual:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

/* Mock EMR content inside visual cards */
.mock-emr {
    width: 100%;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mock-emr__bar {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
}

.mock-emr__tab {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 600;
    background: var(--surface);
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.mock-emr__tab--active {
    background: var(--ink-blue);
    color: var(--white);
}

.mock-emr__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mock-emr__line {
    height: 7px;
    border-radius: 4px;
    background: var(--surface);
    margin-bottom: 0.375rem;
}

.mock-emr__line--short { width: 60%; }
.mock-emr__line--med { width: 85%; }
.mock-emr__line--long { width: 100%; }
.mock-emr__line--highlight { background: var(--ink-blue-glow); }

.mock-emr__vitals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mock-emr__vital {
    background: var(--surface);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
}

.mock-emr__vital-val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--midnight);
}

.mock-emr__vital-val--alert { color: var(--crimson); }

.mock-emr__vital-lbl {
    font-size: 0.5625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mock-emr__order {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
}

.mock-emr__order:last-child { border-bottom: none; }

.mock-emr__check {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid var(--border-medium);
    flex-shrink: 0;
}

.mock-emr__check--on {
    background: var(--ink-blue);
    border-color: var(--ink-blue);
    position: relative;
}

.mock-emr__check--on::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 0.5625rem;
    font-weight: 700;
}

.mock-emr__pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 600;
}

.mock-emr__pill--green {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.mock-emr__pill--red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--crimson);
}

.mock-emr__pill--blue {
    background: var(--ink-blue-glow);
    color: var(--ink-blue);
}

.mock-emr__typing {
    font-family: 'Plus Jakarta Sans', monospace;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-left: 2px solid var(--ink-blue);
    padding-left: 12px;
}

.mock-emr__typing span {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--ink-blue);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Q&A encounter mock */
.mock-emr__qa {
    margin-bottom: 0.625rem;
}

.mock-emr__qa:last-child { margin-bottom: 0; }

.mock-emr__qa-q {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 3px;
}

.mock-emr__qa-a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 12px;
    border-left: 2px solid var(--ink-blue-glow);
    line-height: 1.5;
}

.mock-emr__qa-a--collapsed {
    font-style: normal;
    color: var(--ink-blue);
    font-weight: 600;
    font-size: 0.75rem;
    border-left-color: var(--border-subtle);
    cursor: default;
}


/* ============================================================
   CLINICAL TOOLS SHOWCASE
   ============================================================ */
.tools-showcase {
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
    z-index: 1;
    background: var(--white);

    /* scroll reveal */
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tools-showcase.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tools-showcase__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.tools-showcase__eyebrow {
display: inline-block;
font-size: 0.875rem;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.12em;
color: rgba(0, 0, 0, 0.76);
background: rgba(38, 99, 235, 0.14);
padding: 8px 40px;
border-radius: var(--radius-pill);
margin-bottom: 2rem;
border: 1px solid color(srgb 0.738 0.8179 0.9);
}

.tools-showcase__heading {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.625rem;
    letter-spacing: -0.03em;
}

.tools-showcase__sub {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Tools Carousel Container --- */
.tools-carousel {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.tools-carousel__track {
    position: relative;
}

.tools-showcase__card {
    background: var(--arctic);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.tools-showcase__card.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Tools Carousel Controls */
.tools-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tools-carousel__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-medium);
    background: var(--white);
    color: var(--midnight);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.tools-carousel__btn:hover {
    border-color: var(--ink-blue);
    box-shadow: var(--shadow-sm);
}

.tools-carousel__btn:disabled {
    opacity: 0.25;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
}

.tools-carousel__indicator {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.tools-carousel__current {
    color: var(--ink-blue);
    font-weight: 700;
    font-size: 0.9375rem;
}

/* Tools Dots */
.tools-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1rem;
}

.tools-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-medium);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}

.tools-carousel__dot.is-active {
    background: var(--ink-blue);
    transform: scale(1.4);
}

.tools-showcase__card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.tools-showcase__card-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.tools-showcase__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.tools-showcase__badge {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.tools-showcase__badge--red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--crimson);
}

.tools-showcase__badge--blue {
    background: var(--ink-blue-glow);
    color: var(--ink-blue);
}

/* Score result display */
.tools-showcase__score-result {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.tools-showcase__score-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--crimson);
    letter-spacing: -0.03em;
}

.tools-showcase__score-max {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Score table rows */
.tools-showcase__score-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.tools-showcase__score-row:last-child { border-bottom: none; }

.tools-showcase__score-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.tools-showcase__score-check--off {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
}

.tools-showcase__score-pts {
    margin-left: auto;
    font-weight: 700;
    color: var(--midnight);
    min-width: 20px;
    text-align: right;
}

/* Guidelines list */
.tools-showcase__rec {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tools-showcase__rec:last-child { border-bottom: none; }

.tools-showcase__rec-class {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 1px;
}

.tools-showcase__rec-class--I {
    background: #DCFCE7;
    color: #166534;
}

.tools-showcase__rec-class--IIa {
    background: #FEF9C3;
    color: #854D0E;
}

.tools-showcase__citation {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}


/* ============================================================
   PURPOSE SECTION — 3-Pillar Grid
   ============================================================ */
.purpose {
    padding: var(--space-xl) var(--space-lg);
    background: var(--midnight);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.purpose::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.purpose__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.purpose__heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.purpose__text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.purpose__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: center;
}

.purpose__pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.15);
    color: #60A5FA;
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
}

.purpose__pillar-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.purpose__pillar-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}


/* ============================================================
   CTA BANNER — Get Started
   ============================================================ */
.cta-banner {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--arctic);
}

.cta-banner__inner {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow-soft);
}

.cta-banner__heading {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.625rem;
    letter-spacing: -0.02em;
}

.cta-banner__text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.cta-banner__btn {
    display: inline-block;
    background: var(--ink-blue);
    color: var(--white);
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.cta-banner__btn:hover {
    background: var(--ink-blue-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}


/* ============================================================
   GENERIC SECTIONS (legacy compat for other pages until redo)
   ============================================================ */
.section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.section--alt { background: var(--white); max-width: 100%; }
.section--alt .section__inner {
    max-width: 900px;
    margin: 0 auto;
}

.section__heading {
    font-size: 1.75rem;
    color: var(--midnight);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ink-blue);
    display: inline-block;
}

.section__text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.section__text a {
    color: var(--ink-blue);
    font-weight: 600;
}

.section__text a:hover { color: var(--ink-blue-hover); }


/* ============================================================
   FORMS (Login, Register, Reset)
   ============================================================ */
.form-page {
    min-height: calc(100vh - 64px - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--arctic);
    position: relative;
    z-index: 1;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 920px;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--border-subtle);
}

.form-container--narrow {
    grid-template-columns: 1fr;
    max-width: 460px;
}

.form-visual {
    background: var(--midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.form-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.form-visual img { max-width: 320px; opacity: 0.9; position: relative; z-index: 1; }

.form-body {
    padding: 3rem;
}

.form-body__title {
    font-size: 1.75rem;
    color: var(--midnight);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.form-body__subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--arctic);
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: 1rem;
    outline: none;
}

.form-input:focus {
    border-color: var(--ink-blue);
    box-shadow: 0 0 0 4px var(--ink-blue-glow);
    background: var(--white);
}

.form-input::placeholder { color: var(--text-muted); }

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
select.form-input:invalid,
select.form-input option[disabled] { color: var(--text-muted); }
select.form-input option { color: var(--text-primary); }

.form-input--error { border-color: var(--crimson); }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
    background: var(--ink-blue);
    color: var(--white);
    width: 100%;
}

.btn--primary:hover {
    background: var(--ink-blue-hover);
    transform: scale(1.01) translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.btn--outline {
    background: transparent;
    color: var(--ink-blue);
    border: 1px solid var(--border-subtle);
}

.btn--outline:hover {
    border-color: var(--ink-blue);
    background: var(--ink-blue-glow);
}

.form-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--ink-blue);
    font-weight: 600;
}


/* ============================================================
   REGISTRATION — Plan Selection
   ============================================================ */
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    position: relative;
    background: var(--white);
}

.plan-card:hover {
    border-color: var(--ink-blue);
    transform: scale(1.02);
}

.plan-card.selected {
    border-color: var(--ink-blue);
    box-shadow: 0 0 0 4px var(--ink-blue-glow);
}

.plan-card__name {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.plan-card__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--midnight);
    margin-bottom: 1rem;
}

.plan-card__features {
    list-style: none;
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.plan-card__features li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.plan-card__features li::before {
    content: "\2713";
    color: var(--emerald);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.plan-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--ink-blue);
}

.form-checkbox a { color: var(--ink-blue); }


/* ============================================================
   MESSAGES / ALERTS
   ============================================================ */
.msg {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border-left: 3px solid;
}

.msg--success {
    background: #F0FFF4;
    border-color: var(--emerald);
    color: #14532D;
}

.msg--error {
    background: #FEF2F2;
    border-color: var(--crimson);
    color: #7F1D1D;
}

/* Legacy class compat */
.messaging { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.875rem; margin-bottom: 1rem; border-left: 3px solid; }
.messaging.success { background: #F0FFF4; border-color: var(--emerald); color: #14532D; }
.messaging.error { background: #FEF2F2; border-color: var(--crimson); color: #7F1D1D; }


/* ============================================================
   FOOTER
   ============================================================ */
.pub-footer {
    background: var(--midnight);
    color: rgba(255,255,255,0.6);
    padding: 2.5rem;
    text-align: center;
    font-size: 0.8125rem;
    position: relative;
    z-index: 1;
}

.pub-footer__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pub-footer__brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.pub-footer__brand span { color: var(--ink-blue); }

.pub-footer__links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.pub-footer__links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.8125rem;
    transition: color var(--transition);
}

.pub-footer__links a:hover { color: var(--white); }

.pub-footer__copy {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}


/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 1000;
    font-size: 0.875rem;
    border-top: 1px solid var(--border-subtle);
}

.consent-bar p { margin: 0; }
.consent-bar a { color: var(--ink-blue); }

.consent-bar__accept {
    background: var(--ink-blue);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8125rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.consent-bar__accept:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}


/* ============================================================
   CONTENT PAGES (about, privacy, contact)
   ============================================================ */
.content-page { padding: 3rem 1.5rem; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.content-page__title { font-size: 2rem; margin-bottom: 0.5rem; color: var(--midnight); font-weight: 800; letter-spacing: -0.02em; }
.content-page__date { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; }
.content-page h2 { font-size: 1.25rem; color: var(--midnight); margin-top: 2rem; margin-bottom: 0.75rem; }
.content-page p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.content-page ul { color: var(--text-secondary); margin-left: 1.5rem; margin-bottom: 1rem; line-height: 1.7; }

textarea.form-input { resize: vertical; min-height: 120px; }


/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
.hero__tagline span {
    font-size: 2.5rem;
}
    /* --- Nav --- */
    .pub-nav { padding: 0 1rem; height: 52px; }
    .pub-nav__brand img { width: 26px; height: 26px; }
    .pub-nav__logo { font-size: 1.1rem; }
    .pub-nav__links { gap: 0.875rem; }
    .pub-nav__links a { font-size: 0.8125rem; }
    .pub-nav__links .btn-nav { padding: 8px 16px; font-size: 0.8125rem; }

    /* --- Hero --- */
    .hero { padding: 2.5rem 1.25rem 2rem; }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .hero__eyebrow { font-size: 0.625rem; padding: 4px 12px; margin-bottom: 0.875rem; }
    .hero__tagline { font-size: 2rem; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
    .hero__subtitle { font-size: 0.9375rem; max-width: 100%; margin-bottom: 1.5rem; line-height: 1.6; }
    .hero__cta { padding: 13px 28px; font-size: 0.875rem; }
    .hero__image { display: none; }

    /* --- Stats Bar --- */
    .stats-bar { padding: 0 1.25rem; margin-top: 0; }

    .stats-bar__inner {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 1.25rem 0;
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: space-between;
        border-top: 1px solid var(--border-subtle);
        border-bottom: 1px solid var(--border-subtle);
        border-radius: 0;
    }

    .stats-bar__item {
        flex: 1;
        gap: 0.125rem;
        min-width: 0;
    }

    .stats-bar__icon { font-size: 1rem; margin-bottom: 0.125rem; }
    .stats-bar__value { font-size: 1rem; font-weight: 800; }
    .stats-bar__label { font-size: 0.5625rem; line-height: 1.3; }
    .stats-bar__divider { display: none; }

    /* --- Journey / Carousel --- */
    .journey { padding: 2.5rem 1.25rem 1.5rem; }
    .journey__header { margin-bottom: 1.5rem; }
    .journey__eyebrow { font-size: 0.625rem; padding: 4px 12px; margin-bottom: 0.75rem; }
    .journey__heading { font-size: 1.375rem; margin-bottom: 0.375rem; }
    .journey__sub { font-size: 0.875rem; }

    .journey-progress { gap: 0; margin-bottom: 1.25rem; padding: 0 0.25rem; }
    .journey-progress__icon { width: 32px; height: 32px; font-size: 0.9375rem; }
    .journey-progress__label { font-size: 0.5625rem; }
    .journey-progress__connector { min-width: 16px; max-width: 40px; margin-bottom: 1rem; }

    .journey__step {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.75rem 0;
    }

    .journey__num { font-size: 3.5rem; top: 0rem; }
    .journey__icon { width: 40px; height: 40px; font-size: 1.25rem; }
    .journey__title { font-size: 1.125rem; }
    .journey__text { font-size: 0.8125rem; line-height: 1.55; }
    .journey__visual { min-height: auto; padding: 1.25rem; border-radius: var(--radius-md); }

    /* Tighter mock-EMR on mobile */
    .mock-emr { font-size: 0.75rem; line-height: 1.5; }
    .mock-emr__bar { gap: 0.25rem; margin-bottom: 0.5rem; }
    .mock-emr__tab { padding: 4px 10px; font-size: 0.5625rem; }
    .mock-emr__label { font-size: 0.5625rem; margin-bottom: 0.375rem; }
    .mock-emr__line { height: 5px; margin-bottom: 0.25rem; }
    .mock-emr__vitals { gap: 0.375rem; margin-top: 0.375rem; }
    .mock-emr__vital { padding: 5px 8px; }
    .mock-emr__vital-val { font-size: 0.875rem; }
    .mock-emr__vital-lbl { font-size: 0.5rem; }
    .mock-emr__order { padding: 5px 0; gap: 0.375rem; font-size: 0.75rem; }
    .mock-emr__check { width: 14px; height: 14px; border-radius: 3px; }
    .mock-emr__pill { padding: 2px 8px; font-size: 0.5625rem; }
    .mock-emr__typing { font-size: 0.75rem; line-height: 1.5; padding-left: 10px; }
    .mock-emr__qa { margin-bottom: 0.5rem; }
    .mock-emr__qa-q { font-size: 0.75rem; }
    .mock-emr__qa-a { font-size: 0.75rem; line-height: 1.4; }

    .journey-carousel__controls { gap: 0.75rem; margin-top: 1rem; }
    .journey-carousel__btn { padding: 8px 14px; font-size: 0.75rem; gap: 4px; }
    .journey-carousel__indicator { font-size: 0.75rem; }
    .journey-carousel__current { font-size: 0.875rem; }
    .journey-carousel__dots { margin-top: 0.75rem; }

    /* --- Clinical Tools --- */
    .tools-showcase { padding: 2.5rem 1.25rem; }
    .tools-showcase__header { margin-bottom: 1.5rem; }
    .tools-showcase__eyebrow { font-size: 0.625rem; padding: 4px 12px; margin-bottom: 0.75rem; }
    .tools-showcase__heading { font-size: 1.375rem; margin-bottom: 0.375rem; }
    .tools-showcase__sub { font-size: 0.875rem; }
    .tools-carousel { max-width: 100%; }
    .tools-showcase__card { padding: 1.5rem; border-radius: var(--radius-md); }
    .tools-showcase__card-title { font-size: 1rem; }
    .tools-showcase__score-value { font-size: 2.25rem; }
    .tools-showcase__score-max { font-size: 1.125rem; }
    .tools-showcase__score-row { font-size: 0.75rem; padding: 6px 0; }
    .tools-showcase__rec { font-size: 0.75rem; padding: 7px 0; }
    .tools-carousel__controls { gap: 0.75rem; margin-top: 1rem; }
    .tools-carousel__btn { padding: 8px 14px; font-size: 0.75rem; gap: 4px; }
    .tools-carousel__indicator { font-size: 0.75rem; }
    .tools-carousel__current { font-size: 0.875rem; }
    .tools-carousel__dots { margin-top: 0.75rem; }

    /* --- Purpose --- */
    .purpose { padding: 2.5rem 1.25rem; }
    .purpose__inner { max-width: 100%; }
    .purpose__heading { font-size: 1.375rem; margin-bottom: 0.375rem; }
    .purpose__text { font-size: 0.875rem; }
    .purpose__grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.75rem; }
    .purpose__pillar-icon { width: 44px; height: 44px; font-size: 1.125rem; margin-bottom: 0.625rem; }
    .purpose__pillar-title { font-size: 0.9375rem; }
    .purpose__pillar-text { font-size: 0.8125rem; }

    /* --- CTA --- */
    .cta-banner { padding: 2.5rem 1.25rem; }
    .cta-banner__inner { padding: 2rem 1.5rem; border-radius: var(--radius-md); }
    .cta-banner__heading { font-size: 1.375rem; }
    .cta-banner__text { font-size: 0.875rem; margin-bottom: 1.5rem; }
    .cta-banner__btn { padding: 13px 28px; font-size: 0.875rem; }

    /* --- Forms --- */
    .form-container { grid-template-columns: 1fr; }
    .form-visual { display: none; }
    .form-body { padding: 2rem 1.5rem; }
    .plan-grid { grid-template-columns: 1fr; }

    /* --- Footer --- */
    .pub-footer { padding: 2rem 1.25rem; }
    .pub-footer__inner { flex-direction: column; gap: 1rem; }

    /* --- Misc --- */
    .section { padding: 2.5rem 1.25rem; }
    .parallax-bg { display: none; }
    .consent-bar { flex-direction: column; gap: 0.75rem; text-align: center; padding: 1rem 1.25rem; }
}

@media (max-width: 480px) {
    .hero__tagline { font-size: 1.75rem; }
    .hero__subtitle { font-size: 0.875rem; }
    .stats-bar__value { font-size: 0.9375rem; }
    .stats-bar__icon { font-size: 0.875rem; }
    .journey__heading { font-size: 1.25rem; }
    .tools-showcase__heading { font-size: 1.25rem; }
    .purpose__heading { font-size: 1.25rem; }
    .cta-banner__heading { font-size: 1.25rem; }
    .form-body { padding: 1.5rem 1.25rem; }
    .pub-nav__links .btn-nav { padding: 7px 14px; font-size: 0.75rem; }
}


/* ============================================================
   INDEX2 — Hero Enhancements (dual CTA, inline stats, proof)
   ============================================================ */

/* Dual CTAs row */
.hero__ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero__cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--ink-blue);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 24px;
    border: 1.5px solid var(--ink-blue);
    border-radius: 10px;
    transition: all var(--transition);
    text-decoration: none;
}

.hero__cta-ghost:hover {
    background: var(--ink-blue-glow);
    color: var(--ink-blue-hover);
    transform: translateY(-1px);
}

.hero__cta-ghost i {
    font-size: 1.125rem;
}

/* Social proof line */
.hero__proof {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.hero__proof i {
    font-size: 1rem;
    color: var(--ink-blue);
}

/* Inline stats strip (inside hero) */
.hero__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--arctic);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    width: fit-content;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.125rem;
}

.hero__stat-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--midnight);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero__stat-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero__stat-div {
    width: 1px;
    height: 28px;
    background: var(--border-medium);
}


/* ============================================================
   ORGAN TREE — Case Cloud with Legend
   ============================================================ */
.organ-tree {
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
    position: relative;
    z-index: 1;
    background: var(--white);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.organ-tree.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.organ-tree__header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3rem;
}

.organ-tree__eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0, 0, 0, 0.76);
    background: rgba(38, 99, 235, 0.14);
    padding: 8px 40px;
    border-radius: var(--radius-pill);
    margin-bottom: 2rem;
    border: 1px solid color(srgb 0.738 0.8179 0.9);
}

.organ-tree__heading {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.625rem;
    letter-spacing: -0.03em;
}

.organ-tree__sub {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Layout: legend left + cloud right */
.organ-tree__layout {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ── Legend (organ system list) ── */
.organ-tree__legend {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: sticky;
    top: 80px;
}

.organ-tree__legend-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.06s ease-out, background 0.06s ease-out;
}

.organ-tree__legend-item:hover {
    background: var(--arctic);
}

.organ-tree__legend-item.is-highlighted {
    background: var(--arctic);
}

.organ-tree__legend-item.is-dimmed {
    opacity: 0.15;
}

.organ-tree__legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--node-color);
    flex-shrink: 0;
}

.organ-tree__legend-icon {
    font-size: 1rem;
    color: var(--node-color);
    flex-shrink: 0;
}

.organ-tree__legend-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--midnight);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.organ-tree__legend-count {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--surface);
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

/* ── Case Cloud (all case names) ── */
.organ-tree__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    align-content: flex-start;
    padding: 1.5rem;
    background: var(--arctic);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    min-height: 400px;
}

.organ-tree__case {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--white);
    padding: 0.3125rem 0.75rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    cursor: default;
    line-height: 1.4;
    /* Only animate opacity + color — no border/shadow to avoid layout recalc */
    transition: opacity 0.06s ease-out, color 0.06s ease-out, background 0.06s ease-out;
    will-change: opacity;
}

/* Color dot before each case name */
.organ-tree__case::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--node-color);
    flex-shrink: 0;
}

/* Hover on individual case */
.organ-tree__case:hover {
    color: var(--midnight);
    background: var(--surface);
}

/* Highlighted state (when organ is hovered) */
.organ-tree__case.is-highlighted {
    color: var(--midnight);
    background: var(--surface);
}

/* Dimmed state */
.organ-tree__case.is-dimmed {
    opacity: 0.1;
}

/* When filtering is active, make the cloud bg slightly lighter for contrast */
.organ-tree__cloud.is-filtering {
    background: rgba(248, 250, 252, 0.6);
}


/* ============================================================
   SOCIAL PROOF — Testimonials & Stats
   ============================================================ */
.social-proof {
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
    z-index: 1;
    background: var(--arctic);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.social-proof.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.social-proof__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.social-proof__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-proof__stat {
    text-align: center;
}

.social-proof__stat-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ink-blue);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.375rem;
}

.social-proof__stat-lbl {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.social-proof__quotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.social-proof__quote {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.social-proof__quote-text {
    font-size: 0.9375rem;
    color: var(--midnight);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
    position: relative;
}

.social-proof__quote-text::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: -0.25rem;
    font-size: 2.5rem;
    color: var(--ink-blue);
    opacity: 0.15;
    font-style: normal;
    line-height: 1;
}

.social-proof__quote-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-proof__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ink-blue), #60A5FA);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.social-proof__author-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--midnight);
}

.social-proof__author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ============================================================
   AUTHORS — Clean Physician Grid (Untitled UI style)
   ============================================================ */
.authors {
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
    z-index: 1;
    background: var(--white);
}

.authors__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.authors__eyebrow {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-blue);
    margin-bottom: 0.75rem;
}

.authors__heading {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 0.625rem;
    color: var(--midnight);
}

.authors__sub {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 3rem;
}

/* Grid: 5 columns on desktop, each person centered */
.authors__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem 1.5rem;
}

.authors__person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.authors__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.authors__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authors__initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.authors__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 0.125rem;
}

.authors__cred {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-blue);
    margin-bottom: 0.625rem;
}

.authors__bio {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 220px;
}

/* ── Tablet: 3 top + 2 bottom centered ── */
@media (max-width: 1024px) {
    .authors__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1.25rem;
    }
}

/* ── Mobile: horizontal scroll ── */
@media (max-width: 768px) {
    .authors {
        padding: 2.5rem 0 2.5rem 1.25rem;
    }

    .authors__heading {
        font-size: 1.5rem;
        padding-right: 1.25rem;
    }

    .authors__sub {
        padding-right: 1.25rem;
        margin-bottom: 2rem;
    }

    .authors__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.25rem;
        padding-right: 1.25rem;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .authors__grid::-webkit-scrollbar {
        display: none;
    }

    .authors__person {
        flex-shrink: 0;
        width: 42vw;
        scroll-snap-align: start;
    }

    .authors__photo {
        width: 72px;
        height: 72px;
    }

    .authors__bio {
        font-size: 0.75rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .authors__heading { font-size: 1.25rem; }
    .authors__person { width: 48vw; }
    .authors__photo { width: 64px; height: 64px; }
}


/* ============================================================
   CTA BANNER — Enhanced with dual actions
   ============================================================ */
.cta-banner__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-banner__btn-ghost {
    display: inline-block;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 13px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    text-decoration: none;
}

.cta-banner__btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sticky-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3B78ED 0%, #9065F0 50%, #3B78ED 100%);
    background-size: 200% 200%;
    animation: ai-shimmer 4.5s ease infinite;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
}


/* ============================================================
   INDEX2 — Responsive Adjustments
   ============================================================ */
@media (max-width: 768px) {
    /* Hero stats inline */
    .hero__stats {
        flex-direction: row;
        gap: 1rem;
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .hero__stat-val { font-size: 1rem; }
    .hero__stat-lbl { font-size: 0.625rem; }
    .hero__stat-div { height: 24px; }

    .hero__ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Organ tree: stack layout */
    .organ-tree__layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .organ-tree__legend {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.375rem;
        position: static;
    }
    .organ-tree__legend-item {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
    .organ-tree__legend-name { font-size: 0.75rem; }
    .organ-tree__cloud { min-height: auto; padding: 1rem; }
    .organ-tree__heading { font-size: 1.5rem; }

    /* Social proof */
    .social-proof__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .social-proof__stat-val { font-size: 1.75rem; }
    .social-proof__stat-lbl { font-size: 0.75rem; }
    .social-proof__quotes { grid-template-columns: 1fr; }

    /* Sticky CTA */
    .sticky-cta { display: block; }

    /* CTA banner */
    .cta-banner__actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero__stats { gap: 0.625rem; padding: 0.625rem 0.75rem; }
    .hero__stat-val { font-size: 0.875rem; }

    .organ-tree { padding: 2rem 1.25rem; }
    .organ-tree__legend-item { padding: 0.25rem 0.5rem; }
    .organ-tree__legend-name { display: none; }
    .organ-tree__case { font-size: 0.6875rem; padding: 0.25rem 0.5rem; }
    .organ-tree__heading { font-size: 1.25rem; }

    .social-proof { padding: 2rem 1.25rem; }
    .social-proof__stats { grid-template-columns: 1fr; gap: 1.5rem; }
    .social-proof__stat-val { font-size: 2rem; }
    .social-proof__quote { padding: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════
   REGISTER PAGE — Split Layout
   ═══════════════════════════════════════════════════════ */

.reg-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 60px);
}

/* ── LEFT: Dark branding panel ── */
.reg-brand {
    position: relative;
    background: #0B1120;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 3rem 2.5rem;
}
.reg-brand__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.reg-brand__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.reg-brand__orb--1 { width: 320px; height: 320px; background: #2563EB; top: -60px; left: -40px; }
.reg-brand__orb--2 { width: 260px; height: 260px; background: #7C3AED; bottom: -40px; right: -30px; opacity: 0.35; }
.reg-brand__orb--3 { width: 180px; height: 180px; background: #06B6D4; top: 50%; left: 60%; opacity: 0.2; }

.reg-brand__content { position: relative; z-index: 1; max-width: 440px; }

.reg-brand__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 2rem; }
.reg-brand__logo-img { width: 32px; height: 32px; }
.reg-brand__logo-text { font-size: 1.2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.reg-brand__logo-text span { color: #60A5FA; }

.reg-brand__h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
}
.reg-brand__sub {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.reg-brand__features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 2rem; }
.reg-brand__feat { display: flex; align-items: center; gap: 12px; }
.reg-brand__feat-icon {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #60A5FA;
}
.reg-brand__feat-title { font-size: 0.82rem; font-weight: 600; color: #E2E8F0; }
.reg-brand__feat-desc { font-size: 0.72rem; color: #64748B; }

.reg-brand__glass {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 16px 0;
}
.reg-brand__glass-row { flex: 1; text-align: center; }
.reg-brand__glass-num { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.reg-brand__glass-lbl { font-size: 0.65rem; color: #64748B; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.reg-brand__glass-div { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }

/* ── RIGHT: Form panel ── */
.reg-main {
    background: #FAFBFC;
    display: flex; align-items: center; justify-content: center;
    padding: 2.5rem 2rem;
    overflow-y: auto;
}
.reg-main__inner { width: 100%; max-width: 400px; }
.reg-main__title { font-size: 1.5rem; font-weight: 800; color: #0F172A; letter-spacing: -0.02em; margin: 0 0 0.2rem; }
.reg-main__sub { font-size: 0.85rem; color: #64748B; margin: 0 0 1.5rem; }

/* ── Plan selector: 2×2 grid ── */
.reg-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 1.5rem; }
.reg-plan {
    background: #fff; border: 2px solid #E2E8F0; border-radius: 10px;
    padding: 14px 14px 12px; cursor: pointer; position: relative;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; user-select: none;
}
.reg-plan:hover { border-color: #94A3B8; }
.reg-plan.is-selected { border-color: #2563EB; box-shadow: 0 0 0 1px #2563EB; background: #F0F5FF; }
.reg-plan--pop { border-color: #C7D2FE; }

.reg-plan__tag {
    position: absolute; top: -8px; right: 10px;
    background: #2563EB; color: #fff;
    font-size: 0.58rem; font-weight: 700;
    padding: 2px 8px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.04em;
}

/* Radio circle */
.reg-plan__radio {
    width: 14px; height: 14px;
    border: 2px solid #CBD5E1; border-radius: 50%;
    position: absolute; top: 10px; right: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.15s;
}
.reg-plan__radio span {
    width: 6px; height: 6px; border-radius: 50%;
    background: transparent; transition: background 0.15s;
}
.reg-plan.is-selected .reg-plan__radio { border-color: #2563EB; }
.reg-plan.is-selected .reg-plan__radio span { background: #2563EB; }

/* Plan info */
.reg-plan__info { padding-right: 20px; }
.reg-plan__row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.reg-plan__name { font-size: 0.85rem; font-weight: 700; color: #0F172A; }
.reg-plan__price { font-size: 1rem; font-weight: 800; color: #0F172A; white-space: nowrap; }
.reg-plan__annual { font-size: 0.65rem; color: #94A3B8; display: block; margin-top: 1px; }
.reg-plan__desc { font-size: 0.68rem; color: #64748B; display: block; line-height: 1.35; margin-top: 6px; }
.reg-plan__desc strong { color: #0F172A; font-weight: 700; }

/* ── Messages ── */
.reg-msg { padding: 10px 14px; border-radius: 8px; font-size: 0.82rem; margin-bottom: 12px; }
.reg-msg--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.reg-msg--success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }

/* ── Form fields ── */
.reg-field { margin-bottom: 14px; }
.reg-label { display: block; font-size: 0.78rem; font-weight: 600; color: #334155; margin-bottom: 5px; }
.reg-input {
    width: 100%; padding: 0.7rem 0.9rem;
    border: 1px solid #E2E8F0; border-radius: 8px;
    font-size: 0.9rem; font-family: inherit; box-sizing: border-box;
    background: #fff; color: #0F172A;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.reg-input:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.reg-input--err { border-color: #EF4444; }
.reg-input::placeholder { color: #94A3B8; }

.reg-check { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 18px; padding: 6px 10px; border-radius: 8px; transition: background 0.15s; }
.reg-check label { font-size: 0.75rem; color: #475569; line-height: 1.4; }
.reg-check a { color: #2563EB; text-decoration: underline; }

.reg-btn {
    width: 100%; padding: 0.75rem;
    background: #2563EB; color: #fff; border: none; border-radius: 8px;
    font-size: 0.9rem; font-weight: 700; font-family: inherit; cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.reg-btn:hover { background: #1D4ED8; }
.reg-btn:active { transform: scale(0.99); }

.reg-footer { text-align: center; font-size: 0.82rem; color: #64748B; margin-top: 16px; }
.reg-footer a { color: #2563EB; font-weight: 600; text-decoration: none; }
.reg-fine { text-align: center; font-size: 0.68rem; color: #94A3B8; margin-top: 10px; }

/* ── Tablet: stack ── */
@media (max-width: 900px) {
    .reg-page { grid-template-columns: 1fr; min-height: auto; }
    .reg-brand { padding: 2.5rem 1.5rem 2rem; }
    .reg-brand__content { max-width: 100%; }
    .reg-brand__h1 { font-size: 1.6rem; }
    .reg-brand__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .reg-main { padding: 2rem 1.5rem; }
}

/* ── Phone ── */
@media (max-width: 600px) {
    .reg-brand { padding: 2rem 1.25rem 1.5rem; }
    .reg-brand__logo { margin-bottom: 1.25rem; }
    .reg-brand__h1 { font-size: 1.35rem; margin-bottom: 0.5rem; }
    .reg-brand__sub { font-size: 0.8rem; margin-bottom: 1.25rem; }
    .reg-brand__features { grid-template-columns: 1fr; gap: 10px; margin-bottom: 1.25rem; }
    .reg-brand__feat-icon { width: 32px; height: 32px; min-width: 32px; font-size: 0.9rem; }
    .reg-brand__feat-title { font-size: 0.78rem; }
    .reg-brand__feat-desc { font-size: 0.68rem; }
    .reg-brand__glass { padding: 12px 0; border-radius: 10px; }
    .reg-brand__glass-num { font-size: 1.15rem; }
    .reg-brand__glass-lbl { font-size: 0.58rem; }

    .reg-main { padding: 1.5rem 1.25rem 2rem; }
    .reg-main__inner { max-width: 100%; }
    .reg-main__title { font-size: 1.25rem; }
    .reg-main__sub { font-size: 0.8rem; margin-bottom: 1.25rem; }

    .reg-plans { gap: 6px; }
    .reg-plan { padding: 10px 10px 8px; border-radius: 8px; }
    .reg-plan__name { font-size: 0.78rem; }
    .reg-plan__price { font-size: 0.9rem; }
    .reg-plan__price small { font-size: 0.65rem; }
    .reg-plan__desc { font-size: 0.62rem; }
    .reg-plan__tag { font-size: 0.52rem; padding: 1px 6px; top: -6px; }
    .reg-plan__radio { width: 12px; height: 12px; top: 8px; right: 8px; }
    .reg-plan__radio span { width: 5px; height: 5px; }

    .reg-input { font-size: 0.85rem; padding: 0.65rem 0.8rem; }
    .reg-label { font-size: 0.72rem; }
    .reg-btn { font-size: 0.85rem; padding: 0.7rem; }
    .reg-check label { font-size: 0.68rem; }
    .reg-footer { font-size: 0.78rem; }
    .reg-fine { font-size: 0.62rem; }
}

/* ═══════════════════════════════════════════════════════
   PRICING PAGE (Public — redirects to register, kept for reference)
   ═══════════════════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
.pricing-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pricing-card--popular {
    border-color: #2563EB;
    box-shadow: 0 0 0 1px #2563EB;
}
.pricing-card__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563EB;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-card__header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.pricing-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card__price {
    font-size: 2rem;
    font-weight: 800;
    color: #0F172A;
    margin: 4px 0 2px;
}
.pricing-card__price-unit {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94A3B8;
}
.pricing-card__interval {
    font-size: 0.78rem;
    color: #94A3B8;
}
.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}
.pricing-card__features li {
    font-size: 0.85rem;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0F172A;
}
.pricing-card__features li i {
    color: #22C55E;
    font-size: 1rem;
}
.pricing-card__feature--no {
    opacity: 0.45;
}
.pricing-card__feature--no i {
    color: #94A3B8 !important;
}
.pricing-card__btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0F172A;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.pricing-card__btn:hover {
    background: #f8fafc;
    border-color: #94A3B8;
    color: #0F172A;
}
.pricing-card__btn--primary {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}
.pricing-card__btn--primary:hover {
    background: #1D4ED8;
    color: #fff;
}
.pricing-card__btn--outline {
    background: transparent;
}
.pricing-card__current-badge {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #22C55E;
    border: 1px solid #22C55E;
    border-radius: 8px;
}
.page-header { padding: 2rem 1rem 1rem; }
.page-header__title { font-size: 1.5rem; font-weight: 800; margin: 0; }
.page-header__sub { font-size: 0.9rem; color: #64748B; margin: 4px 0 0; }

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
}
