:root {
  --red: #dd3621; --red-dark: #bd2a33; --black: #1a171b;
  --bg: #f5f5f6; --surface: #fff; --muted: #6e6a70; --line: #e6e4e7;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--black); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--red); }
.in { max-width: 820px; margin: 0 auto; padding: 0 20px; width: 100%; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; background: #f1f0f2; padding: 2px 6px; border-radius: 4px; word-break: break-all; }

.top { background: var(--surface); border-bottom: 3px solid var(--red); }
.top .in { display: flex; align-items: center; gap: 10px; height: 68px; }
.top .mark { width: 40px; height: 40px; }
.top .word { height: 22px; }
.top .call { margin-left: auto; font-weight: 700; color: var(--black); text-decoration: none; white-space: nowrap; }

main { flex: 1; padding-top: 36px; padding-bottom: 40px; }
.hero h1 { font-size: 34px; margin: 0 0 8px; }
.lead { font-size: 19px; color: #3a363c; margin: 0 0 28px; }

.steps { list-style: none; padding: 0; margin: 0 0 24px; }
.steps li { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 14px; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.steps h2 { margin: 4px 0 8px; font-size: 21px; }
.steps p { margin: 0 0 10px; }
.small { font-size: 14.5px; color: var(--muted); }

.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; border: 1px solid #d6d3d8; background: #fff; color: var(--black);
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--black); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); }
.btn.dark { background: var(--black); border-color: var(--black); color: #fff; }
.btn.big { font-size: 19px; padding: 15px 28px; margin-bottom: 8px; }
.btn.sm { padding: 3px 10px; font-size: 13px; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 4px; }
.choice { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; min-width: 0; background: #fcfbfc; }
.choice h3 { margin: 0 0 10px; font-size: 18px; }
.choice p { font-size: 15px; }
.choice .btn.big { margin-bottom: 10px; }
.cmd { display: grid; gap: 8px; justify-items: start; margin: 4px 0 10px; }
.cmd code { display: block; width: 100%; padding: 10px 12px; font-size: 13px; line-height: 1.5; word-break: break-all; }
@media (max-width: 700px) { .choices { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.box summary { cursor: pointer; padding: 16px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.box summary::-webkit-details-marker { display: none; }
.box summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; }
.box[open] summary::after { content: "–"; }
.box .body { padding: 0 22px 18px; font-size: 15.5px; }
.dl { padding-left: 20px; }
.dl li { margin-bottom: 6px; }
.cfg { display: flex; gap: 10px; align-items: flex-start; }
.cfg code { flex: 1; display: block; padding: 10px; }
table { border-collapse: collapse; width: 100%; }
td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { color: var(--muted); white-space: nowrap; width: 1%; padding-right: 16px; }
.note { font-size: 13.5px; color: var(--muted); }

.foot { background: var(--black); color: #b9b5bb; font-size: 13.5px; }
.foot .in { padding-top: 22px; padding-bottom: 22px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.foot b, .foot a { color: #fff; }
.foot img { height: 16px; display: block; margin-bottom: 6px; }
.foot .links { display: flex; gap: 16px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 28px; }
  .steps li { padding: 16px; gap: 12px; }
  .top .call span { display: none; }
  .cfg { flex-direction: column; }
}
