:root {
  --background: #f6f8fb;
  --foreground: #111827;
  --muted: #5f6876;
  --card: #ffffff;
  --border: #e3e8ef;
  --primary: #2563eb;
  --accent: #7c3aed;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, rgba(37, 99, 235, 0.1), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, var(--background) 100%);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

a:hover {
  text-decoration: underline;
}

.site-header,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  color: var(--foreground);
  font-size: 16px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-nav a,
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  padding: 9px 14px;
  text-decoration: none;
}

.site-nav a:hover,
.pill:hover {
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--primary);
  text-decoration: none;
}

.page {
  padding: 34px 0 72px;
}

.hero {
  max-width: 880px;
  margin: 0 auto 28px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 750;
  padding: 7px 14px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.sidebar,
.card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 18px;
  padding: 18px;
}

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

.sidebar nav {
  flex-direction: column;
}

.card {
  padding: clamp(20px, 4vw, 32px);
}

.card + .card {
  margin-top: 18px;
}

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

.item,
.step {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 15px 16px;
}

.item p,
.step p {
  color: var(--muted);
  font-size: 15px;
}

ol,
ul {
  margin: 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.breadcrumb {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

  .sidebar {
    position: static;
  }

  .sidebar nav {
    flex-direction: row;
  }

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