:root {
    --text: #051416;
    --text-secondary: #4a5568;
    --text-tertiary: #6b7280;
    --bg: #FFFFFF;
    --surface: #faf9f7;
    --border: #e5e2dc;
    --border-light: #f0eee9;
    --orange-start: #f6b391;
    --orange-end: #f8ce6e;
    --button-a: #ff7f00;
    --button-b: #f05238;
    --link: #384FEA;
    --radius-card: 22px;
    --radius-button: 43px;
    --radius-badge: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.page { max-width: 680px; margin: 0 auto; padding: 0 2rem; }

header { padding: 6rem 0 0; }

.orange-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--button-a), var(--button-b));
    margin-bottom: 2rem;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

header p {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.how-it-works {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-tertiary);
}

hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 3rem 0;
}

.section-heading {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.editions-heading { margin-top: 3rem; }

.featured {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.featured-month {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.featured-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.featured-detail a { color: var(--link); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.featured-detail a:hover { text-decoration-color: var(--link); }

.badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: var(--radius-badge);
    vertical-align: middle;
}

.badge-upcoming { background: linear-gradient(135deg, var(--orange-start), var(--orange-end)); color: #4a2800; }
.badge-open { background: #d1f5d9; color: #15572a; }
.badge-published { background: #eee; color: #666; }

.featured-announcement {
    margin-top: 0.75rem;
    width: 100%;
}

.announcement-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to bottom right, var(--button-a), var(--button-b));
    padding: 15px 48px;
    border-radius: var(--radius-button);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
}

.announcement-link:hover {
    box-shadow: 0 4px 20px rgba(240, 82, 56, 0.25);
    transform: translateY(-1px);
}

.ed-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.ed-item:first-child { border-top: 1px solid var(--border); }

.ed-month {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: 0.82rem;
    min-width: 7rem;
    color: var(--text);
}

.ed-info {
    flex: 1;
    color: var(--text-secondary);
}

.ed-info a { color: var(--link); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.ed-info a:hover { text-decoration-color: var(--link); }

.ed-topic { color: var(--text-tertiary); font-size: 0.85rem; }
.ed-topic::before { content: " — "; }

.ed-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.roundup-link,
.submit-link {
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
}

.roundup-link { color: var(--text-tertiary); }
.roundup-link:hover { color: var(--text); text-decoration: underline; }

.submit-link { color: var(--button-b); }
.submit-link:hover { text-decoration: underline; }

.volunteer {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.volunteer h2 {
    font-size: 1rem;
    font-weight: 600;
}

.volunteer p {
    color: var(--text-tertiary);
    font-size: 0.88rem;
    margin-top: 0.15rem;
}

.btn-outline {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    padding: 15px 48px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-button);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
}

.btn-outline:hover { border-color: var(--text); }

footer {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

footer a { color: var(--text-tertiary); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
    .page { padding: 0 1.25rem; }
    header { padding: 3.5rem 0 0; }
    .featured { flex-direction: column; gap: 0.5rem; }
    .featured-announcement { margin-top: 0.5rem; }
    .volunteer { flex-direction: column; align-items: flex-start; }
    .ed-topic { font-size: 0.78rem; }
    .ed-end { gap: 0.5rem; }
}
