:root {
  color-scheme: light;
  --brand-primary: #5e72e4;
  --brand-secondary: #764ba2;
  --brand-dark: #1f2a44;
  --brand-light: #f4f5f7;
  --brand-accent: #2dce89;
  --text-body: #2b2d42;
  --text-muted: #4a4e69;
  --border-soft: #d9dce7;
  --shadow-soft: 0 18px 40px -20px rgba(31, 42, 68, 0.35);
  --max-width: clamp(960px, 92vw, 1200px);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-body);
  font-family: var(--font-base, 'Inter', system-ui, sans-serif);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #111827;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
}

.masthead {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 42, 68, 0.06);
  z-index: 100;
}

.masthead__inner {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0.85rem clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
}

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

.brand-mark {
  font-size: 1.5rem;
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.masthead__nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.masthead__cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--brand-primary);
  color: #ffffff;
  border: 1px solid var(--brand-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(94, 114, 228, 0.6);
}

.button--ghost {
  background: transparent;
  color: var(--brand-primary);
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(94, 114, 228, 0.08);
}

.hero {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, rgba(94, 114, 228, 0.08), rgba(118, 75, 162, 0.05));
  border-bottom: 1px solid rgba(94, 114, 228, 0.12);
}

.hero--hub {
  background: linear-gradient(135deg, rgba(94, 114, 228, 0.12), rgba(45, 206, 137, 0.08));
}

.hero--root {
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.12), rgba(94, 114, 228, 0.1));
}

.hero__inner {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
}

.hero__subhead {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  max-width: min(62ch, 100%);
  color: var(--text-muted);
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

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

.tag-list li {
  background: rgba(94, 114, 228, 0.12);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.section {
  margin: 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section:nth-of-type(even) {
  background: rgba(244, 245, 247, 0.6);
}

.section--two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.section--summary {
  background: rgba(94, 114, 228, 0.07);
  border-top: 1px solid rgba(94, 114, 228, 0.2);
  border-bottom: 1px solid rgba(94, 114, 228, 0.2);
}

.section--summary p {
  margin: 0;
  max-width: min(68ch, 100%);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.section--highlight {
  background: linear-gradient(135deg, rgba(94, 114, 228, 0.12), rgba(45, 206, 137, 0.08));
}

.section--cta {
  background: var(--brand-dark);
  color: #ffffff;
}

.section--faq details {
  background: #ffffff;
  border: 1px solid rgba(31, 42, 68, 0.08);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px -24px rgba(11, 18, 43, 0.4);
}

.section--faq summary {
  cursor: pointer;
  font-weight: 600;
}

.section--faq p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--brand-dark);
}

.section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max-width);
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.list {
  margin: 0;
  padding-left: 1.5rem;
}

.list--check li {
  position: relative;
  list-style: none;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.list--check li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-primary);
  font-weight: 700;
}

.list--sparkle li {
  position: relative;
  padding-left: 1.75rem;
  list-style: none;
  margin-bottom: 0.75rem;
}

.list--sparkle li::before {
  content: '✷';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-secondary);
  font-weight: 700;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.steps__marker {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(94, 114, 228, 0.1);
  border: 1px solid rgba(94, 114, 228, 0.24);
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--brand-primary);
}

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

.metric-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(94, 114, 228, 0.16);
  box-shadow: var(--shadow-soft);
}

.metric-card__icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(94, 114, 228, 0.16);
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}

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

.card {
  background: #ffffff;
  border: 1px solid rgba(31, 42, 68, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(31, 42, 68, 0.45);
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-primary);
}

.cta-panel {
  max-width: min(540px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs__separator {
  color: rgba(31, 42, 68, 0.35);
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.84);
  padding: 3rem 0 2rem;
}

.site-footer__inner {
  margin: 0 auto 2rem;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.site-footer__inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  display: inline-block;
}

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

.site-footer__bottom {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-hosting a {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 960px) {
  .masthead__nav {
    display: none;
  }
  .masthead__inner {
    justify-content: space-between;
  }
  .masthead__cta .button--ghost {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
