:root {
  --bg: #f7f7f3;
  --surface: #ffffff;
  --text: #101010;
  --muted: #66665f;
  --line: #ddddD5;
  --accent: #111111;
  --code: #151515;
  --code-text: #f4f4ef;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 247, 243, .88);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover { color: var(--text); }

.hero {
  padding: 110px 0 72px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 14px 0 22px;
  font-size: clamp(56px, 9vw, 104px);
  line-height: .93;
  letter-spacing: -0.065em;
  max-width: 900px;
}

.lead {
  max-width: 760px;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.35;
  color: #31312d;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  appearance: none;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.button.primary {
  background: var(--text);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--text);
}

.summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-bottom: 88px;
}

.card {
  min-height: 200px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.card .icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: white;
  font-weight: 800;
}

.card h2 {
  margin: 42px 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 8px 0 26px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.license-box {
  white-space: pre-wrap;
  background: var(--code);
  color: var(--code-text);
  border-radius: 24px;
  padding: 30px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.65;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.steps article > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: white;
  font-weight: 800;
}

.steps h3 {
  margin: 1px 0 5px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
}

.code-panel {
  margin-top: 26px;
  background: var(--code);
  color: var(--code-text);
  border-radius: 20px;
  overflow: hidden;
}

.code-panel-title {
  padding: 12px 18px;
  border-bottom: 1px solid #333;
  color: #bdbdb6;
  font-size: 13px;
}

.code-panel pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
}

.about-copy {
  max-width: 760px;
  font-size: 22px;
}

.fine-print {
  max-width: 760px;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--text);
  color: white;
  padding: 11px 15px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: .2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1120px); }
  nav { display: none; }
  .hero { padding-top: 72px; }
  .summary { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .footer-inner { flex-direction: column; }
}
