:root {
  color-scheme: light;
  --ink: #111;
  --muted: #5d6269;
  --line: #d8d8d2;
  --paper: #fbfbf7;
  --panel: #fff;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.page {
  width: min(100%, 1080px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 28px;
}

.hero {
  display: flex;
  min-height: 58vh;
  max-width: 880px;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 52px;
}

.name {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 10vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.intro {
  max-width: 650px;
  margin-bottom: 0;
  color: #30343a;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--panel);
}

article {
  min-height: 210px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

article span {
  display: block;
  margin-bottom: 48px;
  color: var(--muted);
  font-weight: 800;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

article p {
  max-width: 27ch;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer a {
  text-underline-offset: 3px;
}

.button:focus-visible,
.footer a:focus-visible {
  outline: 3px solid #8fb5ff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .page {
    padding: 28px 20px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 38px;
  }

  .notes {
    grid-template-columns: 1fr;
  }

  article {
    min-height: 170px;
  }
}
