:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #191917;
  background: #f5f4ef;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: clamp(2rem, 8vw, 6rem) 1.25rem;
}

main {
  width: min(100%, 40rem);
  margin: 0 auto;
}

header {
  margin-bottom: 2rem;
}

header p {
  margin: 0 0 0.5rem;
  color: #67665f;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.title-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.title-mark {
  flex: 0 0 auto;
  width: clamp(3rem, 10vw, 4rem);
  height: auto;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.resources {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resources a {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 5.25rem;
  padding: 1rem 1.125rem;
  color: inherit;
  background: #ffffff;
  border: 1px solid #d8d6ce;
  border-radius: 0.75rem;
  text-decoration: none;
}

.resources a:hover {
  border-color: #86847b;
}

.resources a:focus-visible {
  outline: 3px solid #2457d6;
  outline-offset: 3px;
}

.file-icon {
  position: relative;
  display: block;
  width: 1.125rem;
  height: 1.375rem;
  border: 1.5px solid currentColor;
  border-radius: 0.125rem;
}

.file-icon::after {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 0.375rem;
  height: 0.375rem;
  content: "";
  background: #ffffff;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
}

.file-name {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.file-name strong {
  font-size: 1rem;
}

.file-name small {
  overflow: hidden;
  color: #67665f;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.8125rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download {
  color: #34332f;
  font-size: 0.875rem;
  font-weight: 650;
}

.agent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.agent-links a {
  color: #34332f;
  text-underline-offset: 0.2em;
}

.agent-links a:focus-visible {
  outline: 3px solid #2457d6;
  outline-offset: 3px;
}

@media (max-width: 32rem) {
  .download {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
