:root {
  color-scheme: dark;
  --ink: #0a0a0c;
  --surface: #13141a;
  --raised: #1a1c22;
  --ivory: #ece9e2;
  --dim: rgba(236, 233, 226, 0.66);
  --faint: rgba(236, 233, 226, 0.4);
  --line: rgba(236, 233, 226, 0.15);
  --lime: #beff4d;
  --violet: #6d3cff;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 4%, rgba(109, 60, 255, 0.18), transparent 31rem),
    var(--ink);
  color: var(--ivory);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
.shell { width: min(100% - 40px, 760px); margin: 0 auto; padding: 18px 0 48px; }
.masthead { display: grid; gap: 12px; margin-bottom: 72px; }
.rule { height: 1px; background: var(--line); }
.wordmark {
  width: max-content;
  color: var(--ivory);
  font-family: Didot, "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.6rem, 10vw, 4.3rem);
  line-height: 1;
  text-decoration: none;
}
.wordmark span { color: var(--lime); }
.wordmark.small { font-size: 2.2rem; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}
h1 {
  max-width: 680px;
  margin: 0;
  font-family: Didot, "Iowan Old Style", Georgia, serif;
  font-size: clamp(3rem, 11vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.lede { max-width: 610px; margin: 26px 0 0; color: var(--dim); font-size: 1.08rem; }
.cards { display: grid; gap: 12px; margin-top: 64px; }
.card, .contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(19, 20, 26, 0.88);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, transform .2s, background .2s;
}
.card:hover, .contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 255, 77, 0.48);
  background: var(--raised);
}
.number { color: var(--lime); font: 0.66rem "SFMono-Regular", Menlo, monospace; }
.card h2 { margin: 0; font: 700 1.35rem Didot, Georgia, serif; }
.card p { margin: 3px 0 0; color: var(--dim); font-size: 0.86rem; }
.arrow { color: var(--lime); font-size: 1.35rem; }
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.75rem;
}
footer p { margin: 0; }

.document { max-width: 720px; }
.document .masthead { margin-bottom: 64px; }
.document h1 { max-width: 690px; font-size: clamp(2.8rem, 9vw, 4.8rem); }
.updated { margin: 18px 0 0; color: var(--faint); font: 0.7rem "SFMono-Regular", Menlo, monospace; text-transform: uppercase; letter-spacing: .12em; }
.callout {
  margin: 46px 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--violet);
  color: white;
}
.callout strong { font: 700 1.4rem Didot, Georgia, serif; }
.callout p { margin: 7px 0 0; color: rgba(255,255,255,.76); }
.callout a { color: white; }
article { color: var(--dim); }
article h2 {
  margin: 44px 0 10px;
  color: var(--ivory);
  font-family: Didot, "Iowan Old Style", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.25;
}
article p { margin: 0 0 16px; }
article li { margin: 6px 0; }
article a { color: var(--ivory); text-decoration-color: var(--lime); text-underline-offset: 3px; }
.contact-card { grid-template-columns: 1fr auto; margin: 42px 0; background: var(--lime); color: var(--ink); border: 0; }
.contact-card strong, .contact-card small { display: block; }
.contact-card strong { font-family: Didot, Georgia, serif; font-size: 1.4rem; }
.contact-card small { margin-top: 2px; opacity: .65; }
.contact-card .arrow { color: var(--ink); }
.document-footer { justify-content: flex-start; gap: 24px; }
.document-footer a { color: var(--dim); }

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 760px); }
  .masthead { margin-bottom: 52px; }
  .cards { margin-top: 44px; }
  .card { gap: 13px; padding: 18px 16px; }
  .card p { display: none; }
  .callout { margin: 34px 0; padding: 20px; }
  article h2 { margin-top: 36px; }
}
