:root {
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #edf1f6;
  background: #101a2a;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #d5f5a4; outline-offset: 6px; }

.page {
  min-height: 100svh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.25rem clamp(1.5rem, 6vw, 5rem) 1.75rem;
  display: flex;
  flex-direction: column;
}

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { font-size: 1.5rem; font-weight: 750; letter-spacing: -.06em; text-decoration: none; }
.wordmark span, .period { color: #d5f5a4; }
.domain { color: #a8b6ca; font-size: .875rem; overflow-wrap: anywhere; }

main { flex: 1; padding: clamp(4rem, 12vh, 8rem) 0 clamp(4rem, 10vh, 7rem); }
.eyebrow { color: #b6c5da; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.7; margin: 0 0 1.75rem; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.75rem, 10vw, 8.5rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.02; margin: 0; }
.intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2.75rem; }
.intro p { color: #b6c5da; font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.65; margin: 0; }
.code-link { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .875rem 1.5rem; font-size: 1rem; font-weight: 650; text-decoration: none; color: #101a2a; background: #d5f5a4; border: 1px solid #d5f5a4; border-radius: .25rem; }
.code-link:hover { background: #edfcd8; border-color: #edfcd8; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; border-top: 1px solid #324057; padding-top: 1.25rem; color: #a8b6ca; font-size: .875rem; line-height: 1.5; }

@media (max-width: 480px) {
  .page { padding-top: 1.5rem; }
  .masthead { align-items: flex-start; }
  .domain { max-width: 65%; text-align: right; }
  h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .eyebrow { letter-spacing: .07em; }
  .intro { align-items: flex-start; flex-direction: column; }
  .desktop-break { display: none; }
  footer { flex-direction: column; }
}
