:root {
  color-scheme: light;
  --forest: #004644;
  --evergreen: #0b655a;
  --leaf: #458873;
  --sage: #7fab8b;
  --mist: #bacea4;
  --sun: #f4f1bd;
  --paper: #f8f7f1;
  --ink: #123330;
  --line: rgba(0, 70, 68, 0.18);
  --shadow: 0 24px 70px rgba(0, 70, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  overflow: hidden;
}

.masthead {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-block;
  text-decoration: none;
}

.brand-logo {
  width: 104px;
  height: auto;
  display: block;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  margin-bottom: 28px;
  color: var(--forest);
  font-size: clamp(4.5rem, 10vw, 8.6rem);
}

.intro {
  max-width: 580px;
  margin-bottom: 34px;
  color: #365b56;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.calendar-choice:focus-visible,
.copy-link-button:focus-visible,
.download-link:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}

.time-panel {
  position: relative;
  min-height: 470px;
  padding: 68px 42px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--forest);
  border-radius: 44% 44% 32px 32px;
  color: white;
  box-shadow: var(--shadow);
}

.time-panel::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(244, 241, 189, 0.32);
  border-radius: 43% 43% 22px 22px;
  pointer-events: none;
}

.time-details {
  position: relative;
  z-index: 1;
  padding-top: 32px;
  text-align: center;
}

.time-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 54px;
  height: 1px;
  background: var(--sun);
  transform: translateX(-50%);
}

.time-details .eyebrow {
  color: var(--mist);
}

.time-details h2 {
  margin-bottom: 40px;
  color: var(--sun);
  font-size: clamp(3.5rem, 6vw, 5.3rem);
  line-height: 0.88;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time-grid span {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--mist);
  font-size: 0.75rem;
  text-align: left;
}

.time-grid strong {
  color: white;
  font-size: 1.1rem;
}

.schedule-section {
  padding: 92px max(20px, calc((100vw - 1180px) / 2));
  background: #e8eee1;
}

.section-heading {
  margin-bottom: 46px;
}

.section-heading h2,
.subscribe-section h2 {
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.subscribe-section h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.03;
}

.event-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.event-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 27px 4px;
  border-bottom: 1px solid var(--line);
}

.event-number {
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.event-date {
  display: flex;
  flex-direction: column;
  color: var(--forest);
  font-weight: 750;
}

.event-day {
  color: var(--leaf);
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-topic h3 {
  margin: 0 0 5px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.event-topic p {
  margin: 0;
  color: #55736f;
  font-size: 0.88rem;
}

.subscribe-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.65fr);
  gap: clamp(52px, 9vw, 120px);
  align-items: center;
}

.subscribe-card {
  padding: 32px;
  background: var(--sun);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.calendar-choice {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--forest);
  border-radius: 18px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.calendar-choice + .calendar-choice {
  margin-top: 10px;
}

.calendar-choice:hover {
  background: var(--evergreen);
  transform: translateY(-2px);
}

.calendar-choice > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  font-size: 1.03rem;
  font-weight: 760;
  line-height: 1.2;
}

.calendar-choice small {
  margin-bottom: 3px;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.calendar-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: white;
  color: #4285f4;
  font-size: 1.2rem;
  font-weight: 850;
}

.apple-icon {
  color: var(--forest);
  font-size: 0.9rem;
}

.download-link,
.copy-link-button {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #365b56;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.84rem;
}

.download-link {
  margin-top: 22px;
}

.copy-link-button {
  margin-top: 10px;
}

.copy-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--evergreen);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

footer {
  min-height: 100px;
  padding: 30px max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--forest);
  color: var(--mist);
  font-size: 0.88rem;
}

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

  .hero {
    padding-top: 54px;
  }

  .time-panel {
    min-height: 440px;
  }

  .event-item {
    grid-template-columns: 48px 120px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .masthead {
    width: min(100% - 28px, 1180px);
    min-height: 108px;
  }

  .brand-logo {
    width: 88px;
  }

  .hero,
  .subscribe-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 44px 0 64px;
  }

  h1 {
    font-size: clamp(4.1rem, 23vw, 6.8rem);
  }

  .time-panel {
    min-height: 470px;
    padding: 30px;
    border-radius: 38% 38% 28px 28px;
  }

  .time-panel::after {
    inset: 14px;
  }

  .time-grid {
    gap: 5px;
  }

  .schedule-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .event-item {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 24px 0;
  }

  .event-date {
    grid-column: 2;
    grid-row: 1;
  }

  .event-topic {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .event-number {
    grid-row: 1 / 3;
  }

  .subscribe-section {
    padding: 72px 0;
  }

  .subscribe-card {
    padding: 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
