:root {
  color-scheme: light;
  --bg: #0f1720;
  --panel: #f7f3eb;
  --panel-strong: #ffffff;
  --ink: #1c1b18;
  --muted: #5d5a54;
  --accent: #f2b544;
  --accent-2: #3b82f6;
  --border: rgba(28, 27, 24, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 22px;
  background:
    radial-gradient(1000px 520px at 10% -10%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(900px 400px at 100% 20%, rgba(242, 181, 68, 0.25), transparent 55%),
    var(--bg);
  color: #fefaf2;
  min-height: 100vh;
  padding: 48px 20px 80px;
}
.lang-switcher {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 10;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fefaf2;
}
.lang-switcher a {
  color: inherit;
  text-decoration: none;
}
.lang-switcher a:hover {
  text-decoration: underline;
}
.shell {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--panel);
  color: var(--ink);
  border-radius: 28px;
  padding: 40px 44px 52px;
  box-shadow: var(--shadow);
}
header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
}
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.app-icon img {
  width: 54px;
  height: 54px;
}
h1 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  letter-spacing: 0.02em;
}
.tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}
section {
  margin-top: 34px;
}
h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}
h3 {
  margin: 20px 0 12px;
  font-size: 1.2rem;
}
.step-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.55;
}
.panel {
  background: var(--panel-strong);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
pre {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: #121826;
  color: #f8fafc;
  border-radius: 12px;
  overflow-x: auto;
  font-family: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
  font-size: 0.92rem;
}
code {
  font-family: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
}
.callout {
  border-left: 4px solid var(--accent);
  background: rgba(242, 181, 68, 0.14);
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--ink);
  line-height: 1.5;
}
figure {
  margin: 0;
  background: var(--panel-strong);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}
figure img {
  width: 100%;
  display: block;
}
figcaption {
  padding: 10px 14px 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
.button-note {
  margin-top: 14px;
  font-weight: 600;
  color: #1f2937;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 600;
}
footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
@media (max-width: 640px) {
  .shell {
    padding: 28px 22px 36px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .lang-switcher {
    top: 12px;
    right: 16px;
    font-size: 0.85rem;
  }
}
