/* site/styles.css — Shared MailNotary design system (aligned with PageNotary suite) */
:root {
  --bg: #070b14;
  --surface: #111827;
  --surface-2: #1a2234;
  --border: #243046;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-dark: #0284c7;
  --indigo: #6366f1;
  --ok: #10b981;
  --ok-bg: rgba(16, 185, 129, 0.13);
  --warn: #f59e0b;
  --warn-bg: rgba(245, 158, 11, 0.13);
  --err: #ef4444;
  --err-bg: rgba(239, 68, 68, 0.14);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: radial-gradient(ellipse at top right, #13213c 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.85);
  border-bottom: 1px solid rgba(36, 48, 70, 0.7);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand-sub { font-size: 11px; font-weight: 600; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.nav-links a { text-decoration: none; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }

@media (max-width: 780px) {
  .nav-links .hide-sm { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}
.btn-secondary {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { background: #243046; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; }

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--ok-bg);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 44px 0 32px; }
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}
.hero p.lead {
  font-size: 16.5px;
  color: #cbd5e1;
  margin: 0 0 24px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Code / Bundle tree card */
.bundle-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.bundle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  font-family: var(--mono);
  color: #bae6fd;
}
.tree {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #e2e8f0;
  margin: 0;
  white-space: pre-wrap;
}
.tree .dim { color: var(--muted); }
.tree .ok { color: #34d399; }
.tree .sky { color: #38bdf8; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.auth-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Sections */
section { padding: 48px 0; }
.section-title {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.section-sub {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 680px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 820px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}
.card h3 { margin: 0 0 8px; font-size: 16.5px; }
.card p { margin: 0; font-size: 14px; color: #cbd5e1; }

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(26, 34, 52, 0.5);
}
tr:last-child td { border-bottom: none; }
.yes { color: #34d399; font-weight: 700; }
.no { color: #94a3b8; }

/* Pricing */
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), var(--surface));
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.15);
}
.price-tag {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 6px 0 4px;
}
.price-note { font-size: 12.5px; color: var(--muted); }
.price-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #d1d5db;
}
.price-list li::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 800;
}

/* Articles / Prose */
.prose { padding: 40px 0 64px; }
.prose h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.18; margin: 12px 0 14px; }
.prose h2 { font-size: 21px; margin: 28px 0 10px; color: #f8fafc; }
.prose p, .prose li { color: #d1d5db; font-size: 15px; }
.prose code {
  font-family: var(--mono);
  background: #0b1222;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13px;
  color: #93c5fd;
}
.prose pre {
  font-family: var(--mono);
  background: #0b1222;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 12.5px;
  color: #cbd5e1;
}
.callout {
  background: var(--ok-bg);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
  color: #d1fae5;
  font-size: 14px;
}

/* Suite Bundles Grid below Pricing Cards */
.bundles-wrap {
  margin-top: 22px;
}
.bundles-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 12px;
}
.bundle-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(14, 165, 233, 0.11));
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.bundle-banner.pro-suite {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(14, 165, 233, 0.12));
  border-color: rgba(99, 102, 241, 0.45);
}
.bundle-banner-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.bundle-banner.pro-suite .bundle-banner-tag {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.45);
}
.bundle-banner-title {
  font-size: 17.5px;
  font-weight: 800;
  margin: 0 0 6px;
}
.bundle-banner-sub {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
}
.bundle-banner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.bundle-price .now {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.bundle-price .was {
  font-size: 12px;
  color: var(--muted);
}
.bundle-price s { color: #64748b; }

/* Cross-sell banner */
.cross-sell {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.disclaimer {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.55;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 48, 70, 0.6);
}
