:root {
    --ink: #18212a;
    --blue: #176a94;
    --blue2: #0f5478;
    --paper: #f5f1e8;
    --white: #ffffff;
    --muted: #65717b;
    --line: #d9d7d0;
    --accent: #d89b2b;
}


/* ============================================================
   GLOBAL
============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fbfaf7;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: auto;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
}

.brand img {
    width: 210px;
    max-height: 62px;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

.site-header nav a:hover {
    color: var(--blue);
}


/* ============================================================
   HERO
============================================================ */

.hero {
    max-width: 1180px;
    margin: auto;
    padding: 88px 28px 72px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.eyebrow,
.mini {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: var(--blue);
}

h1,
h2,
h3 {
    line-height: 1.08;
    margin: 0.25em 0;
}

h1 {
    font-size: clamp(48px, 6vw, 78px);
    letter-spacing: -0.045em;
}

h1 em {
    color: var(--blue);
    font-style: normal;
}

h2 {
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -0.035em;
}

.hero-copy > p {
    font-size: 20px;
    max-width: 720px;
    color: var(--muted);
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}


/* ============================================================
   BUTTONS
============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 6px;
    font-weight: 800;
}

.btn:hover {
    background: var(--blue2);
}

.btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.btn.small {
    padding: 10px 14px;
    font-size: 13px;
}

.btn.disabled {
    background: #98a0a5;
    pointer-events: none;
}

.btn.light {
    background: #ffffff;
    color: var(--blue);
}


/* ============================================================
   HERO CARD
============================================================ */

.hero-card {
    position: relative;
    background: var(--ink);
    color: #ffffff;
    padding: 38px;
    border-radius: 12px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-card strong {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-card span {
    color: #d8e0e5;
}

.stamp {
    position: absolute;
    right: -18px;
    bottom: -22px;
    border: 5px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 145px;
    height: 145px;
    display: grid;
    place-content: center;
    text-align: center;
    font-weight: 950;
    font-size: 23px;
    line-height: 1;
    transform: rotate(-12deg);
}


/* ============================================================
   MADE FOR BAR
============================================================ */

.trust {
    background: var(--blue);
    color: #ffffff;
    padding: 20px 28px;
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
}

.trust span {
    opacity: 0.7;
    font-size: 12px;
    letter-spacing: 0.18em;
}


/* ============================================================
   MAIN TOOL SECTION
============================================================ */

.section {
    max-width: 1180px;
    margin: auto;
    padding: 90px 28px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 38px;
}

.section-head p {
    max-width: 460px;
    color: var(--muted);
}


/* ============================================================
   FEATURED STARTER BUNDLE
============================================================ */

.featured-product {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 34px;
    box-shadow: 0 12px 34px rgba(24, 33, 42, 0.06);
}

.featured-image {
    min-height: 420px;
    background: #f1f1ef;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
}

.featured-body {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-body h3 {
    font-size: clamp(30px, 3vw, 42px);
}

.featured-body > p:not(.tagline) {
    color: var(--muted);
}


/* ============================================================
   INDIVIDUAL PRODUCT GRID
============================================================ */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.product {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.tool-grid .product {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-image {
    height: 310px;
    background: #f1f1ef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-body {
    padding: 28px;
}

.tool-grid .product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product h3 {
    font-size: 27px;
}

.tagline {
    font-weight: 800;
}

.product-body > p:not(.tagline) {
    color: var(--muted);
}

.product-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
}

.tool-grid .product-foot {
    margin-top: auto;
    padding-top: 12px;
}

.secure {
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ============================================================
   WHY CT TOOLWORKS
============================================================ */

.split {
    max-width: 1180px;
    margin: 20px auto 90px;
    padding: 65px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    background: var(--paper);
    border-radius: 12px;
}

.split p {
    font-size: 18px;
    color: #56616a;
}


/* ============================================================
   ABOUT
============================================================ */

.about {
    max-width: 1180px;
    margin: 20px auto 90px;
    padding: 65px;

    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 55px;
    align-items: center;

    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.about-logo {
    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo img {
    display: block;

    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;

    object-fit: contain;
}

.about > div:last-child {
    min-width: 0;
}

.about p {
    margin: 14px 0 0;
    font-size: 18px;
    color: #56616a;
}

/* ============================================================
   CALL TO ACTION
============================================================ */

.cta {
    text-align: center;
    background: var(--blue);
    color: #ffffff;
    padding: 85px 25px;
}

.cta .eyebrow {
    color: #d9edf7;
}

.cta p {
    font-size: 19px;
}


/* ============================================================
   FOOTER
============================================================ */

footer {
    max-width: 1180px;
    margin: auto;
    padding: 45px 28px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 25px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

footer img {
    width: 160px;
}


/* ============================================================
   PRODUCT DETAIL PAGE
============================================================ */

.product-page {
    max-width: 1180px;
    margin: auto;
    padding: 50px 28px 90px;
}

.back {
    display: inline-block;
    margin-bottom: 28px;
    font-weight: 800;
    color: var(--blue);
}

.product-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.product-intro img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
}

.product-intro h1 {
    font-size: clamp(38px, 5vw, 64px);
}

.product-intro .lead {
    font-size: 22px;
}

.product-intro p {
    color: var(--muted);
    font-size: 18px;
}

.checkout-note {
    padding: 16px 18px;
    background: var(--paper);
    border-left: 4px solid var(--blue);
    border-radius: 4px;
}

.payhip-shell {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}

.product-placeholder {
    min-height: 380px;
    border-radius: 12px;
    background: var(--ink);
    color: #ffffff;
    display: grid;
    place-content: center;
    text-align: center;
}

.product-placeholder span {
    font-size: 86px;
    font-weight: 950;
    line-height: 0.9;
    color: #ffffff;
}

.product-placeholder strong {
    letter-spacing: 0.2em;
    margin-top: 14px;
    color: #d9edf7;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 800px) {

    .site-header nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
    }

    h1 {
        font-size: 48px;
    }

    .section-head {
        display: block;
    }


    /* Featured Bundle */

    .featured-product {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 0;
        height: 320px;
    }

    .featured-body {
        padding: 30px;
    }


    /* Products */

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .tool-grid .product-image {
        height: 280px;
    }


    /* Why / About */

    .split,
    .about {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px;
    }

    .about-logo {
        width: 100px;
        height: 100px;
        justify-content: flex-start;
    }

    .about-logo img {
        width: 100px !important;
        height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
    }


    /* Product Detail */

    .product-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-page {
        padding-top: 35px;
    }

    .product-placeholder {
        min-height: 260px;
    }


    /* Footer */

    footer {
        grid-template-columns: 1fr;
    }

    .trust {
        gap: 18px;
    }
}
