@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #17251f;
  --muted: #68756e;
  --line: #d9e1da;
  --paper: #f4f2ec;
  --card: #fbfaf7;
  --accent: #e45f3f;
  --accent-dark: #bc402b;
  --sage: #dce7d9;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background: radial-gradient(circle at 86% 10%, rgba(220, 231, 217, .72), transparent 30%), linear-gradient(125deg, transparent 45%, rgba(255, 255, 255, .45) 100%);
}

a { color: inherit; }

.site-header, main, .site-footer { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-decoration: none; }
.brand-mark { display: block; width: 34px; height: 34px; flex: 0 0 34px; }
.header-note { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.intro { max-width: 760px; padding: clamp(90px, 15vw, 170px) 0 98px; }
.eyebrow { margin: 0 0 25px; color: var(--accent-dark); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0; font-size: clamp(44px, 7vw, 88px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.04em; }
.intro-copy { margin: 32px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

.downloads { padding-bottom: 100px; }
.home-main .downloads { padding-top: clamp(72px, 11vw, 140px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.file-count { color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.download-list { border-bottom: 1px solid var(--line); }
.download-item { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; min-height: 112px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .25s ease, padding .25s ease; }
.download-item:last-child { border-bottom: 0; }
.download-item:hover, .download-item:focus-visible { padding-left: 16px; padding-right: 16px; outline: none; background: var(--card); }
.file-index { color: var(--accent); font-family: var(--mono); font-size: 12px; }
.file-info { display: grid; gap: 8px; }
.file-info strong { font-size: 17px; font-weight: 600; }
.file-info small { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.download-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-dark); font-size: 21px; transition: color .25s ease, background-color .25s ease, transform .25s ease; }
.download-item:hover .download-icon, .download-item:focus-visible .download-icon { color: var(--paper); background: var(--accent); border-color: var(--accent); transform: translateY(3px); }

.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 80px; color: var(--muted); font-size: 13px; }
.contact-line a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-line a:hover { color: var(--accent-dark); }
.contact-line a span { color: var(--accent); font-size: 18px; }
.site-footer { display: flex; justify-content: space-between; padding: 21px 0 25px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.reserved-link { color: var(--muted); cursor: default; font-size: 9px; opacity: .65; text-decoration: none; }
.reserved-link:hover { color: var(--muted); opacity: .65; text-decoration: none; }
.reserved-placeholder { cursor: default; }

@media (max-width: 620px) {
  .site-header, main, .site-footer { width: min(100% - 36px, 1120px); }
  .site-header { padding: 20px 0; }
  .header-note { display: none; }
  .intro { padding: 88px 0 76px; }
  h1 { font-size: clamp(43px, 13vw, 68px); }
  .intro-copy { max-width: 250px; font-size: 15px; }
  .downloads { padding-bottom: 74px; }
  .download-item { grid-template-columns: 44px 1fr auto; min-height: 98px; }
  .download-item:hover, .download-item:focus-visible { padding-left: 8px; padding-right: 8px; }
  .file-info strong { font-size: 15px; }
  .download-icon { width: 34px; height: 34px; }
  .contact-line { display: grid; gap: 8px; padding-bottom: 62px; }
}

@media (min-width: 621px) {
  .site-header { padding: 38px 0; }
  .brand { gap: 16px; font-size: 16px; }
  .brand-mark { width: 46px; height: 46px; flex-basis: 46px; }
}
