/* Посадочные страницы (Landings.cs). Та же тёмная студия, что и приложение,
   но отдельным маленьким файлом: роботу и человеку с поиска незачем тянуть
   весь app.css ради одной статьи. */

:root {
  --bg: #0d0d0f;
  --bg-deep: #08080a;
  --bg-elevated: #121215;
  --bg-field: #141417;
  --bg-raised: #1f1f23;
  --line: #1f1f23;
  --line-strong: #2c2c31;
  --text: #ecebe6;
  --text-soft: #c9c7c0;
  --text-muted: #8d8b85;
  --text-faint: #5d5c58;
  --accent: #d7f25c;
  --accent-hover: #e4fb7c;
  --accent-text: #0d0d0f;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Geologica, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: inherit; }

.l-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 20px 10px;
}

.l-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
}

.l-brand svg { width: 24px; height: 24px; }
.l-brand b { color: var(--accent); font-weight: 500; }

.l-enter {
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}

.l-enter:hover { border-color: var(--text-faint); color: var(--text); }

.l-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 880px;
  margin: 0 auto;
  padding: 4px 20px 0;
}

.l-nav a, .l-nav span {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.l-nav a:hover { color: var(--text); }
.l-nav span { color: var(--accent-text); background: var(--accent); }

.l-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.l-hero { padding: 40px 0 8px; }

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
}

.l-lead {
  max-width: 620px;
  margin: 14px 0 26px;
  font-size: 17px;
  color: var(--text-soft);
}

.l-try {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: var(--bg-field);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}

.l-try code {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  color: var(--text-soft);
}

.l-cta {
  flex: none;
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.l-cta:hover { background: var(--accent-hover); }

.l-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.l-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 36px 0 0;
}

.l-example figure {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
  aspect-ratio: 1;
}

.l-example img { display: block; width: 100%; height: 100%; object-fit: cover; }

.l-example figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 6px;
  background: rgba(8, 8, 10, 0.8);
}

.l-example figcaption.is-after { background: var(--accent); color: var(--accent-text); }

.l-arrow { color: var(--accent); font-size: 22px; }

.l-steps, .l-prompts, .l-models, .l-faq { margin-top: 44px; }

.l-steps ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.l-steps li {
  counter-increment: step;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text-soft);
  font-size: 15px;
}

.l-steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 13px;
}

.l-prompts p, .l-models p { margin: 0 0 14px; color: var(--text-soft); }
.l-prompts p { color: var(--text-muted); font-size: 14px; }

.l-prompts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.l-prompts a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
}

.l-prompts a:hover { border-color: var(--line-strong); color: var(--text); }

.l-faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.l-faq details:last-child { border-bottom: 1px solid var(--line); }

.l-faq summary { cursor: pointer; font-weight: 500; }
.l-faq details p { margin: 8px 0 0; color: var(--text-soft); }

.l-bottom { margin-top: 40px; text-align: center; }

.l-foot {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 560px) {
  .l-hero { padding-top: 26px; }
  .l-try { flex-direction: column; align-items: stretch; padding: 14px; }
  .l-cta { text-align: center; }
  .l-example { grid-template-columns: 1fr 1fr; }
  .l-arrow { display: none; }
}
