:root {
  color-scheme: dark;
  --bg: #282725;
  --panel: #32312f;
  --well: #1b1b1b;
  --line: #3f3e3b;
  --text: #f4f4f4;
  --muted: #9ca3af;
  --yellow: #fff8b8;
  --peach: #fcd79a;
  --red: #db3959;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}

header.top img {
  display: block;
  width: 180px;
  height: auto;
}

.lang {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.lang a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang a:hover {
  color: var(--text);
  border-color: rgba(244, 244, 244, 0.35);
}

.lang a.on {
  color: var(--bg);
  background: var(--peach);
  border-color: var(--peach);
}

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
  margin: 0 0 16px;
}

.hero {
  padding: 56px 0 40px;
}

.hero h1 {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p.lead {
  margin: 0;
  font-size: 19px;
  color: rgba(244, 244, 244, 0.82);
  max-width: 62ch;
}

section {
  padding-bottom: 56px;
}

section h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

section h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

section p {
  margin: 0 0 16px;
  color: rgba(244, 244, 244, 0.8);
  max-width: 68ch;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

.card p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid .card {
  margin-bottom: 0;
}

ol.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

ol.steps li {
  counter-increment: step;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px 22px 68px;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

ol.steps strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

ol.steps span.when {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 10px;
}

ol.steps p {
  margin: 0;
  font-size: 15px;
}

ul.plain {
  margin: 0;
  padding-left: 20px;
  color: rgba(244, 244, 244, 0.8);
}

ul.plain li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peach);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 500;
  padding: 0 12px 12px 0;
  border-bottom: 1px solid var(--line);
}

table td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid rgba(244, 244, 244, 0.08);
  color: rgba(244, 244, 244, 0.8);
  vertical-align: top;
}

table td:first-child {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

a.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.btn.primary {
  background: var(--red);
  color: #ffffff;
}

a.btn.primary:hover {
  background: #c22e4c;
}

a.btn.ghost {
  border-color: rgba(244, 244, 244, 0.25);
  color: var(--text);
}

a.btn.ghost:hover {
  border-color: var(--text);
}

p.note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 244, 244, 0.1);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

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

footer a {
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    padding: 40px 0 32px;
  }

  .hero h1 {
    font-size: 34px;
  }

  table td:first-child {
    white-space: normal;
  }
}
