:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #15172c;
  --muted: #5b6172;
  --line: #eceae2;
  --accent: #1843dd;
  --accent-dark: #1130a8;
  --orange: #b58400;
  --blue: #3a5cf0;
  --green: #01873e;
  --purple: #5b4bd6;
  --teal: #12a551;
  --cream: #fbf8f1;
  --navy: #050839;
  --brand-wash: #eef3ff;
  --shadow: 0 12px 34px rgba(21, 23, 44, 0.09);
  --shadow-hover: 0 14px 34px rgba(24, 67, 221, 0.28);
  --radius: 12px;
  --max: 1120px;
  font-family:
    "Inter",
    "Noto Sans Devanagari",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 64px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.02em;
  min-width: max-content;
}

.brand img {
  border-radius: 7px;
  height: 32px;
  width: 32px;
}

.brand-accent {
  color: var(--accent);
}

.nav-links {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 22px;
  justify-content: center;
}

.nav-links a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links .active {
  color: var(--accent);
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.nav-text {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.nav-text:hover {
  color: var(--accent);
}

.button {
  border-radius: 999px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  text-align: center;
  transition:
    background 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
  box-shadow: 0 6px 16px rgba(229, 50, 45, 0.28);
}

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

.button.secondary:hover {
  border-color: #cfd3de;
}

.icon {
  display: inline-flex;
  height: 18px;
  width: 18px;
}

/* ——— Hero + tools (iLovePDF-style) ——— */

.hero-tools {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}

.hero-tools__blobs {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 8% 35%, rgba(255, 182, 193, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 55% at 92% 20%, rgba(196, 181, 253, 0.4), transparent 68%),
    radial-gradient(ellipse 40% 40% at 70% 85%, rgba(254, 215, 170, 0.35), transparent 70%),
    #fff;
}

.hero-tools__inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 24px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-tools h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 auto 16px;
  max-width: 780px;
}

.hero-tools__lead {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 640px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.tab {
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 36px;
  padding: 8px 16px;
  transition:
    background 140ms ease,
    color 140ms ease;
}

.tab.active,
.tab:hover,
.tab:focus-visible {
  background: var(--navy, #050839);
  color: #fff;
}

.tool-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: left;
}

.tool-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 22px 20px 20px;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.tool-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.tool-icon {
  align-items: center;
  display: inline-flex;
  height: 40px;
  justify-content: flex-start;
  margin-bottom: 14px;
  width: 40px;
}

.tool-icon--red {
  color: var(--accent);
}
.tool-icon--orange {
  color: #f59e0b;
}
.tool-icon--blue {
  color: #3b82f6;
}
.tool-icon--green {
  color: #22a06b;
}
.tool-icon--purple {
  color: #8b5cf6;
}
.tool-icon--teal {
  color: #14b8a6;
}

.tool-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.tool-card p {
  color: var(--muted);
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  margin: 8px 0 0;
}

.tool-link {
  color: var(--accent);
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}

/* ——— Work your way ——— */

.work-way {
  background: var(--brand-wash);
  padding: 72px 24px;
  text-align: center;
}

.work-way h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
}

.work-way__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
  text-align: left;
}

.work-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 0 22px;
}

.work-card__visual {
  align-items: center;
  background: linear-gradient(160deg, var(--brand-wash), #ffffff);
  display: flex;
  height: 180px;
  justify-content: center;
  overflow: hidden;
}

.work-card__visual img {
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(31, 35, 48, 0.18);
  height: 140px;
  object-fit: cover;
  object-position: top;
  width: 72%;
}

.work-card__visual--mobile img {
  border-radius: 18px;
  height: 150px;
  width: auto;
  max-width: 42%;
}

.work-card__visual--privacy {
  background:
    radial-gradient(circle at 30% 40%, rgba(229, 50, 45, 0.15), transparent 55%),
    linear-gradient(160deg, #fff5f4, #f3f4f8);
}

.work-card__glyph {
  align-items: center;
  background: var(--accent);
  border-radius: 22px;
  color: #fff;
  display: flex;
  font-size: 42px;
  font-weight: 800;
  height: 88px;
  justify-content: center;
  width: 88px;
}

.work-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 22px 8px;
}

.work-card p {
  color: var(--muted);
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  margin: 0 22px 14px;
}

.work-card__link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin: 0 22px;
}

.work-card__link:hover {
  text-decoration: underline;
}

/* ——— Promo band ——— */

.promo-band {
  background: var(--cream);
  padding: 64px 24px;
}

.promo-band__inner {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.2fr 0.8fr;
  margin: 0 auto;
  max-width: var(--max);
}

.promo-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.promo-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.promo-list li {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 10px;
  padding-left: 28px;
  position: relative;
}

.promo-list li::before {
  color: #22a06b;
  content: "✓";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.promo-band__art {
  align-items: center;
  display: flex;
  justify-content: center;
}

.promo-doc {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(31, 35, 48, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  padding: 28px;
  width: 220px;
}

.promo-doc span:first-child {
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}

.promo-doc span:last-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ——— Trust ——— */

.trust-band {
  padding: 64px 24px 72px;
  text-align: center;
}

.trust-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.trust-band > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto 24px;
  max-width: 520px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.trust-pills span {
  background: var(--brand-wash);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
}

/* ——— Footer ——— */

.site-footer {
  background: var(--navy, #050839);
  color: #c5c8d1;
}

.footer-inner {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--max);
  padding: 48px 24px 28px;
}

.footer-inner h3 {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.footer-inner a {
  color: #aeb2bd;
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
}

.footer-inner a:hover {
  color: #fff;
}

.store-badge {
  align-items: center;
  background: #0c1150;
  border-radius: 8px;
  color: #fff !important;
  display: inline-flex !important;
  font-weight: 700 !important;
  justify-content: center;
  margin-top: 8px !important;
  min-height: 42px;
  padding: 8px 14px;
  width: 100%;
}

.store-badge:hover {
  background: #15172c;
}

.store-badge--ghost {
  background: transparent;
  border: 1px solid #3a4050;
}

.footer-bottom {
  border-top: 1px solid #2a2f3c;
  color: #8b909c;
  font-size: 12px;
  margin: 0 auto;
  max-width: var(--max);
  padding: 16px 24px 28px;
}

/* ——— Inner pages (privacy, support, etc.) ——— */

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

.page-hero {
  background: var(--brand-wash);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner,
.content {
  margin: 0 auto;
  max-width: 860px;
  padding: 48px 24px;
}

.page-hero-inner h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}

.page-hero-inner p {
  color: var(--muted);
  font-size: 16px;
  margin: 14px 0 0;
}

.content {
  padding-top: 32px;
}

.content h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 32px;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 22px;
}

.content p,
.content li {
  color: var(--muted);
}

.content a {
  color: var(--accent);
  font-weight: 700;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 16px 0;
  padding: 20px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

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

th {
  color: var(--ink);
  font-size: 13px;
}

td {
  color: var(--muted);
}

.support-options {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice {
  background: var(--cream);
  border-radius: var(--radius);
  color: #7a4a12;
  padding: 16px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 48px 24px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header p {
  color: var(--muted);
  margin: 8px 0 0;
}

.legal-preview {
  background: var(--brand-wash);
}

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

.legal-link {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.legal-link:hover {
  box-shadow: var(--shadow-hover);
}

.legal-link h3 {
  font-size: 16px;
  font-weight: 700;
}

.legal-link p {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 0;
}

.feature-band,
.feature-grid,
.feature,
.steps,
.step,
.step-number,
.hero,
.hero-inner,
.lead,
.hero-actions,
.trust-row,
.trust-item,
.phone-panel,
.phone-frame,
.phone-caption {
  /* legacy hooks kept harmless if referenced elsewhere */
}

@media (max-width: 1020px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .work-way__grid,
  .promo-band__inner,
  .legal-grid {
    grid-template-columns: 1fr;
  }

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

  .promo-band__art {
    order: -1;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: 56px;
    padding: 0 16px;
  }

  .brand span {
    font-size: 16px;
  }

  .hero-tools {
    padding: 36px 0 48px;
  }

  .hero-tools__inner,
  .work-way,
  .promo-band,
  .trust-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tool-grid,
  .support-options,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .button.primary {
    padding-inline: 14px;
  }
}
