/* ==========================================================================
   Quiet Power — book page + homepage book section
   --------------------------------------------------------------------------
   Everything is scoped under .qp so it never leaks into the vlt theme.
   Colours are sampled from the printed cover (SHORTLISTED-EDITS/1.png), not
   approximated: navy ground #000C84, parentheses #D7C4FF, rule #8959FF.
   Display type is Playfair Display — the cover's own face.
   ========================================================================== */

.qp {
    --qp-navy: #000C84;
    --qp-navy-deep: #00064F;
    --qp-lilac: #D7C4FF;
    --qp-lilac-soft: #CBBDE1;
    --qp-violet: #8959FF;
    --qp-purple: #703ACF;
    --qp-mist: #F5F1FD;
    --qp-ink: #1A1740;
    --qp-muted: #585472;
    --qp-line: rgba(0, 12, 132, 0.12);
    --qp-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --qp-sans: "Avenir LT Std", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;

    font-family: var(--qp-sans);
    color: var(--qp-ink);
}

.qp *,
.qp *::before,
.qp *::after {
    box-sizing: border-box;
}

/* Resets are wrapped in :where() so they carry element-level specificity
   only. Written as `.qp p` they scored (0,1,1) and silently beat every
   single-class rule below — zeroing the hero's margins and overriding the
   heading colours. At (0,0,1) they still beat the theme's bare `p`/`h2`
   (this file loads later) but lose to any class in this file. */
:where(.qp) p {
    margin: 0;
    color: inherit;
}

:where(.qp) :is(h1, h2, h3, h4) {
    margin: 0;
    color: inherit;
    font-family: var(--qp-serif);
    font-weight: 500;
    text-wrap: balance;
}

.qp-wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Header — pinned white on the book page so the theme's forced dark logo
   stays readable over the navy hero instead of disappearing into it.
   -------------------------------------------------------------------------- */
body.qp-page .vlt-header-holder {
    background-color: #fff;
    box-shadow: 0 1px 0 rgba(0, 12, 132, 0.08);
}

/* --------------------------------------------------------------------------
   Shared pieces
   -------------------------------------------------------------------------- */
.qp-label {
    display: block;
    font-family: var(--qp-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--qp-purple);
}

.qp-h2 {
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.15;
    color: var(--qp-navy);
}

.qp-h2 em {
    font-style: italic;
}

.qp-lede {
    font-size: 18px;
    line-height: 1.75;
    color: var(--qp-muted);
    max-width: 62ch;
}

.qp-rule {
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--qp-violet);
}

/* Buttons */
.qp-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.qp .qp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-family: var(--qp-sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.qp .qp-btn i {
    font-size: 16px;
}

.qp .qp-btn small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    opacity: 0.75;
}

.qp .qp-btn:hover {
    transform: translateY(-2px);
}

.qp .qp-btn:focus-visible {
    outline: 3px solid var(--qp-violet);
    outline-offset: 3px;
}

/* On navy: white solid + lilac ghost */
.qp .qp-btn--light {
    background: #fff;
    color: var(--qp-navy);
    box-shadow: 0 10px 28px rgba(0, 0, 40, 0.35);
}

.qp .qp-btn--light:hover {
    background: var(--qp-lilac);
    color: var(--qp-navy);
}

.qp .qp-btn--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(215, 196, 255, 0.55);
}

.qp .qp-btn--ghost-light:hover {
    border-color: var(--qp-lilac);
    background: rgba(215, 196, 255, 0.1);
    color: #fff;
}

/* On light: purple solid + navy ghost */
.qp .qp-btn--solid {
    background: var(--qp-purple);
    color: #fff;
    box-shadow: 0 10px 24px rgba(112, 58, 207, 0.28);
}

.qp .qp-btn--solid:hover {
    background: var(--qp-navy);
    color: #fff;
}

.qp .qp-btn--ghost {
    background: transparent;
    color: var(--qp-navy);
    border-color: rgba(0, 12, 132, 0.25);
}

.qp .qp-btn--ghost:hover {
    border-color: var(--qp-navy);
    color: var(--qp-navy);
}

.qp .qp-link {
    color: var(--qp-purple);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(112, 58, 207, 0.3);
    transition: border-color 180ms ease;
}

.qp .qp-link:hover {
    border-color: var(--qp-purple);
    color: var(--qp-purple);
}

/* --------------------------------------------------------------------------
   Title lock-up — "( Quiet / Power )" in the site's own sans. The cover's
   swash-italic Q read as a "2" at display size, so the web title stays upright.
   -------------------------------------------------------------------------- */
.qp-title {
    /* block-level flex, shrink-wrapped: as inline-flex it flowed on the same
       line as the label above it whenever the column was wide enough */
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: stretch;
    gap: 0.12em;
    font-family: var(--qp-sans);
    font-size: clamp(56px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.qp-title-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.08em 0.06em 0.12em;
}

.qp-title-stack em {
    font-style: normal;
    font-weight: 400;
}

.qp-title-stack span {
    font-weight: 700;
}

.qp-paren {
    width: 0.3em;
    flex: 0 0 auto;
    align-self: stretch;
    height: auto;
    overflow: visible;
}

.qp-paren path {
    fill: none;
    stroke: var(--qp-lilac);
    stroke-width: 2.4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.qp-paren--r {
    transform: scaleX(-1);
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.qp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 22% 45%, rgba(137, 89, 255, 0.28) 0%, rgba(0, 12, 132, 0) 70%),
        linear-gradient(180deg, var(--qp-navy) 0%, var(--qp-navy-deep) 100%);
    color: #fff;
    padding: 150px 0 110px;
}

.qp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: center;
}

.qp-hero-copy .qp-label {
    color: var(--qp-lilac);
}

.qp-hero-copy .qp-title {
    margin-top: 22px;
}

.qp-hero-sub {
    margin-top: 22px;
    font-size: clamp(21px, 2vw, 26px);
    line-height: 1.3;
    color: var(--qp-lilac-soft);
}

.qp-hero-copy .qp-rule {
    margin-top: 26px;
}

.qp-hero-credit {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.qp-hero-credit strong {
    color: #fff;
    font-weight: 600;
}

.qp-hero-author {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #fff;
}

.qp-hero-copy .qp-btns {
    margin-top: 38px;
}

.qp-hero-note {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(215, 196, 255, 0.75);
}

/* The cover, presented as a physical object */
.qp-cover {
    position: relative;
    display: block;          /* it is an <a> on the homepage */
    margin: 0 auto;
    max-width: 390px;
    width: 100%;
}

.qp-cover::after {
    /* soft floor shadow */
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -26px;
    height: 40px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 25, 0.55), rgba(0, 0, 25, 0));
    filter: blur(6px);
    z-index: 0;
}

.qp-cover-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px 6px 6px 3px;
    box-shadow:
        0 1px 0 rgba(215, 196, 255, 0.25),
        0 30px 60px rgba(0, 0, 30, 0.55),
        0 0 0 1px rgba(215, 196, 255, 0.22);
}

.qp-cover-spine {
    /* a sliver of hinge light, so a navy cover still reads as a book on navy */
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: 7%;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 45%, rgba(0, 0, 0, 0.18) 55%, rgba(255, 255, 255, 0));
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   THE QUESTION — the back cover's opening line, given the full width
   -------------------------------------------------------------------------- */
.qp-question {
    background: var(--qp-mist);
    padding: 110px 0;
    text-align: center;
}

.qp-question h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.22;
    font-weight: 400;
    color: var(--qp-navy);
    max-width: 24ch;
    margin: 0 auto;
}

.qp-question h2 em {
    display: block;
    font-style: italic;
    color: var(--qp-purple);
}

.qp-question .qp-rule {
    margin: 40px auto 0;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.qp-section {
    padding: 110px 0;
    background: #fff;
}

.qp-section--mist {
    background: var(--qp-mist);
}

.qp-section-head {
    margin-bottom: 52px;
}

.qp-section-head .qp-h2 {
    margin-top: 14px;
}

.qp-section-head .qp-lede {
    margin-top: 18px;
}

.qp-section-head--center {
    text-align: center;
}

.qp-section-head--center .qp-lede {
    margin-left: auto;
    margin-right: auto;
}

/* About the book */
.qp-about {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px;
    align-items: start;
}

.qp-about-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 18px;
    line-height: 1.8;
    color: #33304F;
    max-width: 62ch;
}

.qp-about-body .qp-pull {
    font-family: var(--qp-serif);
    font-style: italic;
    font-size: 23px;
    line-height: 1.5;
    color: var(--qp-navy);
}

.qp-promises {
    background: var(--qp-navy);
    color: #fff;
    border-radius: 18px;
    padding: 40px 38px;
}

.qp-promises .qp-label {
    color: var(--qp-lilac);
}

.qp-promises ul {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.qp-promises li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    font-size: 17px;
    line-height: 1.5;
    color: #fff;
}

.qp-promises li::before {
    content: "";
    margin-top: 8px;
    width: 16px;
    height: 2px;
    background: var(--qp-violet);
    border-radius: 2px;
}

/* Inside the book */
.qp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--qp-line);
    border-bottom: 1px solid var(--qp-line);
    margin-bottom: 64px;
}

.qp-stat {
    padding: 30px 22px;
    text-align: center;
}

.qp-stat + .qp-stat {
    border-left: 1px solid var(--qp-line);
}

.qp-stat b {
    display: block;
    font-family: var(--qp-serif);
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    color: var(--qp-navy);
    font-variant-numeric: lining-nums tabular-nums;
}

.qp-stat span {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--qp-muted);
}

.qp-toc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
}

.qp-toc li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--qp-line);
}

.qp-toc-num {
    font-family: var(--qp-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--qp-purple);
    font-variant-numeric: lining-nums;
}

.qp-toc-title {
    font-family: var(--qp-serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--qp-navy);
}

.qp-toc-note {
    display: block;
    margin-top: 5px;
    font-family: var(--qp-sans);
    font-size: 14px;
    color: var(--qp-muted);
}

.qp-anatomy {
    margin-top: 56px;
    padding: 32px 36px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--qp-line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 36px;
    align-items: center;
}

.qp-anatomy h3 {
    font-size: 24px;
    line-height: 1.3;
    color: var(--qp-navy);
}

.qp-anatomy ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    counter-reset: step;
}

.qp-anatomy li {
    counter-increment: step;
    font-size: 14px;
    font-weight: 600;
    color: var(--qp-navy);
    background: var(--qp-mist);
    border-radius: 999px;
    padding: 9px 16px 9px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qp-anatomy li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--qp-purple);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Foreword — the second, and last, use of the parentheses */
.qp-foreword {
    background: var(--qp-navy);
    color: #fff;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.qp-foreword .qp-label {
    color: var(--qp-lilac);
}

.qp-quote {
    margin: 34px auto 0;
    max-width: 880px;
    display: flex;
    align-items: stretch;
    gap: 26px;
}

.qp-quote .qp-paren {
    width: 34px;
}

.qp-quote blockquote {
    margin: 0;
    padding: 18px 0;
    border: 0;
    font-family: var(--qp-serif);
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.35;
    font-weight: 400;
    color: #fff;
    background: none;
}

/* The theme puts a 50px '"' on every blockquote via ::before. The parentheses
   already frame this quote, so a second quotation mark competes with them. */
.qp-quote blockquote::before {
    content: none;
}

.qp-quote blockquote em {
    font-style: normal;
    color: var(--qp-lilac);
}

.qp-quote-by {
    margin-top: 34px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.qp-quote-by strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #fff;
}

/* Front & back */
.qp-covers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    max-width: 860px;
    margin: 0 auto;
}

.qp-covers figure {
    margin: 0;
}

.qp-covers img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 24px 50px rgba(0, 12, 132, 0.22), 0 0 0 1px rgba(0, 12, 132, 0.08);
}

.qp-covers figcaption {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--qp-muted);
}

/* Author */
.qp-author {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
    align-items: center;
}

.qp-author-photo {
    position: relative;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

.qp-author-photo::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border-radius: 20px;
    background: var(--qp-mist);
    border: 1px solid var(--qp-line);
}

.qp-author-photo img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
}

.qp-author h2 {
    margin-top: 14px;
}

.qp-author-bio {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 18px;
    line-height: 1.75;
    color: #33304F;
    max-width: 58ch;
}

.qp-creds {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qp-creds li {
    font-size: 13px;
    font-weight: 600;
    color: var(--qp-navy);
    background: var(--qp-mist);
    border-radius: 999px;
    padding: 8px 14px;
}

.qp-socials {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qp .qp-social {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--qp-mist);
    color: var(--qp-purple);
    font-size: 18px;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.qp .qp-social:hover {
    background: var(--qp-purple);
    color: #fff;
}

.qp .qp-social:focus-visible {
    outline: 3px solid var(--qp-violet);
    outline-offset: 2px;
}

/* Editions / get your copy */
.qp-buy {
    background:
        radial-gradient(55% 80% at 85% 20%, rgba(137, 89, 255, 0.25) 0%, rgba(0, 12, 132, 0) 70%),
        var(--qp-navy);
    color: #fff;
    padding: 110px 0;
}

.qp-buy .qp-label {
    color: var(--qp-lilac);
}

.qp-buy .qp-h2 {
    color: #fff;
}

.qp-buy .qp-lede {
    color: var(--qp-lilac-soft);
}

.qp-editions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.qp-edition {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 34px 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(215, 196, 255, 0.22);
}

.qp-edition-kind {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--qp-serif);
    font-size: 28px;
    color: #fff;
}

.qp-edition-kind i {
    font-size: 20px;
    color: var(--qp-lilac);
}

.qp-edition dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    font-size: 14px;
}

.qp-edition dt {
    color: rgba(215, 196, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 21px;
}

/* The theme sets `dd + dt { margin-top: 10px }`, which pushes each label down
   without moving its value and drags the two grid columns out of line. */
.qp-edition dd + dt {
    margin-top: 0;
}

.qp-edition dd {
    margin: 0;
    color: #fff;
    line-height: 21px;
    font-variant-numeric: tabular-nums;
}

.qp-edition .qp-btn {
    margin-top: auto;
    align-self: flex-start;
}

.qp-edition--soon {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 32px;
    background: none;
    border-style: dashed;
}

.qp-edition--soon .qp-edition-kind {
    align-items: flex-start;
    font-size: 22px;
    line-height: 1.25;
}

.qp-edition--soon .qp-edition-kind i {
    margin-top: 0.2em;
}

.qp-edition--soon .qp-btn {
    margin-top: 0;
    align-self: center;
    flex: 0 0 auto;
}

.qp-soon-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(137, 89, 255, 0.28);
    color: var(--qp-lilac);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.qp-edition-meta {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(215, 196, 255, 0.8);
    font-variant-numeric: tabular-nums;
}

/* Book clubs + bulk */
.qp-bulk {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.qp-card {
    padding: 38px 36px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--qp-line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qp-card h3 {
    font-size: 26px;
    line-height: 1.25;
    color: var(--qp-navy);
}

.qp-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--qp-muted);
}

.qp-card .qp-btns {
    margin-top: auto;
    padding-top: 10px;
}

/* Newsletter */
.qp-signup {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.qp-signup .qp-lede {
    margin: 16px auto 0;
}

.qp-signup-frame {
    display: block;
    width: 100%;
    max-width: 520px;
    height: 170px;
    margin: 30px auto 0;
    border: 0;
    overflow: hidden;
}

.qp-signup-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--qp-muted);
}

/* --------------------------------------------------------------------------
   Homepage section
   -------------------------------------------------------------------------- */
.qp-home {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(55% 75% at 20% 50%, rgba(137, 89, 255, 0.26) 0%, rgba(0, 12, 132, 0) 70%),
        linear-gradient(180deg, var(--qp-navy) 0%, var(--qp-navy-deep) 100%);
    color: #fff;
    padding: 110px 0;
}

.qp-home .qp-hero-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
}

.qp-home .qp-cover {
    max-width: 330px;
}

.qp-home .qp-label {
    color: var(--qp-lilac);
}

.qp-home .qp-title {
    margin-top: 18px;
    font-size: clamp(48px, 5.4vw, 74px);
}

.qp-home-body {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    max-width: 56ch;
}

.qp-home-body strong {
    color: #fff;
    font-weight: 600;
}

.qp-home .qp-btns {
    margin-top: 34px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .qp-hero {
        padding: 130px 0 90px;
    }

    .qp-hero-grid,
    .qp-home .qp-hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .qp-cover,
    .qp-home .qp-cover {
        max-width: 300px;
    }

    .qp-hero-sub,
    .qp-home-body,
    .qp-title {
        margin-left: auto;
        margin-right: auto;
    }

    .qp-hero-copy .qp-rule {
        margin-left: auto;
        margin-right: auto;
    }

    .qp-btns {
        justify-content: center;
    }

    .qp-about,
    .qp-author {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .qp-about-body,
    .qp-author-bio {
        max-width: none;
    }

    .qp-author {
        text-align: center;
    }

    .qp-author-bio {
        text-align: left;
    }

    .qp-creds,
    .qp-socials {
        justify-content: center;
    }

    .qp-toc {
        grid-template-columns: 1fr;
    }

    .qp-anatomy {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 767px) {
    .qp-wrap {
        padding: 0 20px;
    }

    .qp-section,
    .qp-question,
    .qp-buy,
    .qp-home {
        padding: 80px 0;
    }

    .qp-foreword {
        padding: 90px 0;
    }

    .qp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qp-stat:nth-child(3) {
        border-left: 0;
    }

    .qp-stat:nth-child(n + 3) {
        border-top: 1px solid var(--qp-line);
    }

    .qp-editions,
    .qp-bulk,
    .qp-covers {
        grid-template-columns: 1fr;
    }

    .qp-covers {
        max-width: 360px;
    }

    .qp-quote {
        gap: 12px;
    }

    .qp-quote .qp-paren {
        width: 18px;
    }

    .qp-promises,
    .qp-edition,
    .qp-card,
    .qp-anatomy {
        padding: 30px 24px;
    }

    .qp .qp-btn {
        width: 100%;
        justify-content: center;
    }

    .qp-edition .qp-btn {
        align-self: stretch;
    }

    .qp-edition--soon {
        flex-direction: column;
        align-items: stretch;
    }

    .qp-edition--soon .qp-btn {
        align-self: stretch;
    }

    .qp-signup-frame {
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qp .qp-btn,
    .qp .qp-social,
    .qp .qp-link {
        transition: none;
    }

    .qp .qp-btn:hover {
        transform: none;
    }
}
