:root {
  --paper: #e7ece7;
  --sheet: #f4f7f4;
  --ink: #16201c;
  --muted: #5c6a64;
  --rule: #c3cdc7;
  --link: #3046c9;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}
a { color: var(--link); text-underline-offset: 0.18em; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--link); }
img { display: block; }

/* top bar */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 72rem; margin: 0 auto; padding: 1.25rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.brand img { border-radius: 6px; }
.bar-download { font-weight: 500; text-decoration: none; }
.bar-download:hover { text-decoration: underline; }

main { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 4rem; align-items: center;
  padding: 4.5rem 0 5.5rem;
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 5.25rem);
  line-height: 0.98; letter-spacing: -0.045em; font-weight: 600;
}
.lede { margin: 1.75rem 0 0; max-width: 32rem; font-size: 1.1875rem; color: var(--ink); }
.get { margin-top: 2.25rem; }
.button {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  background: var(--ink); color: var(--paper);
  font-weight: 500; text-decoration: none; border-radius: 10px;
  transition: background-color 0.15s ease;
}
.button:hover { background: #2a3832; }
.fine { margin: 0.8rem 0 0; font-size: 0.875rem; color: var(--muted); }

/* the file */
.file {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 1px 0 #fff inset, 0 24px 48px -28px rgba(22, 32, 28, 0.35);
  overflow: hidden;
}
.file-name {
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  font: 500 0.8125rem/1 var(--mono); color: var(--muted);
}
.file-body {
  margin: 0; padding: 1.25rem 1.25rem 1.5rem;
  font: 400 0.875rem/1.65 var(--mono);
  white-space: pre-wrap; overflow-wrap: anywhere;
  min-height: 25.5rem;
}
.fm { color: var(--muted); }
.role { color: var(--muted); font-weight: 500; }
.link { color: var(--link); }
.caret {
  display: inline-block; width: 0.55em; height: 1.1em; margin-left: 1px;
  vertical-align: -0.2em; background: var(--link);
  animation: blink 1s steps(1) infinite;
}
.caret.done { display: none; }
@keyframes blink { 50% { opacity: 0; } }

/* facts */
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem;
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid var(--rule);
}
.fact h2 { margin: 0 0 0.6rem; font-size: 1.125rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.fact p { margin: 0; color: var(--muted); }

/* phone */
.phone { padding: 3.5rem 0 5rem; border-top: 1px solid var(--rule); }
.phone > h2 { margin: 0; font-size: 2rem; letter-spacing: -0.03em; font-weight: 600; }
.phone-lede { margin: 0.9rem 0 0; max-width: 40rem; color: var(--muted); }
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem;
  margin: 2.5rem 0 1.5rem; padding: 0;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 0.9rem;
  font-size: 2.75rem; line-height: 1; font-weight: 500; letter-spacing: -0.04em;
  color: var(--link);
}
.steps h3 { margin: 0 0 0.45rem; font-size: 1.0625rem; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); }

.foot {
  max-width: 72rem; margin: 0 auto; padding: 2rem 1.5rem 3rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem; color: var(--muted);
}
.foot p { margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2.75rem; padding: 2.5rem 0 4rem; }
  .facts, .steps { grid-template-columns: 1fr; gap: 2rem; }
  .file-body { min-height: 0; font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  .button { transition: none; }
}
