:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --ink: #181512;
  --muted: #706961;
  --line: rgba(24, 21, 18, 0.16);
  --accent: #a64f35;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 40px 20px;
}

.card {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.links a,
.contact a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.links a {
  color: var(--accent);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.contact span {
  color: var(--muted);
}

.contact a {
  color: var(--accent);
}

@media (hover: hover) {
  .links a,
  .contact a {
    transition: color 160ms ease;
  }

  .links a:hover,
  .contact a:hover {
    color: var(--accent);
  }
}

@media (max-width: 520px) {
  .page {
    align-items: start;
    padding-top: 52px;
  }

  .links {
    display: grid;
    gap: 14px;
  }
}
