@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #121212;
  --surface: #181818;
  --raised: #1f1f1f;
  --text: #ffffff;
  --muted: #b3b3b3;
  --accent: #f5b83d;
  --on-accent: #000000;
  --line: #4d4d4d;
  --focus: #539df5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-underline-offset: 3px;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
nav.links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
nav.links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
nav.links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 64px;
}
h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 34em;
  margin: 0 0 28px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 500px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}
.btn.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn.primary:hover {
  filter: brightness(1.08);
}
.btn.ghost {
  box-shadow: inset 0 0 0 1px #7c7c7c;
  color: var(--text);
}
.btn.ghost:hover {
  box-shadow: inset 0 0 0 1px var(--text);
}
.fine {
  color: var(--muted);
  font-size: 14px;
  margin: 16px 0 0;
}

/* A stack of documents, drawn rather than photographed. */
.stack {
  position: relative;
  height: 300px;
  max-width: 340px;
  width: 100%;
  justify-self: center;
}
.doc {
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  border-radius: 14px;
  background: var(--raised);
  box-shadow: rgba(0, 0, 0, 0.5) 0 8px 24px;
  padding: 18px;
}
.doc:nth-child(1) {
  top: 0;
  transform: scale(0.88);
  background: #252525;
}
.doc:nth-child(2) {
  top: 40px;
  transform: scale(0.94);
  background: #222222;
}
.doc:nth-child(3) {
  top: 84px;
}
.doc .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #2a2a2a;
  color: var(--muted);
}
.doc .name {
  font-weight: 700;
  font-size: 18px;
  margin: 14px 0 12px;
}
.doc .bar {
  height: 10px;
  border-radius: 5px;
  background: #333333;
  margin-bottom: 8px;
}
.doc .bar.short {
  width: 55%;
}
.doc .due {
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

section {
  padding: 40px 0;
  border-top: 1px solid #2a2a2a;
}
h2 {
  font-size: 24px;
  margin: 0 0 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.grid li {
  background: var(--surface);
  border-radius: 8px;
  padding: 18px;
}
.grid h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

ol.steps {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  max-width: 40em;
}
ol.steps li {
  margin-bottom: 8px;
}
ol.steps strong,
.prose strong {
  color: var(--text);
}

.faq details {
  background: var(--surface);
  border-radius: 8px;
  margin-bottom: 8px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style-position: outside;
}
.faq h3 {
  display: inline;
  font-size: 16px;
  margin: 0;
}
.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  max-width: 46em;
}

.prose {
  max-width: 44em;
  padding-bottom: 48px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose h1 {
  font-size: 32px;
}

footer {
  border-top: 1px solid #2a2a2a;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer a {
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 0 40px;
  }
  .stack {
    height: 280px;
  }
  nav.links a.hide-s {
    display: none;
  }
}

.hero > * {
  min-width: 0;
}
