:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --accent: #0f4c81;
  --accent-hover: #0a365c;
  --accent-soft: #e0f2fe;
  --radius: 12px;
  --max-w: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

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

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-muted);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
  text-decoration: none;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p.lead {
  margin: 0 0 28px;
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-muted);
  text-decoration: none;
}

.section {
  padding: 52px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0 0 28px;
  color: var(--text-muted);
  max-width: 740px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.section-alt .card {
  background: var(--bg);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 240px;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--surface-muted);
}

.doc-wrap {
  max-width: 820px;
  margin: 40px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.doc-wrap h1 {
  margin: 0 0 8px;
  font-size: 1.9rem;
}

.doc-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.doc-wrap h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.doc-wrap p,
.doc-wrap li {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.doc-wrap ul,
.doc-wrap ol {
  padding-left: 20px;
}

.callout {
  background: var(--surface-muted);
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 18px 0;
  font-size: 0.94rem;
  color: var(--text);
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 0;
  margin-top: 40px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0 0 8px;
  color: #94a3b8;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #e2e8f0;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.85rem;
}

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

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

  .info-table th {
    width: auto;
    display: block;
  }

  .info-table td {
    display: block;
  }

  .doc-wrap {
    margin: 20px 16px;
    padding: 24px 20px;
  }
}
