:root {
    --bg: #d5efe8;
    --text: #1a2730;
    --muted: #61717a;
    --stroke: rgba(160, 200, 190, 0.56);
}

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

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

body {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 34%),
        var(--bg);
    color: var(--text);
}

.appeal-page {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.appeal-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(26px);
    pointer-events: none;
}

.appeal-glow-a {
    width: 220px;
    height: 220px;
    top: 6%;
    left: -60px;
    background: rgba(255, 255, 255, 0.35);
}

.appeal-glow-b {
    width: 240px;
    height: 240px;
    right: -72px;
    bottom: 8%;
    background: rgba(255, 111, 90, 0.18);
}

.appeal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 24px 40px rgba(24, 39, 48, 0.08);
    backdrop-filter: blur(10px);
}

.appeal-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(26, 39, 48, 0.58);
}

.appeal-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.05;
    font-weight: 800;
}

.appeal-copy {
    color: var(--muted);
    line-height: 1.5;
}

.appeal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.appeal-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.52rem 0.78rem;
    border-radius: 999px;
    background: rgba(26, 39, 48, 0.06);
    color: #31414b;
    font-size: 0.82rem;
    font-weight: 700;
}

.appeal-label {
    display: grid;
    gap: 0.42rem;
}

.appeal-label span {
    font-size: 0.88rem;
    font-weight: 700;
}

.appeal-label input,
.appeal-label textarea {
    width: 100%;
    border: 1px solid var(--stroke);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.92rem 1rem;
    font: inherit;
    color: var(--text);
    outline: none;
}

.appeal-label textarea {
    resize: vertical;
    min-height: 160px;
}

.appeal-label input:focus,
.appeal-label textarea:focus {
    border-color: rgba(255, 111, 90, 0.46);
    box-shadow: 0 0 0 4px rgba(255, 111, 90, 0.12);
}

.appeal-error {
    min-height: 1rem;
    color: #b53030;
    font-size: 0.84rem;
    font-weight: 700;
}

.appeal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.appeal-primary,
.appeal-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 0.88rem 1rem;
    border-radius: 18px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
}

.appeal-primary {
    border: 0;
    background: linear-gradient(135deg, #ff735f, #ef5f4b);
    color: #fff;
    cursor: pointer;
}

.appeal-secondary {
    background: rgba(26, 39, 48, 0.06);
    border: 1px solid rgba(26, 39, 48, 0.1);
    color: #31414b;
}

@media (max-width: 640px) {
    .appeal-card {
        padding: 1rem;
        border-radius: 24px;
    }

    .appeal-actions > * {
        width: 100%;
    }
}

/* ── Touch optimizations ── */
.appeal-primary,
.appeal-secondary,
.appeal-back { touch-action: manipulation; }
