
@media (max-width: 1100px) {
    .brand-principles {
        grid-template-columns: 1fr;
    }

    .principle {
        min-height: auto;
    }

    .principle-method {
        padding-inline: 30px;
    }

    .principle + .principle {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 850px) {
    .hero-title-en-final-line {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 55px;
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 75px;
    }

    .hero-visual {
        width: 100vw;
        max-width: none;
        margin-inline: calc(50% - 50vw);
    }
    .section-dark,
    .product-truth,
    .pain-points,
    .contact {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-social {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        text-align: center;
    }

    .contact-social-copy h3 {
        white-space: normal;
    }

    .contact-social-copy h3 em {
        display: block;
    }

    .social-cta-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-dark {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .system-cards {
        grid-template-columns: 1fr 1fr;
    }

    .system-card:nth-child(n) {
        transform: none;
    }

    .system-card:nth-child(even) {
        transform: translateY(16px);
    }

    .system-principle {
        margin-top: 70px;
    }
}

@media (max-width: 560px) {

    .brand-tagline-suffix {
        display: block;
    }

    .hero-copy {
        min-width: 0;
    }

    .product-truth,
    .pain-points,
    .system {
        width: 100%;
        padding-inline: 14px;
    }

    .hero-visual {
        min-height: 390px;
        padding: 26px;
    }

    .visual-note {
        font-size: 1.45rem;
    }

    .visual-note strong {
        font-size: 2.2rem;
    }

    .plan-grid {
        gap: 9px;
        margin-top: 16px;
    }

    .plan-tile {
        min-height: 95px;
        padding: 12px;
        font-size: .7rem;
        gap: 10px;
    }

    .plan-letter {
        font-size: 1.25rem;
    }

    .system-cards {
        grid-template-columns: 1fr;
    }

    .system-card {
        min-height: 0;
        padding: 20px;
    }

    .system-card h3 {
        margin-top: 20px;
    }

    .system-card p {
        margin-bottom: 0;
    }

    .system-card:nth-child(n) {
        transform: none;
    }

    .principle-method p > span {
        font-size: 1.2rem;
        letter-spacing: -.015em;
    }

    .contact {
        gap: 32px;
    }

    .contact-social {
        padding-top: 22px;
    }

    .launch-signup {
        padding: 24px;
    }
}

@media (max-width: 560px),
       (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {
    .homepage-contact {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .homepage-contact > .contact-copy {
        display: none;
    }

    .homepage-contact .launch-signup-summary {
        display: block;
    }

    .homepage-contact .launch-signup-copy-full {
        display: none;
    }

    .homepage-contact .launch-signup-copy-compact {
        display: block;
    }
}

@media (min-width: 851px) and (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 55px;
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 75px;
    }

    .hero-visual {
        width: 100vw;
        max-width: none;
        min-height: 390px;
        margin-inline: calc(50% - 50vw);
        padding: 26px;
    }
}

@media (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {

    .brand-tagline-suffix {
        display: block;
    }

    .hero-copy .hero-title-pl,
    .hero-copy .hero-title-en,
    .product-truth .section-intro {
        text-align: left;
    }
}

@media (max-width: 560px) and (orientation: portrait) {
    .hero-copy .hero-eyebrow-en {
        font-size: .73rem;
        letter-spacing: .04em;
        white-space: nowrap;
    }

    .hero-copy .hero-title-pl,
    .hero-copy .hero-title-en {
        width: 100%;
        max-width: none;
        margin-inline: auto;
        text-align: center;
    }

    .product-truth .section-intro {
        text-align: center;
    }

    .hero-copy .hero-title-pl {
        font-size: 3.9rem;
    }

    .hero-copy .hero-title-en {
        font-size: 3.0rem;
    }

    html[lang="en"] .pull-quote-final-line {
        display: block;
    }

    html[lang="en"] .contact-copy h2 em {
        display: block;
    }

    html[lang="en"] .launch-signup-label {
        font-size: 1.9rem !important;
    }

    .product-truth .section-intro h2 {
        font-size: 2.5rem;
    }

    .product-truth .section-intro h2.homepage-heading-en {
        font-size: 2.3rem;
    }

    .system .section-intro h2 {
        font-size: 2.7rem;
    }
}

@media (max-width: 560px) and (orientation: portrait),
       (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {

    .product-truth .section-intro h2.homepage-heading-en .product-truth-final-line {
        display: block;
    }

    html[lang="pl"] .problem .section-intro h2 em,
    html[lang="pl"] .pain-points .section-intro h2 em,
    html[lang="pl"] .system .section-intro h2 em,
    html[lang="en"] .problem .section-intro h2 em {
        display: block;
        margin-top: .25em;
    }

    .system .system-principle {
        font-size: 2rem;
        font-weight: 500;
        letter-spacing: -.055em;
        line-height: .99;
    }

    .system .system-principle-line {
        display: block;
    }

    .system .system-principle-line:not(:first-of-type) {
        margin-top: .35em;
    }

    .system .system-principle-break {
        display: none;
    }

    .system .system-principle strong {
        color: var(--accent);
        font-style: italic;
        font-weight: 500;
    }
}

@media (max-width: 560px) and (orientation: portrait),
       (max-width: 560px) and (orientation: landscape) and (max-height: 500px) {

    html[lang="pl"] .brand-tagline {
        font-size: 1.7rem;
    }

    html[lang="pl"] .product-truth .section-intro h2,
    html[lang="pl"] .audience-copy h2 {
        font-size: 2.7rem;
    }

    html[lang="pl"] .system .section-intro h2 {
        font-size: 2.7rem;
    }

    html[lang="pl"] .system .system-principle {
        font-size: 2.2rem;
    }

    html[lang="pl"] .system .system-principle-line:not(:first-of-type) {
        margin-top: .45em;
    }

    html[lang="pl"] .system-principle-final-line {
        display: block;
        margin-top: .45em;
    }

    html[lang="pl"] .system-heading-final-line {
        display: block;
    }

    html[lang="pl"] .contact-copy h2 {
        font-size: 2.4rem;
    }

    html[lang="pl"] .contact-social-copy h3 {
        font-size: 1.7rem;
    }

    html[lang="pl"] .contact-social-copy h3 em {
        margin-top: .25em;
        font-size: 1.15rem;
        line-height: 1.4;
        white-space: normal;
    }

    html[lang="pl"] .launch-signup-label {
        font-size: clamp(1.9rem, 4vw, 2.3rem) !important;
    }
}

@media (max-width: 560px) and (orientation: portrait) {

    .brand-principles.section-shell {
        width: calc(100% - 16px);
    }

    .brand-principles .principle {
        padding-inline: 20px;
    }

    html[lang="en"] .brand-principles .principle:first-child p {
        max-width: none;
        font-size: clamp(1rem, 5vw, 1.3rem);
    }

    html[lang="en"] .brand-principles .promise-keep-going {
        display: block;
        white-space: nowrap;
    }

    html[lang="en"] .system {
        padding-bottom: 50px;
    }

    html[lang="en"] .system .section-intro h2 {
        font-size: 2.9rem;
    }

    html[lang="en"] .brand-tagline {
        font-size: clamp(1.7rem, 6vw, 1.8rem);
    }

    html[lang="en"] .brand-tagline strong,
    html[lang="en"] .brand-tagline-secondary,
    html[lang="en"] .brand-tagline-work,
    html[lang="en"] .brand-tagline-final-line {
        display: block;
    }

    html[lang="en"] .audience-copy h2 em,
    html[lang="en"] .audience-heading-opening,
    html[lang="en"] .audience-heading-routine,
    html[lang="en"] .audience-heading-reset,
    html[lang="en"] .audience-heading-final {
        display: block;
    }

    html[lang="en"] .contact-social {
        padding-top: 28px;
        row-gap: 32px;
    }

    html[lang="en"] .contact-social-copy h3 {
        font-size: 1.7rem;
    }

    html[lang="en"] .contact-social-copy h3 em {
        margin-top: .25em;
        font-size: 1.15rem;
        line-height: 1.4;
        white-space: normal;
    }

    html[lang="pl"] .brand-tagline {
        font-size: clamp(1.7rem, calc(11.4vw - .6rem), 2.2rem);
    }

    html[lang="pl"] .contact-social {
        row-gap: 32px;
    }

    html[lang="pl"] .system {
        padding-bottom: 50px;
    }

    html[lang="pl"] .system .system-principle-line:not(:first-of-type),
    html[lang="pl"] .system .system-principle-final-line {
        margin-top: .35em;
    }

    html[lang="pl"] .brand-tagline-final-line {
        display: block;
    }

    html[lang="pl"] .system .section-intro h2 {
        font-size: 2.9rem;
    }

    html[lang="pl"] .audience-heading-final-line,
    html[lang="pl"] .contact-heading-final-line {
        display: block;
    }
}

@media (min-width: 561px) and (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {

    html[lang="pl"] .brand-tagline {
        font-size: clamp(1.8rem, 4vw, 2.3rem);
    }

    html[lang="pl"] .product-truth .section-intro h2,
    html[lang="pl"] .system .section-intro h2,
    html[lang="pl"] .audience-copy h2 {
        font-size: 4.8rem;
    }

    html[lang="pl"] .system .system-principle {
        font-size: 2.2rem;
    }

    html[lang="pl"] .system .system-principle-line:not(:first-of-type) {
        margin-top: .45em;
    }

    html[lang="pl"] .system-heading-final-line {
        display: block;
    }

    html[lang="pl"] .contact-copy h2 {
        font-size: clamp(3.4rem, 6vw, 3.6rem);
    }

    html[lang="pl"] .contact-social-copy h3 {
        font-size: clamp(2rem, 4.1vw, 2.35rem);
    }

    html[lang="pl"] .contact-social-copy h3 em {
        margin-top: .3em;
        font-size: clamp(1.35rem, 2.8vw, 1.65rem);
        line-height: 1.4;
        white-space: normal;
    }
}

@media (max-width: 1000px) and (orientation: landscape) and (max-height: 500px) {

    .system-card {
        min-height: 0;
        padding: 16px;
    }

    .system-card h3 {
        margin-top: 16px;
    }

    .system-card p {
        margin-bottom: 0;
    }

    .system-card:nth-child(n) {
        transform: none;
    }

    html[lang="en"] .brand-tagline {
        font-size: clamp(1.8rem, 4vw, 2.3rem);
    }

    html[lang="en"] .hero-copy .hero-title-en {
        font-size: clamp(3.2rem, 5.5vw, 3.8rem);
    }

    html[lang="en"] .product-truth .section-intro h2,
    html[lang="en"] .system .section-intro h2,
    html[lang="en"] .audience-copy h2 {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }

    html[lang="en"] .pain-points .section-intro h2 em,
    html[lang="en"] .system .section-intro h2 em {
        display: block;
        margin-top: .25em;
    }

    html[lang="en"] .contact-copy h2 {
        font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    }

    html[lang="en"] .contact-social {
        row-gap: 32px;
    }

    html[lang="en"] .contact-social-copy h3 {
        font-size: clamp(2rem, 4.1vw, 2.35rem);
    }

    html[lang="en"] .contact-social-copy h3 em {
        margin-top: .3em;
        font-size: clamp(1.35rem, 2.8vw, 1.65rem);
        line-height: 1.4;
        white-space: normal;
    }

    html[lang="en"] .launch-signup-label {
        font-size: clamp(2.1rem, 4.5vw, 2.6rem) !important;
    }

    html[lang="pl"] .hero-copy .hero-title-pl {
        font-size: clamp(3.2rem, 5.5vw, 3.8rem);
    }

    html[lang="pl"] .contact-social {
        row-gap: 32px;
    }

    html[lang="pl"] .launch-signup-label {
        font-size: clamp(2.1rem, 4.5vw, 2.6rem) !important;
    }

    html[lang="pl"] .product-truth .section-intro h2,
    html[lang="pl"] .system .section-intro h2,
    html[lang="pl"] .audience-copy h2 {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }

    html[lang="pl"] .contact-copy h2 {
        font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    }
}
