@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-500.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --content-width: 760px;
  --page-gutter: 48px;
  --paper: #f7f7f4;
  --surface: #eaeae3;
  --ink: #20211f;
  --muted: #555650;
  --rule: #d7d7d2;
  --mark-filter: none;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: "Archivo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161614;
    --surface: #20201d;
    --ink: #f0f0ea;
    --muted: #a5a59e;
    --rule: #33332f;
    --mark-filter: invert(1);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
}

button,
a {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 4px;
}

.page {
  display: flex;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  display: flex;
  width: min(
    var(--content-width),
    calc(100% - var(--page-gutter) - var(--page-gutter))
  );
  align-items: center;
  align-self: flex-start;
  justify-content: space-between;
  margin-left: max(var(--page-gutter), calc((100% - 1440px) / 2 + var(--page-gutter)));
  padding: 28px 0;
  box-shadow: inset 0 -1px var(--rule);
}

.brand {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: block;
  width: 28px;
  height: auto;
  filter: var(--mark-filter);
}

.brand__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 26px;
}

.site-nav__home {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  appearance: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.button--outline {
  padding: 10px 16px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
}

.button--primary {
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper);
}

.button__arrow {
  width: auto;
  height: 15px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  display: flex;
  width: 100%;
  max-width: 1440px;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 128px var(--page-gutter) 160px;
}

.hero__content {
  display: flex;
  width: var(--content-width);
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero h1,
.hero p,
.page-heading {
  width: 100%;
  margin: 0;
}

.hero h1,
.page-heading {
  color: var(--ink);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2.2px;
  text-wrap: balance;
}

.hero__description {
  color: var(--muted);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.2px;
  text-wrap: balance;
}

.hero__callout {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.hero__callout a {
  text-decoration: none;
}

.hero__callout a:hover,
.hero__callout a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  :root {
    --page-gutter: 24px;
  }

  .site-header {
    padding: 22px 0;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 96px;
  }

  .hero h1,
  .page-heading {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero__description,
  .hero__callout {
    font-size: 19px;
  }
}
