@import url("https://fonts.googleapis.com/css2?family=Antic+Didone&family=Inter:wght@400;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #050505;
  --muted: #70747c;
  --line: #e8e8e8;
  --wash: #f7f7f7;
  --blue: #5bcefa;
  --pink: #f5a9b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav nav a,
.brand span,
.footer-links a {
  font-size: 14px;
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 28px;
  height: auto;
  display: block;
}

.hero {
  min-height: calc(88vh - 56px);
  display: grid;
  align-content: center;
  padding: 82px 0 64px;
  position: relative;
}

.mark {
  width: clamp(56px, 8vw, 96px);
  margin-bottom: 34px;
}

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

h1,
h2 {
  font-family: "Antic Didone", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

p {
  font-size: 17px;
  line-height: 1.55;
}

.lede {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

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

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
}

.panel {
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

.panel > p {
  max-width: 760px;
  color: var(--muted);
}

.panel h3 {
  margin-top: 30px;
}

.page-hero {
  padding: 104px 0 64px;
}

.text-page {
  max-width: 760px;
}

.text-page h2 {
  margin-top: 34px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  gap: 24px;
  padding-bottom: 80px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.updated {
  margin-top: 10px;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

article {
  background: #fff;
  padding: 28px;
}

article:nth-child(1) {
  box-shadow: inset 6px 0 0 color-mix(in srgb, var(--blue), white 36%);
}

article:nth-child(2) {
  box-shadow: inset 6px 0 0 color-mix(in srgb, var(--pink), white 20%);
}

article:nth-child(3) {
  box-shadow: inset 6px 0 0 color-mix(in srgb, var(--pink), white 28%);
}

article:nth-child(4) {
  box-shadow: inset 6px 0 0 color-mix(in srgb, var(--blue), white 30%);
}

article p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

a {
  color: inherit;
}

@media (max-width: 800px) {
  main {
    width: min(100% - 32px, 620px);
  }

  .site-nav {
    width: min(100% - 32px, 620px);
  }

  .hero {
    min-height: auto;
    padding: 64px 0 48px;
  }

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

  article {
    padding: 24px 18px;
  }
}
