:root {
  --bg: #f3f7fd;
  --card: #ffffff;
  --text: #1a2b45;
  --muted: #4d6284;
  --accent: #2f7ae5;
  --line: #dbe7f8;
  --space: clamp(14px, 3vw, 22px);
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f4f8ff 0%, #eef5ff 100%);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-inner {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 12px clamp(14px, 4vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.topbar-mark {
  display: block;
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.topbar-wordmark {
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.topbar-wordmark .tld {
  font-weight: 400;
  color: var(--muted);
}
.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: clamp(0.9rem, 2.8vw, 1rem);
}
.topnav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.topnav a:hover {
  color: var(--accent);
}
.topnav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.wrap {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 32px) clamp(14px, 4vw, 24px) clamp(32px, 6vw, 48px);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.5vw, 16px);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space);
}
h1 {
  margin: 0 0 0.6em;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.15;
}
h2 {
  margin: 0 0 0.75em;
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
}
p {
  margin: 0 0 0.85em;
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
}
p:last-child { margin-bottom: 0; }
.card a {
  color: var(--accent);
  text-decoration: underline;
}
.lead {
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: #2b4266;
  font-weight: 600;
}
.badge {
  display: inline-block;
  border: 1px solid #b9cff0;
  color: var(--accent);
  padding: 0.35em 0.75em;
  border-radius: 999px;
  font-size: clamp(0.75rem, 2.5vw, 0.82rem);
  margin-bottom: 0.85em;
}
.steps {
  margin: 0;
  padding-left: 1.25em;
  color: #2b4266;
  line-height: 1.6;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
}
.steps li { margin-bottom: 0.5em; }
.steps li:last-child { margin-bottom: 0; }
.note {
  margin-top: 0.85em;
  color: #5d7396;
  font-size: clamp(0.85rem, 2.5vw, 0.9rem);
}
.contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 480px) {
  .contacts { grid-template-columns: 1fr 1fr; }
}
.contact {
  border: 1px dashed #b7cbeb;
  border-radius: 10px;
  padding: 12px;
  background: #f7fbff;
  min-width: 0;
}
.k {
  color: #2b6fd0;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.35em;
}
.contact-nocopy,
.contact-nocopy .v {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.v {
  color: #1f3352;
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  word-break: break-word;
}
.hint {
  margin-top: 0.85em;
  color: #1f8f67;
  font-size: clamp(0.85rem, 2.5vw, 0.9rem);
}
footer {
  margin-top: 0.5em;
  padding-top: 0.5em;
  color: #6a81a5;
  font-size: clamp(0.8rem, 2.5vw, 0.85rem);
  text-align: center;
  line-height: 1.5;
}
footer a {
  color: var(--accent);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
