/* Mail Blaster landing page. Self-contained: everything here is prefixed lp- and only loads with the marketing layout.
   Tokens (--apx-*) come from app.css so the page follows the app's brand and dark mode. */

.lp { --lp-max: 1180px; }
.lp section { scroll-margin-top: 80px; }
.lp .container-xl { max-width: var(--lp-max); }
.lp h1, .lp h2, .lp h3 { letter-spacing: -.03em; }
.lp-eyebrow { margin: 0 0 .8rem; color: var(--apx-brand-ink); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lp-intro { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.lp-intro h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 750; line-height: 1.08; }
.lp-intro p:not(.lp-eyebrow) { margin: .9rem auto 0; max-width: 540px; color: var(--apx-muted); font-size: 1.05rem; line-height: 1.6; }
.lp-btn-lg { min-height: 52px; padding: .85rem 1.5rem; font-size: 1rem; font-weight: 700; border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(47, 91, 234, .7); }
.lp-btn-lg .apx-icon { transition: transform .2s ease; } .lp-btn-lg:hover .apx-icon { transform: translateX(3px); }
.lp-link { color: var(--apx-text); font-weight: 650; border-bottom: 1px solid var(--apx-border-strong); padding-bottom: .1rem; }
.lp-link:hover { color: var(--apx-brand-ink); border-color: var(--apx-brand); text-decoration: none; }

/* ---- Hero ---------------------------------------------------------------- */
.lp-hero { position: relative; overflow: hidden; padding: 4rem 0 3.5rem; background: var(--apx-surface); }
.lp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 85% 20%, var(--apx-brand-soft), transparent 70%); }
.lp-hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; padding: .35rem .8rem .35rem .5rem; border: 1px solid var(--apx-border); border-radius: 999px; background: var(--apx-surface-2); color: var(--apx-muted); font-size: .8rem; font-weight: 600; }
.lp-kicker b { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 999px; background: var(--apx-brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.lp-hero h1 { margin: 0 0 1.2rem; font-size: clamp(2.6rem, 5vw, 3.9rem); font-weight: 780; line-height: 1.02; letter-spacing: -.045em; }
.lp-hero h1 em { font-style: normal; color: var(--apx-brand-ink); }
.lp-lead { max-width: 33rem; margin: 0; color: var(--apx-muted); font-size: 1.15rem; line-height: 1.6; }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 1.9rem; }
.lp-hero-note { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.4rem 0 0; padding: 0; list-style: none; color: var(--apx-muted); font-size: .84rem; }
.lp-hero-note li { display: flex; align-items: center; gap: .35rem; } .lp-hero-note .apx-icon { color: #16805a; }

/* Product mock: a campaign report window */
.lp-mock { position: relative; border: 1px solid var(--apx-border); border-radius: 18px; background: var(--apx-surface); box-shadow: 0 30px 70px -30px rgba(20, 30, 60, .35), 0 2px 8px rgba(20, 30, 60, .06); overflow: visible; }
.lp-mock-bar { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border-bottom: 1px solid var(--apx-border); border-radius: 18px 18px 0 0; background: var(--apx-surface-2); }
.lp-mock-dots { display: flex; gap: 5px; } .lp-mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--apx-border-strong); }
.lp-mock-url { display: flex; align-items: center; gap: .35rem; margin: 0 auto; padding: .25rem .7rem; border-radius: 6px; background: var(--apx-surface); border: 1px solid var(--apx-border); color: var(--apx-faint); font-size: .74rem; }
.lp-mock-body { padding: 1.2rem 1.3rem 2.4rem; border-radius: 0 0 18px 18px; }
.lp-mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.lp-mock-head small { display: block; color: var(--apx-faint); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.lp-mock-head h3 { margin: 0; font-size: 1.15rem; font-weight: 720; }
.lp-mock-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(25, 135, 84, .12); color: #146c43; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.lp-mock-pill i { width: 7px; height: 7px; border-radius: 50%; background: #198754; }
.lp-mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1rem; }
.lp-mock-stats div { padding: .65rem .75rem; border: 1px solid var(--apx-border); border-radius: 10px; background: var(--apx-surface-2); }
.lp-mock-stats b { display: block; font-size: 1.15rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-mock-stats span { color: var(--apx-muted); font-size: .72rem; font-weight: 500; }
.lp-mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding: .5rem .75rem; border: 1px solid var(--apx-border); border-radius: 10px; background: var(--apx-surface-2); }
.lp-mock-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--apx-brand); opacity: .82; }
.lp-mock-chart i:nth-child(odd) { opacity: .55; }
.lp-mock-links { margin-top: .9rem; }
.lp-mock-links div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--apx-border); font-size: .8rem; }
.lp-mock-links div span:first-child { color: var(--apx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lp-mock-links b { color: var(--apx-muted); font-weight: 600; white-space: nowrap; }
.lp-mock-toast { position: absolute; right: -1rem; bottom: -1.4rem; display: flex; align-items: center; gap: .65rem; padding: .7rem .95rem; border: 1px solid var(--apx-border); border-radius: 12px; background: var(--apx-surface); box-shadow: 0 16px 40px -18px rgba(20, 30, 60, .45); font-size: .82rem; }
.lp-mock-toast .apx-icon { color: var(--apx-brand); flex: none; }
.lp-mock-toast b { display: block; font-weight: 700; } .lp-mock-toast span { color: var(--apx-muted); font-size: .76rem; }

/* ---- Signal strip ------------------------------------------------------- */
.lp-signal { border-top: 1px solid var(--apx-border); border-bottom: 1px solid var(--apx-border); background: var(--apx-surface); }
.lp-signal .container-xl { display: grid; gap: 0; }
.lp-signal .container-xl > div { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 0; border-bottom: 1px solid var(--apx-border); }
.lp-signal .container-xl > div:last-child { border-bottom: 0; }
.lp-signal .apx-icon { flex: none; color: var(--apx-brand-ink); }
.lp-signal b { display: block; font-size: .92rem; font-weight: 700; } .lp-signal span { color: var(--apx-muted); font-size: .84rem; }

/* ---- How it works ------------------------------------------------------- */
.lp-how { padding: 5rem 0; }
.lp-steps { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.lp-steps li { position: relative; padding: 1.5rem 1.5rem 1.6rem; border: 1px solid var(--apx-border); border-radius: var(--apx-radius); background: var(--apx-surface); }
.lp-steps li::before { counter-increment: step; content: '0' counter(step); display: block; margin-bottom: 1rem; color: var(--apx-brand-ink); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.lp-steps h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 720; }
.lp-steps p { margin: 0; color: var(--apx-muted); line-height: 1.6; }
.lp-step-icon { position: absolute; top: 1.3rem; right: 1.3rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--apx-brand-soft); color: var(--apx-brand-ink); }

/* ---- Features bento ------------------------------------------------------ */
.lp-features { padding: 5rem 0; background: var(--apx-surface); border-top: 1px solid var(--apx-border); border-bottom: 1px solid var(--apx-border); }
.lp-bento { display: grid; gap: 1.1rem; }
.lp-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--apx-border); border-radius: var(--apx-radius); background: var(--apx-bg); }
.lp-card-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; border-radius: 12px; background: var(--apx-brand-soft); color: var(--apx-brand-ink); }
.lp-card h3 { margin: 0 0 .45rem; font-size: 1.15rem; font-weight: 720; }
.lp-card p { margin: 0; color: var(--apx-muted); line-height: 1.6; }
.lp-card.is-main { grid-row: span 2; }
.lp-card.is-brand { background: var(--apx-brand); color: #fff; border-color: transparent; }
.lp-card.is-brand .lp-card-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.lp-card.is-brand p { color: rgba(255, 255, 255, .85); }
/* faux block editor inside the main card */
.lp-editor { margin-top: 1.25rem; display: grid; grid-template-columns: 96px 1fr; gap: .75rem; flex: 1; }
.lp-editor-blocks { display: grid; gap: .45rem; align-content: start; }
.lp-editor-blocks span { display: flex; align-items: center; gap: .4rem; padding: .45rem .5rem; border: 1px solid var(--apx-border); border-radius: 8px; background: var(--apx-surface); font-size: .72rem; font-weight: 600; color: var(--apx-muted); }
.lp-editor-blocks span.is-drag { border-color: var(--apx-brand); color: var(--apx-brand-ink); box-shadow: 0 8px 20px -10px rgba(47, 91, 234, .6); transform: rotate(-2deg); }
.lp-editor-canvas { padding: 1rem; border: 1px solid var(--apx-border); border-radius: 10px; background: var(--apx-surface); display: grid; gap: .55rem; align-content: start; }
.lp-editor-canvas .is-img { height: 62px; border-radius: 6px; background: linear-gradient(135deg, var(--apx-brand-soft), var(--apx-border)); }
.lp-editor-canvas .is-h { height: 12px; width: 70%; border-radius: 4px; background: var(--apx-text); opacity: .8; }
.lp-editor-canvas .is-t { height: 7px; border-radius: 4px; background: var(--apx-border-strong); } .lp-editor-canvas .is-t.w2 { width: 85%; } .lp-editor-canvas .is-t.w3 { width: 60%; }
.lp-editor-canvas .is-btn { margin-top: .2rem; width: 92px; height: 24px; border-radius: 6px; background: var(--apx-brand); }
.lp-editor-canvas .is-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .4rem; } .lp-editor-canvas .is-cols .is-img { height: 48px; }
.lp-editor-canvas .is-drop { height: 30px; border: 2px dashed var(--apx-brand); border-radius: 6px; background: var(--apx-brand-soft); display: flex; align-items: center; justify-content: center; color: var(--apx-brand-ink); font-size: .7rem; font-weight: 700; }
/* small illustrations */
.lp-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.lp-tags span { padding: .3rem .6rem; border-radius: 999px; background: var(--apx-surface); border: 1px solid var(--apx-border); font-size: .75rem; font-weight: 600; }
.lp-flow { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: 1.1rem; font-size: .72rem; font-weight: 600; }
.lp-flow span { white-space: nowrap; padding: .35rem .5rem; border-radius: 8px; background: var(--apx-surface); border: 1px solid var(--apx-border); } .lp-card.is-brand .lp-flow span { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); }
.lp-flow .apx-icon { flex: none; opacity: .7; }
.lp-dns { margin-top: 1rem; padding: .6rem .75rem; border-radius: 8px; background: var(--apx-surface); border: 1px solid var(--apx-border); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: var(--apx-muted); display: grid; gap: .3rem; }
.lp-dns b { color: #146c43; font-weight: 700; }
.lp-form-mini { margin-top: 1rem; padding: .9rem; border-radius: 10px; background: var(--apx-surface); border: 1px solid var(--apx-border); display: grid; gap: .45rem; }
.lp-form-mini i { display: block; height: 26px; border: 1px solid var(--apx-border); border-radius: 6px; background: var(--apx-surface-2); }
.lp-form-mini b { display: block; height: 28px; border-radius: 6px; background: var(--apx-brand); color: #fff; font-size: .72rem; font-weight: 700; line-height: 28px; text-align: center; }

/* ---- Pricing ------------------------------------------------------------ */
.lp-pricing { padding: 5rem 0; }
.lp-price-grid { display: grid; gap: 1.25rem; }
.lp-price-card { padding: 1.75rem; border: 1px solid var(--apx-border); border-radius: var(--apx-radius); background: var(--apx-surface); box-shadow: var(--apx-shadow); }
.lp-price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .35rem; }
.lp-price b { font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; } .lp-price span { color: var(--apx-muted); font-weight: 500; }
.lp-price-sub { margin: 0 0 1.25rem; color: var(--apx-muted); }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.lp-checks li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; } .lp-checks .apx-icon { flex: none; margin-top: .2rem; color: #198754; }
.lp-fine { margin: 1.25rem 0 0; color: var(--apx-faint); font-size: .8rem; line-height: 1.5; }
.lp-compare { padding: 1.75rem; border: 1px solid var(--apx-border); border-radius: var(--apx-radius); background: var(--apx-surface-2); }
.lp-compare h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 720; }
.lp-compare > p { margin: 0 0 1rem; color: var(--apx-muted); line-height: 1.6; }
.lp-calc-row { margin-bottom: 1.1rem; }
.lp-calc-row > label, .lp-calc-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .45rem; font-weight: 650; font-size: .95rem; }
.lp-calc-row output { font-variant-numeric: tabular-nums; color: var(--apx-brand-ink); font-weight: 750; }
.lp-compare input[type=range] { width: 100%; accent-color: var(--apx-brand); }
.lp-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.lp-seg label { position: relative; margin: 0; }
.lp-seg input { position: absolute; opacity: 0; inset: 0; }
.lp-seg span { display: block; padding: .5rem 0; border: 1px solid var(--apx-border-strong); border-radius: 8px; background: var(--apx-surface); text-align: center; font-weight: 700; cursor: pointer; }
.lp-seg input:checked + span { border-color: var(--apx-brand); background: var(--apx-brand); color: #fff; }
.lp-seg input:focus-visible + span { outline: 2px solid var(--apx-brand); outline-offset: 2px; }
.lp-calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.4rem; }
.lp-calc-result > div { padding: .9rem 1rem; border: 1px solid var(--apx-border); border-radius: 12px; background: var(--apx-surface); }
.lp-calc-result span { display: block; color: var(--apx-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.lp-calc-result b { display: block; margin: .15rem 0 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-calc-result small { color: var(--apx-muted); font-size: .8rem; }
.lp-calc-result .is-save { grid-column: 1 / -1; background: linear-gradient(135deg, #1f9d61, #146c43); border-color: transparent; color: #fff; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; }
.lp-calc-result .is-save span, .lp-calc-result .is-save small { color: rgba(255, 255, 255, .85); } .lp-calc-result .is-save b { font-size: 2.4rem; }
.lp-compare .lp-fine { margin-top: 1rem; }
.lp-compare table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lp-compare th { padding: .45rem 0; text-align: left; color: var(--apx-faint); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--apx-border); }
.lp-compare td { padding: .75rem 0; border-bottom: 1px solid var(--apx-border); } .lp-compare tr:last-child td { border-bottom: 0; }
.lp-compare td:last-child, .lp-compare th:last-child { text-align: right; font-variant-numeric: tabular-nums; } .lp-compare td:last-child { font-weight: 700; color: var(--apx-brand-ink); }
.lp-compare td:nth-child(2), .lp-compare th:nth-child(2) { text-align: right; color: var(--apx-muted); }

/* ---- FAQ ---------------------------------------------------------------- */
.lp-faq { padding: 5rem 0; background: var(--apx-surface); border-top: 1px solid var(--apx-border); }
.lp-faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: .6rem; }
.lp-faq-list details { border: 1px solid var(--apx-border); border-radius: var(--apx-radius-sm); background: var(--apx-bg); }
.lp-faq-list summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: '+'; color: var(--apx-faint); font-size: 1.3rem; font-weight: 400; line-height: 1; } .lp-faq-list details[open] summary::after { content: '–'; }
.lp-faq-list details > div { padding: 0 1.2rem 1.1rem; color: var(--apx-muted); line-height: 1.6; }

/* ---- Final CTA ---------------------------------------------------------- */
.lp-final { padding: 5rem 0 6rem; }
.lp-final-panel { position: relative; overflow: hidden; padding: 3rem 2rem; border-radius: 22px; background: linear-gradient(135deg, var(--apx-brand), var(--apx-brand-2)); color: #fff; text-align: center; }
.lp-final-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 80% 0%, rgba(255, 255, 255, .22), transparent 70%); }
.lp-final-panel > * { position: relative; }
.lp-final-panel h2 { margin: 0 0 .8rem; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 760; line-height: 1.08; }
.lp-final-panel p { max-width: 520px; margin: 0 auto 1.6rem; color: rgba(255, 255, 255, .85); font-size: 1.05rem; line-height: 1.6; }
.lp-final-panel .btn-light { min-height: 52px; padding: .85rem 1.6rem; font-weight: 700; border-radius: 12px; color: var(--apx-brand-ink); }
.lp-final-panel small { display: block; margin-top: 1rem; color: rgba(255, 255, 255, .75); font-size: .82rem; }

/* ---- Breakpoints -------------------------------------------------------- */
@media (min-width: 576px) {
  .lp-signal .container-xl { grid-template-columns: repeat(3, 1fr); }
  .lp-signal .container-xl > div { padding: 1.2rem 1.4rem; border-bottom: 0; border-right: 1px solid var(--apx-border); }
  .lp-signal .container-xl > div:first-child { padding-left: 0; } .lp-signal .container-xl > div:last-child { padding-right: 0; border-right: 0; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-card.is-main { grid-column: 1 / -1; grid-row: auto; }
}
@media (min-width: 768px) {
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-price-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .lp-final-panel { padding: 4rem 3rem; }
}
@media (min-width: 992px) {
  .lp-hero { padding: 6rem 0 5rem; }
  .lp-hero-grid { grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr); gap: 4rem; }
  .lp-bento { grid-template-columns: 1.3fr 1fr 1fr; }
  .lp-card.is-main { grid-column: 1; grid-row: 1 / 3; }
}
@media (max-width: 575.98px) {
  .lp-hero { text-align: center; }
  .lp-lead { margin-left: auto; margin-right: auto; }
  .lp-cta { justify-content: center; } .lp-cta .btn { width: 100%; }
  .lp-hero-note { justify-content: center; }
  .lp-mock { margin: 0 -.25rem; } .lp-mock-stats { grid-template-columns: repeat(2, 1fr); } .lp-mock-toast { right: .5rem; bottom: -1.2rem; }
  .lp-editor { grid-template-columns: 1fr; } .lp-editor-blocks { grid-template-columns: repeat(3, 1fr); }
}
