:root {
  color-scheme: light;
  --ink: #17213b;
  --muted: #627089;
  --line: #dfe5ee;
  --blue: #1769e0;
  --blue-soft: #eef5ff;
  --gold: #f2b705;
  --danger: #bd3434;
  --page: #f7f8fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { background: var(--page); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--blue); }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(920px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
}

.brand-mark { color: var(--blue); }

.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }

main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.content { margin-top: 42px; }

.section {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.section p { margin: 0 0 12px; color: var(--muted); }
.section p:last-child { margin-bottom: 0; }
.section ul { margin: 8px 0 0; padding-left: 22px; color: var(--muted); }
.section li + li { margin-top: 5px; }

.notice {
  margin-top: 30px;
  padding: 18px;
  background: var(--blue-soft);
  border: 1px solid #cddff8;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
}

.notice strong { display: block; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--muted); }

.danger-notice {
  background: #fff5f5;
  border-color: #efcdcd;
  border-left-color: var(--danger);
}

.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.button.danger { background: var(--danger); border-color: var(--danger); }

.steps {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: deletion-step;
}

.steps li {
  position: relative;
  padding: 0 0 22px 50px;
  color: var(--muted);
  counter-increment: deletion-step;
}

.steps li::before {
  content: counter(deletion-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff3c8;
  border: 1px solid #f0d067;
  border-radius: 50%;
  font-weight: 850;
}

.site-footer {
  padding: 24px 16px 36px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 560px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 15px 0; }
  .nav-links { width: 100%; justify-content: space-between; }
  main { padding-top: 38px; }
  .button-row, .button { width: 100%; }
}
