:root {
  --ink-900: #1d1328;
  --ink-700: #40304f;
  --ink-600: #665a70;
  --ink-100: #eadff3;
  --ink-050: #fbf8ff;
  --white: #ffffff;
  --brand-900: #35105f;
  --brand-800: #4e1687;
  --brand-700: #651aa8;
  --brand-600: #7a25c3;
  --brand-300: #c6a2e5;
  --brand-150: #ead8f8;
  --brand-075: #f6edfc;
  --amber-500: #c47a13;
  --max-width: 1180px;
  --shadow-soft: 0 18px 38px rgba(53, 16, 95, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ink-100);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink-900);
  font-weight: 750;
}

.site-brand__logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-brand__wordmark {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(48vw, 232px);
  object-fit: contain;
}

.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__link {
  color: var(--ink-600);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link[aria-current="page"] {
  color: var(--brand-700);
}

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

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-700);
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  top: 6px;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--ink-100);
  background: var(--white);
  padding: 1rem;
}

.mobile-drawer:not([hidden]) {
  display: grid;
  gap: 0.75rem;
}

.button,
.button:visited {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  background: var(--brand-700);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(101, 26, 168, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--brand-600);
  text-decoration: none;
}

.button--secondary {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--ink-100);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--brand-600);
  color: var(--brand-700);
  text-decoration: none;
}

.button--nav {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  background: var(--brand-075);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(251, 248, 255, 0.98) 0%, rgba(246, 237, 252, 0.92) 52%, rgba(234, 216, 248, 0.7) 100%);
  content: "";
}

.hero::after {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 2rem), 620px);
  min-height: 520px;
  align-content: center;
  gap: 1.25rem;
  max-width: 620px;
  margin-right: auto;
  margin-left: max(1rem, calc((100vw - var(--max-width)) / 2));
  padding: 3.8rem 0 3.2rem;
}

.hero-screen {
  position: absolute;
  top: 5.5rem;
  right: max(1rem, calc((100vw - var(--max-width)) / 2));
  z-index: 0;
  display: grid;
  width: min(40vw, 540px);
  gap: 0.8rem;
  border: 1px solid rgba(101, 26, 168, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.hero-screen__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ink-100);
  padding-bottom: 0.8rem;
}

.hero-screen__brand img {
  width: 58px;
  height: 58px;
  opacity: 0.56;
}

.hero-screen__brand strong {
  display: block;
}

.hero-screen__brand span,
.hero-screen__row span {
  color: var(--ink-600);
  font-size: 0.86rem;
}

.hero-screen__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.hero-screen__tile,
.hero-screen__row {
  border-radius: 8px;
  background: var(--ink-050);
  padding: 0.8rem;
}

.hero-screen__tile strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.1;
}

.hero-screen__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.hero-screen__pill {
  border-radius: 999px;
  background: var(--brand-150);
  color: var(--brand-800);
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0;
  color: var(--brand-700);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 2.95rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero__subhead,
.page-hero__subhead {
  margin: 0;
  max-width: 690px;
  color: var(--ink-700);
  font-size: 1.17rem;
}

.hero__actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 600px;
  margin-top: 0.75rem;
}

.product-chip {
  display: grid;
  gap: 0.1rem;
  border: 1px solid rgba(101, 26, 168, 0.12);
  border-left: 4px solid var(--brand-600);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.85rem 0.95rem;
}

.product-chip strong {
  font-size: 1rem;
}

.product-chip span {
  color: var(--ink-600);
  font-size: 0.9rem;
}

.section {
  padding: 4rem 0;
}

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

.section__intro {
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section__intro h2,
.split h2,
.legal-content h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section__intro p,
.split p,
.legal-content p,
.doc-panel p {
  margin: 0;
  color: var(--ink-600);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(20, 32, 33, 0.05);
}

.card h3,
.doc-panel h3,
.pricing-card h3,
.dashboard-panel h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.25;
}

.card p,
.pricing-card p,
.dashboard-panel p {
  margin: 0;
  color: var(--ink-600);
}

.badge-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.badge-list li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  color: var(--ink-700);
}

.badge-list span {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-150);
  color: var(--brand-800);
  font-size: 0.85rem;
  font-weight: 800;
}

.split {
  display: grid;
  gap: 2rem;
}

.dashboard-preview {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--white);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.dashboard-preview__top {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  border-radius: 8px;
  background: var(--ink-050);
  padding: 1rem;
}

.metric span {
  display: block;
  color: var(--ink-600);
  font-size: 0.84rem;
}

.metric strong {
  display: block;
  color: var(--ink-900);
  font-size: 1.65rem;
  line-height: 1.1;
}

.dashboard-panel {
  display: grid;
  gap: 0.85rem;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  padding: 1rem;
}

.trend-line {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 0.4rem;
  height: 120px;
  padding: 1rem;
  border-radius: 8px;
  background: var(--brand-075);
}

.trend-line span {
  display: block;
  min-height: 22px;
  border-radius: 8px 8px 0 0;
  background: var(--brand-600);
}

.trend-line span:nth-child(2n) {
  background: var(--brand-800);
}

.trend-line span:nth-child(3n) {
  background: var(--amber-500);
}

.workflow {
  display: grid;
  gap: 1rem;
  counter-reset: workflow;
}

.workflow__step {
  position: relative;
  display: grid;
  gap: 0.45rem;
  border-left: 3px solid var(--brand-150);
  padding: 0.25rem 0 1.35rem 1.5rem;
}

.workflow__step::before {
  position: absolute;
  left: -0.72rem;
  top: 0.2rem;
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-700);
  color: var(--white);
  content: "";
}

.workflow__step h3,
.workflow__step p {
  margin: 0;
}

.workflow__step p {
  color: var(--ink-600);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--white);
  padding: 1.5rem;
}

.pricing-card--highlight {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-soft);
}

.pricing-card__badge {
  width: max-content;
  border-radius: 999px;
  background: var(--brand-150);
  color: var(--brand-800);
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-card__price {
  color: var(--ink-900);
  font-size: 2rem;
  line-height: 1.1;
}

.faq {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--white);
}

.faq details + details {
  border-top: 1px solid var(--ink-100);
}

.faq summary {
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  color: var(--ink-900);
  font-weight: 750;
}

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

.faq p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-600);
}

.support-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--ink-900);
  color: var(--white);
  padding: 2rem;
}

.support-cta h2,
.support-cta p {
  margin: 0;
}

.support-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding: 5rem 0 3.5rem;
  background: var(--ink-050);
  text-align: center;
}

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

.doc-layout {
  display: grid;
  gap: 2rem;
}

.doc-nav,
.doc-panel,
.legal-content {
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--white);
  padding: 1.5rem;
}

.doc-nav {
  align-self: start;
}

.doc-nav h2,
.doc-nav ul,
.footer-links h4,
.footer-links ul {
  margin: 0;
}

.doc-nav ul,
.footer-links ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.doc-stack,
.legal-content {
  display: grid;
  gap: 1.2rem;
}

.doc-panel {
  display: grid;
  gap: 1rem;
}

.doc-panel ol,
.legal-content ul,
.legal-content ol {
  margin: 0;
  padding-left: 1.3rem;
  color: var(--ink-700);
}

.legal-content h3 {
  margin: 0.4rem 0 -0.2rem;
}

.site-footer {
  border-top: 1px solid var(--ink-100);
  background: var(--ink-050);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.85rem;
}

.footer-brand p {
  margin: 0;
  color: var(--ink-600);
}

.footer-links {
  display: grid;
  gap: 0.85rem;
}

.footer-bottom {
  margin: 2rem auto 0;
  border-top: 1px solid var(--ink-100);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-600);
}

@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(251, 248, 255, 0.98) 0%, rgba(246, 237, 252, 0.94) 100%);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.08rem;
  }

  .hero__subhead,
  .page-hero__subhead {
    font-size: 1.03rem;
  }

  .product-strip,
  .dashboard-preview__top {
    grid-template-columns: 1fr;
  }

  .product-strip,
  .hero-screen {
    display: none;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__content {
    width: min(calc(100% - 2rem), 620px);
    margin: 0 auto;
    padding: 3.25rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section__intro h2,
  .split h2,
  .legal-content h2 {
    font-size: 1.8rem;
  }
}

@media (min-width: 768px) {
  .button--nav {
    display: inline-flex;
  }

  .card-grid--three,
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .support-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-drawer {
    display: none !important;
  }

  .doc-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
