@font-face {
  font-family: "Michroma";
  src: url("Michroma-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #fff; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.top { display: flex; justify-content: flex-end; padding-top: 20px; font-size: 14px; }
.top a { color: #aaa; text-decoration: none; margin-left: 16px; }
.top a:hover, .top a[aria-current="true"] { color: #fff; }
html[lang="en"] .lang-ru, html[lang="ru"] .lang-en { display: none; }

.hero { padding: 72px 0 32px; }
.mark {
  font-family: "Michroma", system-ui, sans-serif;
  font-size: clamp(28px, 7.2vw, 78px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
  font-weight: 400;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 16px;
  max-width: 22em;
}
.for { color: #aaa; margin: 0 0 16px; max-width: 40em; }
.benefit { font-size: clamp(18px, 2.4vw, 22px); color: #ccc; margin: 0 0 36px; max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid #fff;
}
.btn:hover { background: #000; color: #fff; }
.btn-ghost { background: #000; color: #fff; }
.btn-ghost:hover { background: #fff; color: #000; }
.text-link { text-underline-offset: 4px; }

section { padding: 56px 0; border-top: 1px solid #222; }
h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 28px;
}
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.items h3 { font-size: 20px; margin: 0 0 8px; font-weight: 600; }
.items p { margin: 0; color: #ccc; font-size: 16px; }

.stack { margin: 0 0 28px; color: #ccc; }
.stack strong { color: #fff; font-weight: 600; }
.shot { margin: 0; }
.lede { margin: 0 0 56px; }
.caption { margin: 12px 0 0; color: #888; font-size: 14px; line-height: 1.5; max-width: 46em; }
.steps { margin: 0; padding-left: 1.4em; max-width: 40em; }
.steps li { margin: 0 0 16px; color: #ccc; }
.steps li:last-child { margin-bottom: 0; }
.devs { padding: 56px 0; border-top: 1px solid #222; }
.devs summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}
.devs summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.devs-body { margin-top: 28px; }
.who .actions { margin: 0 0 24px; }
.shot picture { display: block; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid #333; border-radius: 8px; }

.mcp-code { position: relative; margin: 20px 0 28px; }
.mcp-code pre {
  margin: 0;
  padding: 16px 88px 16px 16px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.45;
}
.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #000;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
}
.copy:hover { border-color: #fff; }
.sizes { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 16px; }
.sizes caption { text-align: left; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #888; font-weight: 600; margin: 0 0 12px; }
.sizes td { border-top: 1px solid #222; padding: 10px 0; color: #ccc; }
.sizes td:last-child { text-align: right; color: #fff; white-space: nowrap; }
.request label, .request legend { display: block; margin: 0 0 8px; color: #aaa; font-size: 14px; }
.request input[type="email"], .request textarea {
  width: 100%;
  margin: 0 0 18px;
  background: #000;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}
.request fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.request .choice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; color: #fff; font-size: 18px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: #ccc; margin: 16px 0 0; }
.build-notes { list-style: none; margin: 0 0 20px; padding: 0; }
.build-notes p { margin: 0 0 8px; max-width: 40em; }
.build-notes a, .why p, .who p { max-width: 40em; }
.build-notes a { text-underline-offset: 4px; }
.why p { margin: 0; max-width: 40em; }
.who p { margin: 0 0 20px; max-width: 40em; }
.links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 0; list-style: none; }
.links a { text-decoration: underline; text-underline-offset: 4px; }

footer { border-top: 1px solid #222; padding: 32px 0 48px; color: #777; font-size: 14px; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { padding: 48px 0 24px; }
  .items { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 44px 0; }
  .btn { display: block; text-align: center; }
  .actions { display: block; }
  .actions .btn + .btn, .actions .text-link { margin-top: 14px; display: inline-block; }
  .devs { padding: 44px 0; }
}
