:root {
  --brand: #7c3aed;
  --brand-dark: #5b21b6;
  --brand-soft: #ede9fe;
  --brand-glow: rgba(124, 58, 237, .24);
  --ink: #171326;
  --muted: #645d74;
  --line: rgba(124, 58, 237, .16);
  --card: #ffffff;
  --paper: #fbfaff;
  --deep: #120a2a;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 24px 70px rgba(32, 16, 72, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 0%, rgba(124, 58, 237, .16), transparent 34rem), linear-gradient(180deg, #ffffff 0%, #fbfaff 42%, #f6f2ff 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
}

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

a:hover {
  color: var(--brand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(124, 58, 237, .12);
}

.header-shell, .section-shell, .hero-shell, .footer-shell, .breadcrumbs {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.header-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #a78bfa);
  box-shadow: 0 14px 30px var(--brand-glow);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  fill: none;
}

.brand-mark svg path:first-child {
  fill: rgba(255,255,255,.18);
  stroke: rgba(255,255,255,.75);
}

.brand-mark svg path:last-child {
  fill: #fff;
}

.brand-name, .footer-brand {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.header-cta, .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 16px 36px var(--brand-glow);
  border: 1px solid rgba(255,255,255,.2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}

.header-cta:hover, .primary-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 22px 46px rgba(124, 58, 237, .34);
}

.breadcrumbs {
  padding: 22px 0 0;
  font-size: .92rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs a {
  color: var(--muted);
  font-weight: 700;
}

.hero {
  position: relative;
  padding: 28px 0 56px;
}

.hero-bg {
  position: absolute;
  inset: 24px 0 auto;
  height: 72%;
  background: linear-gradient(135deg, rgba(124, 58, 237, .13), rgba(167, 139, 250, .07));
  border-radius: 0 0 54px 54px;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  align-items: center;
  gap: 34px;
  padding: 44px;
  border: 1px solid rgba(124, 58, 237, .14);
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  padding: 7px 13px;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 850;
  font-size: .9rem;
}

.hero-title {
  margin-top: 18px;
  max-width: 820px;
  font-size: clamp(2.15rem, 5vw, 5rem);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.07em;
  color: var(--deep);
}

.hero-text {
  max-width: 820px;
  margin: 22px 0 0;
  color: #42394f;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-panel:before, .hero-panel:after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-panel:before {
  width: 240px;
  height: 240px;
  background: rgba(124, 58, 237, .16);
  right: 2%;
  top: 6%;
}

.hero-panel:after {
  width: 150px;
  height: 150px;
  background: rgba(167, 139, 250, .2);
  left: 5%;
  bottom: 5%;
}

.hero-ornament {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  filter: drop-shadow(0 32px 50px rgba(74, 30, 143, .24));
}

.quick-links {
  padding: 8px 0 34px;
}

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

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 14px 35px rgba(32, 16, 72, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.info-card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, .35);
  box-shadow: 0 18px 44px rgba(32, 16, 72, .11);
}

.info-card span:last-child {
  font-weight: 850;
  line-height: 1.25;
}

.card-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: var(--brand);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seo-section, .faq-section, .trust-section {
  padding: 28px 0;
}

.content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.content h1, .content h2, .content h3, .content h4 {
  color: var(--deep);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.content h1 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  margin: 0 0 30px;
}

.content h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.6rem);
  margin: 54px 0 18px;
  padding-top: 8px;
}

.content h2:first-of-type {
  margin-top: 0;
}

.content h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  margin: 34px 0 12px;
}

.content p {
  margin: 0 0 18px;
  color: #332b40;
}

.content strong {
  color: #211438;
  font-weight: 900;
}

.content ul, .content ol {
  margin: 18px 0 24px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.content li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(124, 58, 237, .14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(245, 243, 255, .68));
}

.content li:before {
  content: '';
  position: absolute;
  left: 15px;
  top: 1.45em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, .12);
}

.content a {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  margin: 22px 0;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.content th, .content td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(124, 58, 237, .12);
  text-align: left;
}

.content th {
  background: #ede9fe;
  color: var(--deep);
}

.seo-section .content {
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(124, 58, 237, .14);
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 58, 237, .16);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 32px rgba(32, 16, 72, .06);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 54px 20px 20px;
  position: relative;
  font-weight: 900;
  color: var(--deep);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.faq-item[open] summary:after {
  content: '−';
}

.faq-answer {
  padding: 0 20px 20px;
  color: #3d344b;
}

.faq-answer p {
  margin: 0;
}

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

.plain-card, .author-card, .sources-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 58, 237, .16);
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 42px rgba(32, 16, 72, .07);
  padding: 24px;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #a78bfa);
  box-shadow: 0 16px 34px var(--brand-glow);
}

.author-avatar svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.author-name {
  font-size: 1.15rem;
  font-weight: 950;
  color: var(--deep);
  letter-spacing: -.03em;
}

.author-role {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 650;
}

.sources-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.sources-card li {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f3ff;
  border: 1px solid rgba(124, 58, 237, .13);
}

.sources-card a {
  font-weight: 850;
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: 36px;
  background: radial-gradient(circle at 80% 0%, rgba(167, 139, 250, .24), transparent 26rem), linear-gradient(135deg, #130b2b, #26104f 55%, #3b1683);
  color: rgba(255,255,255,.86);
}

.footer-shell {
  padding: 34px 0;
  display: grid;
  gap: 10px;
}

.footer-brand {
  color: #fff;
}

.footer-year {
  color: #c4b5fd;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  max-width: 900px;
}

@media (max-width: 768px) {
  .header-shell, .section-shell, .hero-shell, .footer-shell, .breadcrumbs {
    width: min(100% - 24px, 1180px);
  }

  .header-shell {
    min-height: 68px;
    gap: 10px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .header-cta {
    min-height: 42px;
    padding: 10px 14px;
    font-size: .9rem;
  }

  .hero {
    padding: 18px 0 34px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
    border-radius: 24px;
  }

  .hero-title {
    letter-spacing: -.055em;
  }

  .hero-panel {
    min-height: 240px;
  }

  .hero-ornament {
    width: min(100%, 300px);
  }

  .primary-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .cards-grid, .trust-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 16px;
  }

  .seo-section .content {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .content h1 {
    margin-bottom: 22px;
  }

  .content h2 {
    margin-top: 42px;
  }

  .content ul, .content ol {
    gap: 8px;
  }

  .content li {
    padding: 11px 12px 11px 36px;
  }

  .content li:before {
    left: 13px;
  }

  .faq-item summary {
    padding: 18px 50px 18px 16px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }

  .plain-card, .author-card, .sources-card {
    padding: 20px;
  }

  .author-card {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .header-shell {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .header-cta {
    width: 100%;
  }

  .hero-shell {
    padding: 20px 14px;
  }

  .hero-kicker {
    max-width: 100%;
  }

  .card-icon {
    width: 44px;
    height: 44px;
  }

  .author-card {
    flex-direction: column;
  }
}