:root {
    --bg: #ffffff;
    --fg: #0f172a;
    /* slate-900 */
    --muted: #475569;
    /* slate-600 */
    --line: #e2e8f0;
    /* slate-200 */
    --card: #f8fafc;
    /* slate-50 */
    --accent: #e31d1d;
    /* rose-600 (Canada red) */
    --accent-weak: #fee2e2;
    /* light red */
    --max: 1300px;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 30px rgba(15, 23, 42, .06);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.55;
}

.container {
    max-width: var(--max);
    margin-inline: auto;
    padding: clamp(16px, 2.5vw, 28px);
}

a {
    color: var(--fg);
    text-decoration: none
}

a.btn {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: .7rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .2px;
}

.btn-primary {
    background: var(--accent);
    border: none;
    color: #fff;
    box-shadow: 0 10px 20px rgba(225, 29, 72, .18)
}

.btn-primary-mobile {
    padding: .4rem 1.2rem;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .8rem;
    color: var(--muted);
    background: #fff;
}

header.nav {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(180%) blur(8px);
    background: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(226, 232, 240, .7);
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand .leaf {
    width: 22px;
    height: 22px;
    color: var(--accent)
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
    transition: color .2s ease-in-out;
}

.nav-links a:hover {
    color: var(--fg);
}

.nav-links-mobile {
    display: none;
}

.hero {
    padding: 56px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: center
}

.hero-img-wrap {
    position: relative
}

.hero-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line)
}

.img-note {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .8rem
}

.hero .pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: #fff;
    font-size: .85rem
}

.hero h1 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.1;
    margin: 16px 0 12px;
}

.hero p {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 56ch;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.2rem
}

.ribbon {
    /* background: linear-gradient(90deg, #fff 0, #fff6f6 20%, #fff 100%); */
    background-color: var(--accent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px;
}

.badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 16px 0
}

.badge {
    display: flex;
    gap: .7rem;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff
}

.badge svg {
    width: 18px;
    height: 18px;
    color: var(--accent)
}

.section {
    padding: 56px 0
}

.section h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin: 0 0 10px
}

.section p.lead {
    color: var(--muted);
    max-width: 60ch;
}

.grid {
    display: grid;
    gap: 16px
}

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

.grid.cols-4 {
    grid-template-columns: repeat(4, 1fr)
}

.case-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column
}

.case-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover
}

.case-card .case-body {
    padding: 16px
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow)
}

.card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem
}

.card p {
    color: var(--muted);
    margin: 0
}

.process {
    counter-reset: step
}

.step {
    position: relative;
    padding-left: 48px
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -10px;
    top: -10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.stat {
    padding: 20px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    text-align: center
}

.stat .num {
    font-size: 1.8rem;
    font-weight: 800
}

.stat .label {
    color: var(--muted);
    font-size: .95rem
}

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px
}

.price-card.highlight {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(225, 29, 72, .12)
}

.price {
    font-size: 2rem;
    font-weight: 800
}

.small {
    color: var(--muted);
    font-size: .95rem
}

ul.clean {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px
}

ul.clean li {
    display: flex;
    gap: .6rem;
    align-items: flex-start
}

.check {
    color: var(--accent);
    margin-top: .1rem
}

.cta {
    background: linear-gradient(135deg, #fff 10%, #fff5f5 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.faq {
    display: grid;
    gap: 12px
}

details {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff
}

button {
    cursor: pointer;
}

button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.btn {
    transition: transform .2s ease-in-out;
}

.btn:hover:not([disabled]) {
    transform: scale(1.01)
}

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

#terms li {
    margin-bottom: 8px;
}

#terms .indent {
    padding-left: 20px;
}

section {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

section a:not(.btn):hover,
footer a:hover {
    text-decoration: underline;
    color: rgb(0, 128, 255);
}

summary {
    cursor: pointer;
    font-weight: 600
}

details p {
    color: var(--muted);
    margin: .6rem 0 0
}

form {
    display: grid;
    gap: 12px
}

input,
textarea {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font: inherit
}

textarea {
    min-height: 120px;
    resize: vertical
}

footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    color: var(--muted);
    backdrop-filter: saturate(180%) blur(8px);
    background: rgba(255, 255, 255, .78);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .grid.cols-3,
    .grid.cols-4,
    .stats,
    .pricing {
        grid-template-columns: 1fr 1fr
    }

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

@media (max-width: 640px) {
    .nav-links-desktop {
        display: none
    }

    .nav-links-mobile {
        display: flex;
    }

    .badges {
        grid-template-columns: 1fr 1fr
    }

    .grid.cols-3,
    .grid.cols-4,
    .stats,
    .pricing {
        grid-template-columns: 1fr
    }

    .cta {
        padding: 20px
    }

    .hero-cta {
        justify-content: center;
    }

    .center-mobile {
        justify-content: center;
    }
}


.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
    box-sizing: border-box;
}

.lds-spinner {
    color: currentColor;
    display: none;
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 1000;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: currentColor;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}