/*
=========================================================
  style.css
  - Base / reset
  - Layout
  - Typography
  - Components
  - Pages
  - Responsive tweaks
=========================================================
*/


/* =========================================================
   Custom Fonts
   ========================================================= */

@font-face {
    font-family: "Headlines";
    src: url("font/headlines.bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   Base / reset
   ========================================================= */

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

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: "Ubuntu", sans-serif;
    position: relative;
    text-align: center;
    color: #000;
    background: #fff;
}

hr {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #555;
}


/* =========================================================
   Layout
   ========================================================= */

main {
    width: 100%;
    height: 100%;
    margin: auto;
}

section {
    margin: 60px auto;
    padding: 0 25px;
    text-align: center;
    min-height: auto;
}

.top {
    max-width: 1160px;
    margin: 0 auto 80px;
}


/* =========================================================
   Typography
   ========================================================= */

a,
button {
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}

a {
    font-family: "Ubuntu";
    font-weight: 500;
    color: #000;
}

section :is(h1, h2, h3) {
    font-size: 42px;
    padding: 10px 0;
    font-weight: bold;
}

section h2.marker-heading {
    font-family: "Headlines", "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: clamp(54px, calc(4vw + 26px), 68px);
    line-height: 1.25;
    text-decoration: none;
    text-wrap: balance;
}

section h1 {
    padding: 30px 0 0;
}

section h2,
section h3 {
    padding: 30px 0 0;
    max-width: 825px;
    margin: auto;
}

section h3 {
    padding: 0;
}

section p {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    color: #000;
    font-size: 16px;
    max-width: 775px;
    margin: 10px auto;
    line-height: 1.5;
}

/* Main section subtitles */
main > section > :is(h1, h2) + p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

#product-info {
    padding: 30px 0 0;
}


/* =========================================================
   Main / Hero Headlines
   ========================================================= */

.top h1 {
    font-size: 52px;
    font-family: "Headlines", "Ubuntu", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

.marker-heading .heading-qualifier {
    display: block;
    margin-top: 10px;
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    line-height: 1.4;
}


/* =========================================================
   Theme variables
   ========================================================= */

:root {
    --nav-text: #000;
    --nav-text-hover: #000;
    --nav-font-size: 14px;
    --nav-gap: 20px;
    --nav-bg: #fff;
    --nav-border: rgba(0, 0, 0, 0.08);

    --box-title-color: #000;
    --box-text-color: #000;
    --box-accent: #000;

    --surface-shadow: 0 3px 16px rgba(0, 0, 0, 0.08);
}



/* =========================================================
   Site Logo
   ========================================================= */

.site-logo {
    text-align: center;
    margin: 20px auto 0;
    padding: 0;
}

.site-logo img {
    max-width: 200px;
    height: auto;
}


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

nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 12px 20px;

    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    box-shadow: var(--surface-shadow);

    transition: border-bottom 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    background: #fff;
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--surface-shadow);
}


/* Hamburger menu button */

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--nav-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: center;
}

.nav-hamburger.active span {
    display: none;
}


/* Navigation list */

nav ul {
    display: flex;
    gap: var(--nav-gap);
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
    justify-content: center;
}

nav li {
    margin: 0;
}


/* Regular navigation links */

nav a {
    color: var(--nav-text);
    font-size: var(--nav-font-size);
    font-weight: 500;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
    display: inline-block;
    white-space: nowrap;
}

nav a:hover {
    color: #000;
    background: #f5f5f5;
    transform: translateY(-1px);
}


/* Affiliate link */

nav a.affiliate-link {
    color: #000;
    font-weight: 700;
}

nav a.affiliate-link:hover {
    color: #000;
    background: #f5f5f5;
}


/* Buy Now button */

nav a.buy-now-btn {
    background: #0099cc;
    color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: var(--surface-shadow);
    margin-left: 10px;
}

nav a.buy-now-btn:hover {
    background: #007fa8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--surface-shadow);
}


/* Hide mobile buy button on desktop */

nav a.buy-now-btn.nav-cta-visible {
    display: none;
}


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

@media (max-width: 768px) {

    nav {
        justify-content: space-between;
        padding: 10px 20px;
        align-items: center;
        gap: 15px;
    }

    .nav-hamburger {
        display: flex;
        flex-shrink: 0;
        order: 1;
    }

    nav > ul {
        position: fixed;
        top: 57px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        padding: 20px;
        gap: 0;

        max-height: 0;
        overflow: hidden;
        opacity: 0;

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease,
            padding 0.4s ease;

        border-bottom: 1px solid transparent;
        box-shadow: none;
        order: 3;
    }

    nav > ul.active {
        max-height: 600px;
        opacity: 1;
        padding: 20px;
        border-bottom: 1px solid var(--nav-border);
        box-shadow: var(--surface-shadow);
        background: #fff;
    }

    nav li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        margin: 5px 0;
    }

    nav > ul .nav-cta-mobile {
        display: none;
    }

    nav a.buy-now-btn.nav-cta-visible {
        display: inline-block;
        margin-left: auto;
        padding: 9px 18px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
        order: 2;
        width: auto;
        max-width: fit-content;
    }
}

@media (max-width: 640px) {

    nav {
        padding: 8px 15px;
        gap: 12px;
    }

    nav > ul {
        top: 52px;
    }

    nav a.buy-now-btn.nav-cta-visible {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
        order: 2;
        width: auto;
        max-width: fit-content;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .top h1 {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .top h1 {
        font-size: 36px;
    }
}


/* =========================================================
   Tag row
   ========================================================= */

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 15px auto;
    max-width: 1000px;

    padding-left: 25px;
    padding-right: 25px;

    justify-content: center;
}

.tag {
    background: #000;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}


/* =========================================================
   Payment icons
   ========================================================= */

.payment-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 5px 0;
}

.payment-icons img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    opacity: 1;
    transition: none;
}


/* =========================================================
   Social media icons
   ========================================================= */

.social-media {
    width: 120px;
    height: 60px;
    display: block;
    margin: 20px auto;
}

.social-media img {
    width: 30px;
    height: 30px;
    margin: 15px;
    float: left;
}


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

footer {
    width: 100%;
    padding: 16px 0 24px;
    margin: 0 auto 30px;
    text-align: center;
}

footer,
footer ul,
footer ul li,
footer ul li a {
    border: 0;
    list-style: none;
    line-height: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 8px 0 12px;
}

footer ul li {
    margin: 6px 10px;
}

footer ul li a {
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

footer ul li a:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 0.094rem;
}

footer p {
    color: #000;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 480px) {

    footer ul {
        flex-direction: column;
        align-items: center;
    }

    footer ul li {
        margin: 4px 0;
    }
}


/* =========================================================
   404
   ========================================================= */

.error p {
    font-size: 36px;
    font-weight: 700;
    padding: 0 15px;
    color: #000;
}


/* =========================================================
   Responsive tweaks
   ========================================================= */

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    section {
        margin: 48px auto;
        padding: 0 16px;
    }

    section h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    section h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    section h3 {
        font-size: 20px;
        line-height: 1.35;
    }

    section :is(h4, h5, h6) {
        font-size: 18px;
        line-height: 1.4;
    }

    section p {
        font-size: 15px;
    }

    .tag-row {
        padding-left: 14px;
        padding-right: 14px;
    }

}

@media (max-width: 480px) {

    section {
        margin: 36px auto;
        padding: 0 14px;
    }

    section h1 {
        font-size: 26px;
    }

    section h2 {
        font-size: 21px;
    }

    .payment-icons {
        gap: 8px;
        margin: 12px 0 16px;
    }

    .payment-icons img {
        width: 32px;
        height: 32px;
    }

}


/* =========================================================
   Product
   ========================================================= */

#product {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 25px;
}

#product > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

#product figure {
    margin: 0;
}

#product figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#product figure + div {
    text-align: left;
    font-family: "Ubuntu", sans-serif;
}

#product h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #000;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
    margin-right: 10px;
    border: 0;
    box-shadow: none;
}

#product p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    margin-bottom: 0;
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0 5px;
    box-shadow: var(--surface-shadow);
}

.btn:hover {
    transform: translateY(-2px);
    background: #000;
    color: #fff;
    box-shadow: var(--surface-shadow);
}

/* Blue accent reserved for eBook purchase */

#product a.btn {
    background: #0099cc;
    color: #fff;
}

#product a.btn:hover,
#product a.btn:focus-visible {
    background: #007fa8;
    color: #fff;
}

.link {
    display: inline-block;
    margin-left: 15px;
    font-size: 15px;
    color: #000;
    text-decoration: underline;
}

.benefits {
    color: #000;
    font-size: 15px;
    word-spacing: 6px;
    padding: 12px 0 0;
    text-align: left;
}

.benefits + .benefits {
    font-size: 14px;
    word-spacing: 2px;
    padding: 10px 0 0;
}

.benefits span {
    text-decoration: underline;
    text-underline-position: under;
}


/* Earn With Us button spacing */

#earn-with-us > .btn {
    margin-top: 20px;
}


@media (max-width: 768px) {

    #product > div {
        grid-template-columns: 1fr;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .link {
        display: block;
        margin: 10px 0 0;
    }

    .benefits + .benefits {
        word-spacing: 0;
    }
}


/* =========================================================
   Share bar
   ========================================================= */

.share-bar {
    margin-top: 0;
}

.share-bar > span {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.share-bar a,
.share-bar button {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none;
}

.share-bar a:hover,
.share-bar button:hover {
    background: transparent;
    color: #000;
    transform: none;
    opacity: 0.7;
}

@media (max-width: 600px) {

    .share-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    .share-bar > span {
        margin-bottom: 4px;
        width: 100%;
    }

    .share-bar a,
    .share-bar button {
        width: 80%;
        max-width: 260px;
    }
}


/* =========================================================
   Bonus Product
   ========================================================= */

.bonus {
    width: 100%;
    max-width: 1000px;
    margin: 16px auto 0;
    padding: 0;
}

.bonus > div {
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 30px 35px;
    position: relative;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
}

.bonus > div > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.bonus > div > div > div:first-child {
    text-align: left;
}

.bonus h3 {
    font-family: "Ubuntu", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px;
    line-height: 1.3;
}

.bonus h3 > span,
.bonus strong {
    background: none;
    -webkit-text-fill-color: #000;
    color: #000;
}


.bonus > div > div > div:first-child > p {
    font-family: "Ubuntu", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    line-height: 1.6;
    margin: 0;
}

.bonus > div > div > div:last-child {
    text-align: right;
    min-width: 140px;
}

.bonus > div > div > div:last-child > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 8px;
}

.bonus del {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.bonus strong {
    font-size: 32px;
    font-weight: 700;
    background: none;
    color: #000;
    -webkit-text-fill-color: #000;
    text-shadow: none;
}

.bonus > div > div > div:last-child > p {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

@media (max-width: 600px) {

    .bonus {
        width: auto;
        max-width: none;
        margin: 16px 25px 0;
    }

    .bonus > div {
        padding: 30px 20px 25px;
    }

    .bonus > div > div {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .bonus > div > div > div:first-child,
    .bonus > div > div > div:last-child {
        text-align: center;
    }

    .bonus > div > div > div:last-child > div {
        align-items: center;
    }

    .bonus h3 {
        font-size: 20px;
    }

    .bonus h3 > span {
        font-size: 16px;
        display: block;
        margin-bottom: 4px;
    }

    .bonus > div > div > div:first-child > p {
        font-size: 14px;
    }

    .bonus strong {
        font-size: 28px;
    }
}

@media (max-width: 480px) {

    .bonus > div {
        padding: 25px 16px 20px;
    }

    .bonus h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .bonus h3 > span {
        font-size: 14px;
    }

    .bonus > div > div > div:first-child > p {
        font-size: 13px;
    }

    .bonus del {
        font-size: 14px;
    }

    .bonus strong {
        font-size: 24px;
    }

    .bonus > div > div > div:last-child > p {
        font-size: 12px;
    }
}


/* =========================================================
   Founder
   ========================================================= */

#about-me > section {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 25px;
}

.founder {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 40px;
    align-items: center;
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 40px 30px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: none;
}

#about-me figure {
    display: flex;
    justify-content: center;
}

#about-me figure img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 0;
    box-shadow: none;
}

#about-me h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.3;
    color: #000;
}

.founder > div {
    text-align: left;
    font-family: "Ubuntu", sans-serif;
}

.founder > div > p {
    font-size: 15px;
    line-height: 1.7;
    color: #000;
}

@media (max-width: 800px) {

    .founder {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px;
    }

    .founder > div {
        text-align: center;
    }

    .founder > div > p {
        margin-left: auto;
        margin-right: auto;
        max-width: 480px;
    }
}


/* =========================================================
   Affiliate Program
   ========================================================= */

#affiliate-program,
#affiliate-signup {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
}


/* Main container */

#affiliate-program > article,
#affiliate-signup > article {
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 30px 30px;
    box-shadow: none;
    text-align: center;
}


/* Header */

#affiliate-program > article > header,
#affiliate-signup > article > header {
    text-align: center;
    margin-bottom: 30px;
    display: block;
    width: 100%;
}


/* Badge */

#affiliate-program > article > header > span {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto 20px;
}


/* Title */

#affiliate-program h2,
#affiliate-signup h2 {
    font-family: "Ubuntu", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0 auto 16px;
    line-height: 1.2;
    text-align: center;
    display: block;
    width: 100%;
}


/* Subtitle */

#affiliate-program > article > header > p,
#affiliate-signup > article > header > p {
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0 auto;
    max-width: 700px;
    line-height: 1.6;
    text-align: center;
    display: block;
    width: 100%;
}


/* Stats grid */

#affiliate-program .grid--3 {
    max-width: 800px;
    margin: 40px auto;
}


/* Individual stat boxes */

#affiliate-program .grid--3 > article {
    text-align: center;
    background: transparent;
    border: 2px solid #000;
    padding: 20px;
}


/* Stat number */

#affiliate-program .grid--3 > article > strong {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    -webkit-text-fill-color: #000;
    background: none;
    line-height: 1;
    margin-bottom: 8px;
}


/* Stat label */

#affiliate-program .grid--3 > article > span {
    font-family: "Ubuntu", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
}


/* Benefits grid */

#affiliate-program .grid--2 {
    max-width: 1000px;
    margin: 40px auto;
}


/* Individual benefit boxes */

#affiliate-program .grid--2 > article {
    background: #fff;
    border: 2px solid #000;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: none;
}


/* Benefit icon + title wrapper */

#affiliate-program .grid--2 > article > header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    text-align: left;
}


/* Benefit icon */

#affiliate-program .grid--2 > article > header > span {
    font-size: 24px;
    flex-shrink: 0;
}


/* Benefit title */

#affiliate-program .grid--2 > article h3 {
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
    text-decoration: none;
    padding: 0;
}


/* Benefit text */

#affiliate-program .grid--2 > article > p {
    font-family: "Ubuntu", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.5;
    padding: 0;
    text-align: left;
}


/* =========================================================
   Benefits
   ========================================================= */

#benefits > h2,
#benefits > p {
    text-align: center;
}

#benefits .grid--2 {
    max-width: 1000px;
    margin: 40px auto;
}

#benefits .grid--2 > article {
    background: #fff;
    border: 2px solid #000;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: none;
}

#benefits .grid--2 > article h3 {
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px;
    text-decoration: underline;
    text-decoration-color: #000;
    text-decoration-thickness: 2px;
    text-underline-position: under;
    text-align: center;
}

#benefits .grid--2 > article > p {
    font-family: "Ubuntu", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.5;
    padding: 0;
    text-align: left;
}


/* =========================================================
   How it works
   ========================================================= */

#how-it-works > h2,
#how-it-works > p {
    text-align: center;
}

#how-it-works .grid--3 > article {
    text-align: center;
}

#how-it-works .grid--3 > article h3 {
    text-align: center;
}

#how-it-works .grid--3 > article > p {
    text-align: left;
}


/* =========================================================
   Who this is for
   ========================================================= */

#who-this-is-for > h2,
#who-this-is-for > p {
    text-align: center;
}

#who-this-is-for .grid--3 > article {
    text-align: center;
}

#who-this-is-for .grid--3 > article h3 {
    text-align: center;
}


/* =========================================================
   Affiliate CTA
   ========================================================= */

#affiliate-program > article > div:last-of-type,
#affiliate-signup > article > div:last-of-type {
    margin-top: 40px;
    text-align: center;
}


/* Primary button */

#affiliate-program > article > div:last-of-type > a,
#affiliate-signup > article > div:last-of-type > a {
    display: inline-block;
    padding: 16px 40px;
    background: #000;
    color: #fff;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: var(--surface-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0 10px 10px 0;
}

#affiliate-program > article > div:last-of-type > a:hover,
#affiliate-signup > article > div:last-of-type > a:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--surface-shadow);
}


/* Secondary button */

#affiliate-program > article > div:last-of-type > a:nth-child(2) {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: var(--surface-shadow);
}

#affiliate-program > article > div:last-of-type > a:nth-child(2):hover {
    background: #000;
    color: #fff;
    box-shadow: var(--surface-shadow);
}


/* Footer note */

#affiliate-program > article > p,
#affiliate-signup > article > p {
    font-family: "Ubuntu", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
    line-height: 1;
}


/* =========================================================
   Affiliate responsive
   ========================================================= */

@media (max-width: 600px) {

    #affiliate-program,
    #affiliate-signup {
        width: auto;
        max-width: none;
        margin: 40px 25px 0;
    }
}

@media (max-width: 768px) {

    #affiliate-program > article > div:last-of-type > a,
    #affiliate-signup > article > div:last-of-type > a {
        display: block;
        width: 100%;
        margin: 0 0 10px;
    }
}


@media (max-width: 768px) {

    #affiliate-program > article,
    #affiliate-signup > article {
        padding: 30px 25px;
    }

    #affiliate-program h2,
    #affiliate-signup h2 {
        font-size: 28px;
    }

    #affiliate-program > article > header > p,
    #affiliate-signup > article > header > p {
        font-size: 16px;
    }

    #affiliate-program .grid--3 > article > strong {
        font-size: 40px;
    }

    #affiliate-program > article > footer > a {
        display: block;
        margin: 0 0 10px 0;
    }
}

@media (max-width: 480px) {

    #affiliate-program > article,
    #affiliate-signup > article {
        padding: 25px 20px;
    }

    #affiliate-program h2,
    #affiliate-signup h2 {
        font-size: 24px;
    }

    #affiliate-program > article > header > p,
    #affiliate-signup > article > header > p {
        font-size: 15px;
    }

    #affiliate-program .grid--3 > article > strong {
        font-size: 36px;
    }

    #affiliate-program .grid--2 > article {
        padding: 20px;
    }

    #benefits .grid--2 > article {
        padding: 20px;
    }

    #affiliate-program > article > footer > a {
        font-size: 16px;
        padding: 14px 30px;
    }
}



/* =========================================================
   Grid design
   ========================================================= */

.grid:not(.grid--cards) > article,
.grid.grid--cards > article,
.bonus > div,
.founder,
#affiliate-program > article,
#affiliate-signup > article,
#affiliate-program .grid--2 > article,
#benefits .grid--2 > article,
#why-it-works .grid > article {
    background: #fff;
    box-shadow: none;
    border: 2px solid #000;
}

.grid.grid--cards > article[data-topic] > figure {
    aspect-ratio: auto;
}

.grid.grid--cards > article[data-topic] > figure img {
    height: auto;
    object-fit: contain;
}

