:root {
  color-scheme: light;
  --ink: #172b24;
  --muted: #4c6256;
  --paper: #f4f6ee;
  --line: #dce4d9;
  --green: #15392d;
  --lime: #cff865;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #247954;
  outline-offset: 4px;
}
a:hover { text-decoration-thickness: .12em; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

.frame { width: min(100% - 48px, 1120px); margin-inline: auto; }
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2;
  transform: translateY(-200%);
  background: #fff;
  padding: 12px 18px;
}
.skip:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header { background: #f9fbf5; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.35rem; font-weight: 820; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.header-inner nav { display: flex; gap: clamp(12px, 4vw, 36px); font-weight: 650; }
.header-inner nav a, .site-footer a { text-decoration: none; }
.header-inner nav a:hover, .site-footer a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 324px;
  margin-block: 25px 42px;
  padding: clamp(28px, 5vw, 60px);
  padding-block: 18px;
  background: radial-gradient(ellipse at 73% 45%, #234d37, #112d24 65%);
  border-radius: 30px;
  color: #f6fae9;
}
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4.45rem); line-height: .99; font-weight: 840; letter-spacing: -.075em; }
.hero p { max-width: 375px; margin-top: 20px; color: #dbe7d8; font-size: clamp(.98rem, 1.7vw, 1.13rem); }
.hero-art { height: auto; width: 100%; max-width: 455px; justify-self: center; }

.calendar-section, .editorial { scroll-margin-top: 18px; margin-bottom: 46px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-heading h2, .editorial h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.14; letter-spacing: -.04em; }
.today-link, .copy {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #cbd9ce;
  border-radius: 10px;
  font-weight: 690;
  background: #fff;
  text-decoration: none;
}
.today-link:hover, .copy:hover { background: #eaf3db; }
.board { display: grid; grid-template-columns: minmax(310px, .88fr) minmax(0, 1.12fr); gap: 16px; align-items: start; }
.month-card, .results, .editorial > section {
  min-width: 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fdfef9;
}
.month-controls { display: grid; grid-template-columns: 43px 1fr 43px; align-items: center; text-align: center; margin-bottom: 10px; }
.month-controls h3, .results > h3 { font-size: 1.25rem; line-height: 1.15; letter-spacing: -.025em; }
.month-controls a, .month-controls .disabled {
  display: grid;
  place-items: center;
  min-height: 43px;
  background: #edf2e8;
  border-radius: 10px;
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
}
.month-controls a:hover { background: #d9e9ce; }
.month-controls .disabled { color: #849387; background: #f4f6f1; }
.month { width: 100%; border-spacing: 3px; table-layout: fixed; }
.month td { padding: 0; }
.month th { font-weight: 630; font-size: .83rem; color: var(--muted); padding-block: 6px; }
.day {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 10px;
  background: #edf2e8;
  font-weight: 690;
  text-decoration: none;
}
.day:hover { background: #d9e9ce; }
.day.available::after {
  content: '';
  position: absolute;
  inset: auto 0 3px;
  margin-inline: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.day.elapsed { background: transparent; color: #697a6e; font-weight: 450; }
.day.selected, .day.selected:hover { background: var(--green); color: #fff; }
.calendar-time { margin-top: 13px; font-size: .82rem; color: var(--muted); }
.results > h3 { margin: 12px 0 20px; }
.empty {
  min-height: 235px;
  display: grid;
  justify-items: start;
  align-content: center;
  padding: clamp(20px, 4vw, 36px);
  border-radius: 15px;
  background: #edf3e6;
}
.empty-mark { margin-bottom: 11px; }
.empty h4 { margin-bottom: 4px; font-size: 1.2rem; letter-spacing: -.025em; }
.empty p, .offer p { color: var(--muted); }
.offers { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.offer { padding: 16px; border: 1px solid var(--line); border-radius: 15px; overflow-wrap: anywhere; }
.offer h4 { font-size: 1.17rem; line-height: 1.25; }
.offer h4 + p, .offer .expiry, .offer .disclosure { margin-top: 6px; }
.offer .shop, .offer .expiry, .offer .disclosure { font-size: .875rem; }
.offer .shop { font-weight: 700; margin-bottom: 3px; }
.offer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.offer-actions code { padding: 6px 8px; background: #edf2e8; border-radius: 6px; }
.offer-link { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 12px; border-radius: 10px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; }
.offer-link:hover { background: #236144; }
.editorial > section + section { margin-top: 15px; }
.editorial h2 { margin-bottom: 16px; }
.editorial details { border-top: 1px solid var(--line); padding: 13px 0; }
.editorial summary { cursor: pointer; font-weight: 700; }
.editorial details p { max-width: 70ch; margin-top: 8px; color: var(--muted); }
.site-footer { background: #e9eee4; border-top: 1px solid var(--line); }
.footer-inner { min-height: 70px; }
.footer-inner .brand { font-size: 1.1rem; }

@media (max-width: 720px) {
  .frame { width: min(100% - 28px, 1120px); }
  .hero { min-height: 0; margin-block: 16px 30px; grid-template-columns: 1fr; gap: 8px; border-radius: 22px; padding: 26px 22px 8px; }
  .hero-art { max-width: 290px; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .calendar-section, .editorial { margin-bottom: 34px; }
}
@media (max-width: 375px) {
  .header-inner { font-size: .88rem; }
  .header-inner .brand { font-size: 1.1rem; }
  .header-inner .brand img { width: 30px; height: 30px; }
}
.editorial-calendar > p { max-width: 70ch; color: var(--muted); }
.editorial-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.editorial-entry {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.editorial-entry h3 { font-size: 1.15rem; }
.editorial-entry p { color: var(--muted); }
.editorial-entry .editorial-date { font-size: .88rem; font-weight: 680; }
.editorial-entry a { margin-top: auto; padding-top: 6px; font-weight: 670; }
@media (max-width: 860px) {
  .editorial-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 530px) {
  .editorial-list { grid-template-columns: 1fr; }
}
