:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Noto Sans Devanagari',
    'Nirmala UI',
    sans-serif;
  --ink: #17172b;
  --muted: #696980;
  --canvas: #f5f5ff;
  --surface: rgba(255, 255, 255, 0.88);
  --line: rgba(67, 64, 130, 0.13);
  --brand: #4f46e5;
  --brand-strong: #3730a3;
  --brand-soft: #eeedff;
  --accent: #0891b2;
  --warm: #f9735b;
  --shadow: 0 28px 80px rgba(45, 39, 124, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 3%, rgba(249, 115, 91, 0.11), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(79, 70, 229, 0.14), transparent 32rem),
    radial-gradient(circle at 64% 72%, rgba(8, 145, 178, 0.07), transparent 30rem), var(--canvas);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.28);
  outline-offset: 3px;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 1rem 1.25rem 2rem;
}

.topbar,
.footer {
  align-items: center;
  backdrop-filter: blur(22px) saturate(145%);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 1.15rem;
  box-shadow: 0 12px 38px rgba(45, 39, 124, 0.08);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.6rem 0.72rem;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 0.68rem;
  text-decoration: none;
}

.brand-mark,
.footer-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  border-radius: 0.78rem;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.25);
  color: #fff;
  display: inline-flex;
  font-size: 1.08rem;
  font-weight: 820;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.brand-copy {
  display: grid;
  line-height: 1.04;
}

.brand-copy strong {
  font-size: 0.94rem;
  font-weight: 820;
}

.brand-copy strong span {
  color: var(--brand);
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  margin-top: 0.1rem;
  text-transform: uppercase;
}

.nav,
.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.nav a,
.footer-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 740;
  padding: 0.52rem 0.72rem;
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover,
.nav a[aria-current='page'] {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.2rem, 5vw, 4rem);
  text-align: center;
}

.eyebrow,
.pill {
  align-items: center;
  background: rgba(238, 237, 255, 0.82);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 999px;
  color: var(--brand-strong);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  gap: 0.38rem;
  letter-spacing: 0.08em;
  padding: 0.46rem 0.72rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 1rem auto 0.9rem;
  max-width: 980px;
}

.hero h1 span,
.gradient-text {
  background: linear-gradient(110deg, var(--brand-strong), var(--brand), var(--accent));
  background-clip: text;
  color: transparent;
}

.hero > p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 780;
  gap: 0.45rem;
  justify-content: center;
  min-height: 3rem;
  padding: 0.64rem 1rem;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.24);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-strong);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 680;
  padding: 0.42rem 0.68rem;
}

.section {
  margin: 0 0 1.25rem;
}

.section-head {
  margin: 0 auto 1.25rem;
  max-width: 740px;
  text-align: center;
}

.section-head h2,
.content-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.45rem;
}

.section-head p,
.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.72;
}

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

.card,
.content-card,
.code-card,
.faq details {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 1.35rem;
  box-shadow: 0 16px 48px rgba(45, 39, 124, 0.08);
}

.card {
  padding: 1.25rem;
}

.card-icon {
  align-items: center;
  background: var(--brand-soft);
  border-radius: 0.78rem;
  color: var(--brand-strong);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 850;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.card h3 {
  font-size: 1rem;
  margin: 0.8rem 0 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 15rem;
}

.product-card p {
  flex: 1;
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 0.3rem;
  margin-top: 1rem;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-feature {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 1.5rem;
  box-shadow: 0 16px 48px rgba(45, 39, 124, 0.08);
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.75fr);
  padding: clamp(1.3rem, 4vw, 2.5rem);
}

.home-feature h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  margin: 0.8rem 0 0.5rem;
}

.home-feature p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.feature-points {
  display: grid;
  gap: 0.65rem;
}

.feature-points span {
  background: var(--brand-soft);
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: 0.8rem;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 720;
  padding: 0.72rem 0.8rem;
}

.content-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) 15rem;
}

.content-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.content-card h2 {
  scroll-margin-top: 1rem;
}

.content-card h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.3rem;
}

.content-card ul,
.content-card ol {
  padding-left: 1.25rem;
}

.toc {
  align-self: start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.toc strong {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.toc a {
  border-radius: 0.5rem;
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  padding: 0.42rem 0.5rem;
  text-decoration: none;
}

.toc a:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.code-card {
  background: #19182f;
  color: #eeeefe;
  margin: 1rem 0;
  overflow-x: auto;
  padding: 1rem;
}

pre,
code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

pre {
  font-size: 0.76rem;
  line-height: 1.65;
  margin: 0;
  white-space: pre;
}

:not(pre) > code {
  background: var(--brand-soft);
  border-radius: 0.35rem;
  color: var(--brand-strong);
  font-size: 0.82em;
  padding: 0.12rem 0.3rem;
}

.notice {
  background: linear-gradient(135deg, rgba(238, 237, 255, 0.9), rgba(230, 248, 252, 0.82));
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 1rem;
  color: var(--brand-strong);
  line-height: 1.65;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.8rem;
  list-style: none;
  padding: 0 !important;
}

.steps li {
  align-items: flex-start;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 2.1rem 1fr;
}

.steps li::before {
  align-items: center;
  background: var(--brand-soft);
  border-radius: 50%;
  color: var(--brand-strong);
  content: counter(step);
  counter-increment: step;
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}

.faq {
  display: grid;
  gap: 0.72rem;
}

.faq details {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 780;
  list-style: none;
  padding: 1rem 1.1rem;
}

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

.faq summary::after {
  color: var(--brand);
  content: '+';
  float: right;
  font-size: 1.2rem;
}

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

.faq details p,
.faq details ul {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  padding: 0 1.1rem 1.05rem;
}

.faq details ul {
  padding-left: 2.25rem;
}

.contact-card {
  align-items: center;
  background: linear-gradient(135deg, #252153, #3730a3 64%, #087d9a);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  color: white;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 1.25rem 0;
  padding: clamp(1.25rem, 4vw, 2.2rem);
}

.contact-card h2 {
  margin: 0 0 0.3rem;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.contact-card .button {
  background: white;
  color: var(--brand-strong);
  flex: 0 0 auto;
}

.footer {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2rem;
}

.footer-brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 800;
  gap: 0.45rem;
}

.footer-mark {
  border-radius: 0.5rem;
  box-shadow: none;
  font-size: 0.72rem;
  height: 1.65rem;
  width: 1.65rem;
}

@media (max-width: 820px) {
  .topbar,
  .footer,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .grid,
  .content-layout,
  .home-feature {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 0.65rem 0.7rem 1.4rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .nav a {
    padding-inline: 0.55rem;
  }

  .contact-card .button {
    width: 100%;
  }
}

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