:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6b82;
  --line: #d9e2ef;
  --accent: #1769ff;
  --accent-soft: #e9f1ff;
  --warning: #fff6dc;
  --warning-line: #f0c85b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.wrap {
  width: min(880px, calc(100% - 32px));
  margin: 42px auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 14px 38px rgba(28, 45, 77, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
}

h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 8px 0 16px;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

.meta {
  color: var(--muted);
  margin-bottom: 24px;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
}

.warning {
  background: var(--warning);
  border-left: 4px solid var(--warning-line);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 20px 0;
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.link-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fbfdff;
}

.link-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .wrap {
    margin: 24px auto;
  }

  .card {
    border-radius: 10px;
  }
}
