:root {
    --home-ink: #14201a;
    --home-muted: #5d6b63;
    --home-paper: #eef3ef;
    --home-forest: #1c3328;
    --home-forest-deep: #102019;
    --home-copper: #0099FF;
    --home-copper-dark: #007acc;
    --home-cream: #f7faf7;
    --home-line: rgba(28, 51, 40, 0.12);
    --font-display: "Outfit", "Avenir Next", sans-serif;
    --font-body: "DM Sans", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

.home-body {
    margin: 0;
    min-height: 100%;
    color: var(--home-ink);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 153, 255, 0.16), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(28, 51, 40, 0.18), transparent 24%),
        linear-gradient(180deg, #f4f7f4 0%, var(--home-paper) 42%, #e7eee9 100%);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 40;
    background: #fff;
    color: var(--home-ink);
    padding: 8px 12px;
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.home-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 4vw, 48px);
    backdrop-filter: blur(10px);
    background: rgba(238, 243, 239, 0.86);
    border-bottom: 1px solid var(--home-line);
}

.home-brand img {
    display: block;
    width: min(168px, 42vw);
    height: auto;
}

.home-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-link {
    color: var(--home-forest);
    font-weight: 700;
    text-decoration: none;
    padding: 10px 12px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover {
    transform: translateY(-1px);
}

.home-btn-primary {
    background: var(--home-copper);
    color: #fff;
}

.home-btn-primary:hover {
    background: var(--home-copper-dark);
}

.home-btn-ghost {
    background: transparent;
    color: var(--home-forest);
    border-color: rgba(28, 51, 40, 0.22);
}

.home-hero {
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(28px, 6vh, 64px) clamp(18px, 4vw, 48px) clamp(40px, 8vh, 72px);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(16, 32, 25, 0.92) 0%, rgba(28, 51, 40, 0.78) 46%, rgba(0, 153, 255, 0.55) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='rgba(255,255,255,0.04)' d='M0 80h160M80 0v160'/%3E%3C/svg%3E");
    background-size: cover, 48px 48px;
    z-index: 0;
}

.home-hero-copy,
.home-hero-visual {
    position: relative;
    z-index: 1;
}

.home-brand-mark {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #f4ebe0;
    animation: homeRise 0.8s ease both;
}

.home-hero h1 {
    margin: 0;
    max-width: 11ch;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff8f0;
    font-weight: 700;
    animation: homeRise 0.9s ease 0.08s both;
}

.home-lede {
    margin: 16px 0 0;
    max-width: 34ch;
    color: rgba(255, 248, 240, 0.82);
    font-size: 1.05rem;
    line-height: 1.55;
    animation: homeRise 1s ease 0.16s both;
}

.home-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    animation: homeRise 1.05s ease 0.24s both;
}

.home-hero .home-btn-ghost {
    color: #fff8f0;
    border-color: rgba(255, 248, 240, 0.35);
}

.home-hero-visual {
    min-height: 340px;
    display: grid;
    place-items: center;
    animation: homeFloat 5.5s ease-in-out infinite;
}

.home-hero-glow {
    position: absolute;
    width: min(520px, 90%);
    height: min(420px, 80%);
    border-radius: 40% 60% 55% 45%;
    background: radial-gradient(circle, rgba(255, 214, 176, 0.28), transparent 68%);
    filter: blur(8px);
}

.home-bill-sheet {
    position: relative;
    width: min(360px, 92%);
    background: linear-gradient(180deg, #fffdf8 0%, #f4ebe0 100%);
    color: var(--home-ink);
    border-radius: 18px 18px 10px 10px;
    padding: 22px 22px 18px;
    box-shadow: 0 28px 60px rgba(8, 16, 12, 0.35);
    transform: rotate(-2.5deg);
}

.home-bill-sheet header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 8px;
}

.home-bill-sheet header span {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-copper);
    font-weight: 700;
}

.home-bill-shop {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.home-bill-sheet ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(20, 32, 26, 0.12);
}

.home-bill-sheet li,
.home-bill-sheet footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(20, 32, 26, 0.08);
}

.home-bill-sheet em {
    font-style: normal;
    font-weight: 700;
}

.home-bill-sheet footer {
    border-bottom: 0;
    margin-top: 4px;
    font-size: 1.05rem;
}

.home-section {
    padding: clamp(56px, 10vh, 96px) clamp(18px, 4vw, 48px);
}

.home-section-alt {
    background: rgba(255, 255, 255, 0.45);
    border-block: 1px solid var(--home-line);
}

.home-section-head {
    max-width: 640px;
    margin-bottom: 34px;
}

.home-section-head h2,
.home-final h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.home-section-head p,
.home-final > p {
    margin: 12px 0 0;
    color: var(--home-muted);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 52ch;
}

.home-feature-list,
.home-roles,
.home-plans {
    display: grid;
    gap: 22px 28px;
}

.home-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-feature-list h3,
.home-steps h3,
.home-roles h3,
.home-plans h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.home-feature-list p,
.home-steps p,
.home-roles p,
.home-plans > article > p:last-child {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.55;
}

.home-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.home-steps li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 8px 0;
    border-top: 1px solid var(--home-line);
}

.home-steps li:last-child {
    border-bottom: 1px solid var(--home-line);
    padding-bottom: 18px;
}

.home-steps span {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--home-copper);
    letter-spacing: -0.04em;
}

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

.home-plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-roles article,
.home-plans article {
    padding: 8px 0;
    border-top: 2px solid var(--home-forest);
}

.home-price {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.home-price span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--home-muted);
    margin-left: 4px;
}

.home-final {
    padding: clamp(64px, 12vh, 110px) clamp(18px, 4vw, 48px);
    text-align: left;
    background:
        linear-gradient(135deg, var(--home-forest-deep), var(--home-forest) 55%, #2f4a3b);
    color: #fff8f0;
}

.home-final .home-brand-mark {
    color: #f0c2a6;
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.home-final h2 {
    color: #fff8f0;
    max-width: 14ch;
}

.home-final > p {
    color: rgba(255, 248, 240, 0.78);
}

.home-final .home-btn-ghost {
    color: #fff8f0;
    border-color: rgba(255, 248, 240, 0.35);
}

.home-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(18px, 4vw, 48px) 36px;
    border-top: 1px solid var(--home-line);
    color: var(--home-muted);
}

.home-footer strong {
    display: block;
    color: var(--home-ink);
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.home-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.home-footer-links a {
    color: var(--home-forest);
    font-weight: 650;
    text-decoration: none;
}

@keyframes homeRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 960px) {
    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 36px;
    }

    .home-hero-copy {
        order: 1;
    }

    .home-hero-visual {
        order: 2;
        min-height: 300px;
        margin-top: 8px;
    }

    .home-brand-mark {
        color: #f4ebe0;
    }

    .home-feature-list,
    .home-roles,
    .home-plans {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-nav {
        padding-inline: 16px;
    }

    .home-nav-actions .home-link {
        display: none;
    }

    .home-steps li {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .home-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .home-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-brand-mark,
    .home-hero h1,
    .home-lede,
    .home-cta-row,
    .home-hero-visual {
        animation: none;
    }
}

.home-appt-sheet footer strong { color: #0099FF; }
.home-brand-mark { color: #0099FF; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; }
