:root {
  color-scheme: light;
  --ink: #202321;
  --muted: #626a65;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f7f3;
  --line: #e1e8e2;
  --green: #438052;
  --green-dark: #2f6841;
  --pink: #C02F5B;
  --pink-dark: #9f2348;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #181a19;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .035em;
}

.event-label, .eyebrow {
  color: var(--pink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.intro { padding: 72px 0 38px; max-width: 690px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; }
.eyebrow-line { width: 24px; height: 3px; background: var(--pink); }

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6.5vw, 66px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.045em;
}

h1 em { color: var(--green); font-style: normal; }
.lead { max-width: 510px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.date-separator { padding: 0 5px; color: var(--pink); font-weight: 700; }

.program-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 8px 28px rgba(34, 65, 44, .06);
}

.card-heading {
  min-height: 112px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.file-icon { width: 47px; height: 47px; display: grid; place-items: center; flex: none; background: #fbf1f4; color: var(--pink); border-radius: 4px; }
.file-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.file-icon .pdf-mark { stroke: var(--pink); stroke-width: 2.5; }
.file-meta .eyebrow { margin: 0 0 5px; font-size: 9px; }

h2 { margin: 0 0 4px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.file-name { margin: 0; color: #737b75; font-size: 12px; }
.file-name span { color: #9da59f; }

.download-button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  background: var(--pink);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease;
}

.download-button:hover { background: var(--pink-dark); }
.download-button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.download-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.viewer { height: min(65vh, 720px); min-height: 380px; display: grid; place-items: center; background: #f6f8f6; }
.pdf-frame { width: 100%; height: 100%; border: 0; background: #fff; }
.empty-state { max-width: 420px; padding: 35px; text-align: center; }
.empty-icon { width: 70px; height: 70px; display: inline-grid; place-items: center; border: 1px solid #f0d3dd; border-radius: 50%; background: #fff; color: var(--pink); }
.empty-icon svg { width: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h3 { margin: 20px 0 9px; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.empty-state p { max-width: 330px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.7; }
.file-hint { display: block; margin-top: 17px; color: #777f79; font-size: 11px; }

.card-footer { height: 47px; display: flex; align-items: center; gap: 9px; padding: 0 19px; border-top: 1px solid var(--line); color: #68716a; font-size: 10px; letter-spacing: .03em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.status-dot.is-ready { background: var(--green); }
.footer-spacer { flex: 1; }
.card-footer > span:last-child { color: var(--pink); font-weight: 700; letter-spacing: .12em; }
.site-footer { display: flex; justify-content: space-between; padding: 27px 0 35px; color: #68716a; font-size: 10px; letter-spacing: .04em; }

@media (max-width: 600px) {
  .page-shell { width: calc(100% - 32px); }
  .topbar { height: 68px; }
  .event-label { font-size: 8px; letter-spacing: .1em; }
  .intro { padding: 52px 0 29px; }
  h1 { font-size: 46px; }
  .lead { font-size: 14px; }
  .card-heading { padding: 18px 16px; gap: 12px; flex-wrap: wrap; }
  .file-icon { width: 41px; height: 41px; }
  .file-meta { flex: 1; min-width: 150px; }
  h2 { font-size: 19px; }
  .download-button { width: 100%; justify-content: center; margin: 3px 0 0; padding: 11px; }
  .viewer { height: 62vh; min-height: 340px; }
  .empty-state { padding: 24px; }
  .site-footer { font-size: 9px; }
}
