/* ============================================
   WYREMONTOWANE.PL - Ebook Landing Page
   Brand: Montserrat, #319f79, #e6604c, #2a2a2a
   ============================================ */

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

:root {
    --wr-primary: #319f79;
    --wr-primary-hover: #298666;
    --wr-secondary: #3abd8d;
    --wr-accent: #e6604c;
    --wr-accent-hover: #c94d3a;
    --wr-dark: #2a2a2a;
    --wr-light: #fafaf9;
    --wr-border: #e5e5e3;
    --wr-radius-sm: 0.5rem;
    --wr-radius: 0.75rem;
    --wr-radius-lg: 1rem;
    --wr-radius-xl: 1.5rem;
    --wr-transition: 0.18s ease;

    /* Typography — shared with the main app */
    --wr-font-sans:
        "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    --wr-font-display:
        "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, -apple-system,
        "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--wr-font-sans);
    color: var(--wr-dark);
    background: #ffffff;
    line-height: 1.65;
    letter-spacing: -0.003em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- Utility ---------- */
.wr-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.wr-section {
    padding: 5rem 0;
}

/* ---------- HERO ---------- */
.wr-hero {
    position: relative;
    padding: 4rem 1.25rem 4.5rem;
    overflow: hidden;
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Layered depth on the brand green — white/black only, no new hues */
    background:
        radial-gradient(
            115% 80% at 50% -15%,
            rgba(255, 255, 255, 0.16),
            transparent 60%
        ),
        radial-gradient(
            90% 70% at 88% 115%,
            rgba(0, 0, 0, 0.16),
            transparent 70%
        ),
        var(--wr-primary);
}

.wr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04) 0 1px,
        transparent 1px 24px
    );
    pointer-events: none;
}

.wr-hero::after {
    content: "";
    position: absolute;
    top: 4%;
    left: 8%;
    width: min(560px, 70%);
    height: 300px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.13),
        transparent 70%
    );
    pointer-events: none;
}

.wr-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
}

/* Logo in hero */
.wr-hero-logo {
    display: inline-block;
    margin-bottom: 2.5rem;
}

.wr-hero-logo img {
    height: 40px;
    width: auto;
}

/* Hero grid: text left, mockup right */
.wr-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: center;
}

.wr-hero-content {
    text-align: left;
    max-width: 560px;
}

/* Badge */
.wr-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.75rem;
}

.wr-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* H1 */
.wr-hero h1 {
    font-family: var(--wr-font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    opacity: 1;
}

/* Emphasis line — marker-style accent underline, survives wraps */
.wr-hero h1 .line-accent {
    color: #fff;
    font-weight: 800;
    background-image: linear-gradient(
        to top,
        transparent 0.06em,
        var(--wr-accent) 0.06em,
        var(--wr-accent) 0.22em,
        transparent 0.22em
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-inline: 0.04em;
}

/* Description */
.wr-hero .wr-hero-desc {
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
    max-width: 540px;
}

/* CTA Button */
.wr-btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wr-accent);
    color: #fff;
    font-family: var(--wr-font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem 2.1rem;
    border-radius: var(--wr-radius);
    border: none;
    cursor: pointer;
    transition:
        background var(--wr-transition),
        box-shadow var(--wr-transition),
        transform 0.16s cubic-bezier(0.34, 1.4, 0.64, 1);
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 6px 18px -6px rgba(230, 96, 76, 0.55);
}

.wr-btn-accent:hover {
    background: var(--wr-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 26px -8px rgba(230, 96, 76, 0.6);
}

.wr-btn-accent:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.22);
}

/* Trust row under CTA */
.wr-trust-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0;
}

.wr-trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
}

.wr-trust-row li i {
    font-size: 0.78rem;
    color: #fff;
    opacity: 0.85;
}

/* Hero mockup column */
.wr-hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------- E-READER MOCKUP ---------- */
.wr-ereader {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 22px;
    padding: 22px 18px 50px;
    box-shadow:
        0 35px 65px -25px rgba(0, 0, 0, 0.55),
        0 18px 35px -10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: rotate(-2deg);
    transition: transform var(--wr-transition);
}

.wr-ereader:hover {
    transform: rotate(0deg);
}

.wr-ereader-frame {
    background: #0a0a0a;
    border-radius: 6px;
    padding: 4px;
}

.wr-ereader-screen {
    background: #f5f3ee;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.wr-ereader-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom home button on the e-reader */
.wr-ereader-button {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 4px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
}

/* ---------- FEATURES ---------- */
.wr-features {
    background: var(--wr-light);
    position: relative;
}

.wr-features-heading {
    text-align: center;
    margin-bottom: 3.25rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.wr-features-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--wr-primary);
    margin-bottom: 0.9rem;
}

.wr-features-heading .eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--wr-primary);
}

.wr-features-heading h2 {
    font-family: var(--wr-font-display);
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--wr-dark);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.wr-section-desc {
    font-size: 1rem;
    color: #555;
    margin-top: 0.9rem;
    line-height: 1.6;
}

.wr-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.wr-feature-card {
    background: #ffffff;
    border-radius: var(--wr-radius-lg);
    padding: 2rem 1.5rem;
    text-align: left;
    border: 1px solid var(--wr-border);
    box-shadow: 0 1px 2px rgba(22, 38, 31, 0.05);
    transition:
        border-color var(--wr-transition),
        box-shadow var(--wr-transition),
        transform var(--wr-transition);
}

.wr-feature-card:hover {
    border-color: var(--wr-primary);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -16px rgba(22, 38, 31, 0.18);
}

.wr-feature-card:hover .wr-feature-icon {
    background: var(--wr-primary);
    color: #fff;
    border-color: var(--wr-primary);
}

.wr-feature-icon {
    transition:
        background var(--wr-transition),
        color var(--wr-transition),
        border-color var(--wr-transition);
}

.wr-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--wr-radius-sm);
    background: var(--wr-light);
    border: 1px solid var(--wr-border);
    color: var(--wr-primary);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.wr-feature-card h3 {
    font-family: var(--wr-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--wr-dark);
    margin-bottom: 0.55rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.wr-feature-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ---------- DLA KOGO / AUDIENCE ---------- */
.wr-audience {
    background: #fff;
    border-top: 1px solid var(--wr-border);
}

.wr-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
    max-width: 920px;
    margin: 0 auto;
}

.wr-audience-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: var(--wr-light);
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 1.1rem 1.25rem;
    transition: border-color var(--wr-transition);
}

.wr-audience-card:hover {
    border-color: var(--wr-primary);
}

.wr-audience-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--wr-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-top: 2px;
}

.wr-audience-card p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--wr-dark);
}

/* ---------- FORM SECTION ---------- */
.wr-form-section {
    background: var(--wr-light);
    border-top: 1px solid var(--wr-border);
}

.wr-form-wrapper {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius-lg);
    padding: 2.75rem 2rem 2.25rem;
    box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.18);
}

.wr-form-wrapper h2 {
    font-family: var(--wr-font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--wr-dark);
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.wr-form-wrapper h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--wr-primary);
    margin: 0.85rem auto 0;
}

.wr-form-sub {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 1.75rem;
}

.wr-form-foot {
    font-size: 0.78rem;
    color: #999;
    margin-top: 0.25rem;
}

/* MailerLite overrides - brand match */
#mlb2-39759249.ml-form-embedContainer {
    width: 100% !important;
}

#mlb2-39759249 .ml-form-embedWrapper {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

#mlb2-39759249 .ml-form-embedWrapper .ml-form-embedBody {
    padding: 0 !important;
}

#mlb2-39759249 .ml-form-embedContent {
    display: none !important;
}

#mlb2-39759249 .ml-form-fieldRow input {
    font-family: var(--wr-font-sans) !important;
    font-size: 0.92rem !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid var(--wr-border) !important;
    border-radius: var(--wr-radius) !important;
    background: #fff !important;
    color: var(--wr-dark) !important;
    height: 52px !important;
    transition: border-color var(--wr-transition) !important;
}

#mlb2-39759249 .ml-form-fieldRow input:focus {
    border-color: var(--wr-primary) !important;
    box-shadow: 0 0 0 3px rgba(49, 159, 121, 0.12) !important;
    outline: none !important;
}

#mlb2-39759249 .ml-form-fieldRow input::placeholder {
    color: #999 !important;
}

#mlb2-39759249 .ml-form-embedSubmit button.primary {
    font-family: var(--wr-font-sans) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    background: var(--wr-accent) !important;
    border: none !important;
    border-radius: var(--wr-radius) !important;
    padding: 0.85rem 1.5rem !important;
    height: 52px !important;
    transition: background var(--wr-transition) !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px -6px rgba(230, 96, 76, 0.5) !important;
}

#mlb2-39759249 .ml-form-embedSubmit button.primary:hover {
    background: var(--wr-accent-hover) !important;
}

/* Checkbox overrides */
#mlb2-39759249 .ml-form-checkboxRow {
    clear: both;
}

#mlb2-39759249 .ml-form-checkboxRow label {
    text-align: left;
    display: flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    padding-left: 0 !important;
    min-height: auto !important;
    cursor: pointer;
}

#mlb2-39759249 .ml-form-checkboxRow input[type="checkbox"] {
    position: relative !important;
    opacity: 1 !important;
    z-index: 1 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 0 !important;
    flex-shrink: 0;
    accent-color: var(--wr-primary);
    cursor: pointer;
}

#mlb2-39759249 .ml-form-checkboxRow .label-description {
    position: static !important;
}

#mlb2-39759249 .ml-form-checkboxRow .label-description::before,
#mlb2-39759249 .ml-form-checkboxRow .label-description::after {
    display: none !important;
}

#mlb2-39759249 .ml-form-checkboxRow .label-description,
#mlb2-39759249 .ml-form-checkboxRow .label-description p {
    font-family: var(--wr-font-sans) !important;
    color: #666 !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
}

#mlb2-39759249 .ml-form-embedPermissions .ml-form-embedPermissionsContent p {
    font-family: var(--wr-font-sans) !important;
    color: #888 !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

#mlb2-39759249 .ml-form-embedPermissions .ml-form-embedPermissionsContent p a {
    color: var(--wr-primary) !important;
    text-decoration: underline !important;
}

/* Success message */
#mlb2-39759249 .ml-form-successContent h4 {
    font-family: var(--wr-font-sans) !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--wr-primary) !important;
}

#mlb2-39759249 .ml-form-successContent p {
    font-family: var(--wr-font-sans) !important;
    font-size: 1rem !important;
    color: var(--wr-dark) !important;
}

.ml-form-recaptcha {
    margin-bottom: 20px;
}

/* ---------- SOCIAL PROOF ---------- */
.wr-proof {
    background: #fff;
    border-top: 1px solid var(--wr-border);
}

.wr-proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}

.wr-proof-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.wr-proof-logo img {
    height: 28px;
    width: auto;
}

.wr-proof-text {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.55;
}

/* ---------- FOOTER ---------- */
.wr-footer {
    background: var(--wr-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 1.5rem 0 1.5rem;
    text-align: center;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.wr-footer a {
    color: rgba(255, 255, 255, 0.75);
}

.wr-footer a:hover {
    color: #fff;
}

/* ---------- STICKY MOBILE CTA ---------- */
.wr-sticky-cta {
    display: none;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    background: var(--wr-accent);
    color: #fff;
    text-align: center;
    padding: 0.95rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--wr-radius);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.wr-sticky-cta i {
    margin-left: 0.4rem;
    font-size: 0.85em;
}

.wr-sticky-cta:hover {
    background: var(--wr-accent-hover);
    color: #fff;
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 1200px) {
    .wr-hero h1 {
        font-size: 2.2rem;
    }

    .wr-ereader {
        max-width: 340px;
    }
}

@media (max-width: 991px) {
    .wr-hero {
        padding: 3.5rem 1.25rem 4rem;
    }

    .wr-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
        text-align: center;
    }

    .wr-hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .wr-hero h1 {
        font-size: 2rem;
    }

    .wr-hero .wr-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .wr-trust-row {
        justify-content: center;
    }

    .wr-ereader {
        max-width: 280px;
    }

    .wr-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wr-audience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .wr-hero {
        padding: 3rem 1.25rem 3.5rem;
    }

    .wr-hero-logo {
        margin-bottom: 1.75rem;
    }

    .wr-hero h1 {
        font-size: 1.85rem;
    }

    .wr-hero .wr-hero-desc {
        font-size: 0.98rem;
    }

    .wr-section {
        padding: 3.5rem 0;
    }

    .wr-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wr-feature-card {
        padding: 1.75rem 1.5rem;
    }

    .wr-form-wrapper {
        padding: 2.25rem 1.5rem 1.75rem;
    }

    .wr-proof-inner {
        flex-direction: column;
        gap: 0.6rem;
    }

    .wr-proof-text {
        font-size: 0.82rem;
    }

    .wr-features-heading h2 {
        font-size: 1.55rem;
    }

    .wr-trust-row {
        gap: 0.85rem 1.1rem;
        font-size: 0.78rem;
    }

    .wr-sticky-cta {
        display: block;
    }
}

@media (max-width: 480px) {
    .wr-hero h1 {
        font-size: 1.6rem;
    }

    .wr-hero .wr-hero-desc {
        font-size: 0.9rem;
    }

    .wr-btn-accent {
        padding: 0.95rem 1.4rem;
        font-size: 0.78rem;
        width: 100%;
        text-align: center;
    }

    .wr-form-wrapper h2 {
        font-size: 1.25rem;
    }

    .wr-ereader {
        max-width: 240px;
        padding: 16px 14px 38px;
    }

    .ml-form-embedWrapper.embedDefault,
    .ml-form-embedWrapper.embedPopup {
        width: 100% !important;
    }
}
