:root {
  --ink: #15130f;
  --paper: #f2ecdf;
  --paper-deep: #e7dece;
  --cream: #fffaf0;
  --ochre: #8e5c33;
  --ochre-bright: #d79122;
  --gray: #7c858c;
  --line: rgba(21, 19, 15, 0.18);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
}

.wordmark {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.wordmark-mark {
  align-items: center;
  border: 1px solid rgba(255, 250, 240, 0.45);
  border-radius: 999px;
  display: flex;
  font-size: 10px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.1em;
  width: 34px;
}

.header-link {
  font-size: 13px;
  text-underline-offset: 5px;
}

.hero {
  background: var(--ink);
  color: var(--cream);
  min-height: 660px;
  overflow: hidden;
  padding: 80px clamp(24px, 8vw, 120px) 96px;
  position: relative;
}

.eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  display: flex;
  gap: 10px;
}

.live-dot {
  background: var(--ochre-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(215, 145, 34, 0.13);
  height: 7px;
  width: 7px;
}

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

h1 {
  font-family: var(--serif);
  font-size: clamp(76px, 11vw, 150px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.82;
  margin: 55px 0 40px;
  max-width: 850px;
  position: relative;
  z-index: 2;
}

h1 em {
  color: var(--ochre-bright);
  font-weight: 500;
}

.hero-copy {
  color: rgba(255, 250, 240, 0.72);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  max-width: 570px;
  position: relative;
  z-index: 2;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 22px;
  position: relative;
  text-decoration: none;
  z-index: 2;
}

.text-link span {
  color: var(--ochre-bright);
  margin-left: 8px;
}

.route-art {
  bottom: -48px;
  height: 430px;
  position: absolute;
  right: clamp(-140px, 2vw, 30px);
  width: 560px;
}

.route-disc,
.small-disc {
  align-items: center;
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
}

.route-disc {
  border: 7px solid var(--ink);
  font-size: 42px;
  height: 112px;
  position: absolute;
  width: 112px;
  z-index: 2;
}

.route-j,
.route-z {
  background: var(--ochre);
}

.route-l {
  background: var(--gray);
}

.route-art .route-j {
  left: 170px;
  top: 25px;
}

.route-art .route-z {
  left: 275px;
  top: 150px;
}

.route-art .route-l {
  left: 370px;
  top: 278px;
}

.track {
  border: 2px solid rgba(255, 250, 240, 0.11);
  border-radius: 50%;
  height: 510px;
  position: absolute;
  transform: rotate(-32deg);
  width: 160px;
}

.track-one {
  left: 260px;
  top: -65px;
}

.track-two {
  left: 325px;
  top: -20px;
}

.calendar-section {
  padding: 110px clamp(24px, 8vw, 120px) 130px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  margin-bottom: 52px;
}

.section-heading .section-kicker {
  color: var(--ochre);
  grid-row: span 2;
}

.section-heading h2,
.how-section h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.section-heading > p:last-child {
  line-height: 1.6;
  max-width: 520px;
}

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

.calendar-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  padding: clamp(26px, 4vw, 48px);
}

.card-jz {
  background: var(--ochre);
  color: var(--cream);
}

.card-l {
  background: var(--paper-deep);
}

.card-topline,
.route-pair {
  align-items: center;
  display: flex;
}

.card-topline {
  justify-content: space-between;
}

.route-pair .small-disc + .small-disc {
  margin-left: -7px;
}

.small-disc {
  border: 3px solid currentColor;
  color: var(--cream);
  font-size: 18px;
  height: 52px;
  width: 52px;
}

.card-l .small-disc {
  border-color: var(--paper-deep);
}

.status-badge {
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.status-badge.original {
  border-color: var(--line);
}

.calendar-card h3 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 18px;
}

.calendar-card p {
  line-height: 1.6;
  max-width: 520px;
}

.card-jz p {
  color: rgba(255, 250, 240, 0.68);
}

.card-credit {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  margin-top: 12px;
  text-decoration: none;
}

.credit-avatar {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--cream);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.card-credit strong,
.card-credit small {
  display: block;
}

.card-credit strong {
  font-size: 13px;
}

.card-credit small {
  color: rgba(21, 19, 15, 0.62);
  font-size: 11px;
  margin-top: 2px;
}

.card-credit:hover strong,
.card-credit:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.subscribe-button {
  align-items: center;
  background: var(--ochre-bright);
  color: var(--ink);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 28px;
  padding: 18px 20px;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background 150ms ease;
}

.subscribe-button:hover {
  background: #e7a63e;
  transform: translateY(-2px);
}

.subscribe-button.secondary {
  background: var(--ink);
  color: var(--cream);
}

.subscribe-button.secondary:hover {
  background: #302c25;
}

.subscribe-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
}

.setup-note {
  font-size: 12px;
  margin: 12px 0 0;
}

.setup-note code {
  color: var(--cream);
}

.color-note {
  font-size: 12px;
  margin: 12px 0 0;
  opacity: 0.78;
}

.color-swatch {
  border: 1px solid currentColor;
  display: inline-block;
  height: 10px;
  margin-right: 5px;
  vertical-align: -1px;
  width: 10px;
}

.color-swatch.jz {
  background: #8e5c33;
}

.color-swatch.l {
  background: #7c858c;
}

.how-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 110px clamp(24px, 8vw, 120px);
}

.how-section .section-kicker {
  color: var(--ochre);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: 50px 1fr;
  padding: 28px 0;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--ochre);
  font-size: 12px;
  font-weight: 700;
}

.steps h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.steps p,
.disclaimer {
  font-size: 14px;
  line-height: 1.6;
}

.steps p {
  margin-bottom: 0;
}

.disclaimer {
  color: rgba(21, 19, 15, 0.65);
  grid-column: 2;
  margin: -30px 0 0;
}

footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 250, 240, 0.67);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 32px clamp(24px, 5vw, 76px);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--cream);
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .hero {
    min-height: 700px;
  }

  .route-art {
    bottom: -160px;
    opacity: 0.68;
    right: -220px;
  }

  .section-heading,
  .calendar-grid,
  .how-section {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker {
    grid-row: auto;
  }

  .section-heading h2 {
    margin-top: 18px;
  }

  .disclaimer {
    grid-column: 1;
    margin-top: -20px;
  }

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

@media (max-width: 520px) {
  .site-header {
    height: 66px;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding-top: 60px;
  }

  h1 {
    margin-top: 45px;
  }

  .calendar-section,
  .how-section {
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .calendar-card {
    min-height: 420px;
  }
}

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

  .subscribe-button {
    transition: none;
  }
}
