/* TypeSafe Studios — static site. One stylesheet, no framework. */

:root {
  --ink: #1a2330;
  --muted: #5a6675;
  --line: #e3e8ee;
  --accent: #0f62fe;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; }
h1 { font-size: 2.25rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.75rem; margin: 0 0 0.5rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }

.site-header { border-bottom: 1px solid var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand span { color: var(--accent); }
.nav nav a { margin-left: 1.25rem; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }

.hero { padding: 4rem 1.25rem 3rem; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; }

.product {
  padding: 2.5rem 1.25rem 3.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.product .lede { font-size: 1.2rem; font-weight: 600; }
.steps li { margin-bottom: 0.75rem; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
}
.button:hover { text-decoration: none; opacity: 0.9; }
.cta { margin-top: 1.5rem; }

.site-footer { border-top: 1px solid var(--line); }
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot nav a { margin-left: 1.25rem; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }

.prose { padding: 3rem 1.25rem 4rem; }
.prose p, .prose li { max-width: 42rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }

@media (max-width: 40rem) {
  h1 { font-size: 1.8rem; }
  .foot { flex-direction: column; align-items: flex-start; }
}
