:root {
    --bg: #f6efe5;
    --bg-soft: rgba(255, 248, 240, 0.72);
    --card: rgba(255, 251, 247, 0.72);
    --card-strong: #fffaf4;
    --text: #20140f;
    --muted: #6d5a51;
    --accent: #d9643a;
    --accent-dark: #a84522;
    --line: rgba(73, 40, 28, 0.12);
    --shadow: 0 30px 80px rgba(73, 40, 28, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 182, 119, 0.45), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(219, 100, 58, 0.22), transparent 22%),
        linear-gradient(135deg, #f8f1e6 0%, #f5e7da 54%, #f2dccd 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 20px auto 40px;
}

.hero,
.trust-band,
.steps,
.cases,
.cta {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--bg-soft);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero {
    padding: 24px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 42px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #20140f, #603223);
    color: #fff7f1;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand p,
.brand span,
.top-link,
.hero-text,
.hero-stats span,
.pet-card p,
.mini-feed p,
.mini-feed span,
.section-heading span,
.step-card p,
.case-card p,
.case-tag {
    margin: 0;
}

.brand p {
    font-weight: 800;
}

.brand span,
.top-link,
.hero-text,
.hero-stats span,
.pet-card p,
.mini-feed p,
.mini-feed span,
.trust-band p,
.step-card p,
.case-card p {
    color: var(--muted);
}

.top-link {
    text-decoration: none;
    font-weight: 700;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.hero-card,
.step-card,
.case-card,
.cta {
    background: var(--card);
}

.hero-copy,
.hero-card,
.step-card,
.case-card {
    border: 1px solid rgba(73, 40, 28, 0.09);
    border-radius: 26px;
}

.hero-copy {
    padding: 28px;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(217, 100, 58, 0.12);
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
}

h1,
.section-heading h2,
.cta h2 {
    font-family: "Prata", Georgia, serif;
    line-height: 1.05;
}

h1 {
    max-width: 12ch;
    margin: 18px 0 16px;
    font-size: clamp(3rem, 5vw, 5.4rem);
}

.hero-text {
    max-width: 56ch;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

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

.button-primary {
    color: #fff8f3;
    background: linear-gradient(135deg, var(--accent), #ef8c59);
    box-shadow: 0 20px 35px rgba(217, 100, 58, 0.28);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(73, 40, 28, 0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-stats li,
.mini-feed article,
.trust-band,
.cta {
    border: 1px solid rgba(73, 40, 28, 0.08);
}

.hero-stats li {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.52);
}

.hero-stats strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.45rem;
}

.hero-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4fa66b;
    box-shadow: 0 0 0 8px rgba(79, 166, 107, 0.14);
}

.featured-pet {
    display: grid;
    gap: 22px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 248, 243, 0.95), rgba(251, 236, 223, 0.92));
}

.pet-type,
.step-number,
.case-tag {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(32, 20, 15, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-pet h2 {
    margin: 12px 0 10px;
    font-size: 2rem;
}

.signal-map {
    position: relative;
    min-height: 180px;
    border-radius: 20px;
    background:
        linear-gradient(rgba(214, 176, 151, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 176, 151, 0.28) 1px, transparent 1px),
        linear-gradient(135deg, #f5ddcd, #f7eee6);
    background-size: 36px 36px, 36px 36px, cover;
}

.signal {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 12px rgba(217, 100, 58, 0.16);
    animation: pulse 2.2s infinite;
}

.signal-one {
    top: 25%;
    left: 24%;
}

.signal-two {
    top: 52%;
    left: 60%;
    animation-delay: 0.35s;
}

.signal-three {
    top: 68%;
    left: 36%;
    animation-delay: 0.7s;
}

.mini-feed {
    display: grid;
    gap: 12px;
}

.mini-feed article {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.52);
}

.mini-feed span {
    font-weight: 800;
}

.trust-band,
.steps,
.cases,
.cta {
    margin-top: 24px;
}

.trust-band,
.steps,
.cases {
    padding: 26px;
}

.trust-band p {
    margin: 0;
    max-width: 70ch;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-heading {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.section-heading h2,
.cta h2 {
    max-width: 16ch;
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.steps-grid,
.cases-grid {
    display: grid;
    gap: 18px;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.case-card {
    padding: 24px;
}

.step-card h3,
.case-card h3 {
    margin: 18px 0 12px;
    font-size: 1.4rem;
}

.step-card p,
.case-card p {
    line-height: 1.7;
}

.accent-card {
    background: linear-gradient(160deg, #20140f, #4d281c);
}

.accent-card h3,
.accent-card p,
.accent-card .case-tag {
    color: #fff5ee;
}

.accent-card .case-tag {
    background: rgba(255, 255, 255, 0.14);
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.12s;
}

.reveal-delay-2 {
    transition-delay: 0.24s;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.18);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .steps-grid,
    .cases-grid,
    .cta {
        grid-template-columns: 1fr;
    }

    .cta {
        display: grid;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 20px, 100%);
        margin: 10px auto 28px;
    }

    .hero,
    .trust-band,
    .steps,
    .cases,
    .cta {
        border-radius: 22px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .hero-copy,
    .hero-card,
    .step-card,
    .case-card,
    .cta,
    .featured-pet {
        padding: 20px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    h1 {
        max-width: 100%;
        font-size: 2.8rem;
    }

    .section-heading h2,
    .cta h2 {
        max-width: 100%;
    }

    .mini-feed article {
        grid-template-columns: 1fr;
    }
}
