:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5b6475;
  --line: #dfe5ee;
  --surface: #f6f8fb;
  --surface-strong: #eef4fb;
  --white: #ffffff;
  --accent: #f80aff;
  --accent-dark: #c900cf;
  --blue: #006ac9;
  --shadow: 0 18px 55px rgba(26, 38, 61, 0.12);
  --glass: rgba(255, 255, 255, 0.74);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f7fbff;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background: #f7fbff;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 88rem 58rem at -10% 18%, rgba(0, 106, 201, 0.44), transparent 68%),
    radial-gradient(ellipse 80rem 48rem at 110% 15%, rgba(248, 10, 255, 0.36), transparent 67%),
    radial-gradient(ellipse 96rem 58rem at -16% 78%, rgba(0, 106, 201, 0.32), transparent 66%),
    radial-gradient(ellipse 74rem 52rem at 113% 76%, rgba(248, 10, 255, 0.28), transparent 68%),
    linear-gradient(115deg, #d7ebff 0%, #fbfdff 45%, #ffe1ff 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 106, 201, 0.13), transparent 44%, rgba(248, 10, 255, 0.13)),
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.68), transparent 35rem);
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42rem 24rem at 1% 18%, rgba(0, 106, 201, 0.11), transparent 72%),
    radial-gradient(ellipse 34rem 22rem at 98% 29%, rgba(248, 10, 255, 0.12), transparent 74%),
    radial-gradient(ellipse 58rem 26rem at 11% 50%, rgba(0, 106, 201, 0.1), transparent 72%),
    radial-gradient(ellipse 40rem 24rem at 104% 64%, rgba(248, 10, 255, 0.14), transparent 76%),
    radial-gradient(ellipse 52rem 28rem at -5% 87%, rgba(0, 106, 201, 0.12), transparent 72%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 22%, transparent 42%, rgba(255, 255, 255, 0.18) 67%, transparent 100%);
}

main > * {
  position: relative;
  z-index: 1;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.18));
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 10px 34px rgba(23, 32, 51, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px clamp(20px, 5vw, 32px);
}

.section.compact {
  padding-top: 42px;
  padding-bottom: 42px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 80px);
  max-width: none;
  min-height: calc(100vh - 76px);
  padding-left: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
  padding-right: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.39px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.56px;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.38px;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.18px;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-copy,
.product-preview {
  min-width: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(248, 10, 255, 0.24);
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--accent-dark);
}

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

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 900;
}

.product-preview {
  min-height: 520px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(0, 106, 201, 0.18);
  border-radius: 8px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9d4e3;
}

.prompt-row,
.answer-card,
.source-grid span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
}

.prompt-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  margin-bottom: 22px;
}

.prompt-row p {
  margin: 0;
  flex: 1;
  font-weight: 700;
}

.prompt-row button {
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.answer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  margin-bottom: 18px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(0, 106, 201, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.answer-title {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
}

.answer-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.source-grid span {
  min-height: 78px;
  padding: 16px;
  color: var(--muted);
  font-weight: 700;
}

.trust {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.trust p {
  margin-bottom: 0;
  color: var(--muted);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-weight: 800;
}

.trading-partners {
  max-width: none;
  padding-left: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
  padding-right: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
}

.partner-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.partner-filter button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.partner-filter button:hover,
.partner-filter button.is-active {
  color: var(--white);
  border-color: transparent;
  background: var(--accent);
}

.partner-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  color: var(--ink);
  border: 1px solid rgba(223, 229, 238, 0.92);
  border-radius: 8px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.partner-card:hover,
.partner-card.is-selected {
  border-color: rgba(248, 10, 255, 0.48);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

.partner-card.is-hidden {
  display: none;
}

.partner-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
}

.partner-card span {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.partner-detail {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid rgba(223, 229, 238, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.partner-detail h3 {
  margin-bottom: 12px;
  font-size: 28px;
  letter-spacing: -0.28px;
}

.partner-detail p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.partner-detail .button {
  margin-top: 8px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow),
.split p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-grid,
.solution-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.solution-grid article,
.pricing-grid article,
.testimonial-grid figure,
.faq {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  backdrop-filter: blur(14px);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.solution-grid p,
.pricing-grid p,
.testimonial-grid figcaption,
.faq p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 54px;
  max-width: none;
  padding-left: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
  padding-right: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 22px 22px 22px 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  border-radius: 50%;
  background: var(--blue);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 4px;
  color: var(--muted);
}

.solution-grid {
  grid-template-columns: repeat(3, 1fr);
}

.solution-grid article {
  padding: 26px;
  min-height: 220px;
}

.solution-grid a {
  color: var(--accent);
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.stats div {
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.stats span {
  display: block;
  margin-bottom: 8px;
  font-size: 56px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.56px;
}

.stats p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.testimonial-grid {
  grid-template-columns: repeat(2, 1fr);
}

.testimonial-grid figure {
  margin: 0;
  padding: 28px;
}

blockquote {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 750;
}

.pricing {
  max-width: none;
  padding-left: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
  padding-right: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2 + 32px));
}

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

.pricing-grid article {
  padding: 28px;
}

.pricing-grid h3 {
  margin-bottom: 14px;
  font-size: 38px;
  letter-spacing: -0.38px;
}

.pricing-grid h3 span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.plan {
  margin-bottom: 12px;
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.featured-plan {
  border-color: rgba(248, 10, 255, 0.45) !important;
  box-shadow: var(--shadow);
}

.faq-list {
  max-width: 860px;
}

.faq {
  margin-bottom: 12px;
  overflow: hidden;
}

.faq button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.faq button::after {
  content: "+";
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}

.faq.is-open button::after {
  content: "−";
}

.faq p {
  display: none;
  margin: 0;
  padding: 0 22px 22px;
}

.faq.is-open p {
  display: block;
}

.cta {
  max-width: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.38);
  color: var(--ink);
  border-top: 1px solid rgba(223, 229, 238, 0.9);
  border-bottom: 1px solid rgba(223, 229, 238, 0.9);
  backdrop-filter: blur(12px);
}

.cta p:not(.eyebrow) {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.cta .actions {
  justify-content: center;
}

.cta .eyebrow {
  color: var(--blue);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 44px clamp(20px, 5vw, 64px) 24px;
  color: var(--ink);
  font-size: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.16));
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 -10px 34px rgba(23, 32, 51, 0.06);
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(40px, 7vw, 88px);
  padding-bottom: 30px;
}

.footer-contact-panel {
  max-width: 440px;
}

.site-footer .brand {
  width: fit-content;
}

.site-footer .brand-logo {
  height: 56px;
}

.footer-contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  padding: 5px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.12);
}

.footer-contact-item div,
.footer-link-columns div {
  min-width: 0;
}

.footer-contact-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-contact-item span:first-child {
  font-weight: 600;
}

.footer-column-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.footer-links-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 34px;
}

.footer-link-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.footer-link-columns a {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.footer-link-columns a:hover {
  color: var(--ink);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(23, 32, 51, 0.14);
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.1);
}

.social-icon img {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-preview {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-showcase {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-detail {
    position: static;
  }

  .trust,
  .stats,
  .solution-grid,
  .testimonial-grid,
  .pricing-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-contact-panel {
    max-width: none;
  }

  .footer-links-panel {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    height: 48px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 56px);
    letter-spacing: -0.56px;
    text-wrap: wrap;
  }

  .feature-grid,
  .source-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 74px;
  }

  .prompt-row,
  .answer-card {
    grid-template-columns: 1fr;
  }

  .check-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .prompt-row {
    align-items: flex-start;
  }

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

  .footer-social,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }
}
