/* ==========================================================================
   deliverable.cloud — focus: deliverable email
   Stack: vanilla HTML + CSS + minimal JS, no build step
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-tint: #f0f7ff;
  --bg-dark: #0a0e1a;
  --bg-darker: #06080f;
  --ink: #0a0e1a;
  --ink-2: #2d3748;
  --ink-3: #4a5568;
  --ink-4: #718096;
  --ink-5: #a0aec0;
  --border: #e5e7eb;
  --border-strong: #cbd5e1;
  --primary: #0066ff;
  --primary-hover: #0052cc;
  --primary-light: #cce0ff;
  --primary-soft: #e6f0ff;
  --success: #10b981;
  --success-bg: #d1fae5;
  --warn: #f59e0b;
  --warn-bg: #fef3c7;
  --danger: #ef4444;
  --danger-bg: #fee2e2;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 14, 26, .04);
  --shadow: 0 1px 3px rgba(10, 14, 26, .08), 0 1px 2px rgba(10, 14, 26, .04);
  --shadow-lg: 0 12px 32px rgba(10, 14, 26, .08), 0 4px 8px rgba(10, 14, 26, .04);
  --shadow-glow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body { min-height: 100vh; overflow-x: hidden; }

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-hover); }

button { font-family: inherit; cursor: pointer; }

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

h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.025em; line-height: 1.15; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 5.5vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-weight: 800; font-size: clamp(1.625rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-weight: 700; font-size: 1.25rem; }
h4 { font-weight: 600; font-size: 1.0625rem; }
p { color: var(--ink-2); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 1.25rem; }

/* ==========================================================================
   Top banner
   ========================================================================== */
.banner {
  background: var(--bg-darker);
  color: #cbd5e1; padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
}
.banner a { color: #4dabff; font-weight: 500; }
.banner a:hover { color: #fff; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex; align-items: center; gap: 2rem;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1.05rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.025em;
}
.brand-mark {
  width: 30px; height: 30px;
}
.brand-domain { color: var(--primary); }
.nav-links {
  display: none;
  list-style: none; gap: 1.75rem; flex: 1; justify-content: center;
}
.nav-links a {
  color: var(--ink-2); font-size: 0.9rem; font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions {
  display: flex; align-items: center; gap: 0.6rem; margin-left: auto;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.925rem;
  padding: 0.625rem 1.1rem; border-radius: 8px;
  border: 1px solid transparent; transition: all .15s;
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 102, 255, 0.28); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }

@media (min-width: 920px) {
  .nav-links { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 102, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary-soft); color: var(--primary);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid var(--primary-light);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--success); opacity: 0.3; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(2.2); opacity: 0; } }

.hero h1 { color: var(--ink); margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--primary); display: inline-block; position: relative; }
.hero h1 em::after {
  content: '';
  position: absolute; bottom: 0.05em; left: 0; right: 0;
  height: 0.18em;
  background: rgba(0, 102, 255, 0.18);
  z-index: -1;
}
.hero-sub {
  font-size: 1.1875rem; color: var(--ink-2);
  margin-bottom: 2rem; max-width: 34rem;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem;
  max-width: 32rem;
}
@media (min-width: 540px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat-num {
  font-size: 1.625rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-num.is-bad { color: var(--danger); }
.stat-num.is-good { color: var(--success); }
.stat-label { font-size: 0.75rem; color: var(--ink-3); font-weight: 500; line-height: 1.4; }

/* ==========================================================================
   Mockup card (hero right)
   ========================================================================== */
.mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.4deg);
}
.mockup-bar {
  background: var(--bg-soft); padding: 0.65rem 0.85rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 0.3rem; }
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-url {
  flex: 1; background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 0.3rem 0.7rem; margin-left: 0.4rem;
  font-size: 0.7rem; color: var(--ink-3); font-family: 'JetBrains Mono', monospace;
}
.mockup-body { padding: 1.5rem; }
.mockup-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.25rem;
}
.mockup-title { font-weight: 700; color: var(--ink); font-size: 0.975rem; }
.mockup-meta {
  font-size: 0.7rem; color: var(--success); font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.mockup-meta::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

.score-card {
  background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: #fff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.score-num {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
}
.score-info { flex: 1; }
.score-label { font-size: 0.7rem; opacity: 0.8; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.2rem; }
.score-status { font-size: 1rem; font-weight: 600; }
.score-trend { font-size: 0.75rem; opacity: 0.85; }

.results-stack {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.result {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px; border: 1px solid var(--border);
  font-size: 0.8rem; background: #fff;
}
.result-email { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--ink-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-status {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 0.18rem 0.45rem; border-radius: 4px;
  flex-shrink: 0;
}
.result-status.is-valid { background: var(--success-bg); color: var(--success); }
.result-status.is-risky { background: var(--warn-bg); color: var(--warn); }
.result-status.is-invalid { background: var(--danger-bg); color: var(--danger); }
.result-icon { flex-shrink: 0; }

.summary-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.summary-cell { text-align: center; }
.summary-num { font-size: 1.1rem; font-weight: 800; line-height: 1; }
.summary-label { font-size: 0.65rem; color: var(--ink-3); margin-top: 0.3rem; }

/* ==========================================================================
   Why deliverability matters (dark)
   ========================================================================== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--bg-dark); color: #cbd5e1; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #94a3b8; }
.section-dark .section-eyebrow { color: #60a5fa; }

.section-head {
  text-align: center; margin-bottom: 3.5rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
  margin-bottom: 1rem;
}
.section-head h2 { color: var(--ink); margin-bottom: 1rem; }
.section-dark .section-head h2 { color: #fff; }
.section-head p {
  font-size: 1.0625rem; color: var(--ink-2);
  max-width: 38rem; margin: 0 auto;
}
.section-dark .section-head p { color: #94a3b8; }

/* Stats grid */
.stat-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1000px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}
.stat-card .big {
  font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em;
  color: #fff; line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-card.is-bad .big { color: #f87171; }
.stat-card.is-warn .big { color: #fbbf24; }
.stat-card.is-good .big { color: #34d399; }
.stat-card h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.3; font-weight: 600; }
.stat-card p { font-size: 0.825rem; color: #94a3b8; line-height: 1.5; }

/* ==========================================================================
   Steps to deliverable email
   ========================================================================== */
.steps {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all .15s;
  position: relative;
}
.step:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.step-num {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--ink-4); font-weight: 600; letter-spacing: 0.05em;
}
.step-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.125rem; margin-bottom: 0.6rem; color: var(--ink); }
.step p { font-size: 0.925rem; color: var(--ink-2); line-height: 1.6; }
.step .impact {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  background: var(--success-bg);
  border-radius: 6px;
}

/* ==========================================================================
   Pipeline
   ========================================================================== */
.pipeline-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
}
.pipeline-flow {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 720px) {
  .pipeline-flow { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
}
.flow-step {
  text-align: center;
  padding: 1.25rem 0.75rem;
}
.flow-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
  margin: 0 auto 0.85rem;
}
.flow-num.is-final { background: var(--success); font-size: 0.7rem; }
.flow-icon {
  width: 44px; height: 44px; margin: 0 auto 0.85rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.flow-step h4 { font-size: 0.9375rem; margin-bottom: 0.4rem; color: var(--ink); }
.flow-step p { font-size: 0.8rem; color: var(--ink-3); line-height: 1.5; }

/* ==========================================================================
   MXGuard product section
   ========================================================================== */
.product-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: center;
}
@media (min-width: 980px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.product-features {
  list-style: none; padding: 0; margin: 1.5rem 0 2rem;
}
.product-features li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.product-features li:last-child { border-bottom: none; }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.05rem;
}
.product-features strong { color: var(--ink); display: block; margin-bottom: 0.15rem; font-weight: 600; font-size: 0.95rem; }
.product-features small { font-size: 0.85rem; color: var(--ink-3); }

.product-image {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1729 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.product-image::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
}
.terminal {
  background: var(--bg-darker);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.825rem;
  line-height: 1.7;
  position: relative;
  margin-top: 1rem;
}
.terminal-bar {
  display: flex; gap: 0.3rem; margin-bottom: 0.85rem;
}
.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; }
.terminal-line { color: #94a3b8; }
.terminal-prompt { color: #4dabff; }
.terminal-comment { color: #64748b; }
.terminal-success { color: #34d399; }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.cmp-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.cmp {
  width: 100%; border-collapse: collapse;
  min-width: 620px;
  font-size: 0.9rem;
}
.cmp thead th {
  font-size: 0.8rem; font-weight: 700;
  color: var(--ink-3); text-align: left;
  padding: 1rem 1.1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.cmp thead th.is-featured {
  background: var(--ink); color: #fff;
}
.cmp thead th.is-featured small {
  display: block; font-size: 0.65rem; font-weight: 500;
  color: #60a5fa; margin-top: 0.15rem;
}
.cmp tbody td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
  vertical-align: middle;
}
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td.row-label {
  font-weight: 600; color: var(--ink);
  background: var(--bg-soft);
  white-space: nowrap;
}
.cmp td.is-featured {
  background: rgba(0, 102, 255, 0.04);
  color: var(--ink);
  font-weight: 500;
}
.cmp .yes { color: var(--success); font-weight: 600; }
.cmp .no { color: var(--ink-4); }
.cmp .warn { color: var(--warn); font-weight: 500; }

/* Blurred competitor names — legible structure, indirect attribution */
.cmp-blur {
  filter: blur(4px);
  -webkit-filter: blur(4px);
  user-select: none;
  -webkit-user-select: none;
  display: inline-block;
  cursor: default;
  transition: filter .25s;
}
.cmp thead th:hover .cmp-blur {
  filter: blur(2px);
  -webkit-filter: blur(2px);
}

.cmp-disclaimer {
  font-size: 0.8rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: 1.25rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  font-style: italic;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all .15s;
}
.faq-item[open] { border-color: var(--primary-light); box-shadow: var(--shadow-glow); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  font-weight: 600; color: var(--ink); font-size: 0.975rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--ink-3); transition: transform .25s; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  padding: 0 1.5rem 1.5rem;
  color: var(--ink-2); font-size: 0.925rem; line-height: 1.7;
}
.faq-a p { margin-bottom: 0.75rem; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a code { background: var(--bg-soft); padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.85em; color: var(--primary-hover); }
.faq-a strong { color: var(--ink); }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1729 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  margin-top: 1rem;
}
.calc-head { margin-bottom: 2rem; text-align: center; }
.calc-head h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.calc-head p { color: #94a3b8; font-size: 0.95rem; }

.calc-controls {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  max-width: 32rem; margin: 0 auto 2rem;
}
.calc-label {
  display: block; font-size: 0.825rem; color: #cbd5e1;
  font-weight: 600; margin-bottom: 0.5rem;
}
.calc-label .val {
  float: right; color: #4dabff; font-weight: 700; font-family: 'JetBrains Mono', monospace;
}
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.5);
}
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.calc-results {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 720px) { .calc-results { grid-template-columns: repeat(3, 1fr); } }
.calc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.calc-card-label {
  font-size: 0.75rem; color: #94a3b8; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.85rem;
  font-weight: 600;
}
.calc-card-val {
  font-size: 1.875rem; font-weight: 800; line-height: 1;
  letter-spacing: -0.03em; color: #fff;
  margin-bottom: 0.3rem;
}
.calc-card-val.is-bad { color: #f87171; }
.calc-card-val.is-good { color: #34d399; }
.calc-card-sub { font-size: 0.8rem; color: #94a3b8; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.final-cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 102, 255, 0.6), transparent 70%),
    linear-gradient(180deg, var(--bg-dark) 0%, #0f1729 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  margin: 2rem 1.25rem;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
}
.final-cta h2 { color: #fff; margin-bottom: 1rem; }
.final-cta p { color: #94a3b8; max-width: 36rem; margin: 0 auto 2rem; font-size: 1.0625rem; }
.final-cta-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}
.footer-brand h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.footer-brand p { font-size: 0.875rem; color: var(--ink-3); line-height: 1.55; max-width: 32ch; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--ink-2); font-size: 0.875rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem; color: var(--ink-3);
}

/* ==========================================================================
   Misc
   ========================================================================== */
::selection { background: var(--primary); color: #fff; }

.text-success { color: var(--success); font-weight: 600; }
.text-danger { color: var(--danger); font-weight: 600; }
.text-warn { color: var(--warn); font-weight: 600; }
