:root {
  --color-background: #0f172a;
  --color-surface: rgba(15, 23, 42, 0.7);
  --color-primary: #5a54f5;
  --color-primary-accent: #7c72ff;
  --color-secondary: #f97316;
  --color-text: #e2e8f0;
  --color-muted: #94a3b8;
  --color-border: rgba(148, 163, 184, 0.2);
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.45);
  --radius-large: 28px;
  --radius-medium: 20px;
  --radius-small: 12px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top left, rgba(124, 114, 255, 0.18), transparent 45%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.12), transparent 40%),
    #020617;
  line-height: 1.6;
  min-height: 100vh;
}

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

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

p {
  margin: 0;
  color: var(--color-text);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-primary-accent);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.35s ease;
}

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

.brand img {
  width: clamp(160px, 12vw, 220px);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.main-nav a {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  background: rgba(90, 84, 245, 0.12);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle__bar {
  width: 28px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 99px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin-top: 1rem;
}

.lead {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: #cbd5f5;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
}

.btn--small {
  padding: 0.65rem 1.4rem;
  font-size: 0.875rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-accent));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover,
.btn--primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(90, 84, 245, 0.35);
}

.btn--ghost {
  border-color: rgba(90, 84, 245, 0.6);
  color: #cbd5f5;
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: rgba(90, 84, 245, 0.12);
  color: #fff;
}

.main-nav .btn {
  box-shadow: none;
}

.main-nav .btn:hover,
.main-nav .btn:focus {
  box-shadow: none;
  transform: none;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero__metrics dt {
  font-size: 2rem;
  font-weight: 700;
  color: #f8fafc;
}

.hero__metrics dd {
  margin: 0.4rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hero__visual {
  display: grid;
  gap: 1.5rem;
}

.hero-card,
.hero-scan {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(45, 55, 72, 0.5));
  border: 1px solid rgba(90, 84, 245, 0.2);
  border-radius: var(--radius-large);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.hero-card__title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.hero-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #d8e1ff;
}

.hero-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 0 12px rgba(90, 84, 245, 0.6);
}

.hero-scan__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

.hero-scan__meter {
  margin: 1.25rem 0;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.2);
  overflow: hidden;
}

.hero-scan__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}

.hero-scan__score {
  font-size: 1rem;
  color: #f8fafc;
  font-weight: 600;
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section__intro {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  margin-bottom: clamp(3rem, 5vw, 4rem);
  max-width: 760px;
}

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

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

.feature-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 84, 245, 0.5);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.5rem;
  background: rgba(90, 84, 245, 0.16);
}

.feature-card p {
  color: #cbd5f5;
}

.section--highlight {
  background: radial-gradient(circle at top right, rgba(90, 84, 245, 0.28), transparent 60%),
    linear-gradient(140deg, rgba(90, 84, 245, 0.25), rgba(15, 23, 42, 0.85));
  border-block: 1px solid rgba(90, 84, 245, 0.25);
}

.section--faq {
  background: rgba(15, 23, 42, 0.6);
}

.faq {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.faq__list {
  display: grid;
  gap: 1.25rem;
}

.faq__item {
  padding: 1.4rem 1.8rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(124, 114, 255, 0.25);
  border-radius: var(--radius-medium);
  box-shadow: inset 0 1px 0 rgba(124, 114, 255, 0.18), 0 20px 35px rgba(2, 6, 23, 0.45);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.faq__item[open] {
  border-color: rgba(124, 114, 255, 0.6);
  transform: translateY(-2px);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__item summary:focus-visible {
  outline: 2px solid var(--color-primary-accent);
  outline-offset: 4px;
}

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

.faq__item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--color-primary-accent);
  transition: transform 0.3s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  margin-top: 1rem;
  color: #cbd5f5;
}

.insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.insights__content {
  display: grid;
  gap: 1.5rem;
}

.insights__content p {
  color: #d5dcfb;
}

.insights__list {
  display: grid;
  gap: 1rem;
}

.insights__list li {
  background: rgba(15, 23, 42, 0.6);
  border-left: 3px solid var(--color-primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-small);
}

.insights__list span {
  font-weight: 600;
  color: #f8fafc;
  display: block;
  margin-bottom: 0.35rem;
}

.insights__panel {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(90, 84, 245, 0.25);
  border-radius: var(--radius-large);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.insights__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90, 84, 245, 0.15), transparent);
  pointer-events: none;
}

.insights__badge {
  align-self: start;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(90, 84, 245, 0.18);
  color: #ede9fe;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.insights__chart {
  background: rgba(15, 23, 42, 0.65);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(12px);
}

.insights__chart h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insights__chart ul {
  display: grid;
  gap: 1rem;
}

.insights__chart li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #e2e8f0;
}

.insights__chart li span:last-child {
  color: var(--color-primary-accent);
}

.insights__callout {
  background: rgba(90, 84, 245, 0.2);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  font-style: italic;
  color: #f8fafc;
}

.insights__callout span {
  display: block;
  font-style: normal;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

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

.benefit {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-medium);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  position: relative;
}

.benefit::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0.65;
}

.section--regulatory {
  background: rgba(10, 20, 45, 0.6);
  border-block: 1px solid rgba(90, 84, 245, 0.18);
}

.regulatory {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

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

.regulatory__list li {
  background: rgba(15, 23, 42, 0.55);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  gap: 0.5rem;
}

.regulatory__list span {
  font-size: 1rem;
  font-weight: 600;
  color: #ede9fe;
  letter-spacing: 0.08em;
}

.workflow {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
}

.workflow li {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(90, 84, 245, 0.2);
  border-radius: var(--radius-medium);
  padding: 1.75rem;
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.workflow li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(90, 84, 245, 0.25);
  color: #fff;
  font-weight: 600;
}

.cta {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6.5rem);
  background: linear-gradient(160deg, rgba(90, 84, 245, 0.35), rgba(15, 23, 42, 0.92));
  border-top: 1px solid rgba(90, 84, 245, 0.25);
}

.cta__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

.cta__container p {
  color: #d8e1ff;
}

.cta__form {
  display: grid;
  gap: 0.75rem;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(90, 84, 245, 0.2);
  border-radius: var(--radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.cta__form label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.cta__form input,
.cta__form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  color: #f8fafc;
  font: inherit;
}

.cta__form input:focus,
.cta__form textarea:focus {
  outline: 2px solid rgba(90, 84, 245, 0.6);
  outline-offset: 2px;
}

.cta__form button {
  margin-top: 0.75rem;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.95);
}

.footer__container {
  display: grid;
  gap: 2.5rem;
}

.footer__brand {
  display: grid;
  gap: 1rem;
  max-width: 320px;
}

.footer__brand img {
  width: 190px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.footer__links h3 {
  font-size: 1rem;
  color: #f8fafc;
}

.footer__links ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--color-muted);
}

.footer__legal {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.legal {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.legal-hero {
  padding: clamp(5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 4rem);
}

.legal-hero__container {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-hero__content {
  display: grid;
  gap: 1.25rem;
  max-width: 780px;
}

.legal-hero__content p {
  color: #d5dcfb;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.legal-meta__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.legal-meta p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
}

.legal-contact {
  max-width: 720px;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.legal-contact a {
  color: var(--color-primary-accent);
  font-weight: 600;
}

.legal-content {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.legal-document {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  padding: clamp(2.5rem, 6vw, 3.5rem);
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-soft);
}

.legal-section {
  display: grid;
  gap: 1rem;
}

.legal-section + .legal-section {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.legal-section h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  background: rgba(90, 84, 245, 0.18);
  color: var(--color-primary-accent);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.legal-section h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: #f8fafc;
}

.legal-section h3:first-of-type {
  margin-top: 0.5rem;
}

.legal-section p {
  color: #d2dbfa;
}

.legal-section p + p {
  margin-top: 0.75rem;
}

.legal-section address {
  font-style: normal;
  color: #d2dbfa;
  display: grid;
  gap: 0.35rem;
}

.legal-section address a {
  color: var(--color-primary-accent);
  font-weight: 600;
}

.legal-list {
  list-style: disc;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.75rem;
  color: #dbe4ff;
}

.legal-list li strong {
  color: #f8fafc;
}

.legal-list li::marker {
  color: var(--color-primary-accent);
}

.legal-document a:hover,
.legal-document a:focus,
.legal-contact a:hover,
.legal-contact a:focus {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero__container,
  .insights,
  .cta__container {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .header-container {
    padding-block: 0.75rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 1rem auto;
    background: rgba(2, 6, 23, 0.98);
    border: 1px solid rgba(90, 84, 245, 0.25);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 5.5rem;
  }

  .hero__metrics {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .section {
    padding-block: 3.5rem;
  }

  .feature-grid,
  .benefits-grid,
  .regulatory__list,
  .workflow {
    gap: 1.25rem;
  }
}

@media (max-width: 540px) {
  .btn {
    width: 100%;
  }

  .hero-card,
  .hero-scan {
    padding: 1.5rem;
  }

  .cta__form {
    padding: 1.5rem;
  }
}
