@font-face {
  font-family: Inter;
  src: url('/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
}

:root {
  --paper: #fff;
  --page: #fafafa;
  --elevated: #f5f5f5;
  --rule: #e8e8e8;
  --rule-strong: #d1d1d1;
  --ink: #0a0a0a;
  --ink-sec: #525252;
  --ink-tert: #858585;
  --accent: #d9350f;
  --accent-pressed: #b22c0d;
  --accent-on: #fff;
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
}

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

.site-header,
footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.brand img {
  height: 32px;
  width: 32px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--ink-sec);
}

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

.hero {
  border-top: 0.5px solid var(--rule);
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100svh - 80px);
  padding: 96px 24px 72px;
}

.hero-copy {
  align-self: center;
  max-width: 680px;
}

.eyebrow {
  color: var(--ink-tert);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(52px, 9vw, 116px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.lede {
  color: var(--ink-sec);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 32px;
  max-width: 640px;
}

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

.button {
  border: 1px solid var(--rule-strong);
  display: inline-flex;
  font-weight: 500;
  min-height: 44px;
  padding: 11px 16px;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.button.primary:hover {
  background: var(--accent-pressed);
}

.product-surface {
  align-self: center;
  border: 0.5px solid var(--rule);
  min-height: 560px;
  padding: 28px;
}

.app-top {
  border-bottom: 0.5px solid var(--rule);
  height: 120px;
  position: relative;
}

.line {
  background: var(--ink);
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  top: 72px;
  width: 112px;
}

.line::before {
  background: var(--ink);
  content: '';
  display: block;
  height: 72px;
  left: 0;
  position: absolute;
  top: -72px;
  width: 1px;
}

.square {
  background: var(--accent);
  display: block;
  height: 16px;
  left: -8px;
  position: absolute;
  top: 64px;
  width: 16px;
}

.module-row,
.task-row {
  align-items: center;
  border-bottom: 0.5px solid var(--rule);
  display: flex;
  gap: 16px;
  min-height: 72px;
}

.module-row {
  color: var(--ink-tert);
  justify-content: space-between;
  text-transform: uppercase;
}

.task-row strong,
.task-row span {
  display: block;
}

.task-row span {
  color: var(--ink-tert);
}

.box {
  border: 2px solid var(--ink);
  height: 18px;
  width: 18px;
}

.composer {
  background: var(--page);
  border: 0.5px solid var(--rule);
  color: var(--ink-tert);
  margin-top: 64px;
  min-height: 52px;
  padding: 15px;
}

.section {
  border-top: 0.5px solid var(--rule);
  display: grid;
  gap: 48px;
  grid-template-columns: 0.8fr 1.2fr;
  margin: 0 auto;
  max-width: 1180px;
  padding: 80px 24px;
}

.grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

article {
  border: 0.5px solid var(--rule);
  margin: -0.5px 0 0 -0.5px;
  min-height: 180px;
  padding: 22px;
}

article > span {
  color: var(--accent);
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  margin-bottom: 36px;
}

article p,
.split p,
.legal p {
  color: var(--ink-sec);
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.legal {
  border-top: 0.5px solid var(--rule);
  margin: 0 auto;
  max-width: 860px;
  min-height: calc(100svh - 80px);
  padding: 96px 24px;
}

.legal h1 {
  font-size: clamp(48px, 8vw, 92px);
}

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

footer {
  border-top: 0.5px solid var(--rule);
  color: var(--ink-tert);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero,
  .section {
    grid-template-columns: 1fr;
  }

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

  .product-surface {
    min-height: 460px;
  }

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