:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #f0f4ff;
  --surface-muted: #eef1f6;
  --text: #1f2933;
  --text-muted: #4b5563;
  --accent: #1d4ed8;
  --accent-contrast: #ffffff;
  --border: #d1d9e6;
  --shadow: 0 12px 30px rgba(30, 64, 175, 0.12);
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

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

.narrow {
  width: min(800px, 92vw);
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.icon {
  font-size: 1.6rem;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.25rem 0;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(37, 99, 235, 0.12));
  padding: 6rem 0 4.5rem;
  text-align: center;
}

.hero .container {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 32rem;
  margin: 0;
}

.hero p {
  max-width: 48rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

.hero-icon {
  font-size: 3.5rem;
}

.section {
  padding: 4.5rem 0;
  background: var(--surface);
}

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

.section-muted {
  background: var(--surface-muted);
}

.section h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-top: 0;
}

.section p {
  color: var(--text-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.breadcrumbs {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--border);
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: inherit;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.button-group button,
.scroll-top {
  border: none;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 16px rgba(29, 78, 216, 0.18);
}

.button-group button:hover,
.button-group button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.22);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.18);
}

.card-icon {
  font-size: 2rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
}

.badge {
  align-self: flex-start;
  background: rgba(29, 78, 216, 0.12);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.callout {
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.callout h4 {
  margin: 0;
  color: var(--accent);
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.76);
  padding: 2.5rem 0;
  margin-top: 3rem;
}

.site-footer .container {
  display: grid;
  gap: 1.5rem;
}

.footer-content {
  display: grid;
  gap: 0.5rem;
}

.footer-content p {
  margin: 0;
}

.site-footer address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer nav a {
  color: inherit;
  font-weight: 600;
}

.site-footer nav a[aria-current="page"] {
  text-decoration: underline;
}

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

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(29, 78, 216, 0.25);
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
  }

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

  .button-group {
    justify-content: flex-start;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 769px) {
  .site-footer .container {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .hero h1 {
    font-size: 2.25rem;
  }
}

.blog .section {
  background: var(--surface);
}

.meta {
  color: var(--text-muted);
  margin: 0;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.7rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
}

.feature-block {
  background: rgba(29, 78, 216, 0.05);
  border: 1px solid rgba(29, 78, 216, 0.15);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.feature-block h3 {
  margin-top: 0;
}

.feature-block ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.faq {
  display: grid;
  gap: 1.75rem;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
}

.table-wrapper {
  overflow-x: auto;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 28rem;
  box-shadow: var(--shadow);
  border-radius: 1rem;
  overflow: hidden;
}

.table-wrapper th,
.table-wrapper td {
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  text-align: left;
  color: var(--text-muted);
}

.table-wrapper thead {
  background: var(--surface-alt);
}

.table-wrapper th {
  color: var(--text);
  font-weight: 700;
}

.table-wrapper tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.03);
}

ol {
  padding-left: 1.4rem;
  color: var(--text-muted);
}

ol li {
  margin-bottom: 0.5rem;
}
