/* ==========================================================================
   Newsletter squeeze page
   Distraction-free landing page focused on a single email capture.
   Relies on the design tokens (colors, fonts) defined in styles.css :root.
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

.squeeze-body {
    background: linear-gradient(160deg, #eef5ff 0%, #ffffff 55%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Minimal header — logo only, no nav, to keep the focus on the form. */
.squeeze-header {
    padding: 1.5rem 0;
}

.squeeze-header .nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.squeeze-header .nav-logo-img {
    height: 40px;
    width: auto;
}

/* Main two-column layout: pitch on the left, form card on the right. */
.squeeze-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1rem 0 4rem;
}

.squeeze-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
        "head  form"
        "phone form";
    column-gap: 3rem;
    row-gap: 2.25rem;
    align-items: start;
}

.squeeze-pitch {
    grid-area: head;
}

.phone-preview {
    grid-area: phone;
}

.squeeze-form-card {
    grid-area: form;
}

@media (max-width: 860px) {
    .squeeze-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "phone"
            "form";
        gap: 2rem;
        max-width: 540px;
        margin: 0 auto;
    }
}

/* Mobile-only CTA that jumps to the signup form. */
.squeeze-mobile-cta {
    display: none;
    margin-top: 1.5rem;
}

@media (max-width: 860px) {
    .squeeze-mobile-cta {
        display: block;
    }
}

/* --- Left column: value proposition --- */
.squeeze-eyebrow {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.squeeze-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    color: var(--color-text);
    margin: 0 0 1rem;
}

.squeeze-headline .accent {
    color: var(--color-primary);
}

.squeeze-subhead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 1.75rem;
    max-width: 30rem;
}

/* --- iPhone-style newsletter preview --- */
.phone-caption {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0 0 1rem;
}

.phone-mockup {
    width: 264px;
    background: #11151c;
    border-radius: 46px;
    padding: 11px;
    box-shadow: 0 24px 55px rgba(17, 21, 28, 0.3);
}

@media (max-width: 860px) {
    .phone-mockup {
        margin: 0 auto;
    }
}

.phone-screen {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    background: #ffffff;
}

/* Sticky white bar so the Dynamic Island never covers scrolling content. */
.phone-statusbar {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 40px;
    background: #ffffff;
}

.phone-island {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 20px;
    background: #11151c;
    border-radius: 12px;
    z-index: 3;
}

.phone-scroll {
    height: 520px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 21, 28, 0.25) transparent;
}

.phone-scroll::-webkit-scrollbar {
    width: 6px;
}

.phone-scroll::-webkit-scrollbar-thumb {
    background: rgba(17, 21, 28, 0.25);
    border-radius: 3px;
}

.phone-scroll img {
    width: 100%;
    display: block;
}

/* --- Right column: form card --- */
.squeeze-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem 1.75rem;
    box-shadow: 0 20px 50px rgba(30, 41, 59, 0.12);
    border: 1px solid var(--color-border);
}

.squeeze-form-card .hs-form-frame {
    margin: 0;
}

.squeeze-form-card .hs-form-frame iframe {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.squeeze-privacy {
    text-align: center;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 1rem 0 0;
}

.squeeze-privacy a {
    color: var(--color-primary);
    text-decoration: underline;
}

.squeeze-privacy a:hover {
    color: var(--color-primary-dark);
}

/* Minimal footer */
.squeeze-footer {
    text-align: center;
    padding: 1.5rem 0 2.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.squeeze-footer a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.squeeze-footer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.squeeze-footer .sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.squeeze-advertise {
    margin: 0 0 1.25rem;
}

.squeeze-footer a.squeeze-advertise-email,
.squeeze-footer .squeeze-advertise a {
    color: var(--color-primary);
}
