:root {
  color-scheme: dark;
  --bg: #0d0c0a;
  --gold: #c9a24b;
  --text: #f5efe2;
  --muted: #b7aa92;
  --line: #c9a24b40;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Aptos Display", "Gill Sans", "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 85% 12%, #6b4d182b, transparent 45%), var(--bg);
  color: var(--text);
  font: 17px/1.75 var(--sans);
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}
.wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -80px;
  padding: 12px;
  background: var(--bg);
  z-index: 10;
}
.skip:focus {
  top: 0;
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  font: 28px/1 var(--serif);
  letter-spacing: 5px;
}
.brand span {
  display: block;
  margin-top: 10px;
  font: 9px var(--sans);
  letter-spacing: 5px;
  color: var(--gold);
}
nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}
nav a {
  text-decoration: none;
  color: var(--muted);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: #17130c;
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  font-weight: 600;
  border-radius: 3px;
}
.button:hover {
  background: #e4c57f;
}
.button.small {
  font-size: 13px;
  padding: 10px 16px;
  background: transparent;
  color: var(--text);
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 80px;
  padding-block: 90px 100px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin: 0 0 24px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 25px;
}
h1 {
  font-size: clamp(44px, 4.6vw, 68px);
  letter-spacing: -2px;
}
h2 {
  font-size: clamp(34px, 3.6vw, 49px);
}
h3 {
  font-size: 26px;
}
em {
  color: #dec17f;
  font-weight: 400;
}
p {
  color: var(--muted);
  margin: 0 0 22px;
}
.lead {
  font-size: 19px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 32px 0 20px;
}
.text-link {
  font-size: 14px;
}
.quiet {
  font-size: 12px;
  color: var(--muted);
}
.day-card {
  text-align: center;
  position: relative;
  padding: 40px 28px 30px;
  background: linear-gradient(145deg, #221d13, #12100d);
  border: 1px solid var(--line);
  border-radius: 180px 180px 8px 8px;
  box-shadow: 0 30px 80px #0005;
}
.orbit {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin: 0 auto 27px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px #c9a24b08;
}
.orbit span {
  color: var(--gold);
  font-size: 45px;
}
.day-card .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
}
.day-number {
  font: 100px/0.95 var(--serif);
  color: #efd89f;
  margin-bottom: 18px;
}
.day-card h2 {
  font-size: 23px;
  line-height: 1.4;
}
.card-rule {
  width: 50px;
  border-top: 1px solid var(--gold);
  margin: 24px auto;
}
.card-quote {
  font: italic 20px/1.5 var(--serif);
  color: var(--text);
}
.section {
  padding-block: 85px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;
}
.section-heading h2 {
  width: 66%;
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.number {
  color: var(--gold);
  display: block;
  font: italic 30px var(--serif);
  margin-bottom: 22px;
}
.editorial-grid p {
  font-size: 15px;
}
.calendar-story {
  background: #17140f;
  border-block: 1px solid var(--line);
  padding-block: 80px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.month-grid span {
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font: 25px var(--serif);
  color: #d5bc84;
}
.month-diagram > p {
  font-size: 13px;
  text-align: center;
  margin: 18px;
}
.extra-month {
  display: flex;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--gold);
  padding: 18px 24px;
}
.extra-month strong {
  font: 44px var(--serif);
  color: var(--gold);
}
.extra-month small {
  color: var(--muted);
}
.reading {
  max-width: 780px;
  text-align: center;
  border: 0;
}
.install-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px 90px;
}
.availability {
  font-size: 13px;
  margin-top: 22px;
}
.qr-panel {
  align-self: center;
  justify-self: center;
  text-align: center;
}
.qr-panel img {
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  max-width: 100%;
  height: auto;
}
.qr-panel p {
  font-family: var(--serif);
  font-size: 22px;
  margin: 20px 0 5px;
  color: var(--text);
}
.qr-panel a {
  font-size: 13px;
}
.install-help {
  grid-column: 1/-1;
  margin-top: 15px;
}
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-size: 17px;
}
details p {
  max-width: 820px;
  font-size: 15px;
  margin: 18px 0 0;
}
.footer {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  padding-block: 35px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer p {
  margin: 0;
}
.hero-copy,
.day-card {
  animation: arrive 0.7s ease both;
}
.day-card {
  animation-delay: 0.12s;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 40px);
  }
  nav {
    display: none;
  }
  .hero {
    gap: 32px;
    padding-block: 50px;
    grid-template-columns: 1fr 1fr;
  }
  .story-grid {
    gap: 40px;
  }
  .install-grid {
    gap: 30px;
  }
  .actions {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 600px) {
  .hero,
  .story-grid,
  .install-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    gap: 45px;
  }
  .day-card {
    width: 100%;
    max-width: 390px;
    justify-self: center;
  }
  .section {
    padding-block: 50px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    width: auto;
  }
  .editorial-grid {
    gap: 20px;
  }
  .navigation {
    gap: 12px;
  }
  .navigation .small {
    font-size: 11px;
    padding: 9px;
  }
  .brand {
    font-size: 23px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer p {
    display: none;
  }
  .calendar-story {
    padding-block: 50px;
  }
  .install-help {
    grid-column: auto;
  }
  .qr-panel {
    margin-block: 12px;
  }
  h1 {
    letter-spacing: -1px;
  }
  .actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .text-link {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
  }
}
