/* =========================================================================
   RetaMD Main Stylesheet
   Design language: Superpower-inspired — warm dark video hero, alternating
   light/dark sections, orange #FC5F2B accent, glassmorphism, grain texture.
   ========================================================================= */

/* =========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================= */

:root {
    /* ---- Core dark palette ---- */
    --color-bg:           #0A0A0E;
    --color-bg-card:      #111118;
    --color-bg-card-alt:  #0F0F16;
    --color-bg-glass:     rgba(12, 12, 18, 0.6);

    /* ---- Light section palette ---- */
    --color-bg-light:     #F7F6F2;
    --color-bg-light-card:#FFFFFF;
    --color-border-light: rgba(0, 0, 0, 0.07);
    --color-text-dark:    #141210;
    --color-text-dark-muted: #6B6860;

    /* ---- Accent: Superpower orange ---- */
    --color-accent:       #FC5F2B;
    --color-accent-hover: #E8521F;
    --color-accent-light: #FF7A4D;
    --color-accent-glow:  rgba(252, 95, 43, 0.28);
    --color-accent-dim:   rgba(252, 95, 43, 0.12);

    /* ---- Text on dark ---- */
    --color-text:         #F5F0EB;
    --color-text-muted:   #9A9A8E;
    --color-text-faint:   #5A5A52;
    --color-white:        #FFFFFF;

    /* ---- Borders on dark ---- */
    --color-border:       rgba(255, 255, 255, 0.07);
    --color-border-strong:rgba(255, 255, 255, 0.12);

    /* ---- Utility ---- */
    --color-success: #22C55E;
    --color-error:   #EF4444;

    /* ---- Typography ---- */
    --font-display: 'Inter', system-ui, sans-serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    /* ---- Font sizes ---- */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  2rem;
    --text-4xl:  2.75rem;
    --text-5xl:  clamp(2.5rem, 5vw, 4rem);
    --text-hero: clamp(4.5rem, 10vw, 9rem);

    /* ---- Spacing tokens ---- */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* ---- Border radius ---- */
    --radius-sm:   4px;
    --radius-md:   10px;
    --radius-lg:   18px;
    --radius-xl:   28px;
    --radius-2xl:  40px;
    --radius-full: 9999px;

    /* ---- Transitions ---- */
    --transition-fast: 150ms ease;
    --transition-base: 260ms ease;
    --transition-slow: 420ms ease;

    /* ---- Shadows ---- */
    --shadow-card:      0 4px 32px rgba(0, 0, 0, 0.3);
    --shadow-card-light:0 2px 20px rgba(0, 0, 0, 0.07);
    --shadow-glow:      0 0 40px var(--color-accent-glow);
}

/* =========================================================================
   2. RESET AND BASE
   ========================================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* prevent horizontal scroll revealing off-screen mobile menu */
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip; /* clips off-screen mobile menu without creating a scroll container (preserves sticky nav) */
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }


/* =========================================================================
   3. LAYOUT UTILITIES
   ========================================================================= */

.rd-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.rd-container--narrow { max-width: 800px; }

.rd-section-header {
    margin-bottom: var(--space-12);
}

.rd-section-header--center { text-align: center; }

.rd-section-header__overline {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.rd-section-header__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--color-text);
}

.rd-section-header--light .rd-section-header__title {
    color: var(--color-text-dark);
}

.rd-section-header__sub {
    margin-top: var(--space-5);
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.65;
}

.rd-section-header--center .rd-section-header__sub {
    margin-inline: auto;
}

.rd-section-header--light .rd-section-header__sub,
.rd-section-header__sub--dark {
    color: var(--color-text-dark-muted);
}

/* =========================================================================
   4. LIGHT SECTION MODIFIER
   All sections with .rd-section--light invert to the warm off-white palette.
   ========================================================================= */

.rd-section--light {
    background-color: var(--color-bg-light);
}

/* =========================================================================
   5. BUTTONS
   ========================================================================= */

.rd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base),
        transform var(--transition-fast),
        box-shadow var(--transition-base);
    white-space: nowrap;
    padding: var(--space-4) var(--space-8);
    letter-spacing: 0.01em;
}

.rd-btn--primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.rd-btn--primary:hover,
.rd-btn--primary:focus-visible {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.rd-btn--primary:active {
    transform: translateY(0);
}

.rd-btn--secondary {
    background-color: transparent;
    border-color: var(--color-border-strong);
    color: var(--color-text);
}

.rd-btn--secondary:hover,
.rd-btn--secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.rd-btn--secondary-dark {
    background-color: transparent;
    border-color: rgba(0,0,0,0.18);
    color: var(--color-text-dark);
}

.rd-btn--secondary-dark:hover {
    border-color: rgba(0,0,0,0.35);
    background-color: rgba(0,0,0,0.04);
}

.rd-btn:focus-visible {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 3px;
}

/* =========================================================================
   6. NAVIGATION
   ========================================================================= */

.rd-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--space-3) var(--space-4);
}

/* Pill background via ::before — avoids backdrop-filter stacking context issues on iOS.
   Matches rd-container max-width (1200px) so the pill doesn't span the full viewport
   on wide screens. */
.rd-nav::before {
    content: '';
    position: absolute;
    top: var(--space-3);
    bottom: var(--space-3);
    left: max(var(--space-4), calc(50% - 600px));
    right: max(var(--space-4), calc(50% - 600px));
    background: rgba(10, 10, 14, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    z-index: 0;
    pointer-events: none;
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.rd-nav--scrolled::before {
    background: rgba(10, 10, 14, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Inner: plain flex row, no background (pill handled by ::before) */
.rd-nav__inner {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    height: 60px;
    padding-inline: var(--space-5);
    position: relative; /* ensures content sits above ::before */
    z-index: 1;
}

/* Logo */
.rd-nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 110; /* above fixed menu overlay */
}

.rd-nav__logo-img {
    display: block;
    height: auto;
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.rd-nav__logo--text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.rd-nav__menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.rd-nav__list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.rd-nav__item { list-style: none; }

.rd-nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: color var(--transition-base);
    letter-spacing: 0.01em;
}

.rd-nav__link:hover,
.rd-nav__link:focus-visible {
    color: var(--color-text);
}

/* When any link is hovered, dim siblings */
.rd-nav__list:hover .rd-nav__link:not(:hover) {
    color: var(--color-text-faint);
}

.rd-nav__cta {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    flex-shrink: 0;
    border-radius: var(--radius-md);
}

/* CSS-only hamburger */
.rd-nav__checkbox { display: none; }

.rd-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    margin-left: auto;
    padding: 4px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 110; /* above the fixed menu overlay (z-index: 98) and nav (z-index: 100) */
}

.rd-nav__bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), opacity var(--transition-base);
    transform-origin: center;
}

.rd-nav__checkbox:checked ~ .rd-nav__hamburger .rd-nav__bar:nth-child(1),
.rd-nav--open .rd-nav__hamburger .rd-nav__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.rd-nav__checkbox:checked ~ .rd-nav__hamburger .rd-nav__bar:nth-child(2),
.rd-nav--open .rd-nav__hamburger .rd-nav__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.rd-nav__checkbox:checked ~ .rd-nav__hamburger .rd-nav__bar:nth-child(3),
.rd-nav--open .rd-nav__hamburger .rd-nav__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================================
   7. HERO SECTION (VIDEO BACKGROUND)
   ========================================================================= */

.rd-hero {
    position: relative;
    overflow: hidden;
    /* Pull up behind the floating nav (84px), fill viewport minus ticker height */
    margin-top: -84px;
    min-height: calc(100svh - 52px);
    display: flex;
    align-items: center;
    padding-top: calc(84px + var(--space-24));
    padding-bottom: var(--space-24);
}

/* --- Video layer --- */
.rd-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rd-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Multi-layer gradient: dark bottom for text legibility + left bias + overall dark */
.rd-hero__video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(10, 10, 14, 0.25) 0%,
            rgba(10, 10, 14, 0.35) 40%,
            rgba(10, 10, 14, 0.82) 75%,
            rgba(10, 10, 14, 0.97) 100%
        ),
        linear-gradient(
            to right,
            rgba(10, 10, 14, 0.55) 0%,
            transparent 55%
        );
}

/* Subtle film-grain noise over the hero */
.rd-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

/* --- Content --- */
.rd-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.rd-hero__content {
    max-width: 760px;
}

.rd-hero__tag-line {
    margin-bottom: var(--space-6);
}

.rd-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    background-color: rgba(252, 95, 43, 0.14);
    border: 1px solid rgba(252, 95, 43, 0.28);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
}

.rd-hero__tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 6px var(--color-accent-glow);
    animation: livePulse 2.4s ease-in-out infinite;
}

/* Staggered word-reveal headline */
.rd-hero__headline {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--color-text);
    margin-bottom: var(--space-6);
}

.rd-hero__line {
    display: block;
}

.rd-hero__word--accent {
    font-size: 1.18em;
    line-height: 1;
}

.rd-hero__word {
    display: inline-block;
    opacity: 0;
    transform: translateY(32px);
    animation: wordReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.rd-hero__sub {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: rgba(245, 240, 235, 0.72);
    max-width: 580px;
    margin-bottom: var(--space-6);
    font-weight: 400;
}

/* Trust badge strip between subheadline and form */
.rd-hero__trust {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.rd-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.rd-hero__trust-item svg { opacity: 0.6; flex-shrink: 0; }

.rd-hero__trust-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    line-height: 1;
}

.rd-hero__form-wrap .rd-waitlist-form__row {
    max-width: 540px;
}

.rd-hero__form-note {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: rgba(245, 240, 235, 0.5);
}

.rd-hero__count {
    color: var(--color-text);
    font-weight: 600;
}

.rd-icon {
    flex-shrink: 0;
    opacity: 0.6;
}

/* =========================================================================
   8. TICKER STRIP
   ========================================================================= */

.rd-ticker {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--space-4);
    background-color: var(--color-bg);
    /* Never let the ticker collapse or get cut off */
    flex-shrink: 0;
    min-height: 52px;
}

.rd-ticker__track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 44s linear infinite;
    width: max-content;
}

.rd-ticker__track:hover {
    animation-play-state: paused;
}

.rd-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    padding-inline: var(--space-10);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.rd-ticker__dot {
    font-size: 5px;
    color: var(--color-accent);
    opacity: 0.8;
}

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

/* =========================================================================
   9. STATS SECTION (LIGHT SECTION)
   ========================================================================= */

.rd-stats {
    padding-block: var(--space-24);
}

.rd-stats__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-5);
    align-items: stretch;
}

/* Base stat card (dark section defaults) */
.rd-stat {
    position: relative;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    overflow: hidden;
    transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.rd-stat:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

/* Stat card overrides for light section */
.rd-section--light .rd-stat {
    background-color: var(--color-bg-light-card);
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-card-light);
}

.rd-section--light .rd-stat:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(252, 95, 43, 0.2);
}

/* Accent stat: largest number */
.rd-stat--large {
    background: linear-gradient(140deg, rgba(252, 95, 43, 0.07) 0%, var(--color-bg-card) 55%);
    border-color: rgba(252, 95, 43, 0.18);
}

.rd-section--light .rd-stat--large {
    background: linear-gradient(140deg, rgba(252, 95, 43, 0.06) 0%, var(--color-bg-light-card) 55%);
    border-color: rgba(252, 95, 43, 0.18);
}

.rd-stat--large:hover {
    border-color: rgba(252, 95, 43, 0.38);
}

.rd-stat__over {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
    padding-top: var(--space-3);
    border-top: 2px solid var(--color-accent);
    width: 36px;
}

.rd-stat__number-row {
    display: flex;
    align-items: baseline;
}

.rd-stat__number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-text);
}

.rd-section--light .rd-stat__number {
    color: var(--color-text-dark);
}

.rd-stat--large .rd-stat__number {
    font-size: clamp(3.8rem, 9vw, 6rem);
}

.rd-stat__label {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.55;
    max-width: 200px;
}

.rd-section--light .rd-stat__label {
    color: var(--color-text-dark-muted);
}

.rd-stats__source {
    margin-top: var(--space-8);
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    text-align: center;
    letter-spacing: 0.01em;
}

.rd-section--light .rd-stats__source {
    color: var(--color-text-dark-muted);
    opacity: 0.6;
}

/* =========================================================================
   10. COMPARISON SECTION (DARK)
   ========================================================================= */

.rd-compare-section {
    padding-block: var(--space-24);
    background-color: var(--color-bg-card-alt);
    position: relative;
    overflow: hidden;
}

/* Subtle grain on comparison dark section */
.rd-compare-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

.rd-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.rd-compare__col {
    padding: var(--space-10);
}

.rd-compare__col--current {
    background-color: var(--color-bg-card);
}

.rd-compare__col--retatrutide {
    background: linear-gradient(160deg, rgba(252, 95, 43, 0.08) 0%, var(--color-bg-card) 45%);
    border-left: 1px solid var(--color-border);
}

.rd-compare__col-head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-border);
}

.rd-compare__col-label {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.rd-compare__winner-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px var(--space-3);
    border-radius: var(--radius-full);
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 14px var(--color-accent-glow);
}

.rd-compare__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    background-color: var(--color-bg-card);
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.rd-compare__vs {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-faint);
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.rd-compare__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.rd-compare__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.rd-compare__item--negative { color: var(--color-text-muted); }
.rd-compare__item--positive { color: var(--color-text); }

.rd-compare__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-top: 2px;
}

.rd-compare__icon--no  { background-color: rgba(239, 68, 68, 0.1); color: #EF4444; }
.rd-compare__icon--yes { background-color: rgba(34, 197, 94, 0.1);  color: var(--color-success); }

/* ── COMPARISON ENTRANCE ANIMATIONS ─────────────────── */

/* Columns sweep in from opposite sides when THEY enter viewport */
.rd-compare__col--current {
    opacity: 0;
    transform: translateX(-56px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.rd-compare__col--retatrutide {
    opacity: 0;
    transform: translateX(56px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.3, 1);
    transition-delay: 0.08s;
}

.rd-compare__col--current.is-visible,
.rd-compare__col--retatrutide.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Each row fades up as it scrolls into view */
.rd-compare__item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.rd-compare__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Icon spring-pops 150ms after its row appears */
.rd-compare__icon {
    opacity: 0;
    transform: scale(0.35);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.15s;
}

.rd-compare__item.is-visible .rd-compare__icon {
    opacity: 1;
    transform: scale(1);
}

/* Winner badge springs in when col enters viewport */
.rd-compare__winner-badge {
    opacity: 0;
    transform: scale(0.6) translateY(4px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.3s;
}

.rd-compare__col--retatrutide.is-visible .rd-compare__winner-badge {
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: winnerFlash 0.6s ease 0.38s both;
}

@keyframes winnerFlash {
    0%   { box-shadow: 0 0 0 0 var(--color-accent-glow); }
    50%  { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 2px 14px var(--color-accent-glow); }
}

/* =========================================================================
   11. HOW IT WORKS
   ========================================================================= */

.rd-steps-section {
    padding-block: var(--space-24);
    position: relative;
    overflow: hidden;
}

/* ── Background video ──────────────────────────────────── */
.rd-steps__video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.rd-steps__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;   /* pulled to top to show face */
    opacity: 0.22;
}

/* Dark vignette: fades to site bg color at edges */
.rd-steps__video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,  var(--color-bg) 0%,  transparent 16%, transparent 78%, var(--color-bg) 100%),
        linear-gradient(to right,   var(--color-bg) 0%,  transparent 20%, transparent 72%, var(--color-bg) 100%),
        radial-gradient(ellipse at 68% 42%, rgba(252, 95, 43, 0.07) 0%, transparent 55%);
}

/* All step content sits above the video */
.rd-steps-section .rd-container {
    position: relative;
    z-index: 1;
}

/* Progress line: hidden, kept for JS compat */
.rd-steps__progress { display: none; }
.rd-steps__progress-line {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.rd-steps__progress-line.is-visible { transform: scaleX(1); }

/* ── Vertical timeline list ─────────────────────────────── */
.rd-steps__list {
    display: flex;
    flex-direction: column;
    max-width: 660px;
    margin-inline: auto;
    padding-top: var(--space-6);
}

/* ── Single step row ────────────────────────────────────── */
.rd-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-6);

    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity  0.55s ease,
        transform 0.55s cubic-bezier(0.2, 0.8, 0.3, 1);
    transition-delay: calc(var(--step-i, 0) * 0.1s);
}

.rd-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Left column: numbered badge + connecting line ──────── */
.rd-step__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
}

/* Orange numbered badge — Superpower-style */
.rd-step__badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(252, 95, 43, 0.38);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    word-spacing: 0;
}

.rd-step.is-visible:hover .rd-step__badge {
    box-shadow: 0 6px 28px rgba(252, 95, 43, 0.6);
    transform: scale(1.06);
}

/* Connecting line — runs from badge bottom to next badge top */
.rd-step__line {
    width: 2px;
    flex: 1;
    min-height: var(--space-8);
    background: linear-gradient(
        to bottom,
        rgba(252, 95, 43, 0.55),
        rgba(252, 95, 43, 0.08)
    );
    border-radius: 1px;
    margin-top: var(--space-2);
}

/* ── Right column: icon + body ──────────────────────────── */
.rd-step__content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding-bottom: var(--space-10);
}

.rd-step:last-child .rd-step__content { padding-bottom: 0; }

.rd-step__icon-wrap { flex-shrink: 0; padding-top: 2px; }

.rd-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(252, 95, 43, 0.07);
    border: 1px solid rgba(252, 95, 43, 0.22);
    color: var(--color-accent);
    flex-shrink: 0;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.rd-step.is-visible:hover .rd-step__icon {
    background: rgba(252, 95, 43, 0.14);
    border-color: rgba(252, 95, 43, 0.5);
    box-shadow: 0 4px 18px rgba(252, 95, 43, 0.22);
}

.rd-step__icon svg { width: 22px; height: 22px; }

.rd-step__body { flex: 1; }

.rd-step__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 var(--space-2);
    transition: color 0.25s ease;
}

.rd-step.is-visible:hover .rd-step__title { color: #fff; }

.rd-step__desc {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 460px;
}

/* ── Post-steps CTA ─────────────────────────────────────── */
.rd-steps__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-12);
    padding-top: var(--space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.rd-steps__cta-hint {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.75;
    margin: 0;
}

.rd-steps__cta .rd-btn--primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.rd-steps__cta-sub {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    opacity: 0.7;
    margin: 0;
    max-width: 380px;
}

/* =========================================================================
   12. SCIENCE SECTION (DARK)
   ========================================================================= */

.rd-science {
    padding-block: var(--space-24);
    background-color: var(--color-bg-card-alt);
    background-image:
        radial-gradient(ellipse at 80% 0%, rgba(252, 95, 43, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 100%, rgba(0, 180, 255, 0.04) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── HERO: text left | molecule right ──────────────────── */
.rd-science__hero {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-16);
}

.rd-science__hero-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rd-science__hero-text .rd-section-header__overline {
    margin-bottom: var(--space-4);
}

.rd-science__hero-text .rd-section-header__title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    margin-bottom: var(--space-6);
    text-align: left;
}

.rd-science__hero-text .rd-section-header__sub {
    text-align: left;
    max-width: 480px;
}

/* Molecule stage: centered, with ambient glow behind it */
.rd-science__molecule-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 480px;
}

/* Radial orange glow behind the molecule */
.rd-science__molecule-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(252, 95, 43, 0.18) 0%,
        rgba(252, 95, 43, 0.06) 40%,
        transparent 72%
    );
    pointer-events: none;
    border-radius: 50%;
}

/* Override molecule size for this section — large and prominent */
.rd-science__molecule-stage .rd-molecule {
    width: 420px;
    height: 420px;
    position: relative;
    z-index: 1;
}

.rd-science__inner {
    position: relative;
    z-index: 1;
}

/* ── 3-COLUMN FEATURE CARDS ─────────────────────────────── */
.rd-science__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.rd-science__card {
    display: flex;
    flex-direction: column;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transition:
        transform var(--transition-base),
        background var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

/* Top accent line */
.rd-science__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252, 95, 43, 0.7), transparent);
}

/* Radial glow from top centre */
.rd-science__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 160px;
    background: radial-gradient(ellipse at 50% 0%, rgba(252, 95, 43, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.rd-science__card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(252, 95, 43, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(252, 95, 43, 0.1);
}

/* Hero stat block */
.rd-science__card-stat-block {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-6);
}

.rd-science__card-number {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    word-spacing: 0;
    color: var(--color-accent);
    margin-bottom: var(--space-1);
}

.rd-science__card-stat-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-faint);
}

/* Divider between stat and icon/title */
.rd-science__card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-bottom: var(--space-6);
}

/* Icon + title row */
.rd-science__card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.rd-science__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: rgba(252, 95, 43, 0.1);
    border: 1px solid rgba(252, 95, 43, 0.2);
    color: var(--color-accent);
    transition: background var(--transition-base), transform var(--transition-base);
}

.rd-science__card:hover .rd-science__card-icon {
    background: rgba(252, 95, 43, 0.2);
    transform: scale(1.08);
}

.rd-science__card-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
}

.rd-science__card-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.7;
    flex: 1;
}

/* ── TRUST BAR ─────────────────────────────────────────── */
.rd-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: var(--space-12);
    padding: var(--space-5) var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rd-trust-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.rd-trust-bar__icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.rd-trust-bar__sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* ---- CSS Orbital Molecule ---- */

.rd-molecule {
    position: relative;
    width: 320px;
    height: 320px;
    flex-shrink: 0;
}

.rd-mol__core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    z-index: 3;
    box-shadow:
        0 0 0 10px rgba(252, 95, 43, 0.12),
        0 0 0 22px rgba(252, 95, 43, 0.05);
    animation: corePulse 3.2s ease-in-out infinite;
}

.rd-mol__core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 95, 43, 0.25) 0%, transparent 70%);
    z-index: 2;
    animation: corePulse 3.2s ease-in-out infinite 0.2s;
}

@keyframes corePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
    50%       { transform: translate(-50%, -50%) scale(1.11); opacity: 0.82; }
}

.rd-mol__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(252, 95, 43, 0.22);
}

.rd-mol__orbit--1 {
    width: 140px;
    height: 140px;
    margin-top: -70px;
    margin-left: -70px;
    animation: orbitSpin 6s linear infinite;
}

.rd-mol__orbit--2 {
    width: 220px;
    height: 110px;
    margin-top: -55px;
    margin-left: -110px;
    animation: orbitSpin 9s linear infinite reverse;
    rotate: 60deg;
}

.rd-mol__orbit--3 {
    width: 280px;
    height: 130px;
    margin-top: -65px;
    margin-left: -140px;
    animation: orbitSpin 13s linear infinite;
    rotate: -30deg;
}

@keyframes orbitSpin {
    from { rotate: 0deg; }
    to   { rotate: 360deg; }
}

.rd-mol__electron {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-accent-light);
    box-shadow: 0 0 10px rgba(252, 95, 43, 0.7);
    top: -5.5px;
    left: 50%;
    transform: translateX(-50%);
}

.rd-mol__bond {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(252, 95, 43, 0.45), transparent);
    transform-origin: top center;
}

.rd-mol__bond--1 { height: 90px; margin-left: -1px; transform: translateY(24px) rotate(0deg); }
.rd-mol__bond--2 { height: 90px; margin-left: -1px; transform: translateY(24px) rotate(120deg); }
.rd-mol__bond--3 { height: 90px; margin-left: -1px; transform: translateY(24px) rotate(240deg); }

.rd-mol__node {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(252, 95, 43, 0.4);
    border: 2px solid var(--color-accent);
}

.rd-mol__node--1 { top: calc(50% - 114px); left: calc(50% - 9px); }
.rd-mol__node--2 { top: calc(50% + 65px);  left: calc(50% + 90px); }
.rd-mol__node--3 { top: calc(50% + 65px);  left: calc(50% - 108px); }

.rd-mol__label {
    position: absolute;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-accent-light);
    white-space: nowrap;
}

.rd-mol__label--1 { top: calc(50% - 148px); left: calc(50% - 16px); }
.rd-mol__label--2 { top: calc(50% + 88px);  left: calc(50% + 98px); }
.rd-mol__label--3 { top: calc(50% + 88px);  left: calc(50% - 136px); }

/* =========================================================================
   13. FINAL CTA SECTION (DARK)
   ========================================================================= */

.rd-cta-section {
    position: relative;
    padding-block: var(--space-32);
    text-align: center;
    overflow: hidden;
}

.rd-cta-section__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #050A14 55%, #030711 100%);
    z-index: 0;
}

.rd-cta-section__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 38%, rgba(252, 95, 43, 0.15) 0%, transparent 58%);
    animation: ctaGlow 9s ease-in-out infinite alternate;
}

/* Grain on CTA */
.rd-cta-section__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

@keyframes ctaGlow {
    from { opacity: 0.55; transform: scale(0.94); }
    to   { opacity: 1;    transform: scale(1.06); }
}

.rd-cta-section__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

/* Live-style counter */
.rd-cta-counter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-6);
    margin-bottom: var(--space-8);
}

.rd-cta-counter::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 6px var(--color-success);
    animation: livePulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.rd-cta-counter__number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-accent-light);
    letter-spacing: -0.02em;
}

.rd-cta-counter__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.rd-cta-section__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.08;
    color: var(--color-text);
    margin-bottom: var(--space-5);
}

.rd-cta-section__sub {
    font-size: var(--text-xl);
    color: var(--color-text-muted);
    margin-bottom: var(--space-10);
}

.rd-cta-section__form-wrap .rd-waitlist-form__row {
    max-width: 540px;
    margin-inline: auto;
}

.rd-cta-section__footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    margin-top: var(--space-5);
}

.rd-cta-section__footnote-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    color: var(--color-text-faint);
}

.rd-cta-section__footnote-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-text-faint);
    opacity: 0.4;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .rd-cta-section__footnote-sep { display: none; }
    .rd-cta-section__footnote { gap: var(--space-2) var(--space-4); }
}

/* =========================================================================
   14. WAITLIST FORM
   ========================================================================= */

.rd-waitlist-wrap { width: 100%; }

/* Trust badge strip above the email input */


.rd-waitlist-form__honey {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.rd-waitlist-form__row {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.rd-waitlist-form__row:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.rd-waitlist-form__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text);
    font-size: var(--text-base);
    font-family: var(--font-body);
    padding: var(--space-3) 0;
    min-width: 0;
}

.rd-waitlist-form__input::placeholder {
    color: var(--color-text-faint);
}

.rd-waitlist-form__submit {
    flex-shrink: 0;
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
}

.rd-waitlist-form__message {
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
}

.rd-waitlist-form__message:empty { display: none; }

.rd-waitlist-form__message--success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: var(--color-success);
}

.rd-waitlist-form__message--error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--color-error);
}

/* =========================================================================
   15. FOOTER
   ========================================================================= */

.rd-footer {
    background-color: var(--color-bg);
    position: relative;
}

/* ── BODY / GRID ───────────────────────────────────────── */
.rd-footer__body {
    border-top: 1px solid var(--color-border);
    padding-block: var(--space-16) var(--space-12);
}

.rd-footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: var(--space-10);
    align-items: start;
}

/* ── COLUMNS ───────────────────────────────────────────── */
.rd-footer__col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Brand column */
.rd-footer__col--brand {
    gap: var(--space-5);
}

.rd-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.rd-footer__logo-img {
    display: block;
    height: auto;
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.rd-footer__logo--text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.rd-footer__tagline {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 260px;
    margin: 0;
}

/* Status badge */
.rd-footer__status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    text-transform: uppercase;
}

.rd-footer__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    animation: statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(252, 95, 43, 0.5); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(252, 95, 43, 0); }
}

/* Column headings */
.rd-footer__heading {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-5);
}

/* Nav lists */
.rd-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.rd-footer__link {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.rd-footer__link:hover { color: var(--color-text); }

/* Notify column */
.rd-footer__notify-text {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.rd-footer__notify-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

/* ── OUTLINE SMALL BUTTON ──────────────────────────────── */
.rd-btn--outline-sm {
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-2) var(--space-5);
    border: 1px solid rgba(252, 95, 43, 0.4);
    border-radius: var(--radius-full);
    color: var(--color-accent);
    background: rgba(252, 95, 43, 0.05);
    transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
    letter-spacing: 0.02em;
}

.rd-btn--outline-sm:hover {
    background: rgba(252, 95, 43, 0.12);
    border-color: rgba(252, 95, 43, 0.7);
    color: var(--color-text);
}

/* ── DISCLAIMER ────────────────────────────────────────── */
.rd-footer__disclaimer-wrap {
    border-top: 1px solid var(--color-border);
    padding-block: var(--space-5);
}

.rd-disclaimer {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.rd-disclaimer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: color var(--transition-base), background-color var(--transition-base);
}

.rd-disclaimer__toggle::-webkit-details-marker { display: none; }

.rd-disclaimer__toggle::after {
    content: '+';
    font-size: var(--text-lg);
    font-weight: 300;
    transition: transform var(--transition-base);
}

.rd-disclaimer[open] .rd-disclaimer__toggle {
    color: var(--color-text-muted);
    background-color: rgba(255, 255, 255, 0.02);
}

.rd-disclaimer[open] .rd-disclaimer__toggle::after { transform: rotate(45deg); }

.rd-disclaimer__body {
    padding: var(--space-6);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    line-height: 1.75;
}

/* ── BOTTOM BAR ────────────────────────────────────────── */
.rd-footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-block: var(--space-5);
}

.rd-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.rd-footer__copy,
.rd-footer__fda-note {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
}

.rd-footer__fda-note { font-style: italic; }

/* =========================================================================
   16. PROSE
   ========================================================================= */

.rd-prose p  { margin-bottom: var(--space-4); }
.rd-prose h1,
.rd-prose h2,
.rd-prose h3 { font-family: var(--font-display); font-weight: 700; margin-bottom: var(--space-3); }
.rd-prose a  { color: var(--color-accent-light); text-decoration: underline; }
.rd-prose ul,
.rd-prose ol { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.rd-prose ul { list-style: disc; }
.rd-prose ol { list-style: decimal; }

/* =========================================================================
   17. GENERIC PAGE / 404 / ARCHIVE
   ========================================================================= */

.rd-main {
    min-height: 70vh;
    padding-block: var(--space-24);
}

.rd-main--page .rd-page-content__header {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.rd-main--page .rd-page-content__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.rd-main--page .rd-page-content__body {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.75;
}

.rd-404 {
    text-align: center;
    padding-block: var(--space-24);
}

.rd-404__code {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: rgba(252, 95, 43, 0.08);
    margin-bottom: var(--space-4);
}

.rd-404__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}

.rd-404__body {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto var(--space-10);
}

.rd-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
}

.rd-post-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.rd-post-card:hover { transform: translateY(-3px); border-color: var(--color-border-strong); }

.rd-post-card__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; }
.rd-post-card__title a { color: var(--color-text); }
.rd-post-card__title a:hover { color: var(--color-accent-light); }
.rd-post-card__date { font-size: var(--text-xs); color: var(--color-text-faint); }
.rd-post-card__excerpt { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }

/* =========================================================================
   18. SCROLL-REVEAL
   ========================================================================= */

.js-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   19. MEDIA QUERIES
   ========================================================================= */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
    .rd-stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .rd-stat--large {
        grid-column: 1 / -1;
    }

    .rd-steps__list { max-width: 100%; }

    .rd-science__cards {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .rd-science__hero {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .rd-science__hero-text .rd-section-header__title {
        text-align: center;
    }

    .rd-science__hero-text .rd-section-header__sub {
        text-align: center;
        max-width: 100%;
    }

    .rd-science__hero-text {
        align-items: center;
        text-align: center;
    }

    .rd-science__molecule-stage {
        height: 320px;
    }

    .rd-science__molecule-stage .rd-molecule {
        width: 280px;
        height: 280px;
    }

    .rd-trust-bar {
        flex-wrap: wrap;
        gap: var(--space-2);
        padding: var(--space-4);
        border-radius: var(--radius-xl);
    }

    .rd-trust-bar__item {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }

    .rd-trust-bar__sep { display: none; }

    .rd-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10) var(--space-8);
    }

    .rd-footer__col--brand {
        grid-column: 1 / -1;
    }

    .rd-footer__col--notify {
        grid-column: 1 / -1;
    }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
    /* Nav */
    .rd-nav__hamburger { display: flex; }

    .rd-nav__menu {
        /* fixed so it covers the full viewport regardless of nav's stacking context.
           backdrop-filter is now on ::before (a pseudo-element), so the nav element
           itself does NOT create a containing block for fixed children. */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100dvh; /* dvh accounts for iOS browser chrome */
        z-index: 98; /* below nav pill (z-index 100) so logo/close stay on top */
        background-color: rgba(10, 10, 14, 0.96);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-6);
        padding-top: calc(84px + var(--space-6)); /* clear the nav pill */
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0.32s;
        overflow-y: auto;
        pointer-events: none;
    }

    /* JS adds rd-nav--open to <header> when hamburger is clicked */
    .rd-nav--open .rd-nav__menu {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0s;
        pointer-events: auto;
    }

    .rd-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
        width: 100%;
    }

    .rd-nav__item { width: 100%; text-align: center; }

    .rd-nav__link {
        display: block;
        font-size: var(--text-2xl);
        font-family: var(--font-display);
        font-weight: 700;
        letter-spacing: -0.02em;
        padding: var(--space-4);
        color: var(--color-text-muted);
        text-align: center;
    }

    .rd-nav__link:hover { color: var(--color-text); }

    .rd-nav__cta { display: none; }

    /* Hero — size to content on mobile, no forced full-screen height */
    .rd-hero {
        min-height: unset;
        align-items: flex-start;
        padding-top: calc(84px + var(--space-12));
        padding-bottom: var(--space-16);
    }

    /* Tighten the tag pill so "here" stays on one line */
    .rd-hero__tag {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
        padding: var(--space-2) var(--space-3);
        gap: var(--space-1);
    }

    /* Shift video right on mobile so subject's face stays in frame */
    .rd-hero__video {
        object-position: 70% top;
    }

    .rd-hero__sub {
        font-size: var(--text-base);
        max-width: 100%;
    }

    /* Stack form vertically on mobile */
    .rd-hero__form-wrap .rd-waitlist-form__row,
    .rd-cta-section__form-wrap .rd-waitlist-form__row {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: var(--space-4);
        align-items: stretch;
        gap: var(--space-3);
    }

    .rd-waitlist-form__input {
        padding: var(--space-3) var(--space-2);
    }

    .rd-waitlist-form__submit {
        width: 100%;
        justify-content: center;
        padding-block: var(--space-4);
        border-radius: var(--radius-sm);
    }

    /* Stats */
    .rd-stats__grid {
        grid-template-columns: 1fr;
    }

    .rd-stat--large {
        grid-column: auto;
    }

    /* Comparison */
    .rd-compare {
        grid-template-columns: 1fr;
    }

    .rd-compare__divider {
        width: 100%;
        height: 36px;
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        border-left: none;
        border-right: none;
    }

    .rd-compare__vs {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .rd-compare__col--retatrutide {
        border-left: none;
        border-top: 1px solid var(--color-border);
    }

    /* Steps */
    .rd-step { gap: var(--space-4); }
    .rd-step__content { gap: var(--space-3); padding-bottom: var(--space-8); }
    .rd-step__title { font-size: var(--text-xl); }
    .rd-step__desc  { max-width: 100%; }

    /* Science */
    .rd-science__molecule-stage {
        height: 260px;
    }

    .rd-science__molecule-stage .rd-molecule {
        width: 240px;
        height: 240px;
    }

    /* Footer */
    .rd-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .rd-footer__col--brand,
    .rd-footer__col--notify {
        grid-column: auto;
    }

    .rd-footer__col--brand { gap: var(--space-4); }

    .rd-footer__tagline { max-width: 100%; }

    .rd-footer__notify-btn { align-self: stretch; justify-content: center; }

    .rd-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
    .rd-container { padding-inline: var(--space-4); }

    .rd-hero__headline {
        font-size: clamp(2.75rem, 12vw, 3.5rem);
    }

    .rd-cta-counter {
        flex-direction: column;
        gap: var(--space-1);
        text-align: center;
        padding: var(--space-4) var(--space-6);
    }

    .rd-cta-section__title {
        font-size: var(--text-3xl);
    }
}

/* =========================================================================
   20. REDUCED MOTION
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .rd-hero__word   { opacity: 1; transform: none; }
    .js-reveal       { opacity: 1; transform: none; }
    .rd-hero__video  { display: none; }
    /* Steps */
    .rd-step,
    .rd-steps__progress-line               { opacity: 1; transform: none; }
    /* Comparison */
    .rd-compare__col--current,
    .rd-compare__col--retatrutide,
    .rd-compare__item                      { opacity: 1; transform: none; }
    .rd-compare__icon                      { opacity: 1; transform: scale(1); }
    .rd-compare__winner-badge              { opacity: 1; transform: none; }
}
