@layer legacy{/* VeriMails Shared Design System */

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

html { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: #0a0a0a;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hero-canvas-height, 620px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: linear-gradient(180deg, #f7f7f7 0%, #ebebeb 30%, #fff 82%);
}

body::after {
  background-image: radial-gradient(circle, #d4d4d4 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .45;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 90%);
}

body > .site-nav,
body > main,
body > .docs-layout,
body > .docs-index-hero,
body > .docs-index-grid,
body > .site-footer,
body > .footer-bottom-bar {
  position: relative;
  z-index: 1;
}

a { color: #4f46e5; text-decoration: none; }
a:hover { color: #4338ca; }

.container { max-width: 1200px; margin: 0 auto; padding-block: 0; padding-inline: var(--vm-gutter, 24px); }

/* ── NAV ── */

/* Mega menu */

/* Mobile nav */
/* Mobile-only elements: hidden on desktop, shown inside mobile overlay */


/* Desktop-only mega menu hover */

@media (max-width: 768px) {
/* Mobile nav items */
  /* Mobile mega menus — accordion style */
  /* Show mega menu when nav-item has .open class */
  }

/* ── SECTIONS ── */
section { padding: 80px 0; }
section:nth-child(even) { background: #f7f7f7; }
.section-alt { background: #f7f7f7; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: #0a0a0a; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 500; line-height: 1.2; letter-spacing: -0.5px; color: #0a0a0a; margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; color: #0a0a0a; margin-bottom: 12px; }
p { color: #737373; line-height: 1.7; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── HERO ── */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero, .tools-hero { background: transparent !important; }
.page-hero p { max-width: 680px; margin: 16px auto 0; font-size: 18px; }
.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px auto 0;
  color: #737373;
  font-size: 14px;
  line-height: 1.5;
}
.article-byline a {
  font-weight: 600;
}
.article-byline-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #d4d4d4;
}
.author-page-hero {
  padding-bottom: 40px;
}
.author-kicker {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #4f46e5;
}
.author-profile-section {
  padding: 0 0 80px;
  background: transparent !important;
}
.author-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.author-profile-card {
  padding: 28px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 0.05);
}
.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 600;
}
.author-checklist {
  margin: 0 0 24px;
  padding-left: 20px;
  color: #404040;
}
.author-checklist li {
  margin-bottom: 10px;
}
.author-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.author-note {
  margin-top: 12px;
  font-size: 13px;
  color: #a3a3a3;
}
@media (max-width: 760px) {
  .article-byline {
    gap: 8px;
    font-size: 13px;
  }
  .author-profile-grid {
    grid-template-columns: 1fr;
  }
  .author-profile-card {
    padding: 22px;
  }
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px;
  font-size: 13px; color: #a3a3a3; margin-bottom: 24px;
}
.breadcrumb a { color: #737373; }
.breadcrumb a:hover { color: #4f46e5; }
.breadcrumb span { color: #d4d4d4; }

/* ── CARDS ── */
.card {
  background: #fff; border-radius: 14px;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 0.05);
  padding: 32px;
}
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── TABLES ── */
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: 12px; overflow: hidden;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 0.05);
  margin: 32px 0;
}
.compare-table th {
  background: #fafafa; padding: 14px 20px;
  font-size: 13px; font-weight: 600; color: #737373;
  text-align: left; text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid #ebebeb;
}
.compare-table td {
  padding: 14px 20px; border-bottom: 1px solid #f5f5f5;
  font-size: 14px; color: #404040;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight-cell { color: #4f46e5; font-weight: 600; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 10px 24px;
  background: #4f46e5; color: #fff; font-weight: 600;
  font-family: inherit; font-size: 15px; border-radius: 8px; border: none; cursor: pointer;
  box-shadow: 0 1px 3px rgba(79,70,229,0.3);
  text-decoration: none;
}
.btn:hover { background: #4338ca; color: #fff !important; }
.btn-outline {
  background: #fff; color: #4f46e5; border: 1px solid #ebebeb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-outline:hover { background: #f7f7f7; color: #4338ca !important; }
.btn-lg { padding: 14px 36px; font-size: 16px; }


/* ══════════════════════════════════════════════════════════
   DESIGN SYSTEM — Homepage is the source of truth.
   All pages MUST use these classes for brand coherence.
   ══════════════════════════════════════════════════════════ */

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding-block: 0; padding-inline: var(--vm-gutter, 24px); }

/* ── Page Hero (non-homepage pages) ── */
.page-hero { padding: 80px 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; color: #0a0a0a; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: #4f46e5; }
.page-hero p { font-size: 17px; color: #737373; line-height: 1.6; max-width: 580px; margin: 0 auto; }
.page-hero .hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.breadcrumb { font-size: 13px; color: #a3a3a3; margin-bottom: 16px; }
.breadcrumb a { color: #737373; text-decoration: none; }
.breadcrumb a:hover { color: #4f46e5; }
.breadcrumb span { margin: 0 6px; }

/* ── Buttons (consistent everywhere) ── */
.btn-primary { display: inline-block; background: #4f46e5; color: #fff; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; font-family: inherit; border: none; cursor: pointer; transition: background 0.15s; }
.btn-primary:hover { background: #4338ca; color: #fff !important; }
.arrow-link { font-size: 14px; font-weight: 500; color: #4f46e5; text-decoration: none; transition: color 0.15s; }
.arrow-link:hover { color: #4338ca; }

/* ── Section Spacing ── */
.section { padding: 96px 0; }
.section:nth-child(even), .section-alt { background: #fafafa; }

main > .container > .integ-hero ~ section {
  background: transparent !important;
}

main > .container > .integ-hero ~ .section-alt {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-pill { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #4f46e5; background: rgba(79,70,229,0.06); padding: 2px 10px; border-radius: 20px; margin-bottom: 16px; }
.section-header h2, .section h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 500; color: #0a0a0a; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: #737373; max-width: 520px; margin: 0 auto; }

/* ── Feature/Benefit Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid #ebebeb; border-radius: 12px; padding: 28px; transition: box-shadow 0.15s; }
.card:hover { }
.card-icon { width: 44px; height: 44px; background: #eef2ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #4f46e5; }
.card h3 { font-size: 17px; font-weight: 600; color: #0a0a0a; margin-bottom: 8px; }
.card p { font-size: 14px; color: #737373; line-height: 1.6; margin: 0; }

/* ── Testimonial Cards ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid #ebebeb; border-radius: 12px; padding: 32px; }
.testimonial-card blockquote, .testimonial-card .quote { font-size: 15px; font-style: italic; color: #404040; line-height: 1.7; margin: 0 0 20px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-info strong { display: block; font-size: 14px; font-weight: 600; color: #0a0a0a; }
.testimonial-card .author-info span { font-size: 13px; color: #737373; }
.testimonial-stars { color: #f59e0b; margin-bottom: 16px; font-size: 14px; letter-spacing: 2px; }

/* ── Stats Section ── */
.stats-row { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 32px; font-weight: 600; color: #0a0a0a; }
.stat-label { font-size: 14px; color: #a3a3a3; margin-top: 4px; }

/* ── CTA Section ── */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 500; color: #0a0a0a; margin-bottom: 8px; }
.cta-section p { font-size: 15px; color: #737373; margin-bottom: 24px; }

/* ── How It Works ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; counter-reset: step; }
.step { text-align: center; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #4f46e5; color: #fff; font-size: 16px; font-weight: 600; margin: 0 auto 16px; }
.step h3 { font-size: 16px; font-weight: 600; color: #0a0a0a; margin-bottom: 8px; }
.step p { font-size: 14px; color: #737373; line-height: 1.6; }

/* ── Category Pills (for integration hub etc) ── */
.cat-pill { display: inline-block; font-size: 13px; font-weight: 500; color: #737373; background: #f5f5f5; padding: 6px 14px; border-radius: 20px; text-decoration: none; transition: all 0.15s; border: 1px solid transparent; }
.cat-pill:hover { color: #4f46e5; background: #eef2ff; border-color: #c7d2fe; }

/* ── Design System Mobile ── */
@media (max-width: 768px) {
  .page-hero { padding: 60px 0 32px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 15px; }
  .page-hero .hero-actions { flex-direction: column; gap: 12px; }
  .section { padding: 64px 0; }
  .section-header h2, .section h2 { font-size: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 32px; }
  .stat-num { font-size: 28px; }
  .cta-section { padding: 56px 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .btn-primary { width: 100%; text-align: center; }
  .card { padding: 20px; }
  .testimonial-card { padding: 24px; }
}

/* ── CTA BOX ── */
.cta-box {
  text-align: center; padding: 64px 32px;
  background: #f7f7f7; border-radius: 16px; margin: 48px 0;
}
.cta-box h2 { margin-bottom: 12px; }
.cta-box p { max-width: 520px; margin: 0 auto 28px; }
.cta-trust { font-size: 13px; color: #a3a3a3; margin-top: 12px; }

/* ── FAQ ── */

/* ── FAQ Accordion (homepage style) ── */
.faq-section { padding: 96px 0; background: #fafafa; }
.faq-inner { max-width: 640px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 { font-size: 30px; font-weight: 500; color: #0a0a0a; margin-bottom: 8px; }
.faq-header p { font-size: 15px; color: #737373; }
.faq-item { border-top: 1px solid #ebebeb; }
.faq-item:last-child { border-bottom: 1px solid #ebebeb; }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 20px 0; background: none; border: none; cursor: pointer; font-family: inherit; text-align: left; }
.faq-question span { font-size: 15px; font-weight: 500; color: #0a0a0a; line-height: 1.4; flex: 1; padding-right: 16px; }
.faq-toggle { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #a3a3a3; flex-shrink: 0; transition: transform 0.2s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 0 20px; font-size: 14px; color: #737373; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }


/* ── PRICING CARDS ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.pricing-card {
  background: #fff; border-radius: 14px; padding: 32px;
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 0.05);
  border: 2px solid transparent;
}
.pricing-card.featured { border-color: #4f46e5; }
.pricing-card .price { font-size: 36px; font-weight: 600; color: #0a0a0a; margin: 8px 0; }
.pricing-card .price small { font-size: 16px; font-weight: 400; color: #737373; }
.pricing-card ul { list-style: none; margin: 20px 0; }
.pricing-card li { padding: 6px 0; font-size: 14px; color: #404040; padding-left: 22px; position: relative; }
.pricing-card li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: #4f46e5; border-radius: 50%; }
.brand-label { font-size: 14px; font-weight: 600; color: #4f46e5; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── CONTENT SECTIONS ── */
.content-section { margin: 48px 0; }
.content-section h2 { margin-bottom: 20px; }
.content-section h3 { margin-top: 32px; margin-bottom: 12px; }
.content-section p { font-size: 16px; }
.content-section ul { margin: 12px 0 16px 20px; }
.content-section li { padding: 4px 0; color: #404040; font-size: 15px; }

/* ── INDEX / LISTING CARDS ── */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.listing-card {
  display: block; background: #fff; border: 1px solid #ebebeb; border-radius: 12px;
  padding: 24px; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.listing-card:hover { border-color: #c7d2fe; }
.listing-card h3 { color: #0a0a0a; margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.listing-card p { font-size: 13px; color: #737373; margin: 0; line-height: 1.5; }

/* ── RELATED LINK CARDS (compact) ── */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.related-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff !important; border: 1px solid #ebebeb; border-radius: 8px;
  padding: 14px 16px; text-decoration: none; color: #0a0a0a;
  font-size: 14px; font-weight: 500; line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.related-card:hover { background: #fff !important; box-shadow: none !important; border-color: #d4d4d4 !important; color: #0a0a0a !important; transform: none !important; }
.related-card::after { content: "\2192"; color: #a3a3a3; font-size: 15px; flex-shrink: 0; }
.related-card:hover::after { color: #737373; }
section:has(.related-grid),
section.article-related {
  background: transparent !important;
}
section:has(.related-grid) > .container,
section.article-related > .container {
  background: transparent !important;
}
html body section:has(.related-grid),
html body section.article-related,
html body section:has(.related-grid) > .container,
html body section.article-related > .container {
  background: transparent !important;
}
html body section:has(.related-grid) .related-card,
html body section.article-related .related-card {
  background: #fff !important;
  border: 1px solid #ebebeb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #0a0a0a !important;
}
html body section:has(.related-grid) .related-card:hover,
html body section.article-related .related-card:hover {
  background: #fff !important;
  border-color: #d4d4d4 !important;
  box-shadow: none !important;
  color: #0a0a0a !important;
  transform: none !important;
}

/* ── ARROW LINKS ── */
.arrow-link { font-size: 14px; font-weight: 500; color: #4f46e5; text-decoration: none; }
.arrow-link:hover { color: #4338ca; }

/* ── FOOTER (Hunter layout, white bg) ── */

/* Legacy footer-grid for static pages */
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding-block: 0; padding-inline: var(--vm-gutter, 24px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 40px;
}

/* New footer layout for landing page */
.footer-copy { font-size: 13px; color: #737373; margin-bottom: 20px; }

@media (max-width: 768px) {
  section { padding: 48px 0; }
  .page-hero { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Enhanced Mobile ── */
@media (max-width: 600px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
  p { font-size: 14px; }
  section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .page-hero { padding: 40px 0 24px; }
  .page-hero h1 { max-width: 320px; margin-left: auto; margin-right: auto; overflow-wrap: break-word; }
  .page-hero p { font-size: 15px; }
  .content-section p,
  .content-section li,
  .guide-tldr li { overflow-wrap: break-word; }
  .breadcrumb { font-size: 12px; margin-bottom: 16px; }
  .card { padding: 20px; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-card { padding: 20px; }
  .listing-card h3 { font-size: 16px; }
  .listing-card p { font-size: 13px; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
  .btn { padding: 10px 20px; font-size: 14px; width: 100%; text-align: center; }
  .btn-lg { padding: 12px 24px; font-size: 15px; }
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 22px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card .price { font-size: 28px; }
  .faq-section { padding: 64px 0; }
  .faq-question span { font-size: 14px; }
  .faq-answer-inner { font-size: 13px; }
  .content-section p { font-size: 14px; }
  .content-section li { font-size: 14px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 380px) {
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { display: block; overflow-x: auto; }
}



  
/* ── FOOTER MOBILE FIX ── */

/* ── MEGA MENU DESCRIPTIONS ── */

/* ── MEGA LINK BOLD TITLES ── */


/* ══════════════════════════════════════════════
   MOBILE NAV — Untitled UI Style
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hide desktop pieces, show hamburger */
  body.nav-open { overflow: hidden !important; }

  /* Hide hamburger when menu is open */

  /* Full-screen white overlay */
  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Header: logo left, X right ── */

  /* ── Scrollable nav items area ── */

  /* ── Accordion submenus ── */

  /* ── Secondary links grid — bottom area ── */

  /* ── CTA buttons at very bottom ── */
}


/* ══════════════════════════════════════════════
   MEGA MENU V2 — Untitled UI 4-column style
   ══════════════════════════════════════════════ */

/* Untitled UI style colored icon boxes */

/* Sign up button in Get Started column */

/* Footer link in mega menu */

/* CTA column (Get Started) */
/* docs button - styled like Google sign-in */

/* Footer bar in mega menu */

/* ── Mega menu v2 mobile overrides ── */

/* ── Testimonial Inline (homepage style) ── */
.testimonial-inline { padding: 64px 0; }
.testimonial-inline blockquote { max-width: 640px; margin: 0 auto; font-size: 20px; font-weight: 500; color: #0a0a0a; line-height: 1.5; text-align: center; }
.testimonial-inline blockquote mark { background: rgba(79,70,229,0.1); color: #0a0a0a; padding: 2px 0; border-radius: 2px; }
.testimonial-inline cite { display: block; text-align: center; margin-top: 20px; font-size: 14px; font-style: normal; color: #a3a3a3; }
.testimonial-inline cite strong { color: #737373; }

/* ══════════════════════════════════════════════════════
   MOBILE NAV — Full-screen overlay, left-aligned, clean
   Reference: Untitled UI mobile menu pattern
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Mobile header: logo left, X right */

  /* Nav items: full width, left-aligned */

  /* Mega menus: accordion, hidden by default */

  /* Open accordion */

  /* Mega menu links */

  /* Hide mega-v2 icons on mobile */

  /* Mega v2 specific */

  /* Mobile secondary links: 2-column grid at bottom */

  /* Sign up / Log in: full-width at bottom */

  /* Hamburger button */
}

/* Desktop nav layering hardening.
   Dropdown panels must cover hero text cleanly instead of blending with it. */

/* Mobile navigation polish.
   This final override resolves older overlapping mobile-menu rules and keeps the
   menu aligned with the current VeriMails page style. */

/* Mobile menu stability and visual cleanup. */
@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
  }
}

/* 2026-05-25 SEO goal: keep page headings aligned with the landing page. */
h1,
.page-hero h1,
.tools-hero h1,
.hero h1,
.money-hero h1,
.integ-hero h1 {
  font-family: var(--font-sans) !important;
  font-size: 52px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.05em !important;
  color: #0a0a0a !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2,
.section h2,
.section-header h2,
.section-title,
.content-section h2,
.faq-header h2,
.cta-section h2,
.cta-box h2,
.copy-block h2,
.about-text h2 {
  font-family: var(--font-sans) !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.05em !important;
  color: #0a0a0a !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-note {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #a3a3a3 !important;
}

.page-hero .comparison-updated {
  display: block !important;
  max-width: min(680px, 100%) !important;
  margin: 18px auto 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #737373 !important;
  overflow-wrap: break-word;
}

.page-hero .comparison-updated + .hero-actions {
  margin-top: 30px !important;
}

@media (max-width: 768px) {
  h1,
  .page-hero h1,
  .tools-hero h1,
  .hero h1,
  .money-hero h1,
  .integ-hero h1 {
    font-size: 36px !important;
  }

  h2,
  .section h2,
  .section-header h2,
  .section-title,
  .content-section h2,
  .faq-header h2,
  .cta-section h2,
  .cta-box h2,
  .copy-block h2,
  .about-text h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 480px) {
  h1,
  .page-hero h1,
  .tools-hero h1,
  .hero h1,
  .money-hero h1,
  .integ-hero h1 {
    font-size: 28px !important;
  }

  h2,
  .section h2,
  .section-header h2,
  .section-title,
  .content-section h2,
  .faq-header h2,
  .cta-section h2,
  .cta-box h2,
  .copy-block h2,
  .about-text h2 {
    font-size: 24px !important;
  }
}

/* vm-language-switcher-20260526: start */

@media (max-width: 900px) {
  /* Mobile: keep the dropdown behavior (click to reveal), but pin the menu
     inline below the button instead of floating absolutely off-screen. */
}
/* vm-language-switcher-20260526: end */

/* Site-wide layout fixes for flaws inherited from the old static pages. Loaded after every page style.
   Each block names the pages it was seen on in the 2026-10-13 hero review. */

/* shared.css paints every 2nd <section> as a grey full-width band. Inside the page column that band
   becomes a grey box with no side padding and an empty top (compare "At a Glance", "Quick Verdict"). */
body .container section:not([class]) { background: transparent; padding-top: 48px; padding-bottom: 0; }

/* TLDR boxes: guide, blog, tool and use-case pages had five different treatments (some with the text on
   the border, some white on white, some with a big heading). One card everywhere. */
body .guide-tldr, body .blog-tldr, body .tool-tldr:not(.tool-content-shell), body .tool-content-shell.tool-tldr, body .tldr, body .tldr-box {
  margin-top: 24px; margin-bottom: 32px; padding: 20px 22px !important; background: #fafafa !important;
  border: 1px solid #ebebeb !important; border-left: 3px solid #4f46e5 !important; border-radius: 8px !important;
}
body :is(.guide-tldr, .blog-tldr, .tool-tldr, .tldr, .tldr-box) > h2,
body :is(.guide-tldr, .blog-tldr, .tool-tldr, .tldr, .tldr-box) > strong:first-child {
  display: block; font-size: 13px !important; line-height: 1.4 !important; margin: 0 0 10px !important; color: #0a0a0a;
  text-transform: uppercase; letter-spacing: .08em !important; font-weight: 500;
}
body :is(.guide-tldr, .blog-tldr, .tool-tldr, .tldr, .tldr-box) li,
body :is(.guide-tldr, .blog-tldr, .tool-tldr, .tldr, .tldr-box) > p { font-size: 15px; line-height: 1.65; color: #404040; }
body .guide-tldr ul { margin: 0; padding: 0; }

/* Byline: give it room above the TLDR card; on phones drop the separator dot instead of leaving it
   dangling at the end of a wrapped line. */
body .article-byline { margin-bottom: 8px; }
@media (max-width: 600px) {
  body .article-byline { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  body .article-byline-dot { display: none !important; }
}

/* Injected pricing notes carry an inline text-align:center, even in left-aligned heroes (guides, tools). */
body [data-seo-pricing-link] { text-align: inherit !important; }

/* Tables: on phones the last column was cut off (compare "At a Glance", docs). Tables with a header row
   turn into one card per row, each value labelled with its column; others scroll inside their own box. */
.vm-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) {
  body table.vm-stack, body table.vm-stack tbody, body table.vm-stack tr, body table.vm-stack td,
  body table.vm-stack tbody th { display: block; width: 100%; }
  body table.vm-stack { border: 0 !important; background: transparent !important; box-shadow: none !important; }
  body table.vm-stack thead { display: none; }
  body table.vm-stack tr {
    margin: 0 0 10px; padding: 12px 14px; border: 1px solid #ebebeb; border-radius: 8px; background: #fff;
  }
  body table.vm-stack td, body table.vm-stack tbody th {
    padding: 3px 0 !important; border: 0 !important; background: transparent !important; text-align: left !important;
    white-space: normal !important; font-size: 14px; line-height: 1.5;
  }
  body table.vm-stack tr > :first-child { font-weight: 600; color: #0a0a0a; padding-bottom: 6px !important; }
  body table.vm-stack tr > :not(:first-child)[data-label]::before {
    content: attr(data-label); display: block; margin-top: 4px; font-size: 11px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; color: #737373;
  }
}

/* features: code sample text had no colour, so punctuation and the example address were dark on dark. */
body .code-block { color: #cdd6f4; }

/* docs hub: title and intro are left-aligned, the resource buttons were centred under nothing. */
body .docs-agent-actions { justify-content: flex-start !important; }

/* use-cases: hero bottom padding + section margin + section padding left ~200px of empty space. */
.page-hero + .content-section { margin-top: 0; padding-top: 24px; }

/* tools: on phones the intro grid kept a min-content column wider than the screen, and inline flex
   forms pushed the button past the card edge. */
@media (max-width: 900px) { body .tool-intro { grid-template-columns: minmax(0, 1fr) !important; } }
body .tool-intro > * { min-width: 0; }
body form input { min-width: 0; }
body form .btn { flex-shrink: 0; white-space: nowrap; }

/* Full-width phone buttons centre their label (inline-flex buttons ignored text-align). */
@media (max-width: 600px) { body .btn-primary, body .btn { justify-content: center; text-align: center; } }

/* Step cards: page CSS forced 3 columns even on phones (cards squeezed and cut off), and shared.css
   added a numbered circle on top of the page's own "01" number. One number, one column on phones. */
@media (max-width: 760px) { body .steps-grid { grid-template-columns: minmax(0, 1fr) !important; } }
body .step:has(.step-num)::before { display: none; }

/* Tool forms on phones: input on its own row, full-width button below. */
@media (max-width: 600px) {
  body form div[style*="display:flex"] { flex-wrap: wrap; }
  body form div[style*="display:flex"] > input { flex: 1 1 100% !important; }
  body form div[style*="display:flex"] > .btn { flex: 1 1 100%; }
}

/* privacy/terms: hero is left-aligned but shared.css centres its paragraphs as auto-margin blocks. */
body .page-hero[style*="text-align:left"] > * { margin-left: 0 !important; margin-right: 0 !important; }

/* glossary: byline now sits above the buttons inside the hero, as on blog posts. */
body .page-hero > .article-byline { margin: 18px 0 0; }

/* compare: the stat row under the hero came in three looks (left-aligned, centred, boxed cards) across
   pages with identical markup. One look everywhere: centred, between two hairlines. */
body .metric-strip {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important;
  border: 0 !important; border-top: 1px solid #ebebeb !important; border-bottom: 1px solid #ebebeb !important;
  border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  padding: 18px 0 !important; margin: 28px 0 8px !important; text-align: center !important;
}
body .metric-item {
  border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important;
  border-radius: 0 !important; text-align: center !important;
}
body .metric-item strong { display: block; color: #0a0a0a; font-size: 22px !important; line-height: 1.2; }
body .metric-item span { display: block; color: #737373; font-size: 13px !important; line-height: 1.45; margin-top: 5px; }
@media (max-width: 700px) { body .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 12px !important; } }
body #dkim-selector { width: 230px !important; }

/* Long words (German compounds, Turkish, cited URLs) pushed the money-page hero copy and compare
   source citations past the phone screen edge. */
body .money-hero-inner > *, body .money-copy { min-width: 0; }
body .money-copy { overflow-wrap: break-word; }
body cite { overflow-wrap: anywhere; }
/* Grid children default to min-width:auto, so one long word stretched a whole column past the screen. */
body [class*="grid"] > * { min-width: 0; }

/* docs: endpoint URLs scroll on one line instead of breaking mid-word. */
body .endpoint-url { overflow-wrap: normal !important; white-space: nowrap; display: inline-block; max-width: 100%; overflow-x: auto; vertical-align: bottom; }

/* for/*: the injected "See pricing" link wrapped under the link row and was clipped by the card. */
body .for-tldr-card { overflow: visible !important; }
body .for-tldr-links { row-gap: 10px !important; }

/* Phones: headings in the hero use one size (a few pages had larger inline sizes). */
@media (max-width: 600px) { body .page-hero h1 { font-size: 32px !important; line-height: 1.15 !important; } }

/* Arabic: code samples must stay left-to-right, or the URL, commas and braces get reordered. */
[dir="rtl"] :is(pre, code, kbd, samp, .code-block, .endpoint-url) { direction: ltr; text-align: left; unicode-bidi: isolate; }

/* Japanese/Chinese/Korean: no lone "す。" on the last line of a paragraph, phrase-aware breaks in
   Japanese body text, and no Latin letter-spacing on CJK headings. */
:is(:lang(ja), :lang(zh), :lang(ko)) :is(p, li) { text-wrap: pretty; }
:lang(ja) :is(p, li) { word-break: auto-phrase; overflow-wrap: anywhere; }
body .text-panel { min-width: 0; }
:is(:lang(ja), :lang(zh)) :is(h1, h2, h3, h4, h5) { letter-spacing: 0 !important; }

/* Nav labels never wrap (German "API-Docs" broke onto two lines). */

/* Older localized landing pages: left-aligned hero, so the byline aligns left too. */
body section.hero .article-byline { justify-content: flex-start; text-align: left; }

/* Between tablet and laptop width the top row did not fit (it used to wrap onto two lines). Integrations
   and API Docs are also inside the menus, so the top row drops them there and tightens spacing. */

/* Diagrams: on phones a 1200px-wide diagram shrank to unreadable 4px labels. It now keeps a readable
   size and scrolls sideways inside its own box; soft edge shadows show there is more to see. */
.vm-dia { display: block; max-width: 100%; min-width: 0; contain: inline-size; }
.vm-dia > img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .vm-dia { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .vm-dia > img { flex: 0 0 720px; width: 720px; max-width: none; }
  /* a soft fade pinned to the right edge says "there is more" */
  .vm-dia::after {
    content: ""; flex: 0 0 28px; margin-left: -28px; position: sticky; right: 0; pointer-events: none;
    background: linear-gradient(to left, rgba(255,255,255,.95), rgba(255,255,255,0));
  }
}
}
@layer legacy{/* Right-to-left fixes for Arabic pages (html[dir=rtl]). Layout flips by itself through
   flexbox; these rules keep the things that must stay left to right. */
html[dir="rtl"] svg { direction: ltr; }
html[dir="rtl"] code, html[dir="rtl"] pre, html[dir="rtl"] kbd, html[dir="rtl"] samp,
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="url"],
html[dir="rtl"] textarea.code { direction: ltr; text-align: left; unicode-bidi: isolate; }
html[dir="rtl"] pre { text-align: left; }
html[dir="rtl"] bdi[dir="ltr"] { unicode-bidi: isolate; }
html[dir="rtl"] .vm-language-code, html[dir="rtl"] .nav-logo, html[dir="rtl"] .logo { direction: ltr; }
html[dir="rtl"] th, html[dir="rtl"] td { text-align: right; }
}