:root {
  --paper: #f1e7d4;
  --paper-deep: #e7d7bb;
  --surface: #f8f1e3;
  --surface-green: #dfe7d8;
  --ink: #183128;
  --body: #46524c;
  --muted: #6e766f;
  --green: #174438;
  --green-hover: #0f352b;
  --cobalt: #2457a7;
  --rust: #b65235;
  --line: rgba(24, 49, 40, 0.19);
  --line-strong: rgba(24, 49, 40, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 13%, rgba(223, 231, 216, 0.9) 0 12rem, transparent 12.1rem),
    var(--paper);
  color: var(--body);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(24, 49, 40, 0.17) 0.45px, transparent 0.55px);
  background-size: 5px 5px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

a {
  color: inherit;
}

.page {
  width: min(100%, 1320px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 44px 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 154px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.event-label,
.kicker,
footer {
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.event-label,
.kicker {
  margin: 0;
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: clamp(62px, 8vw, 112px) 0 clamp(56px, 6.5vw, 92px);
}

.hero-title {
  grid-column: 1 / span 10;
  grid-row: 1;
}

.kicker {
  margin-bottom: 22px;
}

h1 {
  max-width: 1080px;
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.1vw, 44px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 span {
  display: block;
  margin-top: 0.22em;
  color: var(--green);
  font-size: 0.58em;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.date-stamp {
  grid-column: 11 / span 2;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  display: grid;
  width: clamp(108px, 10vw, 142px);
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-family: "DM Mono", ui-monospace, monospace;
  line-height: 1;
  text-align: center;
  transform: rotate(5deg);
}

.date-day {
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 500;
  letter-spacing: -0.08em;
}

.date-rule {
  width: 44px;
  height: 1px;
  margin: 9px auto 8px;
  background: var(--rust);
}

.date-month {
  color: var(--rust);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.details {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: clamp(36px, 4.3vw, 64px) 0 clamp(58px, 7vw, 98px);
  border-top: 1px solid var(--line-strong);
}

.copy {
  grid-column: 1 / span 7;
  max-width: 740px;
}

.copy p {
  margin: 0 0 1.2em;
  text-wrap: pretty;
}

.copy p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--cobalt);
  font-weight: 600;
  text-decoration-color: rgba(36, 87, 167, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.promise {
  max-width: 620px;
  padding-top: 16px;
  color: var(--green);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.7vw, 39px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-button {
  grid-column: 1 / span 4;
  grid-row: 2;
  max-width: 340px;
}

.registration-note {
  grid-column: 1 / span 4;
  grid-row: 3;
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-wrap: pretty;
}

.button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px 14px 25px;
  border-radius: 999px;
  background: var(--green);
  color: var(--surface);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--green-hover);
}

.button:active {
  transform: scale(0.98);
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

.button-arrow {
  font-size: 21px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.button:hover .button-arrow {
  transform: translate(2px, -2px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 880px) {
  body {
    background:
      radial-gradient(circle at 106% 9%, rgba(223, 231, 216, 0.9) 0 9rem, transparent 9.1rem),
      var(--paper);
  }

  .page {
    padding-inline: 24px;
  }

  .hero-title {
    grid-column: 1 / span 11;
  }

  .date-stamp {
    display: none;
  }

  .copy {
    grid-column: 1 / span 8;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .page {
    padding: 20px 18px 24px;
  }

  .site-header {
    padding-bottom: 18px;
  }

  .brand {
    width: 122px;
  }

  .event-label {
    font-size: 9px;
  }

  .hero {
    display: block;
    padding: 48px 0 52px;
  }

  .kicker {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(21.5px, 6.6vw, 31px);
    line-height: 0.99;
    text-wrap: pretty;
  }

  h1 span {
    margin-top: 0.3em;
    font-size: 0.62em;
    line-height: 1.08;
  }

  .details {
    display: block;
    padding: 32px 0 60px;
  }

  .promise {
    padding-top: 10px;
    font-size: clamp(28px, 8.3vw, 36px);
  }

  .hero-button {
    margin-top: 22px;
  }

  .registration-note {
    margin-top: 12px;
  }

  .button {
    min-height: 60px;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
  }

  footer span + span {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
