:root {
  --navy-900: #0d2358;
  --navy-800: #12306f;
  --navy-700: #1a448c;
  --gold-500: #f0b323;
  --gold-600: #d89a13;
  --berry-700: #9b1c57;
  --berry-800: #7f1748;
  --surface: #f5f7fb;
  --card: rgba(255, 255, 255, 0.95);
  --text-900: #172033;
  --text-700: #475168;
  --border: rgba(13, 35, 88, 0.12);
  --shadow: 0 20px 45px rgba(13, 35, 88, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-900);
  font-family: "Source Sans 3", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(240, 179, 35, 0.18), transparent 20%),
    linear-gradient(180deg, #eef2f8 0%, #ffffff 32%, #eef3fb 100%);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: relative;
  padding: 0.85rem 0 0.5rem;
}

.header-accent {
  height: 14px;
  background: linear-gradient(90deg, #7a0019, #b30f1b, #7a0019);
}

.header-strip {
  height: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 35, 88, 0.08);
}

.header-banner-frame {
  width: 100%;
  margin: 0.45rem 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 10px 24px rgba(13, 35, 88, 0.1);
}

.header-banner {
  width: 100%;
  height: auto;
  max-height: 188px;
  object-fit: contain;
  object-position: center;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.2rem;
}

.hero-copy,
.hero-panel,
.months-section,
.agenda-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1.35rem 1.4rem;
  background:
    linear-gradient(135deg, rgba(13, 35, 88, 0.97), rgba(19, 48, 111, 0.93)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  color: #fff;
}

.hero-copy h1 br {
  display: block;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  max-width: none;
  line-height: 1.04;
}

.hero-text {
  max-width: 52ch;
  margin: 0.8rem 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold-500);
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.metric {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #f5f8ff);
  border: 1px solid rgba(13, 35, 88, 0.08);
}

.metric-label {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--text-700);
  font-size: 0.88rem;
}

.metric strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  line-height: 1.3;
}

.months-section,
.agenda-section {
  margin-top: 1rem;
  padding: 1.2rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.month-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.month-tab {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 252, 0.95));
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.month-tab:hover,
.month-tab:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(155, 28, 87, 0.22);
  box-shadow: 0 16px 30px rgba(13, 35, 88, 0.12);
  outline: none;
}

.month-tab[aria-selected="true"] {
  background:
    linear-gradient(135deg, rgba(13, 35, 88, 0.98), rgba(26, 68, 140, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: #fff;
}

.month-tab[aria-selected="true"] .month-pill {
  background: rgba(240, 179, 35, 0.18);
  color: #fff;
}

.month-name {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
}

.month-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.month-pill {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 35, 88, 0.07);
  color: var(--navy-800);
  font-size: 0.86rem;
  font-weight: 700;
}

.month-counter {
  font-size: 0.92rem;
  color: inherit;
  opacity: 0.82;
}

.agenda-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-text {
  margin: 0;
  color: var(--text-700);
  font-size: 1rem;
}

.ghost-button {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(13, 35, 88, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.ghost-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.day-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 35, 88, 0.09);
  background: linear-gradient(180deg, #fff, #f8faff);
}

.day-card.today {
  border-color: rgba(240, 179, 35, 0.55);
  box-shadow: inset 0 0 0 1px rgba(240, 179, 35, 0.4);
}

.day-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(155, 28, 87, 0.96), rgba(127, 23, 72, 0.96));
  color: #fff;
  text-align: center;
}

.day-number {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.day-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.day-month {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.day-content h3 {
  margin: 0 0 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
}

.content-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 179, 35, 0.14);
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agenda-pair-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-pair-item {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 1.15rem;
  border: 1px solid rgba(13, 35, 88, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.96));
}

.agenda-pair-item::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 0.58rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-500);
}

.agenda-activity,
.agenda-responsible {
  margin: 0;
  color: var(--text-900);
  line-height: 1.45;
}

.agenda-activity {
  padding-left: 0.55rem;
  font-weight: 600;
}

.agenda-responsible {
  margin-top: 0.45rem;
  padding-left: 0.55rem;
  color: var(--text-700);
  font-size: 0.95rem;
}

.agenda-responsible strong {
  color: var(--navy-900);
}

.empty-state {
  padding: 2rem 1.25rem;
  border: 1px dashed rgba(13, 35, 88, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 254, 0.9));
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 0.6rem;
  font-family: "Montserrat", sans-serif;
}

.empty-state p,
.site-footer p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.5;
}

.site-footer {
  padding: 0 1rem 2rem;
}

.site-footer p {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(13, 35, 88, 0.06);
}

@media (max-width: 920px) {
  .hero,
  .agenda-grid {
    grid-template-columns: 1fr;
  }

  .month-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 0.65rem;
  }

  main {
    width: calc(100% - 1rem);
  }

  .header-accent {
    height: 10px;
  }

  .header-strip {
    height: 10px;
  }

  .header-banner-frame {
    margin-top: 0.4rem;
    box-shadow: 0 8px 18px rgba(13, 35, 88, 0.08);
  }

  .header-banner {
    max-height: 126px;
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-copy,
  .hero-panel,
  .months-section,
  .agenda-section {
    border-radius: 22px;
  }

  .hero-copy,
  .hero-panel,
  .months-section,
  .agenda-section {
    padding: 1rem;
  }

  .month-tabs {
    grid-template-columns: 1fr;
  }

  .agenda-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .day-card {
    grid-template-columns: 1fr;
  }

  .day-badge {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
