:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #d6dee8;
  --paper: #f1f5f9;
  --panel: #ffffff;
  --blue: #2563eb;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(241, 245, 249, 0.99)),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.045) 0 1px, transparent 1px 96px);
}

a {
  color: inherit;
}

.shell {
  width: calc(100% - 32px);
  margin: 0 auto;
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
}

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

main {
  padding: 28px 0 52px;
}

.panel {
  width: 100%;
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
}

.kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h2 {
  margin: 30px 0 8px;
  font-size: 19px;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.lead {
  max-width: 1180px;
  margin: 16px 0 0;
  font-size: 18px;
}

ul {
  padding-left: 22px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
}

.note {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
}

footer {
  padding: 22px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 28px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
