/* Add-on styles for the 5-email activation page. Loads after site.css. */

/* ---------- HERO: five emails graphic ---------- */
.hero-sub-ai{ margin: 14px auto 0; max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--soft-ink, #4B5470); }
.hero-sub-ai strong{ color: var(--ink, #111B4A); }
.five-stack{ position: relative; height: 230px; max-width: 560px; margin: 34px auto 30px; }
.five-stack .env{
  position: absolute; left: 50%; top: 18px; width: 210px; height: 150px;
  margin-left: -105px; background: #fff; border: 1px solid var(--line, #E6E1D6);
  border-radius: 14px; box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(17,27,74,.25));
  padding: 18px 18px 0; transform: translateX(calc(var(--x) * var(--k, 1))) rotate(var(--r));
  opacity: 0; animation: envIn .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d);
}
.five-stack .env::before{ /* green number badge */
  content: attr(data-n); position: absolute; top: -12px; left: -10px; width: 30px; height: 30px;
  border-radius: 50%; background: #1F9A45; color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -6px rgba(16,90,42,.7);
}
.env .ln{ display:block; height: 9px; border-radius: 5px; background: #E9EDF4; margin-bottom: 11px; }
.env .ln.from{ width: 46%; background: #D5DCE8; }
.env .ln.subj{ width: 82%; height: 11px; background: #C3CCDC; }
.env .ln.w90{ width: 90%; } .env .ln.w70{ width: 70%; } .env .ln.w55{ width: 55%; }
@keyframes envIn{ from{ opacity:0; transform: translateX(0) translateY(30px) rotate(0); } to{ opacity:1; transform: translateX(calc(var(--x) * var(--k, 1))) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce){ .five-stack .env{ animation: none; opacity: 1; } }
@media (max-width: 560px){
  .five-stack{ height: 190px; --k: .48; }
  .five-stack .env{ width: 150px; height: 112px; margin-left: -75px; padding: 13px 13px 0; }
  .env .ln{ height: 7px; margin-bottom: 8px; }
}

/* ---------- KLAVIYO NUMBER ---------- */
.ifthen{ font-size: 21px; line-height: 1.45; color: var(--ink, #111B4A); font-weight: 600; text-align: center; max-width: 680px; margin: 0 auto 26px; }
.do-this{ background:#fff; border:1px solid var(--line, #E6E1D6); border-radius: 18px; padding: 24px 26px; box-shadow: var(--shadow-sm); }
.do-this h4{ margin: 0 0 14px; font-size: 18px; color: var(--ink, #111B4A); }
.do-this ol{ margin: 0; padding-left: 22px; display: grid; gap: 9px; color: var(--slate); font-size: 16.5px; line-height: 1.5; }
.do-this code{ background: var(--green-mist); color: var(--green-darker); padding: 2px 7px; border-radius: 6px; font-size: 14.5px; font-family: inherit; font-weight: 600; }

.seg-shots{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 10px; }
.seg-shot{ position: relative; min-height: 150px; border: 2px dashed #C9D2E2; border-radius: 14px; background: #FAFBFD;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.seg-shot .ring{ width: 92px; height: 50px; border: 3px solid #E0322B; border-radius: 50%; margin-bottom: 10px; transform: rotate(-6deg); }
.seg-shot img{ width: 100%; border-radius: 10px; }
.seg-cap{ text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 30px; }
@media (max-width: 700px){ .seg-shots{ grid-template-columns: 1fr; } }

.punch{ font-size: 24px; line-height: 1.35; font-weight: 700; color: var(--ink, #111B4A); text-align: center; letter-spacing: -.02em; max-width: 640px; margin: 8px auto 26px; }
.punch .green{ color: var(--emerald, #0F6E3A); }

/* calculator */
.calc{ background: radial-gradient(120% 90% at 85% 0%, #1C2A66 0%, #111B4A 55%, #0C1438 100%); color:#fff; border-radius: 22px; padding: 28px 28px 26px; box-shadow: var(--shadow-lg); }
.calc h4{ margin: 0 0 4px; font-size: 19px; font-weight: 600; color:#fff; }
.calc .calc-sub{ margin: 0 0 20px; color: rgba(255,255,255,.7); font-size: 15px; }
.calc-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc label{ display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 7px; }
.calc input{ width: 100%; box-sizing: border-box; font: inherit; font-size: 20px; font-weight: 600; color: var(--ink, #111B4A);
  background:#fff; border: 0; border-radius: 10px; padding: 12px 14px; }
.calc input:focus{ outline: 3px solid #7FD99A; }
.calc-out{ margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.85); }
.calc-out .big{ display:block; font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: #7FD99A; line-height: 1.1; margin-top: 4px; }
.calc-note{ margin: 12px 0 0; font-size: 12.5px; color: rgba(255,255,255,.55); }
@media (max-width: 480px){ .calc-row{ grid-template-columns: 1fr; } .calc-out .big{ font-size: 34px; } }

/* ---------- ORIGIN ---------- */
.origin-quote{ border-left: 3px solid #1F9A45; padding: 4px 0 4px 20px; margin: 0 0 8px; }

/* ---------- THE 5 EMAILS ---------- */
.five-wrap{ background: radial-gradient(120% 90% at 85% 0%, #1C2A66 0%, #111B4A 55%, #0C1438 100%); border-radius: 28px; padding: 46px 40px 40px; box-shadow: var(--shadow-lg); }
.five-wrap .section-head h2.section{ color:#fff; }
.five-wrap .section-head .green{ color: #7FD99A !important; }
.five-wrap .five-intro{ color: rgba(255,255,255,.75); text-align:center; max-width: 600px; margin: 0 auto 28px; font-size: 17px; line-height: 1.55; }
.five-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.five-list li{ display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; align-items: start;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 20px; }
.five-list .n{ grid-row: span 2; font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 40px; line-height: 1; color: #7FD99A; }
.five-list h4{ margin: 2px 0 0; font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.five-list p{ margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.72); }
.five-close{ text-align:center; color: rgba(255,255,255,.85); margin: 24px 0 0; font-size: 17px; }
.five-close strong{ color:#fff; }
@media (max-width: 560px){ .five-wrap{ padding: 34px 18px 28px; border-radius: 22px; } .five-list li{ grid-template-columns: 40px 1fr; padding: 16px; } .five-list .n{ font-size: 32px; } }

/* ---------- PLAIN TEXT ---------- */
.plain-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.plain-mail{ background:#fff; border: 1px solid var(--line, #E6E1D6); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-lg);
  font-size: 15px; line-height: 1.6; color: #2B3350; }
.plain-mail .pm-head{ font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--rule-soft, #EEF2F7); padding-bottom: 10px; margin-bottom: 12px; }
.plain-mail .pm-head b{ color: var(--ink, #111B4A); }
.plain-mail p{ margin: 0 0 10px; }
.plain-mail .ps{ color: var(--soft-ink); font-style: italic; }
.no-list{ list-style:none; margin: 0 0 16px; padding:0; display:grid; gap: 10px; }
.no-list li{ display:flex; gap: 12px; align-items:center; font-size: 17px; font-weight: 600; color: var(--ink, #111B4A); }
.no-list li::before{ content:"\2715"; width: 26px; height: 26px; flex:none; border-radius: 50%; background: #FDECEC; color: #C8322B; font-size: 12px; font-weight: 800; display:flex; align-items:center; justify-content:center; }
@media (max-width: 760px){ .plain-grid{ grid-template-columns: 1fr; } }

/* small helpers */
.center-text{ text-align:center; }
.proof-note{ text-align:center; color: var(--muted); font-size: 14px; margin: 18px auto 0; max-width: 620px; }

/* case-study cards: no story paragraph here, so pad the stat itself */
.result-card.cs-card .big-stat{ margin: 6px 24px 16px !important; }
