/* Mailmigreren.nl - styling geïnspireerd op boriskusters.nl
   Light mode first, geen hamburger, MM brand-accent #e17f38 */

:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface-2: #ffffff;
  --border: #e5e7eb;
  --text: #22374a;
  --text-muted: #3f485a;
  --accent: #e17f38;
  --accent-dark: #c66722;
  --accent-soft: rgba(225, 127, 56, 0.1);
  --accent-softer: rgba(225, 127, 56, 0.05);
  --blue: #0055ff;
  --blue-soft: rgba(0, 85, 255, 0.08);
  --success: #15a155;
  --error: #c4523d;
  --shadow-sm: 0 1px 3px rgba(34, 55, 74, 0.06);
  --shadow-md: 0 4px 20px rgba(34, 55, 74, 0.05);
  --shadow-lg: 0 8px 32px rgba(34, 55, 74, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max: 1100px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
.accent { color: var(--accent); position: relative; display: inline-block; }
.accent-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q 50 20 100 10' fill='none' stroke='%23e17f38' stroke-opacity='0.5' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;
}

p { margin: 0 0 12px 0; color: var(--text-muted); }

/* ======== Background effects ======== */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.55;
  border-radius: 50%;
  animation: blob-drift 20s infinite alternate var(--ease);
  will-change: transform;
}
.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(225,127,56,0.18) 0%, transparent 70%);
}
.blob-2 {
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(0,85,255,0.1) 0%, transparent 70%);
  animation-delay: -6s;
  animation-duration: 26s;
}
.blob-3 {
  top: 40%; left: 50%;
  width: 30vw; height: 30vw;
  background: radial-gradient(circle, rgba(225,127,56,0.08) 0%, transparent 70%);
  animation-delay: -12s;
  animation-duration: 22s;
}
@keyframes blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(8%, 12%) scale(1.08); }
  66%  { transform: translate(-6%, 8%) scale(0.95); }
  100% { transform: translate(4%, -10%) scale(1.05); }
}

/* Drifting particles (subtle) */
.bg-effects::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(225,127,56,0.35) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(0,85,255,0.25) 1px, transparent 1.5px);
  background-size: 240px 240px, 320px 320px;
  background-position: 0 0, 120px 80px;
  opacity: 0.5;
  animation: particle-drift 60s linear infinite;
}
@keyframes particle-drift {
  0%   { background-position: 0 0, 120px 80px; }
  100% { background-position: 240px 240px, 360px 320px; }
}
.tech-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(34, 55, 74, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 55, 74, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

/* ======== Header (sticky, no hamburger) ======== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}
.brand strong {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.brand strong span { color: var(--accent); }
.brand strong .dot {
  color: var(--accent);
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.brand:hover .dot { transform: scale(1.3); }
.brand-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0;
}
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover:not(.btn) { color: var(--accent); }

/* ======== Buttons ======== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; margin-top: 8px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(225, 127, 56, 0.25);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(225, 127, 56, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* ======== Hero ======== */
.hero {
  padding: 80px 0 64px 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(225, 127, 56, 0.2);
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.hero-text h1 { margin-bottom: 24px; }
.hero-text .lead {
  font-size: 1.18rem;
  max-width: 560px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-cta {
  margin: 0 0 28px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-trust li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  background: var(--accent-soft);
  border-radius: 50%;
}
.hero-trust li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.hero-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.card-title {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.calc-label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.calc-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}
.calc-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  transition: all 0.15s;
}
.calc-btn:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }
#calc-input {
  flex: 1;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
}
#calc-input:focus { outline: none; border-color: var(--accent); }
.calc-result { padding: 16px 0; }
.calc-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.calc-amount .calc-unit {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}
.calc-meta { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }
.calc-meta-small { color: var(--text-muted); font-size: 0.78rem; }
.calc-foot { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--text-muted); }

/* ======== Migratie flow illustration ======== */
.section-flow {
  padding: 56px 0 80px 0;
  position: relative;
}
.flow-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.flow-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
}
.flow-caption {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.flow-caption strong { color: var(--accent); font-weight: 600; }

/* ======== Sections ======== */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--surface); }
.section-cta {
  text-align: center;
  background: var(--text);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(225, 127, 56, 0.15) 0%, transparent 60%);
}
.section-cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); position: relative; }
.section-cta p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; color: #cfd6dd; position: relative; }
.section-cta .btn { position: relative; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; margin-bottom: 16px; }
.section-lead { text-align: center; font-size: 1.05rem; max-width: 720px; margin: 0 auto 48px auto; color: var(--text-muted); }

/* ======== Steps (Hoe het werkt) ======== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  background: var(--surface-2);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(225, 127, 56, 0.3);
}
.step-num {
  position: absolute;
  top: -8px;
  right: 20px;
  font-size: 5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(34, 55, 74, 0.08);
  z-index: 0;
  pointer-events: none;
}
.steps h3, .steps p { position: relative; z-index: 1; }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; }

/* ======== Prijs tiers ======== */
.price-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 24px 0;
}
.price-tier {
  background: var(--surface-2);
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}
.price-tier:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.price-mb { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 10px; }
.price-amt { color: var(--accent); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.price-formule { text-align: center; color: var(--text-muted); }
.price-formule code {
  background: var(--surface-2);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

/* ======== Reassurance grid ======== */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.reassurance {
  background: var(--surface-2);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.reassurance:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(225, 127, 56, 0.3);
}
.reassurance-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s var(--ease);
}
.reassurance:hover .reassurance-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}
.reassurance h3 { margin-bottom: 8px; }
.reassurance p { margin: 0; }

/* ======== Compare table ======== */
.table-wrap {
  overflow-x: auto;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table tr.highlight {
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent-softer) 100%);
  position: relative;
}
.compare-table tr.highlight td {
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom-color: var(--accent);
  font-weight: 500;
}
.compare-table tr.highlight td:first-child {
  border-left: 4px solid var(--accent);
}
.compare-table tr.highlight strong {
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 800;
}
.compare-table tr.muted-row td { color: #8a96a8; }
.compare-table tr.muted-row strong { color: var(--text); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.best-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.cell-yes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 600;
}
.cell-no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b8b8b8;
  font-weight: 500;
}
.compare-table tr.highlight .cell-yes { color: var(--success); }
.compare-table tr.highlight .cell-no { color: var(--error); }
.small { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 16px; }

/* ======== FAQ ======== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 2px 0;
  transition: all 0.2s var(--ease);
}
.faq details:hover { border-color: rgba(225, 127, 56, 0.3); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq summary h3 {
  display: inline;
  font-size: 1.02rem;
  margin: 0;
  padding-right: 28px;
  color: var(--text);
  font-weight: 600;
}
.faq details p {
  padding: 0 24px 20px 24px;
  margin: 0;
}

/* ======== Wizard ======== */
.section-wizard { background: var(--surface); }
.wizard-root {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.wizard-progress {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.wizard-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--text);
}
.wizard-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.mailbox-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  background: var(--bg);
  transition: all 0.2s var(--ease);
}
.mailbox-row:hover { border-color: rgba(225, 127, 56, 0.3); }
.mailbox-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mailbox-row-head h4 { margin: 0; color: var(--text); font-size: 1.05rem; }
.mailbox-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mailbox-form fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: var(--surface-2);
  min-width: 0;
}
.mailbox-form legend {
  font-weight: 600;
  color: var(--text);
  padding: 0 6px;
  font-size: 0.88rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.field label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.field input, .field select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-left: 8px;
  font-weight: 600;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.preview-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.preview-title {
  margin: 0 0 16px 0;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}
.preview-arrow {
  color: var(--accent);
  font-weight: 700;
  padding: 0 6px;
}
.preview-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.preview-side {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.preview-side h5 {
  margin: 0 0 12px 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}
.preview-side-error h5 { color: var(--error); }
.preview-loading {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.preview-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.preview-meta strong { color: var(--text); font-size: 1.25rem; display: block; font-weight: 800; }
.preview-group {
  margin-bottom: 10px;
}
.preview-group:last-child { margin-bottom: 0; }
.preview-group-title {
  font-weight: 600;
  color: var(--text);
  font-size: 0.78rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.preview-empty {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
  padding: 4px 0;
}
.preview-msg {
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.preview-msg:last-child { border: none; }
.preview-msg .subj { color: var(--text); font-weight: 600; }
.preview-msg .from { color: var(--text-muted); }
.preview-msg .date { color: var(--text-muted); font-size: 0.74rem; }
@media (max-width: 700px) {
  .preview-pair { grid-template-columns: 1fr; }
}

.result-ok { color: var(--success); font-weight: 600; }
.result-err { color: var(--error); font-weight: 600; }
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.checkout-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
}
.checkout-summary .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--text-muted);
}
.checkout-summary .total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

/* ======== Footer ======== */
.site-footer {
  background: #0d1520;
  color: #c9d2dd;
  padding: 56px 0 24px 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-brand strong { color: #fff; font-size: 1.2rem; display: block; font-weight: 800; }
.footer-brand strong .dot { color: var(--accent); }
.footer-brand .footer-product { margin: 10px 0 6px 0; color: #cfd6dd; }
.footer-brand .footer-product a { color: var(--accent); }
.footer-meta { font-size: 0.85rem; color: #8fa0b3; }
.footer-nav, .footer-cluster {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-cluster-title { font-weight: 700; color: #fff; margin-bottom: 6px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer a { color: #cfd6dd; font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #1f2c3d;
  font-size: 0.82rem;
  color: #8fa0b3;
  text-align: center;
}

/* ======== Reveal animations ======== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ======== Responsive ======== */
@media (max-width: 900px) {
  .header-nav { gap: 14px; }
  .header-nav a:not(.btn) { display: none; }
  .header-nav .btn-sm { padding: 7px 14px; }
}
@media (max-width: 800px) {
  .hero { padding: 48px 0 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { order: -1; padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .price-tiers { grid-template-columns: repeat(2, 1fr); }
  .reassurance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mailbox-form { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .wizard-root { padding: 22px; }
  .brand-sub { display: none; }
}
