:root {
  --background: #f8f8f5;
  --surface: #ffffff;
  --ink: #191a17;
  --muted: #696a64;
  --line: #dcdcd6;
  --accent: #5549df;
  --display:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia,
    serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.site-header,
main,
footer {
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 6px;
  background: var(--ink);
}

.brand-mark i {
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: #fff;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(4) {
  height: 11px;
}

.brand-mark i:nth-child(3) {
  height: 16px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

nav a:hover {
  color: var(--muted);
}

.nav-download {
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.hero {
  max-width: 760px;
  padding: 88px 0 82px;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(46px, 6.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-actions > span {
  color: var(--muted);
  font-size: 11px;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

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

.primary-button:hover {
  background: #34352f;
}

.secondary-button {
  border: 1px solid var(--ink);
  background: transparent;
}

.secondary-button:hover,
.nav-download:hover {
  background: var(--surface);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  font-family: inherit;
  font-size: 11px;
  white-space: nowrap;
}

.about,
.privacy,
.download {
  padding: 66px 0;
  border-top: 1px solid var(--line);
}

.about {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
}

.about h2,
.privacy h2,
.download h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
}

dl {
  margin: 0;
}

dl > div {
  padding: 0 0 25px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
}

dl > div + div {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

dl > div:last-child {
  padding-bottom: 0;
}

dt {
  font-size: 13px;
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.privacy {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
}

.privacy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}

.download h2 {
  margin-bottom: 8px;
}

.download p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

footer p {
  margin: 0;
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 960px);
  }

  nav a {
    display: none;
  }

  .hero {
    padding: 66px 0 60px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .about,
  .privacy {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  dl > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .download {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    padding: 34px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
