:root {
  color-scheme: light;
  --background: #f4f1ec;
  --surface: #fffdfa;
  --ink: #1e2524;
  --muted: #66706e;
  --line: #d8d5cf;
  --accent: #245c55;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

.site-header,
footer {
  margin: 0 auto;
  max-width: 78rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.site-header {
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

main {
  margin: 0 auto;
  max-width: 78rem;
  padding: clamp(2rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.test-card {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(16rem, 0.75fr) minmax(20rem, 1.25fr);
}

.copy {
  max-width: 34rem;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 2rem;
}

.asset-frame {
  background: #e9e6e1;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgb(30 37 36 / 10%);
  overflow: hidden;
}

.asset-frame img {
  display: block;
  height: auto;
  width: 100%;
}

footer {
  color: var(--muted);
  font-size: 0.78rem;
}

.index {
  max-width: 56rem;
}

.index > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 42rem;
}

.test-links {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.test-links a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  display: block;
  font-weight: 650;
  padding: 1rem;
  text-decoration: none;
}

.test-links a:hover,
.test-links a:focus-visible {
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .test-card {
    grid-template-columns: 1fr;
  }

  .copy {
    max-width: none;
  }
}
