/* Active Dot — mobile-first tidy build */
:root {
    --bg: #ffffff;
    --text: #0f0f10;
    --muted: #6b7280;

    /* Brand */
    --brand: #BC1B06;
    --brand-accent: #F97066;
    --brand-2: #f3c9a8;
    --brand-3: #ffc58d;
    --brand-4: #CFF3F3;

    --surface: #ffffff;
    --ring: 0 0 0 3px rgba(230, 46, 5, .15);
    --radius: 16px;
    --container: 1120px;
    --corner-big: 160px;
}

/* Base */
* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block
}

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

/* Type scale (mobile-first) */
h1 {
    font-size: 2.25rem;
    letter-spacing: -.02em;
    margin: 0;
    font-weight: 500;
    line-height: 2.75rem;
}

h2 {
    font-size: 2.25rem;
    margin: 0 0 1.25rem;
    font-weight: 600;
    line-height: 2.375rem;
}

h3 {
    font-size: 1.25rem;
    margin: 0 0 .5rem;
    font-weight: 600;
    line-height: 1.75rem;
}

p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px
}

.center {
    text-align: center
}

.lead {
    color: var(--muted);
    max-width: 62ch;
    margin-inline: auto
}

.eyebrow {
    color: var(--brand);
    font-weight: 600;
    letter-spacing: .04em;
    font-size: 1rem;
    line-height: 1.25rem;
}

section {
    padding-block: 56px
}

.section--tight {
    padding-block: 36px
}

/* Buttons */
.btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-inline: auto;
    align-items: center;
    gap: .5rem;
    background: var(--brand);
    color: #fff;
    padding: .75rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--ring)
}

.btn--ghost {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--brand-accent);
    width: max-content;
    margin-top: 64px
}

/* Button with right-arrow icon */
.btn--with-arrow{
    position: relative;
    padding-right: 2.5rem;          /* room for the arrow */
}

/* draw the arrow on the right */
.btn--with-arrow::after{
    content:"";
    position: absolute;
    right: 0.9rem;                  /* tweak to taste */
    top: 51%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    /* swap the asset path to yours */
    background: image-set(
            url("assets/icons/arrow.svg") 1x
    ) no-repeat center;
    pointer-events: none;           /* clicks go to the button */
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid #efefef
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px
}

.brand {
    color: #181D27;
    font-family: Nunito, sans-serif;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
}

.logo-mark {
    width: 24px;
    height: 24px;
    display: block
}

/* Hero */
.hero {
    padding-block: 40px
}

.hero__wrap {
    display: grid;
    gap: 48px;
    align-items: center
}

.hero p.lead {
    margin: .75rem 0 2.25rem
}

/* Mosaic */
.mosaic {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    grid-auto-rows: 72px;
    gap: 10px;
    max-width: 520px;
    margin-inline: auto;
}

.mosaic-img{
    width:100%;
    aspect-ratio: 3 / 3;
    background:
            no-repeat center / cover
            image-set(
                    url("assets/images/mosaic-mobile.png") 1x
            );
    overflow:hidden;
}

.tile {
    border-radius: 16px;
    overflow: hidden;
    position: relative
}

.tile--img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.tl {
    border-top-left-radius: 80px
}

.tr {
    border-top-right-radius: 80px
}

.br {
    border-bottom-right-radius: 80px
}

.bl {
    border-bottom-left-radius: 80px
}

.t-brand {
    background: var(--brand)
}

.t-peach {
    background: var(--brand-2)
}

.t-apricot {
    background: var(--brand-3)
}

.tile--span-2x2 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2
}

.tile--span-2w {
    grid-column: 1 / span 2
}

/* Features (How it works) — icon above text, 40x40 */
.features {
    display: grid;
    gap: 16px;
    grid-template-columns:1fr
}

.features--mt {
    margin-top: 22px
}

.feature {
    display: grid;
    grid-template-columns:1fr;
    justify-items: center;
    text-align: center;
    gap: .75rem;
    padding: 18px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--brand);
    margin-inline: auto;
    margin-bottom: .25rem
}

.icon img {
    width: 40px;
    height: 40px;
    object-fit: contain
}

/* Split sections */
.split {
    display: grid;
    gap: 24px;
    align-items: center
}

.split__img {
    overflow: hidden
}

/* corners clip correctly */
.split__img img {
    object-fit: cover;
    aspect-ratio: 4 / 3
}

.split h2 {
    font-size: 1.875rem
}

.split li {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 400
}

/* Split lists: custom 28x28 check PNG */
.bullets {
    list-style: none;
    margin: .25rem 0 1rem;
    padding: 0;
    color: var(--muted)
}

.bullets li {
    position: relative;
    padding-left: 44px;
    margin: 0 0 14px;
    line-height: 1.6;
}

.bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .28em;
    width: 28px;
    height: 28px;
    background: no-repeat center / contain;
    background-image: image-set(url("assets/icons/check.svg") 1x);
}

/* Cards (Why choose us) */
/* Mobile: icon ABOVE copy, left-aligned */
.cards {
    display: grid;
    gap: 16px;
    grid-template-columns:1fr
}

.card {
    padding: 18px;
    background: #FAFAFA
}

.cards .card {
    display: grid;
    grid-template-rows: 62px 24px auto auto;
    grid-template-columns:1fr;
    align-items: start;
    gap: 10px;
    text-align: left;
}

.cards .icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--brand);
    margin: 0 0 .25rem 0;
    justify-self: start;
}

.cards .icon img {
    width: 48px;
    height: 48px
}

.cards .card h3 {
    margin: 0 0 .2rem
}

.cards .card p {
    margin: 0
}

/* One-corner helpers for 3×90° + 1×rounded */
.corner-xl--tl {
    border-top-left-radius: var(--corner-big)
}

.corner-xl--tr {
    border-top-right-radius: var(--corner-big)
}

.corner-xl--br {
    border-bottom-right-radius: var(--corner-big)
}

.corner-xl--bl {
    border-bottom-left-radius: var(--corner-big)
}

/* CTA band */
.band {
    background: var(--brand-4);
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8
}

.band .container {
    padding-block: 48px
}

/* Footer */
footer {
    padding-block: 28px;
    border-top: 1px solid #efefef;
    color: #6b7280
}

.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

/* Waitlist page */
.hero-split {
    display: grid;
    gap: 24px;
    align-items: center;
    min-height: 70vh
}

.hero-split__content {
    max-width: 540px
}

.hero-split__media {
    overflow: hidden
}

.hero-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-img--tl-br {
    border-top-left-radius: var(--corner-big);
    border-bottom-right-radius: var(--corner-big)
}

.hero-img--bl {
    border-bottom-left-radius: var(--corner-big)
}

/* Mobile-first: split images full-bleed */
.split__img {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.split__img img {
    width: 100%;
    height: auto;
    display: block
}

/* Form */
.form {
    display: grid;
    gap: 14px;
    margin-top: 20px
}

.label {
    font-size: .9rem;
    font-weight: 600
}

.input {
    appearance: none;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .9rem 1rem;
    font: inherit;
    background: #fff
}

.input:focus {
    outline: none;
    box-shadow: var(--ring);
    border-color: #d1d5db
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .92rem;
    color: var(--muted)
}

.checkbox-row input {
    margin-top: .25rem
}

.note {
    font-size: .75rem;
    color: #9ca3af
}

/* ===== Tablet ≥768px ===== */
@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
        line-height: 4.5rem;
    }

    .hero {
        padding-block: 80px
    }

    section {
        padding-block: 80px
    }

    .section--tight {
        padding-top: 0;
        padding-bottom: 56px;
    }

    .hero__wrap {
        grid-template-columns:1.1fr .9fr;
        gap: 48px
    }

    .mosaic {
        grid-auto-rows: 92px
    }

    .mosaic-img{
        height: 102%;
        aspect-ratio: 3 / 4;
        background-image: image-set(
                url("assets/images/mosaic.png") 1x
        );
    }

    .feature {
        background: #ffffff;
    }

    .features {
        grid-template-columns:repeat(3, 1fr)
    }

    .split {
        grid-template-columns:1fr 1fr;
        gap: 40px
    }

    .hero-split {
        grid-template-columns:1.1fr .9fr
    }

    /* Buttons shrink to content but stay centered */
    .btn {
        width: max-content;
        margin-inline: 0;
    }

    /* Split images back to container width */
    .split__img {
        width: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0
    }

    .cards {
        grid-template-columns:repeat(4, 1fr);
        gap: 24px
    }

    /* Cards: icon left of text */
    .cards .card {
        grid-template-rows: 90px auto auto auto;
        padding: 20px;
        gap: 4px
    }

    .cards .icon {
        margin: 0;
        justify-self: auto
    }

    .card h3 {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .card p {
        font-size: 1rem;
        font-weight: 400;
    }

    .split--img-right .split__img {
        order: 2;
    }

    .split--img-right > *:not(.split__img) {
        order: 1;
    }
}

/* ===== Desktop ≥1024px ===== */
@media (min-width: 1024px) {

    .band .btn {
        margin-inline: auto;
    }

    .mosaic {
        grid-auto-rows: 110px
    }

    section {
        padding-block: 96px
    }

}
