/*******************************************************************************
 * ParallelBar - Marketing Page Styles
 * Shared styles for splash_beta.php and splash_launch.php
 * Uses mkt- prefix to avoid collision with splash.css
 ******************************************************************************/

/* =============================================================================
   Body & Background
   ============================================================================= */

.mkt-body {
    font-family: var(--wa-font-family-body);
    color: var(--wa-color-text-normal);
    line-height: var(--wa-line-height-normal);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mkt-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: radial-gradient(ellipse at center, #FAFAFA 0%, #F5F8F7 50%, #EDE8E5 85%, #E8E0DC 100%);
    z-index: -1;
}

/* =============================================================================
   Navigation
   ============================================================================= */

.mkt-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--wa-space-xl);
    height: 64px;
    background: rgba(245, 243, 241, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 150ms ease, box-shadow 150ms ease;
}

.mkt-nav--scrolled {
    /*background: rgba(245, 243, 241, 0.95);*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.mkt-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.mkt-nav-logo svg {
    height: 32px;
    width: auto;
}

.mkt-nav-links {
    display: flex;
    align-items: center;
    gap: var(--wa-space-l);
}

.mkt-nav-link {
    font-size: var(--wa-font-size-s);
    font-weight: 500;
    color: var(--wa-color-text-quiet);
    text-decoration: none;
    transition: color 150ms ease;
    cursor: pointer;
}

.mkt-nav-link:hover {
    color: var(--wa-color-text-normal);
}

/* =============================================================================
   Scroll Offset for Anchored Sections
   ============================================================================= */

[id="how-it-works"],
[id="pricing"],
[id="about"] {
    scroll-margin-top: 80px;
}

/* =============================================================================
   Shared Section Layout
   ============================================================================= */

.mkt-section {
    padding: var(--wa-space-4xl) var(--wa-space-xl);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.mkt-section--narrow {
    max-width: 680px;
}

/* Scroll reveal initial state */
.mkt-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* =============================================================================
   Section Labels
   ============================================================================= */

.mkt-label {
    display: block;
    font-size: var(--wa-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wa-color-brand-on-normal);
    margin-bottom: var(--wa-space-m);
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.mkt-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(64px + var(--wa-space-xl)) var(--wa-space-xl) var(--wa-space-3xl);
}

.mkt-hero-logo {
    margin-bottom: var(--wa-space-2xl);
    animation: fadeSlideDown 0.8s ease-out;
}

.mkt-hero-logo svg {
    height: 56px;
    width: auto;
}

.mkt-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--wa-space-xl);
    animation: fadeSlideUp 0.8s ease-out 0.1s backwards;
}

.mkt-hero-headline {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--wa-color-text-normal);
    line-height: 1.2;
    margin: 0 0 var(--wa-space-m) 0;
    letter-spacing: -0.02em;
}

.mkt-hero-subhead {
    font-size: var(--wa-font-size-l);
    color: var(--wa-color-text-quiet);
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

/* Hero Beta Badge */
.mkt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--wa-space-xs);
    padding: var(--wa-space-xs) var(--wa-space-m);
    background: var(--wa-color-brand-fill-quiet);
    color: var(--wa-color-brand-on-normal);
    border-radius: var(--wa-border-radius-pill);
    font-size: var(--wa-font-size-s);
    font-weight: 500;
    margin-bottom: var(--wa-space-xl);
    animation: fadeSlideUp 0.8s ease-out 0.2s backwards;
}

.mkt-hero-badge wa-icon {
    font-size: 14px;
}

/* Hero CTA Area */
.mkt-hero-cta {
    margin-bottom: var(--wa-space-3xl);
    animation: fadeSlideUp 0.8s ease-out 0.3s backwards;
    width: 100%;
    max-width: 420px;
}

.mkt-hero-cta-button {
    width: 100%;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.mkt-hero-cta-button:hover {
    transform: translateY(-2px);
}

.mkt-hero-cta-button::part(base) {
    font-size: var(--wa-font-size-l);
    padding: var(--wa-space-m) var(--wa-space-xl);
}

.mkt-hero-secondary {
    display: block;
    margin-top: var(--wa-space-m);
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
}

.mkt-hero-secondary a {
    color: var(--wa-color-brand-on-normal);
    text-decoration: none;
    font-weight: 500;
}

.mkt-hero-secondary a:hover {
    text-decoration: underline;
}

/* Feature Hints */
.mkt-hero-hints {
    display: flex;
    gap: var(--wa-space-xl);
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeSlideUp 0.8s ease-out 0.4s backwards;
}

.mkt-hero-hint {
    display: flex;
    align-items: center;
    gap: var(--wa-space-xs);
    color: var(--wa-color-text-quiet);
    font-size: var(--wa-font-size-s);
    font-weight: 500;
}

.mkt-hero-hint wa-icon {
    color: var(--wa-color-brand-fill-normal);
    font-size: 16px;
}

/* Scroll Down Indicator */
.mkt-scroll-indicator {
    margin-top: var(--wa-space-xl);
    animation: fadeSlideUp 0.8s ease-out 0.5s backwards, mktBounce 2s ease-in-out 1.5s infinite;
    color: var(--wa-color-text-whisper);
    font-size: 24px;
    transition: opacity 0.4s ease;
}

.mkt-scroll-indicator.mkt-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes mktBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Reuse existing waitlist form styles from splash.css */

/* =============================================================================
   Problem Section
   ============================================================================= */

.mkt-problem {
    text-align: center;
}

.mkt-problem-copy {
    font-size: var(--wa-font-size-l);
    color: var(--wa-color-text-quiet);
    line-height: 1.7;
    margin: 0;
}

/* =============================================================================
   Feature Sections
   ============================================================================= */

.mkt-features {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-4xl);
}

.mkt-feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--wa-space-3xl);
    align-items: center;
}

.mkt-feature-block--reversed {
    direction: rtl;
}

.mkt-feature-block--reversed > * {
    direction: ltr;
}

/* Analytics section: give screenshot more room */
.mkt-feature-block--wide-visual {
    grid-template-columns: 5fr 7fr;
}

.mkt-feature-block--wide-visual.mkt-feature-block--reversed {
    grid-template-columns: 7fr 5fr;
}

.mkt-feature-text {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-s);
}

.mkt-feature-heading {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--wa-color-text-normal);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.mkt-feature-copy {
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
    line-height: 1.7;
    margin: 0;
}

/* Screenshot Frame (outer = white mat + shadow) */
.mkt-screenshot {
    background: white;
    border-radius: var(--wa-border-radius-l);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 30px rgba(0,0,0,0.06);
    padding: var(--wa-space-xs);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.mkt-screenshot:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.1);
}

/* Inner wrapper: contains the crop so the white frame stays clean */
.mkt-screenshot-inner {
    overflow: hidden;
    border-radius: calc(var(--wa-border-radius-l) - var(--wa-space-xs));
    max-height: 325px;
}

.mkt-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Screenshot placeholder (until real images are ready) */
.mkt-screenshot-placeholder {
    aspect-ratio: 16 / 10;
    background: #F5F3F1;
    border-radius: calc(var(--wa-border-radius-l) - var(--wa-space-xs));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wa-color-text-whisper);
    font-size: var(--wa-font-size-s);
    font-weight: 500;
}

/* =============================================================================
   Social Proof Section
   ============================================================================= */

.mkt-social-proof {
    text-align: center;
}

.mkt-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wa-space-l);
    margin-top: var(--wa-space-xl);
    text-align: left;
}

.mkt-testimonial {
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--wa-border-radius-l);
    border: 1px solid rgba(0,0,0,0.04);
    padding: var(--wa-space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-m);
}

.mkt-testimonial-quote {
    position: relative;
    font-style: italic;
    color: var(--wa-color-text-normal);
    line-height: 1.7;
    margin: 0;
    padding-top: var(--wa-space-2xl);
    flex: 1;
}

/* Oversized decorative opening quote — pull-quote flair */
.mkt-testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -0.75rem;
    left: -0.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: normal;
    font-size: 5rem;
    line-height: 1;
    color: var(--wa-color-brand-on-normal);
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
}

.mkt-testimonial-snippet {
    display: inline;
}

.mkt-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-3xs);
}

.mkt-testimonial-name {
    font-weight: 600;
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-normal);
}

.mkt-testimonial-role {
    font-size: var(--wa-font-size-xs);
    color: var(--wa-color-text-quiet);
}

wa-button.mkt-testimonial-readmore {
    align-self: flex-start;
    margin-top: var(--wa-space-2xs);
}

wa-button.mkt-testimonial-readmore wa-icon {
    font-size: var(--wa-font-size-xs);
}

/* Testimonial Dialog (full review) */
.mkt-testimonial-dialog-body {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-l);
}

.mkt-testimonial-dialog-meta {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-3xs);
    padding-bottom: var(--wa-space-m);
    border-bottom: 1px solid var(--wa-color-surface-border);
}

.mkt-testimonial-dialog-name {
    font-size: var(--wa-font-size-m);
    font-weight: var(--wa-font-weight-heading);
    color: var(--wa-color-text-normal);
}

.mkt-testimonial-dialog-date {
    font-size: var(--wa-font-size-xs);
    color: var(--wa-color-text-quiet);
}

.mkt-testimonial-dialog-text {
    font-size: var(--wa-font-size-m);
    line-height: var(--wa-line-height-normal);
    color: var(--wa-color-text-normal);
    font-style: italic;
}

.mkt-testimonial-dialog-text p {
    margin: 0 0 var(--wa-space-m) 0;
}

.mkt-testimonial-dialog-text p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   Pricing Section
   ============================================================================= */

.mkt-pricing {
    text-align: center;
}

.mkt-pricing-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--wa-color-text-normal);
    letter-spacing: -0.02em;
    margin: 0 0 var(--wa-space-s) 0;
}

.mkt-pricing-subhead {
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
    line-height: 1.6;
    margin: 0 auto var(--wa-space-3xl);
    max-width: 560px;
}

.mkt-pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: var(--wa-space-xl);
    max-width: 960px;
    margin: 0 auto var(--wa-space-xl);
}

.mkt-pricing-card {
    flex: 0 0 calc((100% - 2 * var(--wa-space-xl)) / 3);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--wa-border-radius-l);
    border: 1px solid rgba(0,0,0,0.08);
    padding: var(--wa-space-2xl) var(--wa-space-xl);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-m);
}

.mkt-pricing-card--primary {
    border: 2px solid var(--wa-color-brand-fill-normal);
    box-shadow: 0 4px 24px rgba(42, 157, 143, 0.1);
}

.mkt-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wa-color-brand-fill-normal);
    color: white;
    font-size: var(--wa-font-size-xs);
    font-weight: 600;
    padding: var(--wa-space-2xs) var(--wa-space-m);
    border-radius: var(--wa-border-radius-pill);
    white-space: nowrap;
}

.mkt-pricing-tier {
    font-size: var(--wa-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wa-color-text-quiet);
}

.mkt-pricing-amount {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--wa-color-text-normal);
    letter-spacing: -0.02em;
    line-height: 1;
}

.mkt-pricing-original {
    font-size: var(--wa-font-size-l);
    font-weight: 400;
    color: var(--wa-color-text-quiet);
    text-decoration: line-through;
    margin-right: 0.25rem;
}

.mkt-pricing-amount-suffix {
    font-size: var(--wa-font-size-m);
    font-weight: 400;
    color: var(--wa-color-text-quiet);
}

.mkt-pricing-desc {
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
    margin: 0;
}

.mkt-pricing-card wa-button {
    margin-top: auto;
}

.mkt-pricing-fine-print {
    font-size: var(--wa-font-size-xs);
    color: var(--wa-color-text-whisper);
    margin: 0;
    line-height: 1.5;
}

/* Launch Special Banner */
.mkt-pricing-banner {
    max-width: 720px;
    margin: 0 auto var(--wa-space-2xl);
    padding: var(--wa-space-l) var(--wa-space-xl);
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.12), rgba(42, 157, 143, 0.04));
    border: 1px solid rgba(42, 157, 143, 0.35);
    border-radius: var(--wa-border-radius-l);
    text-align: center;
}

.mkt-pricing-banner-title {
    display: inline-flex;
    align-items: center;
    gap: var(--wa-space-xs);
    font-size: var(--wa-font-size-l);
    font-weight: 700;
    color: var(--wa-color-brand-on-normal);
    letter-spacing: -0.01em;
}

.mkt-pricing-banner-title wa-icon {
    color: var(--wa-color-brand-fill-normal);
    font-size: 1.25em;
    flex-shrink: 0;
}

.mkt-pricing-banner-body {
    margin: var(--wa-space-2xs) 0 0;
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
    line-height: 1.55;
}

/* FAQ */
.mkt-faq {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.mkt-faq-item {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: var(--wa-space-l) 0;
}

.mkt-faq-question {
    font-size: var(--wa-font-size-m);
    font-weight: 600;
    color: var(--wa-color-text-normal);
    margin: 0 0 var(--wa-space-xs) 0;
}

.mkt-faq-answer {
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
    line-height: 1.6;
    margin: 0;
}

/* =============================================================================
   About Section
   ============================================================================= */

.mkt-about {
    text-align: center;
}

.mkt-about-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--wa-color-text-normal);
    letter-spacing: -0.02em;
    margin: 0 0 var(--wa-space-xl) 0;
}

.mkt-about-copy p {
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
    line-height: 1.7;
    margin: 0 0 var(--wa-space-l) 0;
    text-align: left;
}

.mkt-about-copy p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   Final CTA Section
   ============================================================================= */

.mkt-final-cta {
    text-align: center;
    padding: var(--wa-space-4xl) var(--wa-space-xl);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.mkt-final-cta-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--wa-color-text-normal);
    letter-spacing: -0.02em;
    margin: 0 0 var(--wa-space-s) 0;
}

.mkt-final-cta-subtext {
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
    margin: 0 0 var(--wa-space-xl) 0;
    line-height: 1.6;
}

.mkt-final-cta wa-button {
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.mkt-final-cta wa-button:hover {
    transform: translateY(-2px);
}

.mkt-final-cta-secondary {
    display: block;
    margin-top: var(--wa-space-m);
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
}

.mkt-final-cta-secondary a {
    color: var(--wa-color-brand-on-normal);
    text-decoration: none;
    font-weight: 500;
}

.mkt-final-cta-secondary a:hover {
    text-decoration: underline;
}

/* =============================================================================
   Footer
   ============================================================================= */

.mkt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--wa-space-l) var(--wa-space-xl);
    border-top: 1px solid rgba(0,0,0,0.04);
}

.mkt-footer-copy {
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
    margin: 0;
}

.mkt-footer-links {
    display: flex;
    gap: var(--wa-space-l);
}

.mkt-footer-link {
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
    text-decoration: none;
    cursor: pointer;
    transition: color 150ms ease;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.mkt-footer-link:hover {
    color: var(--wa-color-text-normal);
}

/* =============================================================================
   Dialog Styles
   ============================================================================= */

.mkt-dialog-body {
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
    line-height: 1.7;
    max-height: 60vh;
    overflow-y: auto;
}

.mkt-dialog-body ol {
    list-style: decimal;
    padding-left: var(--wa-space-xl);
    margin-bottom: var(--wa-space-m);
}

.mkt-dialog-body ol[type="i"] {
    list-style: lower-roman;
}

.mkt-dialog-body ul {
    list-style: disc;
    padding-left: var(--wa-space-xl);
    margin-bottom: var(--wa-space-m);
}

.mkt-dialog-body li {
    margin-bottom: var(--wa-space-xs);
    line-height: 1.5;
}

.mkt-dialog-body p {
    margin-bottom: var(--wa-space-m);
    line-height: 1.6;
}

.mkt-dialog-body h1,
.mkt-dialog-body h2,
.mkt-dialog-body h3,
.mkt-dialog-body h4 {
    margin-top: var(--wa-space-l);
    margin-bottom: var(--wa-space-s);
    color: var(--wa-color-text-normal);
}

.mkt-dialog-body h1:first-child,
.mkt-dialog-body h2:first-child,
.mkt-dialog-body h3:first-child {
    margin-top: 0;
}

.mkt-dialog-body h3 {
    font-size: var(--wa-font-size-m);
    font-weight: 600;
    color: var(--wa-color-text-normal);
    margin: var(--wa-space-l) 0 var(--wa-space-xs) 0;
}

.mkt-dialog-body h3:first-child {
    margin-top: 0;
}

.mkt-dialog-body p {
    margin: 0 0 var(--wa-space-m) 0;
}

/* Contact form inside dialog */
.mkt-contact-fields {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-m);
}

.mkt-contact-success {
    text-align: center;
    padding: var(--wa-space-l);
}

.mkt-contact-success wa-icon {
    font-size: 48px;
    color: var(--wa-color-success-fill-normal);
    margin-bottom: var(--wa-space-s);
}

.mkt-contact-success p {
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
    margin: 0;
}

/* =============================================================================
   Free Pricing Card
   ============================================================================= */

.mkt-pricing-card--free {
    background: rgba(255, 255, 255, 0.8);
}

/* =============================================================================
   Social Proof CTA
   ============================================================================= */

.mkt-social-proof-cta {
    text-align: center;
    margin-top: var(--wa-space-xl);
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
}

.mkt-social-proof-cta a {
    color: var(--wa-color-brand-on-normal);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.mkt-social-proof-cta a:hover {
    text-decoration: underline;
}

/* =============================================================================
   Registration Dialog
   ============================================================================= */

.register-dialog::part(panel) {
    max-width: 520px;
}

.register-form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-m);
}

.register-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--wa-space-m);
}

/* Registration success state */
.mkt-register-success {
    text-align: center;
    padding: var(--wa-space-xl) var(--wa-space-l);
}

.mkt-register-success wa-icon {
    font-size: 48px;
    color: var(--wa-color-brand-fill-normal);
    margin-bottom: var(--wa-space-m);
}

.mkt-register-success h3 {
    font-size: var(--wa-font-size-l);
    font-weight: 600;
    color: var(--wa-color-text-normal);
    margin: 0 0 var(--wa-space-xs) 0;
}

.mkt-register-success p {
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
    line-height: 1.6;
    margin: 0;
}

/* Plan Selector */
.register-plan-selector {
    margin-top: var(--wa-space-m);
}

.register-plan-label {
    font-size: var(--wa-font-size-s);
    font-weight: 500;
    color: var(--wa-color-text-normal);
    margin-bottom: var(--wa-space-xs);
    display: block;
}

.register-plan-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: var(--wa-space-s);
}

.register-plan-option {
    flex: 0 0 calc((100% - 2 * var(--wa-space-s)) / 3);
}

.register-plan-option::part(base) {
    flex-direction: column;
    height: auto;
    padding: var(--wa-space-m) var(--wa-space-s);
    gap: var(--wa-space-3xs);
    white-space: normal;
}

.register-plan-option-name {
    font-weight: 600;
    font-size: var(--wa-font-size-s);
}

.register-plan-option-price {
    font-size: var(--wa-font-size-xs);
    opacity: 0.7;
}

/* Payment Summary Card */
.register-payment-summary {
    margin-top: var(--wa-space-m);
    --spacing: var(--wa-space-m);
}

.register-summary-lines {
    display: flex;
    flex-direction: column;
    gap: var(--wa-space-xs);
}

.register-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: var(--wa-font-size-m);
    color: var(--wa-color-text-quiet);
}

.register-summary-line--discount span {
    color: var(--wa-color-success-600);
}

.register-summary-line--total {
    border-top: 1px solid var(--wa-color-neutral-200);
    padding-top: var(--wa-space-xs);
    margin-top: var(--wa-space-xs);
    font-weight: 700;
    font-size: var(--wa-font-size-l);
    color: var(--wa-color-text-normal);
}

/* Coupon */
.register-coupon {
    margin-top: var(--wa-space-m);
}

.register-coupon-row {
    display: flex;
    gap: var(--wa-space-xs);
    align-items: flex-end;
}

.register-coupon-row wa-input {
    flex: 1;
}

.register-coupon-message {
    font-size: var(--wa-font-size-xs);
    margin-top: var(--wa-space-2xs);
}

.register-coupon-message.success {
    color: var(--wa-color-success-600);
}

.register-coupon-message.error {
    color: var(--wa-color-danger-600);
}

.register-coupon-duration {
    font-size: var(--wa-font-size-xs);
    color: var(--wa-color-neutral-600);
    margin-top: var(--wa-space-2xs);
}

/* Terms & Privacy checkbox */
.register-terms-row {
    margin-top: var(--wa-space-m);
}

.register-terms-row wa-checkbox::part(label) {
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
    line-height: 1.5;
}

.register-terms-link {
    color: var(--wa-color-brand-text-normal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.register-terms-link:hover {
    color: var(--wa-color-brand-text-hover);
}

.register-terms-row wa-checkbox[data-user-invalid]::part(control) {
    border-color: var(--wa-color-danger-fill-normal);
}

/* Dialog switch link (shared by login ↔ register) */
.mkt-dialog-switch {
    font-size: var(--wa-font-size-s);
    color: var(--wa-color-text-quiet);
    margin: var(--wa-space-m) 0 0 0;
    text-align: center;
}

.mkt-dialog-switch a {
    color: var(--wa-color-brand-on-normal);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.mkt-dialog-switch a:hover {
    text-decoration: underline;
}

/* =============================================================================
   Screenshot Lightbox
   ============================================================================= */

.mkt-screenshot--clickable {
    cursor: pointer;
}

.mkt-lightbox {
    --width: max-content;
}

.mkt-lightbox::part(dialog) {
    background: rgba(0, 0, 0, 0.001);
    box-shadow: none;
}

.mkt-lightbox::part(body) {
    padding: 0;
}

.mkt-lightbox::part(header) {
    height: 0px;
    padding: 0;
}

/* Zoom wrapper: clips the scaled image */
.mkt-lightbox-zoom {
    position: relative;
    overflow: hidden;
    border-radius: var(--wa-border-radius-l);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.mkt-lightbox-zoom.mkt-zoomed {
    cursor: crosshair;
}

/* Shared lightbox overlay button base */
.mkt-lightbox-close,
.mkt-lightbox-zoom-toggle {
    position: absolute;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: var(--wa-border-radius-m);
    cursor: pointer;
    transition: background 150ms ease;
    z-index: 1;
    font-size: 16px;
    transform: translateZ(0);
}

.mkt-lightbox-close:hover,
.mkt-lightbox-zoom-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Close button: top-right */
.mkt-lightbox-close {
    top: var(--wa-space-s);
    right: var(--wa-space-s);
}

/* Magnifying glass toggle button: bottom-right */
.mkt-lightbox-zoom-toggle {
    bottom: var(--wa-space-s);
    right: var(--wa-space-s);
}

.mkt-zoomed .mkt-lightbox-zoom-toggle {
    background: var(--wa-color-brand-fill-normal);
}

.mkt-zoomed .mkt-lightbox-zoom-toggle:hover {
    background: var(--wa-color-brand-fill-loud);
}

.mkt-lightbox-img {
    display: block;
    max-height: 85vh;
    width: auto;
    height: auto;
    transform-origin: center center;
    transition: transform 200ms ease;
}

.mkt-zoomed .mkt-lightbox-img {
    transform: scale(2.5);
}

.mkt-zoomed.mkt-panning .mkt-lightbox-img {
    transition: none;
}

/* =============================================================================
   Responsive - Tablet & Below (768px)
   ============================================================================= */

@media (max-width: 768px) {
    /* Nav */
    .mkt-nav {
        padding: 0 var(--wa-space-m);
    }

    .mkt-nav-link:not(.mkt-nav-link--signin) {
        display: none;
    }

    /* Hero */
    .mkt-hero {
        padding-top: calc(64px + var(--wa-space-xl));
    }

    .mkt-hero-logo svg {
        height: 44px;
    }

    .mkt-hero-subhead {
        font-size: var(--wa-font-size-m);
    }

    .mkt-hero-hints {
        gap: var(--wa-space-m);
    }

    /* Sections */
    .mkt-section {
        padding: var(--wa-space-3xl) var(--wa-space-m);
    }

    /* Feature grids */
    .mkt-feature-block,
    .mkt-feature-block--wide-visual,
    .mkt-feature-block--wide-visual.mkt-feature-block--reversed {
        grid-template-columns: 1fr;
        gap: var(--wa-space-xl);
    }

    .mkt-feature-block--reversed {
        direction: ltr;
    }

    .mkt-feature-text {
        order: 1;
    }

    .mkt-screenshot {
        order: 2;
    }

    /* Testimonials */
    .mkt-testimonials {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .mkt-pricing-cards {
        max-width: 400px;
    }
    .mkt-pricing-card {
        flex: 0 0 100%;
    }

    /* Footer */
    .mkt-footer {
        flex-direction: column;
        gap: var(--wa-space-m);
        text-align: center;
    }
}

/* =============================================================================
   Responsive - Small Mobile (480px)
   ============================================================================= */

@media (max-width: 480px) {
    .mkt-hero-hints {
        flex-direction: column;
        gap: var(--wa-space-s);
    }

    .mkt-section {
        padding: var(--wa-space-2xl) var(--wa-space-m);
    }

    .mkt-final-cta {
        padding: var(--wa-space-2xl) var(--wa-space-m);
    }

    /* Waitlist name row stacking */
    .splash-waitlist-form .waitlist-name-row {
        flex-direction: column;
    }

    /* Registration name row stacking */
    .register-name-row {
        grid-template-columns: 1fr;
    }

    /* Plan selector stacking */
    .register-plan-option {
        flex: 0 0 100%;
    }
}

/* =============================================================================
   Reduced Motion
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    .mkt-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mkt-screenshot:hover {
        transform: none;
    }

    .mkt-hero-cta wa-button:hover,
    .mkt-final-cta wa-button:hover {
        transform: none;
    }
}
