:root {
  --ink: #10110f;
  --paper: #f8f7f2;
  --muted: #5e625b;
  --sage: #cbd0b8;
  --line: #d9d8d0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  font-size: 15px;
  font-weight: 650;
}

.wordmark {
  letter-spacing: -0.025em;
}

nav {
  display: flex;
  gap: 44px;
}

nav a {
  position: relative;
  font-weight: 520;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page-content {
  padding-top: 54px;
}

.hero {
  max-width: 820px;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(64px, 7.3vw, 108px);
  font-weight: 640;
  letter-spacing: -0.068em;
  line-height: 0.88;
}

.tagline {
  margin: 34px 0 0;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.025em;
}

.intro {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.calendar-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-top: 84px;
  padding: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.calendar-card h2,
.how > h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1;
}

.calendar-card p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  min-width: 252px;
  padding: 17px 19px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--ink);
}

.prompt {
  margin-top: 30px;
  padding: 52px 40px 58px;
  background: var(--sage);
}

.prompt h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 570;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.prompt h2 span {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.how {
  margin-top: 100px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

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

.steps h3 {
  margin: 38px 0 8px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.steps p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quote {
  margin: 114px 0 0;
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote blockquote {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(32px, 4.8vw, 68px);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.quote figcaption {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 42px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 78px;
    font-size: 13px;
  }

  .wordmark {
    max-width: 128px;
    line-height: 1.15;
  }

  nav {
    gap: 22px;
  }

  .page-content {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(52px, 15.5vw, 78px);
    line-height: 0.91;
  }

  .tagline {
    margin-top: 28px;
  }

  .intro {
    font-size: 16px;
  }

  .calendar-card {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 62px;
    padding: 28px 24px;
  }

  .button {
    width: 100%;
  }

  .prompt {
    padding: 40px 24px 44px;
  }

  .how {
    margin-top: 76px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 38px;
  }

  .steps h3 {
    margin-top: 24px;
  }

  .quote {
    margin-top: 82px;
    padding-block: 56px;
  }

  .site-footer {
    flex-direction: column;
    padding-block: 32px;
  }
}

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

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