/* Enqya marketing site. Self-hosted fonts, no third-party assets. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-rupee.woff2") format("woff2");
  unicode-range: U+20B9;
}

@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/noto-sans-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #16181d;
  --text: #2a3038;
  --muted: #4e5764;
  --line: #e3e7ee;
  --indigo: #312e81;
  --indigo-deep: #28237a;
  --indigo-soft: #eef0ff;
  --green: #047857;
  --green-deep: #065f46;
  --green-soft: #ecfdf5;
  --shadow: 0 1px 2px rgba(22, 24, 29, 0.04), 0 18px 40px rgba(22, 24, 29, 0.06);
  --radius: 16px;
  --max: 1120px;
  --font: Inter, "Noto Sans Devanagari", system-ui, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

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

a {
  color: var(--indigo);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--indigo-deep);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #4338ca;
  outline-offset: 3px;
}

::selection {
  background: #e0e4ff;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 50;
  background: #fff;
  color: var(--indigo);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 3rem));
  }
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 640;
}

.kicker {
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.lede {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 42rem;
}

.hindi {
  font-family: "Noto Sans Devanagari", Inter, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

/* Header */

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

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0;
}

.brand {
  order: 1;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 30px;
  width: auto;
}

.header-cta {
  order: 2;
}

.site-nav {
  order: 3;
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
  padding: 0.15rem 0 0.25rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.98rem;
  padding: 0.45rem 0.05rem;
}

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

.site-nav a[aria-current="page"] {
  color: var(--indigo);
  box-shadow: inset 0 -2px 0 var(--indigo);
}

@media (min-width: 960px) {
  .header-inner {
    flex-wrap: nowrap;
    min-height: 4.25rem;
  }

  .brand {
    order: 0;
    margin-right: 0;
  }

  .site-nav {
    order: 0;
    flex: 0 1 auto;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    padding: 0;
  }

  .header-cta {
    order: 0;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1.05rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 620;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
}

.btn-primary:hover {
  background: var(--indigo-deep);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: #d5dae3;
}

.btn-secondary:hover {
  border-color: #b7bfcc;
  color: var(--ink);
}

.btn-on-dark {
  background: #fff;
  color: var(--indigo);
}

.btn-on-dark:hover {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.hero-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Hero */

.hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 1.6rem 0 0.25rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 6vw, 3.55rem);
  max-width: 14ch;
  margin-bottom: 0.9rem;
}

.hero h1 span {
  color: var(--indigo);
}

.hero .lede {
  font-size: 1.125rem;
}

.fine {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 40rem;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: 3rem;
    padding: 3.25rem 0 1rem;
  }
}

/* Sample inbox */

.preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.05rem 1.05rem 0.9rem;
}

.preview-kicker {
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-title {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0.3rem 0 0.15rem;
}

.preview-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.leads {
  list-style: none;
  padding: 0.35rem 0 0;
}

.leads li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.leads strong {
  display: block;
  color: var(--ink);
  font-weight: 620;
  font-size: 0.98rem;
}

.chips {
  display: flex;
  gap: 0.35rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
}

.chip-wa {
  background: var(--green-soft);
  color: var(--green-deep);
}

.cost-band {
  margin-top: 0.35rem;
  background: var(--green-soft);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}

.cost-band p {
  color: var(--green-deep);
  font-size: 0.88rem;
}

.cost-band strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--green);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 680;
}

.preview-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Trust */

.trust {
  list-style: none;
  padding: 1.25rem 0;
  margin-top: 1.75rem;
  display: grid;
  gap: 0.9rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.trust span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.4rem 0;
  }
}

/* Sections */

section[id] {
  scroll-margin-top: 7.5rem;
}

.section {
  padding: 2.75rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: 0.55rem;
}

.section-head p:last-child,
.page-hero .lede {
  color: var(--muted);
}

.page-hero {
  padding: 2rem 0 0.25rem;
  max-width: 44rem;
}

.page-hero .updated {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding-top: 3rem;
  }
}

.steps,
.card-grid,
.who-grid,
.price-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.step,
.card,
.who-card,
.price,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.15rem;
}

.step-num {
  display: block;
  color: var(--indigo);
  font-weight: 680;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.45rem;
}

.step h3,
.card h3,
.who-card h3,
.price h3,
.panel h2 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.step p,
.card p,
.who-card p,
.panel p,
.price p {
  color: var(--muted);
}

@media (min-width: 720px) {
  .steps,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1020px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .who-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.launch {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 680;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.price .amount {
  color: var(--green);
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 0.35rem 0 0.15rem;
  white-space: nowrap;
}

.price .amount small {
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0;
  color: var(--green-deep);
}

.price .per {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46rem;
}

@media (min-width: 720px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .price-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 46rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem 0.95rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 630;
  color: var(--ink);
  letter-spacing: -0.015em;
  list-style: none;
  position: relative;
  padding-right: 1.4rem;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.1rem;
  top: 0.4em;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--indigo);
  border-bottom: 2px solid var(--indigo);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  top: 0.55em;
  transform: rotate(225deg);
}

.faq details p {
  margin-top: 0.6rem;
  color: var(--muted);
}

/* CTA band */

.cta-band {
  background: var(--indigo);
  color: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.2rem;
  margin: 0.5rem 0 2.5rem;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.45rem;
}

.cta-band p {
  color: #e4e6f6;
  max-width: 38rem;
}

.cta-band .fine {
  color: #c9ccea;
}

@media (min-width: 720px) {
  .cta-band {
    padding: 2.1rem 2rem;
  }
}

/* Panels, facts, contact */

.panel + .panel,
.stack > * + * {
  margin-top: 0.85rem;
}

.facts {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin: 1rem 0 1.25rem;
}

.facts th,
.facts td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}

.facts tr:last-child th,
.facts tr:last-child td {
  border-bottom: 0;
}

.facts th {
  color: var(--muted);
  font-weight: 620;
  width: 38%;
}

.facts td {
  color: var(--ink);
}

@media (max-width: 640px) {
  .facts,
  .facts tbody,
  .facts tr,
  .facts th,
  .facts td {
    display: block;
    width: 100%;
  }

  .facts th {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .facts td {
    padding-top: 0.15rem;
  }
}

.contact-grid {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 2.5rem;
}

.contact-grid h2 {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 620;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
}

.contact-grid a {
  font-weight: 620;
}

.contact-grid .big-link {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid .wide {
    grid-column: 1 / -1;
  }
}

/* Legal prose */

.prose {
  max-width: 44rem;
  padding-bottom: 2.5rem;
}

.prose h2 {
  font-size: 1.28rem;
  margin: 1.8rem 0 0.5rem;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 1.1rem 0 0.35rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose p + p,
.prose ul + p,
.prose ol + p,
.prose p + ul,
.prose p + ol {
  margin-top: 0.7rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose .callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  margin: 1rem 0;
}

.prose .callout p {
  color: var(--text);
}

.toc {
  margin: 1rem 0 0.25rem;
}

.toc ol {
  padding-left: 1.2rem;
}

.toc a {
  font-weight: 560;
}

.related {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.4rem;
}

/* Footer */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.legal-line {
  margin-top: 0.75rem;
  color: var(--ink);
  max-width: 36rem;
}

.udyam {
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
}

.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.45rem;
}

.site-footer address {
  font-style: normal;
}

.site-footer address a,
.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer address a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-links a[aria-current="page"] {
  color: var(--indigo);
  font-weight: 650;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .header-cta,
  .cta-band {
    position: static;
  }

  .site-header {
    border-bottom: 1px solid #ccc;
  }

  body {
    background: #fff;
    color: #000;
  }

  .cta-band {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
  }

  .cta-band h2,
  .cta-band p {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
