/* Mail-In V2 Page Styles — scoped to .mi */
.mi { font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; color: #1e293b; -webkit-font-smoothing: antialiased; }
.mi *, .mi *::before, .mi *::after { box-sizing: border-box; }
.mi-container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.mi-hero { padding: 48px 0 32px; text-align: center; }
.mi-hero h1 { font-size: 36px; font-weight: 700; color: #2563eb; margin-bottom: 12px; }
.mi-hero-sub { font-size: 17px; color: #64748b; line-height: 1.6; margin-bottom: 24px; max-width: 680px; margin-left: auto; margin-right: auto; }
.mi-hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mi-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; font-family: inherit; font-size: 15px; font-weight: 600; border-radius: 9999px; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; }
.mi-btn-primary { background: #2563eb; color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,0.25); }
.mi-btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.mi-btn-outline { background: #fff; color: #334155; border: 1.5px solid #e2e8f0; }
.mi-btn-outline:hover { border-color: #94a3b8; background: #f8fafc; }

/* Trust strip */
.mi-trust { padding: 20px 0 40px; }
.mi-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mi-trust-item { text-align: center; padding: 20px 12px; background: #f8fafc; border-radius: 12px; border: 1px solid #f1f5f9; }
.mi-trust-icon { width: 40px; height: 40px; background: #eff6ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: #2563eb; }
.mi-trust-item h3 { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.mi-trust-item p { font-size: 12px; color: #64748b; line-height: 1.4; margin: 0; }

/* Steps */
.mi-steps { padding: 40px 0; }
.mi-steps h2 { font-size: 28px; font-weight: 800; color: #0f172a; text-align: center; margin-bottom: 28px; }
.mi-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.mi-step { text-align: center; padding: 28px 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; position: relative; counter-increment: step; }
.mi-step-num { width: 40px; height: 40px; background: #2563eb; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; margin: 0 auto 14px; }
.mi-step h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin: 0 0 8px; }
.mi-step p { font-size: 14px; color: #64748b; line-height: 1.5; margin: 0; }

/* Order form section */
.mi-form-section { padding: 0 0 40px; }
.mi-form-section h2 { font-size: 28px; font-weight: 800; color: #0f172a; text-align: center; margin-bottom: 8px; }
.mi-form-note { font-size: 14px; color: #64748b; text-align: center; margin-bottom: 24px; }
.mi-form-wrap { background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 16px; padding: 24px; overflow: hidden; min-height: 600px; }
.mi-form-wrap iframe { border-radius: 8px; }

/* What to expect */
.mi-expect { padding: 40px 0; background: #f8fafc; }
.mi-expect h2 { font-size: 28px; font-weight: 800; color: #0f172a; text-align: center; margin-bottom: 28px; }
.mi-expect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 800px; margin: 0 auto; }
.mi-expect-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.mi-expect-icon { width: 36px; height: 36px; min-width: 36px; background: #eff6ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #2563eb; }
.mi-expect-item h3 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.mi-expect-item p { font-size: 13px; color: #64748b; line-height: 1.5; margin: 0; }

/* Process detail */
.mi-process { padding: 48px 0; }
.mi-process h2 { font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 20px; text-align: center; }
.mi-process ol { list-style: none; padding: 0; max-width: 700px; margin: 0 auto; counter-reset: proc; }
.mi-process ol li { position: relative; padding: 16px 0 16px 48px; font-size: 15px; color: #475569; line-height: 1.6; border-bottom: 1px solid #f1f5f9; counter-increment: proc; }
.mi-process ol li:last-child { border-bottom: none; }
.mi-process ol li::before { content: counter(proc); position: absolute; left: 0; top: 16px; width: 32px; height: 32px; background: #eff6ff; color: #2563eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.mi-process ol li strong { color: #0f172a; }

/* Devices we repair */
.mi-devices { padding: 40px 0; background: #f8fafc; }
.mi-devices h2 { font-size: 24px; font-weight: 800; color: #0f172a; text-align: center; margin-bottom: 20px; }
.mi-device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-width: 800px; margin: 0 auto; }
.mi-device-link { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: #1e293b; font-size: 15px; font-weight: 600; transition: all 0.2s; }
.mi-device-link:hover { border-color: #2563eb; color: #2563eb; transform: translateY(-1px); }
.mi-device-link svg { color: #2563eb; min-width: 18px; }

/* FAQ */
.mi-faq { padding: 48px 0; }
.mi-faq h2 { font-size: 28px; font-weight: 800; color: #0f172a; text-align: center; margin-bottom: 28px; }
.mi-faq-list { max-width: 700px; margin: 0 auto; }
.mi-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.mi-faq-q { padding: 16px 20px; font-size: 15px; font-weight: 600; color: #1e293b; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.mi-faq-q::after { content: '+'; font-size: 20px; color: #94a3b8; transition: transform 0.2s; }
.mi-faq-item.open .mi-faq-q::after { content: '\2212'; }
.mi-faq-a { padding: 0 20px 16px; font-size: 14px; color: #475569; line-height: 1.7; display: none; }
.mi-faq-a a { color: #2563eb; text-decoration: none; font-weight: 500; }
.mi-faq-a a:hover { color: #1d4ed8; }
.mi-faq-item.open .mi-faq-a { display: block; }

/* Phone CTA */
.mi-phone { padding: 40px 0; background: #0f172a; text-align: center; }
.mi-phone h2 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.mi-phone p { font-size: 15px; color: #94a3b8; margin-bottom: 4px; }
.mi-phone a { color: #60a5fa; font-weight: 600; text-decoration: none; font-size: 22px; }
.mi-phone a:hover { color: #93c5fd; }
.mi-phone-hours { font-size: 13px; color: #64748b; margin-top: 8px; }

/* CTA */
.mi-cta { background: linear-gradient(135deg, #1e293b, #0f172a); padding: 60px 0; text-align: center; color: #fff; }
.mi-cta h2 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.mi-cta p { font-size: 16px; color: #94a3b8; margin-bottom: 24px; }
.mi-cta .mi-btn-primary { background: #2563eb; }
.mi-cta .mi-btn-primary:hover { background: #1d4ed8; }
.mi-cta .mi-btn-outline { color: #e2e8f0; border-color: #475569; }
.mi-cta .mi-btn-outline:hover { background: rgba(255,255,255,0.05); border-color: #94a3b8; }

/* Mobile */
@media (max-width: 768px) {
  .mi-hero h1 { font-size: 28px; }
  .mi-hero { padding: 32px 0 20px; }
  .mi-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mi-trust-item { padding: 14px 10px; }
  .mi-steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .mi-expect-grid { grid-template-columns: 1fr; }
  .mi-steps h2, .mi-faq h2, .mi-form-section h2, .mi-expect h2, .mi-process h2 { font-size: 22px; }
  .mi-btn { padding: 12px 20px; font-size: 14px; }
  .mi-cta { padding: 40px 0; }
  .mi-cta h2 { font-size: 22px; }
  .mi-form-wrap { padding: 16px; }
  .mi-device-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .mi-hero h1 { font-size: 24px; }
  .mi-trust-grid { gap: 8px; }
  .mi-trust-item h3 { font-size: 13px; }
  .mi-trust-item p { font-size: 11px; }
  .mi-hero-actions { flex-direction: column; align-items: center; }
  .mi-hero-actions .mi-btn { width: 100%; justify-content: center; }
  .mi-device-grid { grid-template-columns: 1fr; }
}
