:root {
  --bg: #0b0c0e;
  --bg-elev: #12141a;
  --bg-card: #161821;
  --ink: #f4f6f0;
  --muted: #9aa39a;
  --line: rgba(255, 255, 255, 0.08);
  --lime: #c6ff3d;
  --lime-ink: #0b0c0e;
  --cyan: #5ce1e6;
  --radius: 16px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--lime);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

section {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head p {
  margin-top: 14px;
}

.nav {
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-copy span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn-lime:hover {
  background: #d4ff6a;
}

.link-quiet {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-quiet:hover {
  color: var(--ink);
}

.hero {
  padding-top: 40px;
  padding-bottom: 24px;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero h1 {
  margin: 16px 0;
}

.hero .lede {
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-figure,
.still,
.stack-art {
  margin: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-card);
}

.hero-figure img,
.still img,
.stack-art img {
  width: 100%;
}

.hero-figure figcaption,
.still figcaption {
  padding: 12px 16px 14px;
  color: var(--muted);
  font-size: 13px;
}

.result-grid,
.who-grid,
.steps,
.grid-blocks,
.projects,
.stack-grid,
.stack-layout,
.offer-card {
  display: grid;
  gap: 14px;
}

.projects {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card.good {
  box-shadow: inset 0 0 0 1px rgba(198, 255, 61, 0.12);
}

.card.bad {
  background: #161314;
}

.card h3 {
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.card li + li {
  margin-top: 8px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.card.bad .kicker {
  color: #ff9a9a;
}

.card.bad p {
  color: var(--muted);
}

.step-num {
  font-family: "Space Grotesk", sans-serif;
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.step p {
  margin-top: 10px;
}

.build-item span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--lime);
  margin-bottom: 14px;
}

.build-item:nth-child(even) span {
  background: var(--cyan);
}

.build-item p {
  margin-top: 8px;
  font-size: 0.95rem;
}

.stack-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52rem;
}

.offer-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  letter-spacing: -0.05em;
  margin: 14px 0 8px;
}

.offer-card .lede {
  margin-bottom: 4px;
}

.offer-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.offer-card li + li {
  margin-top: 8px;
}

.offer-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.offer-side p {
  color: var(--muted);
  font-size: 14px;
}

.selo {
  width: 168px;
  height: 168px;
  object-fit: contain;
  display: block;
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  color: var(--muted);
  margin-top: 10px;
}

.final-inner {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 24px;
  background: var(--bg-elev);
}

.final h2 {
  margin: 12px 0 14px;
}

.final .lede {
  margin-bottom: 22px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13px;
}

footer strong {
  color: var(--ink);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (min-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 40px));
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .projects {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .grid-blocks,
  .stack-grid,
  .who-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-card,
  .final-inner {
    padding: 40px;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }

  .result-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 24px;
  }

  .projects {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-blocks {
    grid-template-columns: repeat(4, 1fr);
  }

  .who-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .stack-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
    gap: 18px;
  }

  .stack-art {
    align-self: start;
  }

  .stack-art img {
    height: auto;
    object-fit: contain;
    display: block;
  }

  .offer-card {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .brand-copy {
    display: none;
  }

  .nav .btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}
