:root {
    --brand-blue: #26387f;
    --brand-red: #d9112e;
    --brand-yellow: #ffe600;
    --ink: #000000;
    --ink-soft: #333333;
    --panel-border: rgba(175, 89, 52, 0.18);
    --shadow: rgba(106, 57, 28, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    overflow: hidden;
    font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 14% 16%, rgba(0, 175, 170, 0.34) 0%, rgba(0, 175, 170, 0) 24%),
        radial-gradient(circle at 85% 18%, rgba(0, 175, 170, 0.22) 0%, rgba(0, 175, 170, 0) 22%),
        radial-gradient(circle at 82% 80%, rgba(0, 175, 170, 0.2) 0%, rgba(0, 175, 170, 0) 24%),
        linear-gradient(180deg, #fffef8 0%, #fff6d8 46%, #ffe9e5 100%);
}

.maintenance {
    position: relative;
    min-height: 100dvh;
    padding: clamp(14px, 2vw, 28px);
    display: grid;
    place-items: center;
    isolation: isolate;
}

.bg-sugar,
.bg-stripes,
.bg-sprinkles {
    position: absolute;
    pointer-events: none;
}

.bg-sugar {
    border-radius: 50%;
    filter: blur(4px);
    z-index: -3;
    will-change: transform;
}

.bg-sugar-a {
    width: min(38vw, 480px);
    aspect-ratio: 1;
    left: -8%;
    top: -10%;
    background: radial-gradient(circle, rgba(0, 175, 170, 0.42) 0%, rgba(0, 175, 170, 0) 70%);
}

.bg-sugar-b {
    width: min(42vw, 560px);
    aspect-ratio: 1;
    right: -10%;
    bottom: -14%;
    background: radial-gradient(circle, rgba(0, 175, 170, 0.42) 0%, rgba(0, 175, 170, 0) 70%);
}

.bg-stripes {
    inset: 0;
    z-index: -4;
    opacity: 0.4;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0 12px, rgba(255, 238, 227, 0.2) 12px 24px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 54%, transparent 92%);
}

.bg-sprinkles {
    inset: 0;
    z-index: -2;
}

.sprinkle {
    position: absolute;
    width: 16px;
    height: 5px;
    border-radius: 999px;
    opacity: 0.7;
    transform: rotate(var(--r, 0deg));
}

.panel {
    width: min(980px, 100%);
    min-height: min(88dvh, 780px);
    border-radius: 32px;
    border: 1px solid var(--panel-border);
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.92), rgba(255, 243, 233, 0.88));
    box-shadow: 0 30px 70px var(--shadow);
    padding: clamp(24px, 4vw, 48px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.copy {
    width: min(100%, 720px);
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.eyebrow {
    width: fit-content;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 143, 177, 0.18);
    border: 1px solid rgba(255, 91, 110, 0.18);
    color: #af3756;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

h1 {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 0.9;
    font-weight: 800;
    max-width: 18ch;
    width: 100%;
    text-wrap: balance;
    overflow-wrap: normal;
    hyphens: manual;
}

.title-mobile {
    display: none;

}

.lead {
    max-width: 42ch;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.55;
    text-wrap: balance;
}

.sign-note {
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    color: #c5545d;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #808080;
    border: none;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 28px;
    height: 28px;
}

.social-icon i {
    font-size: 1.5rem;
}

.social-icon:hover {
    background: #6b6b6b;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.actions {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.microcopy {
    color: #9e6852;
    font-size: 0.94rem;
    max-width: 34ch;
    line-height: 1.5;
}



@media (max-width: 940px) {
    body {
        overflow-y: auto;
    }

    .maintenance {
        min-height: 100dvh;
        padding: 24px 18px;
    }

    .panel {
        min-height: auto;
        width: min(100%, 760px);
        padding: 32px 24px;
    }

    h1,
    .lead {
        max-width: 100%;
    }

    .copy {
        gap: 16px;
    }

    .feature-row {
        max-width: 100%;
    }
}

@media (max-width: 620px) {
    body {
        overflow-y: auto;
    }

    .maintenance {
        min-height: 100dvh;
        padding: 14px;
    }

    .panel {
        min-height: auto;
        width: 100%;
        max-width: 360px;
        padding: 24px 16px;
        border-radius: 24px;
    }

    .copy {
        width: 100%;
        gap: 16px;
    }

    .eyebrow {
        font-size: 0.76rem;
        padding: 0.4rem 0.78rem;
    }

    h1 {
        font-size: clamp(2.15rem, 11vw, 3.2rem);
        max-width: 7ch;
        hyphens: manual;
    }

    .title-desktop {
        display: none;
    }

    .title-mobile {
        display: inline;
    }

    .lead {
        font-size: 0.98rem;
        line-height: 1.5;
        max-width: 26ch;
    }

    .sign-note {
        font-size: 1.35rem;
    }

    .feature-row {
        width: 100%;
        gap: 8px;
    }

    .feature-pill {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
    }

    .microcopy {
        font-size: 0.9rem;
        max-width: 26ch;
    }
}

@media (max-width: 380px) {
    .maintenance {
        padding: 10px;
    }

    .panel {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .copy {
        gap: 14px;
    }

    h1 {
        font-size: clamp(1.95rem, 12vw, 2.7rem);
        max-width: 7ch;
        hyphens: manual;
    }

    .lead {
        font-size: 0.94rem;
        max-width: 24ch;
    }

    .sign-note {
        font-size: 1.2rem;
    }

    .feature-pill {
        font-size: 0.88rem;
        padding: 0.74rem 0.9rem;
    }

    .microcopy {
        max-width: 24ch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-sugar,
    .sprinkle {
        animation: none !important;
    }
}
