:root {
    --bg-top: #e7efe7;
    --bg-bottom: #f5f7f2;
    --panel: #fefdf8;
    --ink: #1f2520;
    --muted: #627067;
    --line: #cad8cc;
    --accent: #2a7a53;
    --accent-soft: #d8eede;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(72rem 42rem at 100% -8%, #dce9dc 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

.layout {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.notice {
    width: min(100%, 34rem);
    padding: 30px 24px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: 0 16px 40px rgba(30, 60, 42, 0.08);
    animation: rise 420ms ease both;
}

.tag {
    margin: 0;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 14px 0 0;
    font-size: clamp(2rem, 5.8vw, 2.85rem);
    line-height: 1.04;
}

.subtitle {
    margin: 10px 0 0;
    max-width: 31ch;
    color: var(--muted);
    line-height: 1.5;
}

.divider {
    margin-top: 18px;
    height: 1px;
    background: linear-gradient(90deg, var(--line) 0%, transparent 100%);
}

.reveal {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.reveal summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 14px 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.reveal summary::-webkit-details-marker {
    display: none;
}

.reveal summary::after {
    content: "check";
    display: inline-grid;
    place-items: center;
    min-width: 52px;
    height: 28px;
    border-radius: 999px;
    background: var(--accent);
    color: #f4fff8;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.reveal-body {
    padding: 0 16px 16px;
}

.code-label {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.promo-code {
    margin: 8px 0 0;
    display: inline-block;
    padding: 10px 12px;
    border: 1px dashed #89a892;
    border-radius: 8px;
    background: #f4fbf5;
    color: #174c31;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hint {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.meta {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

@media (max-width: 520px) {
    .layout {
        padding: 18px;
    }

    .notice {
        padding: 24px 18px 18px;
        border-radius: 14px;
    }

    .reveal summary {
        padding-inline: 12px;
    }

    .reveal-body {
        padding: 0 12px 12px;
    }
}
