:root {
  --primary: #2563eb;
  --primary-dark: #1e4fb8;
  --accent: #fd7958;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --radius: 14px;
  --maxw: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

main {
  padding-top: 40px;
  padding-bottom: 64px;
}

.hero {
  text-align: center;
  padding: 48px 0 24px;
}

.hero h1 {
  font-size: 2rem;
  margin: 0 0 12px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 560px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  text-decoration: none;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

article h1 {
  font-size: 1.7rem;
  margin-top: 0;
}

article h2 {
  font-size: 1.2rem;
  margin-top: 32px;
}

article h3 {
  font-size: 1.02rem;
  margin-top: 22px;
}

article ul {
  padding-left: 20px;
}

article li {
  margin-bottom: 6px;
}

.updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0;
}

.callout {
  background: #eff4ff;
  border: 1px solid #c7d8fb;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
}

.callout strong {
  color: var(--primary-dark);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 8px;
}

.btn:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .container {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text-muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}

table.data th,
table.data td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

table.data th {
  background: #f1f5f9;
}
