:root {
  --accent: #7cc242;
  --ink: #141414;
  --muted: #5f665d;
  --soft: #f7f8f4;
  --mist: #eef3f1;
  --line: #e1e5dd;
  --dark: #0b0f0c;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 70px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 244, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  height: 100%;
  padding: 0 clamp(24px, 4vw, 64px);
}
.brand { grid-column: 1; justify-self: start; }
.brand img { width: 99px; height: auto; }
.nav-links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.login { padding: 10px 8px; color: var(--muted); }
.nav-links a:hover, .login:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(124, 194, 66, .35); outline-offset: 2px; }

main {
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 92px;
}
header { max-width: 790px; }
.eyebrow {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1 {
  max-width: 780px;
  margin: 16px 0 0;
  font-size: clamp(52px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}
.intro {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

section { margin-top: 76px; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.section-heading span { color: var(--muted); font-family: "DM Sans", system-ui, sans-serif; font-size: 12px; }

.card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.tutorial-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
  margin-top: 18px;
  padding: 30px;
  box-shadow: 0 26px 80px rgba(20, 20, 20, .08);
}
.card-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(124, 194, 66, .28);
  border-radius: 8px;
  background: rgba(124, 194, 66, .12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.card-content h3 { margin: 10px 0 0; font-size: 24px; line-height: 1.24; }
.card-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.62;
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tags span {
  padding: 7px 9px;
  border-radius: 3px;
  background: var(--soft);
  color: var(--muted);
  font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.card-actions { display: flex; flex-direction: column; align-items: stretch; gap: 13px; min-width: 204px; text-align: center; }
.text-link { color: var(--muted); font-size: 12px; font-weight: 600; }
.text-link:hover { color: var(--ink); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 40px clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
}
footer p { margin: 0; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-actions { grid-column: 2; }
}

@media (max-width: 720px) {
  .nav { height: 66px; }
  .nav-inner { padding: 0 16px; }
  .brand img { width: 88px; }
  .login { display: none; }
  .nav-actions .button { min-height: 38px; padding: 0 14px; font-size: 12px; }
  main { width: min(1152px, calc(100% - 32px)); padding: 52px 0 70px; }
  h1 { font-size: 44px; }
  section { margin-top: 54px; }
  .tutorial-card { grid-template-columns: 1fr; padding: 23px; }
  .card-actions { min-width: 0; }
  footer { flex-direction: column; padding-right: 16px; padding-left: 16px; }
}
