:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #182230;
  --muted: #52606d;
  --line: #d9e2ec;
  --brand: #1d4ed8;
  --brand-dark: #173ea6;
  --soft: #edf4ff;
  --danger-soft: #fff3f2;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
}

.topbar-inner,
.footer-inner,
.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
}

.nav a.active {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.page {
  flex: 1;
  padding-top: 34px;
  padding-bottom: 40px;
}

.hero,
.card,
.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  margin-bottom: 22px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 22px;
}

.card h2,
.article h1,
.article h2,
.article h3 {
  margin-top: 0;
}

.card p,
.article p,
.article li {
  color: var(--muted);
}

.article {
  padding: 26px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 22px;
}

.meta-pill {
  background: var(--soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.notice {
  background: var(--danger-soft);
  border: 1px solid #f7c9c5;
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
}

.info-list,
.number-list {
  padding-left: 20px;
}

.info-list li,
.number-list li {
  margin-bottom: 10px;
}

.section {
  margin-top: 28px;
}

.contact-box {
  padding: 18px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid #cfe0ff;
  margin-top: 18px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-inner {
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .card,
  .article {
    padding: 20px;
  }
}
