:root {
  color: #20272d;
  background: #f4f1eb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.hero {
  background:
    linear-gradient(90deg, rgb(30 45 53 / 88%), rgb(30 45 53 / 48%)),
    url("icon.ico");
  background-color: #1e2d35;
  background-position: center;
  background-size: cover;
  color: #fffdf8;
  min-height: 92vh;
  padding: 22px clamp(18px, 4vw, 54px) 48px;
}

.top-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
}

.brand,
.top-nav div {
  align-items: center;
  display: flex;
  gap: 14px;
}

.brand {
  font-weight: 750;
  text-decoration: none;
}

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

.top-nav div {
  color: #f7f4ed;
  font-size: 14px;
}

.top-nav div a {
  text-decoration: none;
}

.top-nav div a:hover {
  text-decoration: underline;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  margin: 10vh auto 0;
  max-width: 1160px;
}

.eyebrow {
  color: #7aa394;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 760px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 12px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  color: #f3eee6;
  font-size: 18px;
  max-width: 660px;
}

.hero-actions,
.release {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  background: #f7f4ed;
  border-radius: 6px;
  color: #1e2d35;
  display: inline-flex;
  font-weight: 750;
  min-height: 44px;
  padding: 11px 16px;
  text-decoration: none;
}

.button.secondary {
  background: rgb(247 244 237 / 12%);
  color: #fffdf8;
  outline: 1px solid rgb(247 244 237 / 36%);
}

.app-preview {
  background: #fffdf8;
  border: 1px solid rgb(255 253 248 / 46%);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgb(8 12 16 / 38%);
  color: #20272d;
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 410px;
  overflow: hidden;
}

.preview-sidebar {
  background: #1e2d35;
  color: #f7f4ed;
  display: grid;
  gap: 12px;
  grid-auto-rows: min-content;
  padding: 18px;
}

.preview-sidebar span {
  background: #7aa394;
  border-radius: 999px;
  display: block;
  height: 34px;
  width: 34px;
}

.preview-sidebar b {
  background: rgb(255 255 255 / 8%);
  border-radius: 6px;
  font-size: 13px;
  padding: 10px;
}

.preview-main {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.preview-header,
.preview-row,
.preview-draft {
  border: 1px solid #e2ded6;
  border-radius: 8px;
  padding: 14px;
}

.preview-header {
  background: #f6f5f1;
  display: grid;
  gap: 5px;
}

.preview-header span {
  color: #63707a;
  font-size: 13px;
}

.preview-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 90px 90px 1fr;
}

.preview-row p,
.preview-row em,
.preview-draft p {
  margin: 0;
}

.preview-row.missing {
  border-left: 5px solid #b13d33;
}

.preview-row em {
  color: #9a3d34;
}

.preview-draft {
  background: #edf5f2;
}

.band {
  margin: 0 auto;
  max-width: 1160px;
  padding: 72px clamp(18px, 4vw, 54px);
}

.section-heading {
  max-width: 780px;
}

.section-heading p:not(.eyebrow) {
  color: #63707a;
}

.steps,
.docs-grid,
.csv-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.docs-grid,
.csv-grid {
  grid-template-columns: repeat(2, 1fr);
}

.steps article,
.docs-grid article,
.csv-grid article {
  background: #fffdf8;
  border: 1px solid #ddd7cc;
  border-radius: 8px;
  padding: 20px;
}

.steps article span {
  align-items: center;
  background: #24443e;
  border-radius: 999px;
  color: #fffdf8;
  display: flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 16px;
  width: 34px;
}

code {
  background: #ece7dd;
  border-radius: 5px;
  padding: 2px 5px;
}

pre {
  background: #1e2d35;
  border-radius: 8px;
  color: #fffdf8;
  overflow: auto;
  padding: 14px;
}

pre code {
  background: transparent;
  padding: 0;
}

.release {
  border-top: 1px solid #ddd7cc;
  justify-content: space-between;
}

.release .button {
  background: #24443e;
  color: #fffdf8;
}

@media (max-width: 900px) {
  .top-nav,
  .top-nav div {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .steps,
  .docs-grid,
  .csv-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin-top: 52px;
  }

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

  .preview-sidebar {
    display: none;
  }
}
