/* PromptzEngine — warmth & illustration layer
   Added 2026-11-18. Loads after pe.css and pe-mmx.css.
   Purpose: take the site from cold deep-navy to warm, human and inviting
   without changing any copy, form field, route or endpoint. */

:root{
  --warm-sun:#FFC978;
  --warm-sun-deep:#F2A65A;
  --warm-coral:#F2795C;
  --warm-rose:#F7B2A0;
  --warm-teal:#3FA9A0;
  --warm-teal-deep:#2C7F76;
  --warm-cream:#FFF7EA;
  --warm-paper:#FFFCF7;
  --warm-line:#EADFD0;
}

/* ---------- 1. warmer paper everywhere ---------- */
body{background:var(--warm-paper);}
.mx-band--paper{background:linear-gradient(180deg,#FFFCF7 0%,#FFFFFF 70%);}
.mx-band--surface{background:linear-gradient(180deg,#FFF6E9 0%,#F4FAFD 55%,#FFFFFF 100%);}

/* ---------- 2. HERO: brighter, sunlit, with hills ---------- */
.mx-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(1050px 540px at 86% -16%, rgba(255,201,120,.42), transparent 62%),
    radial-gradient(760px 430px at -2% 108%, rgba(63,169,160,.30), transparent 64%),
    linear-gradient(162deg,#10395A 0%,#1A557C 44%,#2B77A2 100%);
  padding-bottom:clamp(96px,11vw,164px);
}
.mx-hero:before{
  inset:-34% -8% auto auto;
  width:760px;height:760px;
  background:radial-gradient(circle at 50% 50%,rgba(255,214,150,.22),transparent 66%);
}
.mx-hero:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(560px 340px at 76% 6%,rgba(255,214,150,.22),transparent 70%);mix-blend-mode:screen;}
.mx-hero .mx-wrap{position:relative;z-index:3;}
.mx-hero__sun{position:absolute;top:-118px;right:-86px;width:470px;height:470px;z-index:1;pointer-events:none;}
.mx-hero__hills{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:auto;z-index:2;pointer-events:none;display:block;}
@media(max-width:860px){
  .mx-hero__sun{width:280px;height:280px;top:-84px;right:-92px;opacity:.75;}
}

/* hero build card: warm glass instead of flat dark slab */
.mx-buildcard{
  background:linear-gradient(168deg,rgba(255,255,255,.17),rgba(255,255,255,.06));
  border:1px solid rgba(255,214,150,.45);
  box-shadow:0 28px 62px -28px rgba(3,18,32,.72), inset 0 1px 0 rgba(255,255,255,.24);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border-radius:22px;
}

/* ---------- 3. the dark band becomes light blue with warm glow ---------- */
.mx-band--night{
  background:
    radial-gradient(820px 400px at 90% -10%, rgba(255,201,120,.26), transparent 62%),
    radial-gradient(680px 360px at 4% 110%, rgba(63,169,160,.22), transparent 64%),
    linear-gradient(158deg,#15496B 0%,#1D5C82 58%,#256F97 100%);
}
.mx-band--night .mx-card{
  background:rgba(255,253,247,.98);
  border-color:rgba(255,214,150,.55);
  color:var(--ink-2,#1b3547);
  box-shadow:0 18px 42px -20px rgba(2,18,30,.55);
}
.mx-band--night .mx-card h3{color:var(--ink,#102838);}
.mx-band--night .mx-card p{color:var(--slate,#4a6478);}
.mx-band--night .mx-h2,.mx-band--night .mx-sub{text-shadow:0 1px 2px rgba(0,0,0,.18);}

/* ---------- 4. cards: softer, rounder, they lift on hover ---------- */
.mx-card,.mx-price,.mx-panel,.mx-step,.mx-formcard{
  border-radius:22px;
  transition:transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s cubic-bezier(.22,.61,.36,1);
}
.mx-card{position:relative;background:#fff;border:1px solid #EFE3D4;box-shadow:0 10px 30px -20px rgba(16,52,80,.30);}
.mx-card:hover{transform:translateY(-5px);box-shadow:0 24px 48px -22px rgba(16,52,80,.38);}
.mx-card .mx-art{position:absolute;top:14px;right:16px;width:46px;height:46px;pointer-events:none;}
.mx-band--night .mx-art .disc{opacity:1;}
@media(max-width:560px){.mx-card .mx-art{width:40px;height:40px;top:12px;right:12px;}}

/* prices */
.mx-price{background:#fff;border:1px solid #EFE3D4;box-shadow:0 14px 36px -22px rgba(16,52,80,.32);}
.mx-price--lead{
  background:linear-gradient(178deg,#FFFDF8 0%,#FFF4DF 100%);
  border:2px solid #F0C97E;
  box-shadow:0 28px 58px -26px rgba(216,164,59,.58);
}
.mx-price--lead .mx-amount{color:#8A5A0C;}

/* panels for/who */
.mx-panel{background:#fff;border:1px solid #EFE3D4;box-shadow:0 12px 30px -22px rgba(16,52,80,.28);}
.mx-panel--yes{background:linear-gradient(178deg,#FFFFFF,#F2FBF6);}
.mx-panel--no{background:linear-gradient(178deg,#FFFFFF,#FFF6F2);}

/* steps */
.mx-step{background:#fff;border:1px solid #EFE3D4;box-shadow:0 10px 26px -20px rgba(16,52,80,.26);}
.mx-step:hover{transform:translateY(-3px);}

/* ---------- 5. hand-drawn underline under every section heading ---------- */
.mx-h2{position:relative;padding-bottom:20px;}
.mx-h2:after{
  content:"";position:absolute;left:0;bottom:2px;width:112px;height:11px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 11'%3E%3Cpath d='M2 7c15-6 27 4 42-1s27-5 41 1 16 4 25 2' fill='none' stroke='%23E8B45C' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center/contain;
  opacity:.95;
}
.mx-final .mx-h2:after{display:none;}

/* ---------- 6. final call to action: sunrise instead of nightfall ---------- */
.mx-final{
  position:relative;overflow:hidden;
  background:
    radial-gradient(820px 400px at 50% -34%, rgba(255,255,255,.85), transparent 64%),
    linear-gradient(168deg,#FFF6E6 0%,#FFE3BF 46%,#FBC98D 100%);
  color:#102838;
}
.mx-final h2{color:#0D2A3D;}
.mx-final p{color:#3C5766;}
.mx-final .mx-wrap{position:relative;z-index:2;}
.mx-final__art{position:absolute;left:0;right:0;bottom:0;width:100%;height:auto;z-index:1;pointer-events:none;opacity:.95;}
.mx-final .btn:not(.btn--ghost){box-shadow:0 18px 36px -16px rgba(200,140,40,.8);}
.mx-final .btn--ghost{background:rgba(255,255,255,.78);border-color:rgba(16,40,56,.20);color:#12313F;}
.mx-final .btn--ghost:hover{background:#fff;}

/* ---------- 7. interior pages: warm cream wash at the top ---------- */
body.page-interior{position:relative;overflow-x:hidden;background:linear-gradient(180deg,#FFF7EA 0%,#FFFDF8 420px,#FFFFFF 100%);}
body.page-interior .wrap{position:relative;z-index:2;}
.page-art{position:absolute;top:56px;right:-26px;width:min(42vw,380px);height:auto;z-index:1;pointer-events:none;opacity:.95;}
@media(max-width:760px){.page-art{width:56vw;opacity:.7;}}

/* ---------- 8. friendlier small print and links ---------- */
a{transition:color .2s ease;}
.mx-note{color:#CFE6F4;}
.mx-faq details{background:#fff;border:1px solid #EFE3D4;border-radius:16px;padding:4px 18px;box-shadow:0 8px 22px -20px rgba(16,52,80,.3);}
.mx-faq details[open]{box-shadow:0 16px 34px -22px rgba(16,52,80,.36);}
.mx-faq summary{color:var(--ink,#102838);}

/* 404 + thank-you art */
.pe-bigart{display:block;margin:0 auto 18px;width:min(100%,260px);height:auto;}

@media (prefers-reduced-motion:reduce){
  .mx-card,.mx-step{transition:none;}
  .mx-card:hover,.mx-step:hover{transform:none;}
}

/* number chips stay legible on the white cards now sitting inside the blue band */
.mx-band--night .mx-card .mx-num{background:rgba(229,196,110,.24);color:#7d5c17;border-color:rgba(200,138,18,.45);}
/* keep headings clear of the card icons */
.mx-card h3{padding-right:54px;}
@media(max-width:560px){.mx-card h3{padding-right:46px;}}

/* ---------- 9. the footer stops being the darkest thing on the page ---------- */
.foot{background:linear-gradient(180deg,#10344C 0%,#0C2A3E 100%);}
.foot h4{color:#93B4C7;}
.foot__bar{border-top-color:rgba(255,214,150,.16);}

/* interior pages share the hero, so they get the same horizon */
.mx-hero--short{padding-bottom:clamp(74px,8.5vw,116px);}
.mx-hero--short .mx-hero__hills{opacity:.9;}
.mx-hero--short .mx-hero__sun{width:340px;height:340px;top:-104px;right:-70px;}
@media(max-width:860px){.mx-hero--short .mx-hero__sun{width:220px;height:220px;}}

/* ---------- 10. the older page head used by readiness, questions, thank-you,
   privacy and terms gets the same sunrise the rest of the site now opens with ---------- */
.phead{
  position:relative;overflow:hidden;
  background:
    radial-gradient(820px 420px at 90% -16%, rgba(255,201,120,.40), transparent 62%),
    radial-gradient(620px 340px at -2% 112%, rgba(63,169,160,.26), transparent 66%),
    linear-gradient(162deg,#10395A 0%,#1A557C 46%,#2B77A2 100%);
}
.phead:before{
  content:"";position:absolute;top:-124px;right:-92px;width:430px;height:430px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,224,168,.40) 0%,rgba(255,201,120,.22) 46%,transparent 70%);
  pointer-events:none;
}
.phead:after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:74px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40c200-26 360 8 540 14s340-24 480-18 262 26 420 16v18H0Z' fill='%23FFE9C7' fill-opacity='.22'/%3E%3C/svg%3E") no-repeat center bottom/100% 100%;
}
.phead .wrap{position:relative;z-index:2;}

/* light bands and cards on those pages, warmed to match */
.note-band{background:linear-gradient(180deg,#FFF7EA 0%,#F4FAFD 100%);}
.quiz,.panel{
  background:#fff;border:1px solid #EFE3D4;border-radius:20px;
  box-shadow:0 14px 34px -22px rgba(16,52,80,.30);
}
.legal{background:#fff;border:1px solid #F3E8DA;border-radius:20px;}
