:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe6f5;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #e9f0ff;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, var(--bg) 100%);
  line-height: 1.65;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(148, 163, 184, 0.1), transparent 35%),
    radial-gradient(circle at 85% 0%, rgba(191, 219, 254, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(248, 250, 252, 0.35));
  z-index: -1;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  clip-path: inset(14% round 16%);
  box-shadow: none;
  background: transparent;
}

.nav-list {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link[aria-current="page"] {
  background: #eff6ff;
  color: var(--accent);
}

.main {
  padding: 1.6rem 0 3rem;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.3rem;
}

.hero-gradient {
  background:
    radial-gradient(circle at 90% -10%, rgba(37, 99, 235, 0.13), transparent 38%),
    radial-gradient(circle at -5% 5%, rgba(59, 130, 246, 0.15), transparent 32%),
    var(--surface);
}

.hero-logo {
  width: clamp(88px, 28vw, 136px);
  height: auto;
  border-radius: 12%;
  object-fit: cover;
  object-position: center;
  clip-path: inset(12% round 18%);
  display: block;
  margin-bottom: 0.95rem;
  box-shadow: none;
  background: transparent;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
}

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

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

.button-secondary {
  border-color: var(--border);
  color: var(--text);
  background: #ffffff;
}

.section {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

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

.info-card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.45rem;
}

.info-card p {
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.info-card a {
  font-weight: 600;
}

.section ul {
  margin: 0 0 1rem 1.2rem;
}

.section li {
  margin-bottom: 0.4rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

@media (max-width: 560px) {
  .site-header-inner {
    min-height: auto;
    padding: 0.7rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    width: 100%;
    justify-content: flex-start;
  }

  .button-row .button {
    width: 100%;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 720px) {
  .main {
    padding: 2.15rem 0 3.8rem;
  }

  .hero,
  .section {
    padding: 1.65rem;
  }

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

  .nav-list {
    gap: 0.4rem;
  }
}
