:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5b5b5b;
  --border: #e6e6e6;
  --card: #f7f7f4;
  --link: #111111;
  --focus: rgba(0, 0, 0, 0.08);
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--muted); }

.container {
  width: min(900px, 92%);
  margin: 0 auto;
  padding: 0 1rem;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  z-index: 999;
}

.header {
  padding: 2rem 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
}
.brand strong {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.brand span {
  font-size: .9rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  font-size: .98rem;
  color: var(--muted);
  padding: .25rem 0;
}
.nav a[aria-current="page"] {
  color: var(--text);
}

main {
  flex: 1;
  padding: 2.25rem 0 3.25rem;
}

.hero {
  text-align: center;
  padding: 3.5rem 0 2.25rem;
}
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  font-weight: 650;
}
.lead {
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted);
}

.actions {
  margin-top: 2rem;
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--text);
  font-weight: 600;
  font-size: .98rem;
  transition: all .18s ease;
}
.btn.primary {
  background: var(--text);
  color: var(--bg);
}
.btn.primary:hover {
  background: transparent;
  color: var(--text);
}
.btn.secondary:hover {
  background: var(--card);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  margin-top: 2rem;
}

.card {
  grid-column: span 12;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.card h2 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.list {
  margin: .75rem 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.65;
}
.list li {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.list li::before {
  content: "•";
  color: var(--muted);
  flex: 0 0 auto;
}

.kicker {
  display: inline-block;
  font-size: .85rem;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--bg);
  padding: .35rem .6rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}

.section-title {
  margin: 0 0 .75rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.65;
}

.hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.25rem 0;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
}
.footer .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus);
  border-radius: 10px;
}

@media (min-width: 720px) {
  .card.span6 { grid-column: span 6; }
  .card.span4 { grid-column: span 4; }
}

@media (max-width: 720px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }
  .brand span {
    display: block;
  }
  .nav {
    gap: .6rem 1rem;
    justify-content: flex-start;
  }
  .hero {
    padding-top: 2.5rem;
  }
  .actions {
    width: 100%;
  }
}
