:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --text: #0f172a;
  --text-muted: #475569;
  --brand: #0b57d0;
  --brand-strong: #083ea7;
  --ok: #0f766e;
  --border: #dbe3ef;
  --shadow: 0 10px 30px rgba(2, 12, 27, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 500px at 15% -10%, #d8e8ff 0%, transparent 55%),
    radial-gradient(1200px 600px at 85% -15%, #d5f0e7 0%, transparent 50%),
    var(--bg);
  min-height: 100%;
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 247, 251, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(140deg, #0b57d0 0%, #1d4ed8 55%, #0f766e 100%);
  box-shadow: 0 8px 20px rgba(11, 87, 208, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

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

.hero {
  padding: 64px 0 44px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  color: var(--ok);
  font-weight: 700;
  letter-spacing: 0.15px;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  letter-spacing: 0.1px;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 140ms ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

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

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}

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

.grid {
  display: grid;
  gap: 16px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card h3 {
  font-size: 1.02rem;
}

.section {
  padding: 16px 0 42px;
}

.legal-shell {
  padding: 36px 0 52px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 38px);
}

.legal-meta {
  margin: 6px 0 18px;
  font-weight: 600;
  color: #0f766e;
}

.legal-card h2 {
  margin-top: 24px;
}

.legal-card ul {
  padding-left: 20px;
  margin-top: 0;
  color: var(--text-muted);
}

.notice {
  border-left: 4px solid var(--brand);
  background: #f3f7ff;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding: 20px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.small {
  font-size: 0.94rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
