/* ================================================================
   SpotMD Prelaunch Landing Page
   All selectors are scoped to .spotmd-prelaunch to avoid conflicts
   with Astra and Elementor.
================================================================ */

html:has(.spotmd-prelaunch),
body:has(.spotmd-prelaunch),
body.spotmd-prelaunch-active {
    overflow-x: clip;
}

body.spotmd-prelaunch-active #masthead,
body.spotmd-prelaunch-active .site-header,
body.spotmd-prelaunch-active #colophon,
body.spotmd-prelaunch-active .site-footer,
body.spotmd-prelaunch-active .entry-header,
body.spotmd-prelaunch-active .page-header {
    display: none !important;
}

body.spotmd-prelaunch-active #page,
body.spotmd-prelaunch-active #content,
body.spotmd-prelaunch-active .site-content,
body.spotmd-prelaunch-active .ast-container,
body.spotmd-prelaunch-active .content-area,
body.spotmd-prelaunch-active .site-main,
body.spotmd-prelaunch-active .site-main > article,
body.spotmd-prelaunch-active .entry-content,
body.spotmd-prelaunch-active .elementor,
body.spotmd-prelaunch-active .elementor-section-wrap,
body.spotmd-prelaunch-active .e-con,
body.spotmd-prelaunch-active .e-con-inner,
body.spotmd-prelaunch-active .elementor-widget,
body.spotmd-prelaunch-active .elementor-widget-container {
    max-width: none !important;
}

body.spotmd-prelaunch-active #content,
body.spotmd-prelaunch-active .site-content,
body.spotmd-prelaunch-active .ast-container,
body.spotmd-prelaunch-active .content-area,
body.spotmd-prelaunch-active .site-main,
body.spotmd-prelaunch-active .site-main > article,
body.spotmd-prelaunch-active .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.spotmd-prelaunch,
.spotmd-prelaunch * {
    box-sizing: border-box;
}

.spotmd-prelaunch {
    --spotmd-ink: #16243b;
    --spotmd-ink-soft: #4d5f76;
    --spotmd-muted: #69798e;
    --spotmd-brand: #6697fd;
    --spotmd-brand-dark: #4d76e9;
    --spotmd-brand-soft: #eef4ff;
    --spotmd-accent: #ffbd59;
    --spotmd-accent-hover: #e9a94c;
    --spotmd-navy: #112840;
    --spotmd-navy-deep: #0b1e31;
    --spotmd-line: #dce5ef;
    --spotmd-line-soft: #e8eef4;
    --spotmd-surface: #ffffff;
    --spotmd-surface-alt: #f6f9fc;
    --spotmd-surface-blue: #f3f7ff;
    --spotmd-success: #168867;
    --spotmd-success-soft: #e9f7f2;
    --spotmd-shadow: 0 22px 70px rgba(16, 40, 64, 0.10);
    --spotmd-radius: 18px;
    --spotmd-shell: 1180px;

    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 0 calc(50% - 50vw) !important;
    overflow: clip;
    background: var(--spotmd-surface);
    color: var(--spotmd-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.spotmd-prelaunch img,
.spotmd-prelaunch svg {
    display: block;
}

.spotmd-prelaunch img {
    max-width: 100%;
    height: auto;
}

.spotmd-prelaunch a {
    color: inherit;
    text-decoration: none;
}

.spotmd-prelaunch button,
.spotmd-prelaunch input,
.spotmd-prelaunch textarea {
    font: inherit;
}

.spotmd-prelaunch button,
.spotmd-prelaunch input,
.spotmd-prelaunch textarea,
.spotmd-prelaunch a {
    -webkit-tap-highlight-color: transparent;
}

.spotmd-prelaunch h1,
.spotmd-prelaunch h2,
.spotmd-prelaunch h3,
.spotmd-prelaunch p,
.spotmd-prelaunch ul {
    margin: 0;
}

.spotmd-prelaunch h1,
.spotmd-prelaunch h2,
.spotmd-prelaunch h3 {
    color: var(--spotmd-ink);
    font-family: inherit;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.spotmd-shell {
    width: min(var(--spotmd-shell), calc(100% - 48px));
    margin-inline: auto;
}

.spotmd-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.spotmd-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999999;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--spotmd-navy);
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.spotmd-skip-link:focus {
    transform: translateY(0);
}

/* Announcement bar */
.spotmd-announcement {
    position: relative;
    z-index: 60;
    background: var(--spotmd-navy);
    color: #fff;
}

.spotmd-announcement-inner {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-block: 8px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
}

.spotmd-announcement-inner > span {
    color: rgba(255, 255, 255, 0.78);
}

.spotmd-announcement a {
    color: #fff;
    font-weight: 650;
}

.spotmd-announcement a:hover,
.spotmd-announcement a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Header */
.spotmd-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(220, 229, 239, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow 0.22s ease, background-color 0.22s ease;
}

.spotmd-header.is-scrolled {
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 8px 30px rgba(12, 32, 51, 0.08);
}

.spotmd-header-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: 176px 1fr auto;
    align-items: center;
    gap: 28px;
}

.spotmd-brand {
    width: 154px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.spotmd-brand img {
    width: 100%;
    height: auto;
}

.spotmd-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.spotmd-nav a,
.spotmd-footer-nav a {
    position: relative;
    font-size: 14px;
    font-weight: 590;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.spotmd-nav a {
    color: #405169;
}

.spotmd-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--spotmd-brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.spotmd-nav a:hover,
.spotmd-nav a:focus-visible {
    color: var(--spotmd-brand-dark);
}

.spotmd-nav a:hover::after,
.spotmd-nav a:focus-visible::after {
    transform: scaleX(1);
}

.spotmd-menu-toggle,
.spotmd-mobile-menu {
    display: none;
}

/* Buttons */
.spotmd-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent !important;
    border-radius: 8px;
    background: var(--spotmd-brand) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 11px 27px rgba(102, 150, 253, 0.24);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.spotmd-btn:hover,
.spotmd-btn:focus-visible {
    background: var(--spotmd-brand-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 34px rgba(79, 127, 233, 0.28);
}

.spotmd-btn:focus-visible,
.spotmd-prelaunch input:focus-visible,
.spotmd-prelaunch textarea:focus-visible,
.spotmd-menu-toggle:focus-visible {
    outline: 3px solid rgba(102, 150, 253, 0.28);
    outline-offset: 3px;
}

.spotmd-btn-small {
    min-height: 44px;
    padding: 10px 19px;
    font-size: 13px;
}

.spotmd-btn-large {
    min-height: 54px;
    padding: 14px 25px;
    font-size: 15px;
}

.spotmd-btn.spotmd-btn-accent {
    border-color: var(--spotmd-accent) !important;
    background: var(--spotmd-accent) !important;
    color: var(--spotmd-navy) !important;
    box-shadow: 0 11px 27px rgba(188, 125, 31, 0.24);
}

.spotmd-btn.spotmd-btn-accent:hover,
.spotmd-btn.spotmd-btn-accent:focus-visible {
    border-color: var(--spotmd-accent-hover) !important;
    background: var(--spotmd-accent-hover) !important;
    color: var(--spotmd-navy-deep) !important;
    box-shadow: 0 15px 34px rgba(149, 96, 17, 0.3);
}

.spotmd-btn.spotmd-btn-accent:focus-visible {
    outline-color: rgba(17, 40, 64, 0.72);
}

/* Hero */
.spotmd-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(102, 150, 253, 0.13), transparent 27%),
        radial-gradient(circle at 16% 76%, rgba(131, 194, 224, 0.12), transparent 30%),
        linear-gradient(118deg, #fbfdff 0%, #f5f9fe 52%, #edf5fc 100%);
}

.spotmd-hero::before {
    content: "";
    position: absolute;
    width: 530px;
    height: 530px;
    right: -255px;
    top: -190px;
    border: 1px solid rgba(102, 150, 253, 0.16);
    border-radius: 50%;
}

.spotmd-hero-grid {
    position: relative;
    min-height: 624px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 72px;
    padding-block: 78px 82px;
}

.spotmd-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.spotmd-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--spotmd-brand-dark);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.spotmd-eyebrow-pill {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 23px;
    padding: 8px 13px;
    border: 1px solid rgba(102, 150, 253, 0.18);
    border-radius: 99px;
    background: rgba(238, 244, 255, 0.92);
    color: #4d79d9;
    font-size: 11px;
    letter-spacing: 0.055em;
    text-transform: none;
}

.spotmd-eyebrow-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--spotmd-brand);
    box-shadow: 0 0 0 4px rgba(102, 150, 253, 0.12);
}

.spotmd-hero h1 {
    max-width: 640px;
    margin-bottom: 24px;
    font-size: clamp(45px, 4.25vw, 65px);
    line-height: 1.045;
    letter-spacing: -0.055em;
}

.spotmd-hero-copy > p {
    max-width: 610px;
    margin-bottom: 31px;
    color: var(--spotmd-ink-soft);
    font-size: 17px;
    line-height: 1.76;
}

.spotmd-hero-visual {
    position: relative;
    min-width: 0;
}

.spotmd-image-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    aspect-ratio: 1.18 / 1;
    min-height: 470px;
    border: 8px solid rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    background: #dde6f1;
    box-shadow: 0 28px 72px rgba(16, 40, 64, 0.18);
}

.spotmd-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(17, 40, 64, 0.07);
    pointer-events: none;
}

.spotmd-image-frame img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.spotmd-orb {
    position: absolute;
    z-index: 1;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.spotmd-orb-one {
    width: 155px;
    height: 155px;
    top: -38px;
    right: -39px;
    background: rgba(102, 150, 253, 0.17);
}

.spotmd-orb-two {
    width: 98px;
    height: 98px;
    left: -28px;
    bottom: -28px;
    border-radius: 28px;
    background: rgba(117, 190, 220, 0.19);
    transform: rotate(18deg);
}

/* Generic sections */
.spotmd-section {
    position: relative;
    padding-block: 96px;
}

.spotmd-section-heading {
    max-width: 730px;
    margin-bottom: 52px;
}

.spotmd-section-heading-center {
    margin-inline: auto;
    text-align: center;
}

.spotmd-section h2,
.spotmd-content-column h2,
.spotmd-final-cta h2 {
    font-size: clamp(35px, 3.25vw, 47px);
    line-height: 1.13;
    letter-spacing: -0.045em;
}

.spotmd-section-heading h2 {
    max-width: 690px;
    margin-inline: auto;
}

/* How it works */
.spotmd-how {
    background: #fff;
}

.spotmd-how-title {
    margin: 0 auto 52px !important;
    color: var(--spotmd-brand) !important;
    font-size: clamp(38px, 4vw, 56px) !important;
    font-weight: 600 !important;
    letter-spacing: -0.045em !important;
    line-height: 1.06 !important;
    text-align: center;
    text-transform: uppercase;
}

.spotmd-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.spotmd-step-card {
    position: relative;
    min-height: 398px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    border: 1px solid #e0e7ef;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 13px 34px rgba(16, 40, 64, 0.07);
    overflow: hidden;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.spotmd-step-card:hover {
    border-color: rgba(95, 136, 247, 0.38);
    box-shadow: 0 17px 40px rgba(16, 40, 64, 0.09);
}

.spotmd-step-top {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 196px;
    display: grid;
    align-items: center;
    justify-items: center;
    margin-bottom: 21px;
}

.spotmd-step-number {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 27px;
    padding: 0 11px;
    border: 1px solid #dce5ee;
    border-radius: 999px;
    background: #f7f9fc;
    color: #315fcf;
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.08em;
}

.spotmd-step-visual {
    position: relative;
    width: 164px;
    height: 152px;
    display: grid;
    place-items: center;
    color: var(--spotmd-brand-dark);
    border-radius: 58% 42% 49% 51% / 42% 53% 47% 58%;
    isolation: isolate;
}

.spotmd-step-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 74px;
    height: 66px;
    right: -9px;
    bottom: -3px;
    border-radius: 43% 57% 61% 39% / 55% 42% 58% 45%;
    background: currentColor;
    opacity: 0.13;
    transform: rotate(19deg);
}

.spotmd-step-visual-blue {
    color: #4778e8;
    background: #e8f0ff;
}

.spotmd-step-visual-pink {
    color: #dc6f9a;
    background: #fdebf2;
    border-radius: 45% 55% 62% 38% / 56% 41% 59% 44%;
}

.spotmd-step-visual-yellow {
    color: #c98d18;
    background: #fff2c7;
    border-radius: 61% 39% 43% 57% / 45% 58% 42% 55%;
}

.spotmd-icon-box,
.spotmd-form-icon,
.spotmd-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--spotmd-brand-dark);
    background: var(--spotmd-brand-soft);
}

.spotmd-icon-box {
    width: 52px;
    height: 52px;
    border: 1px solid #dbe7fa;
    border-radius: 16px;
    background: linear-gradient(180deg, #f5f9ff 0%, #eaf1ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.spotmd-step-visual .spotmd-icon-box {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: inherit;
    box-shadow: 0 10px 25px rgba(17, 40, 64, 0.1);
}

.spotmd-step-visual > svg,
.spotmd-step-visual .spotmd-icon-box svg {
    width: 28px;
    height: 28px;
}

.spotmd-step-visual > svg {
    position: relative;
    z-index: 1;
    padding: 17px;
    overflow: visible;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    box-sizing: content-box;
    filter: drop-shadow(0 8px 12px rgba(17, 40, 64, 0.1));
}

.spotmd-icon-box svg {
    width: 22px;
    height: 22px;
}

.spotmd-step-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    width: 100%;
    color: var(--spotmd-ink);
    font-size: 19px;
    line-height: 1.28;
    letter-spacing: -0.03em;
}

.spotmd-step-card p {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    color: #6a7d92;
    font-size: 15px;
    line-height: 1.7;
}

/* Split content + forms */
.spotmd-physicians {
    background: var(--spotmd-surface-blue);
}

.spotmd-employers {
    background: #fff;
}

.spotmd-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 72px;
}

.spotmd-split-grid-reverse .spotmd-content-column {
    order: 2;
}

.spotmd-split-grid-reverse .spotmd-form-card {
    order: 1;
}

.spotmd-content-column h2 {
    max-width: 540px;
    margin-bottom: 20px;
}

.spotmd-lead {
    max-width: 560px;
    color: var(--spotmd-muted);
    font-size: 16px;
    line-height: 1.78;
}

.spotmd-check-list {
    display: grid;
    gap: 14px;
    margin-top: 29px !important;
    padding: 0 !important;
    list-style: none !important;
}

.spotmd-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3f5065;
    font-size: 15px;
    font-weight: 580;
}

.spotmd-check-list li > span {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 23px;
    border-radius: 50%;
    background: #eef4ff;
    color: var(--spotmd-brand-dark);
    font-size: 12px;
    font-weight: 900;
}

.spotmd-feature-list {
    margin-top: 28px;
    border-top: 1px solid var(--spotmd-line-soft);
}

.spotmd-feature-item {
    min-height: 67px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--spotmd-line-soft);
    color: #3d4e64;
    font-size: 15px;
    font-weight: 620;
}

.spotmd-feature-icon {
    width: 39px;
    height: 39px;
    border-radius: 10px;
}

.spotmd-feature-icon svg {
    width: 19px;
    height: 19px;
}

/* Updated reference: simple blue check icons and equal form sizing */
.spotmd-feature-list-checks {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    border-top: 0;
}

.spotmd-feature-list-checks .spotmd-feature-item {
    min-height: 0;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    border-bottom: 0;
    font-weight: 520;
    line-height: 1.55;
}

.spotmd-feature-list-checks .spotmd-feature-icon {
    width: 18px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    border-radius: 0;
    background: transparent;
    color: var(--spotmd-brand-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

/* Form card */
.spotmd-form-card {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    padding: 34px 35px 30px;
    border: 1px solid rgba(211, 224, 236, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--spotmd-shadow);
}

.spotmd-form-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.spotmd-form-icon svg {
    width: 21px;
    height: 21px;
}

.spotmd-form-heading-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.spotmd-form-heading-row .spotmd-form-icon {
    flex: 0 0 45px;
    margin-bottom: 0;
}

.spotmd-form-heading-row h3 {
    margin: 0;
}

.spotmd-form-card h3 {
    margin-bottom: 5px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.spotmd-form-intro {
    margin-bottom: 23px !important;
    color: var(--spotmd-muted);
    font-size: 13px;
    line-height: 1.65;
}

.spotmd-form {
    position: relative;
}

.spotmd-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.spotmd-field {
    display: block;
    margin: 0 0 15px;
    color: var(--spotmd-ink);
}

.spotmd-field > span {
    display: block;
    margin-bottom: 7px;
    color: #33455c;
    font-size: 12px;
    font-style: normal;
    font-weight: 680;
    line-height: 1.35;
}

.spotmd-field > span em {
    color: #8b99aa;
    font-style: normal;
    font-weight: 500;
}

.spotmd-field input,
.spotmd-field textarea {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    border: 1px solid #ccd9e5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #24364d !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.spotmd-field input {
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 12px !important;
}

.spotmd-field textarea {
    min-height: 108px !important;
    padding: 11px 12px !important;
    resize: vertical;
}

.spotmd-field input::placeholder,
.spotmd-field textarea::placeholder {
    color: #9aa7b6;
    opacity: 1;
}

.spotmd-field input:hover,
.spotmd-field textarea:hover {
    border-color: #b6c7d6 !important;
}

.spotmd-field input:focus,
.spotmd-field textarea:focus {
    border-color: var(--spotmd-brand) !important;
    box-shadow: 0 0 0 3px rgba(102, 150, 253, 0.13) !important;
}

.spotmd-field input[aria-invalid="true"],
.spotmd-field textarea[aria-invalid="true"] {
    border-color: #cf4e56 !important;
    box-shadow: 0 0 0 3px rgba(207, 78, 86, 0.09) !important;
}

.spotmd-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 1px;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(102, 150, 253, 0.22);
}

.spotmd-submit:disabled {
    cursor: wait;
    opacity: 0.76;
    transform: none;
}

.spotmd-spinner {
    width: 17px;
    height: 17px;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spotmd-spin 0.7s linear infinite;
}

.spotmd-submit.is-loading .spotmd-spinner {
    display: block;
}

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


.spotmd-form-target {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.spotmd-form-status {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.spotmd-form-status.is-visible {
    display: block;
}

.spotmd-form-status.is-success {
    background: var(--spotmd-success-soft);
    color: #116f55;
}

.spotmd-form-status.is-error {
    background: #fff0f1;
    color: #9f3038;
}

.spotmd-form-note {
    margin-top: 13px !important;
    color: #8a98a8;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.spotmd-form-card-physician .spotmd-form-note {
    margin-top: auto !important;
    padding-top: 13px;
}

.spotmd-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Final CTA */
.spotmd-final-cta {
    overflow: hidden;
    padding-block: 78px;
    background: #1b283c;
}

.spotmd-final-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.spotmd-eyebrow-light {
    margin-bottom: 15px;
    color: #bccaf8;
    letter-spacing: 0.16em;
}

.spotmd-final-cta h2 {
    margin: 0 auto 29px;
    max-width: 720px;
    color: #fff;
}

.spotmd-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
}

.spotmd-btn-light {
    background: #fff !important;
    color: var(--spotmd-navy) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.spotmd-btn-light:hover,
.spotmd-btn-light:focus-visible {
    background: #f4f7fb !important;
    color: var(--spotmd-navy) !important;
}

.spotmd-btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none;
}

.spotmd-btn-outline-light:hover,
.spotmd-btn-outline-light:focus-visible {
    border-color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.spotmd-btn.spotmd-cta-link,
.spotmd-btn.spotmd-cta-link:hover,
.spotmd-btn.spotmd-cta-link:focus-visible {
    min-height: 44px;
    padding: 10px 2px;
    border-color: transparent !important;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none;
    transform: none;
}

.spotmd-btn.spotmd-cta-link:hover,
.spotmd-btn.spotmd-cta-link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.spotmd-final-cta .spotmd-btn-accent:focus-visible,
.spotmd-final-cta .spotmd-cta-link:focus-visible {
    outline-color: #fff;
}

/* Footer */
.spotmd-footer {
    padding-block: 58px 24px;
    background: var(--spotmd-navy-deep);
    color: rgba(220, 231, 241, 0.75);
}

.spotmd-footer-main {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 60px;
    padding-bottom: 39px;
}

.spotmd-footer-brand {
    width: 160px;
    margin-bottom: 17px;
}

.spotmd-footer-brand-column p {
    max-width: 500px;
    color: rgba(220, 231, 241, 0.66);
    font-size: 13px;
    line-height: 1.75;
}

.spotmd-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.spotmd-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.spotmd-social-links a:hover,
.spotmd-social-links a:focus-visible {
    color: var(--spotmd-navy-deep);
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.spotmd-social-links a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.spotmd-social-links svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.spotmd-social-links .spotmd-social-fill {
    fill: currentColor;
    stroke: none;
}

.spotmd-footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 26px;
    padding-top: 5px;
}

.spotmd-footer-nav a {
    color: rgba(235, 242, 248, 0.76);
}

.spotmd-footer-nav a:hover,
.spotmd-footer-nav a:focus-visible {
    color: #fff;
}

.spotmd-footer-bottom {
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(205, 218, 229, 0.54);
    font-size: 11px;
    line-height: 1.6;
}

#physicians,
#employers,
#how-it-works {
    scroll-margin-top: 76px;
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.spotmd-prelaunch) {
        scroll-behavior: smooth;
    }
}

/* Tablet */
@media (max-width: 1080px) {
    .spotmd-shell {
        width: min(var(--spotmd-shell), calc(100% - 40px));
    }

    .spotmd-header-inner {
        grid-template-columns: 145px minmax(0, 1fr) auto;
        gap: 14px;
    }

    .spotmd-brand {
        width: 138px;
    }

    .spotmd-nav {
        gap: 16px;
    }

    .spotmd-nav a {
        font-size: 12px;
    }

    .spotmd-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
        gap: 46px;
    }

    .spotmd-hero h1 {
        font-size: clamp(43px, 5vw, 58px);
    }

    .spotmd-split-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

}

@media (max-width: 900px) {
    .spotmd-header-inner {
        min-height: 72px;
        grid-template-columns: 1fr auto auto;
    }

    .spotmd-nav {
        display: none;
    }

    .spotmd-menu-toggle {
        width: 43px;
        height: 43px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid var(--spotmd-line) !important;
        border-radius: 8px;
        background: #fff !important;
        color: var(--spotmd-ink);
        cursor: pointer;
    }

    .spotmd-menu-toggle-lines {
        width: 19px;
        display: grid;
        gap: 4px;
    }

    .spotmd-menu-toggle-lines i {
        width: 100%;
        height: 2px;
        display: block;
        border-radius: 99px;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .spotmd-menu-toggle[aria-expanded="true"] .spotmd-menu-toggle-lines i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .spotmd-menu-toggle[aria-expanded="true"] .spotmd-menu-toggle-lines i:nth-child(2) {
        opacity: 0;
    }

    .spotmd-menu-toggle[aria-expanded="true"] .spotmd-menu-toggle-lines i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .spotmd-mobile-menu {
        display: block;
        border-top: 1px solid var(--spotmd-line-soft);
        background: #fff;
        box-shadow: 0 15px 30px rgba(16, 40, 64, 0.08);
    }

    .spotmd-mobile-menu[hidden] {
        display: none;
    }

    .spotmd-mobile-menu .spotmd-shell {
        display: grid;
        gap: 2px;
        padding-block: 13px 18px;
    }

    .spotmd-mobile-menu a:not(.spotmd-btn) {
        padding: 10px 3px;
        color: #3f5065;
        font-size: 14px;
        font-weight: 620;
    }

    .spotmd-mobile-menu .spotmd-btn {
        margin-top: 8px;
    }

    .spotmd-hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 49px;
        padding-block: 68px 76px;
    }

    .spotmd-hero-copy {
        max-width: 720px;
    }

    .spotmd-hero-visual {
        width: min(680px, 94%);
        margin-inline: auto;
    }

    .spotmd-image-frame {
        aspect-ratio: 1.45 / 1;
    }

    .spotmd-step-grid {
        width: min(620px, 100%);
        grid-template-columns: 1fr;
        margin-inline: auto;
    }

    .spotmd-step-card {
        min-height: 0;
    }

    .spotmd-step-top {
        margin-bottom: 30px;
    }

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

    .spotmd-split-grid-reverse .spotmd-content-column,
    .spotmd-split-grid-reverse .spotmd-form-card {
        order: initial;
    }

    .spotmd-content-column {
        max-width: 680px;
    }

    .spotmd-form-card {
        width: min(620px, 100%);
        min-height: 0;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .spotmd-shell {
        width: calc(100% - 30px);
    }

    .spotmd-announcement-inner {
        min-height: 48px;
        display: block;
        padding-block: 8px 9px;
        font-size: 11px;
    }

    .spotmd-announcement-inner > span,
    .spotmd-announcement-inner a {
        display: block;
    }

    .spotmd-announcement-inner a {
        margin-top: 2px;
    }

    .spotmd-header-inner {
        min-height: 66px;
        grid-template-columns: 1fr auto;
    }

    .spotmd-brand {
        width: 129px;
    }

    .spotmd-header-cta {
        display: none;
    }

    .spotmd-hero-grid {
        gap: 38px;
        padding-block: 52px 60px;
    }

    .spotmd-eyebrow-pill {
        margin-bottom: 20px;
        font-size: 10px;
    }

    .spotmd-hero h1 {
        margin-bottom: 20px;
        font-size: clamp(38px, 11.5vw, 48px);
        line-height: 1.06;
        letter-spacing: -0.052em;
    }

    .spotmd-hero-copy > p {
        margin-bottom: 27px;
        font-size: 15px;
        line-height: 1.72;
    }

    .spotmd-btn-large {
        width: 100%;
    }

    .spotmd-hero-visual {
        width: 100%;
    }

    .spotmd-image-frame {
        aspect-ratio: 1.08 / 1;
        min-height: 320px;
        border-width: 5px;
        border-radius: 19px;
    }

    .spotmd-image-frame img {
        object-position: 50% 50%;
    }

    .spotmd-orb-one {
        width: 105px;
        height: 105px;
        top: -25px;
        right: -25px;
    }

    .spotmd-orb-two {
        width: 70px;
        height: 70px;
        left: -17px;
        bottom: -19px;
    }

    .spotmd-section {
        padding-block: 68px;
    }

    .spotmd-section-heading {
        margin-bottom: 34px;
    }

    .spotmd-how-title {
        margin-bottom: 34px !important;
        font-size: clamp(30px, 9vw, 39px) !important;
        line-height: 1.12 !important;
    }

    .spotmd-section h2,
    .spotmd-content-column h2,
    .spotmd-final-cta h2 {
        font-size: clamp(32px, 9vw, 39px);
        line-height: 1.15;
    }

    .spotmd-step-card {
        padding: 26px 24px 28px;
    }

    .spotmd-step-top {
        min-height: 180px;
        margin-bottom: 24px;
    }

    .spotmd-split-grid {
        gap: 36px;
    }

    .spotmd-lead {
        font-size: 15px;
    }

    .spotmd-form-card {
        padding: 26px 20px 23px;
        border-radius: 15px;
    }

    .spotmd-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .spotmd-field input {
        height: 47px !important;
        min-height: 47px !important;
    }

    .spotmd-final-cta {
        padding-block: 65px;
    }

    .spotmd-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .spotmd-cta-actions .spotmd-btn {
        width: 100%;
    }

    .spotmd-footer {
        padding-top: 48px;
    }

    .spotmd-footer-main {
        grid-template-columns: 1fr;
        gap: 29px;
    }

    .spotmd-footer-brand {
        width: 145px;
    }

    .spotmd-footer-nav {
        justify-content: flex-start;
        gap: 17px 22px;
    }
}

@media (max-width: 370px) {
    .spotmd-shell {
        width: calc(100% - 24px);
    }

    .spotmd-hero h1 {
        font-size: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spotmd-prelaunch *,
    .spotmd-prelaunch *::before,
    .spotmd-prelaunch *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
