/* ════════════════════════════════════════════════════════════════════════
   MP Treasury Autofill — website styles
   Matches the extension: indigo (#2A3FC4) + treasury gold (#E8A53A),
   Manrope + JetBrains Mono, rounded cards, government-rank theme.
   ════════════════════════════════════════════════════════════════════════ */
:root{
  --bg:#F5F7FB; --surface:#FFFFFF; --surface-2:#EBEFFA;
  --ink:#131A33; --ink-soft:#5B6480; --ink-faint:#6B7290;
  --line:#E3E7F2;
  --primary:#2A3FC4; --primary-deep:#161F57; --on-primary:#FFFFFF;
  --gold:#E8A53A; --gold-deep:#B9821F; --on-gold:#211303;
  --shadow:0 1px 2px rgba(19,26,51,.06),0 10px 30px rgba(19,26,51,.08);
  --radius:16px;
  --font:'Manrope','Segoe UI',Arial,sans-serif;
  --mono:'JetBrains Mono','Consolas',monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--ink);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}
.mono{font-family:var(--mono)}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;padding:13px 22px;border-radius:12px;font-weight:800;font-size:15px;cursor:pointer;border:1.5px solid transparent;transition:transform .12s,box-shadow .12s,filter .12s;text-decoration:none}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-deep)}
.btn-gold{background:linear-gradient(180deg,var(--gold),var(--gold-deep));color:var(--on-gold);box-shadow:0 4px 14px rgba(184,130,31,.35)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{background:var(--surface-2)}
.btn-lg{padding:15px 28px;font-size:16px}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(245,247,251,.85);backdrop-filter:saturate(150%) blur(10px);border-bottom:1px solid var(--line)}
/* The nav is sticky, so anchor jumps (#screens, #how…) would otherwise tuck a
   section's heading underneath it. */
section[id]{scroll-margin-top:76px}
.nav-inner{display:flex;align-items:center;gap:18px;height:64px}
.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:16px;color:var(--ink)}
.brand:hover{text-decoration:none}
.brand-ico{width:34px;height:34px;border-radius:9px;overflow:hidden;flex-shrink:0;display:flex}
.brand-ico img{width:100%;height:100%;display:block}
.nav-links{margin-left:auto;display:flex;align-items:center;gap:22px}
.nav-links a{color:var(--ink-soft);font-weight:600;font-size:14.5px}
.nav-links a:hover{color:var(--ink);text-decoration:none}
/* Buttons in the nav must keep their OWN text colour — the .nav-links a rule
   above otherwise wins on specificity and greys the button text out. */
.nav-links a.btn-gold,.nav-links a.btn-gold:hover{color:var(--on-gold)}
.nav-links a.btn-primary,.nav-links a.btn-primary:hover{color:#fff}
.nav-cta{margin-left:4px}
@media(max-width:720px){.nav-links a.hide-sm{display:none}}

/* hero */
.hero{background:radial-gradient(1200px 500px at 50% -120px,rgba(42,63,196,.14),transparent),var(--bg);padding:74px 0 40px;text-align:center;position:relative;overflow:hidden}
.eyebrow{display:inline-block;font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--primary);background:var(--surface-2);padding:6px 14px;border-radius:20px;margin-bottom:20px}
h1{font-size:clamp(30px,5.4vw,52px);font-weight:800;letter-spacing:-.02em;line-height:1.08}
.hero p.lede{font-size:clamp(16px,2.2vw,20px);color:var(--ink-soft);max-width:620px;margin:18px auto 0;font-weight:500}
.hero-tag{font-family:var(--mono);font-size:13px;color:var(--ink-faint);margin-top:14px}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:30px}
.hero-note{font-size:13px;color:var(--ink-faint);margin-top:14px}
.hero-visual{margin:38px auto 0;max-width:320px}
.hero-visual img{width:100%;height:auto;display:block}
@media(max-width:560px){.hero-visual{max-width:260px;margin-top:30px}}

/* generic section */
section.block{padding:56px 0}
.section-head{text-align:center;max-width:620px;margin:0 auto 34px}

/* Pricing grid: buy the last ~28px so the tallest card (Bade Babu) clears the
   fold on a 1366x768 laptop. Scoped to this section (.block is site-wide) and
   to widths above the 600px breakpoint, so the phone layout keeps its own
   tighter 32px padding rather than being outranked by this. */
@media(min-width:601px){
  section.block.plans-block{padding-top:38px}
  .plans-block .section-head{margin-bottom:24px}
}
.section-head h1,.section-head h2{font-size:clamp(24px,3.6vw,34px);font-weight:800;letter-spacing:-.01em}
.section-head p{color:var(--ink-soft);margin-top:10px;font-size:16px}

/* feature grid */
.grid{display:grid;gap:16px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media(max-width:860px){.grid-3{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.grid-3,.grid-2{grid-template-columns:1fr}}
.card{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.card .ico{font-size:26px;width:52px;height:52px;border-radius:13px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.card h3{font-size:17px;font-weight:800;margin-bottom:6px}
.card p{color:var(--ink-soft);font-size:14.5px}

/* steps */
.steps{counter-reset:step;display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}
@media(max-width:720px){.steps{grid-template-columns:1fr}}
.step{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius);padding:22px;position:relative}
.step::before{counter-increment:step;content:counter(step);position:absolute;top:-14px;left:20px;width:34px;height:34px;border-radius:50%;background:var(--gold);color:var(--on-gold);font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px rgba(184,130,31,.35)}
.step h3{margin:12px 0 6px;font-size:16.5px}
.step p{color:var(--ink-soft);font-size:14.5px}

/* pricing cards */
.plans{display:grid;gap:18px;grid-template-columns:repeat(3,1fr);align-items:start}
/* Yearly hides Peon (monthly-only). Without this the grid keeps three tracks
   and the two survivors sit left with a hole on the right, so the count is
   driven by how many cards are actually shown and the group is centred. */
.plans.cards-2{grid-template-columns:repeat(2,minmax(0,332px));justify-content:center}
@media(max-width:900px){.plans{grid-template-columns:1fr;max-width:460px;margin:0 auto}
  .plans.cards-2{grid-template-columns:1fr}}
.plan{background:var(--surface);border:1.5px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}
.plan.featured{background:linear-gradient(160deg,var(--primary-deep),var(--primary));color:#fff;border-color:transparent;position:relative;overflow:hidden}
.plan.featured::after{content:'';position:absolute;top:-50px;right:-50px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,var(--gold),transparent 72%);opacity:.4}
.plan-badge{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;padding:4px 11px;border-radius:20px;background:var(--surface-2);color:var(--ink-soft);margin-bottom:12px}
.plan.featured .plan-badge{background:var(--gold);color:var(--on-gold)}
.plan-name{font-size:22px;font-weight:800;position:relative}
.plan-tag{font-size:13.5px;color:var(--ink-faint);margin-top:2px;position:relative}
.plan.featured .plan-tag{color:rgba(255,255,255,.72)}
.plan-price{display:flex;align-items:baseline;gap:6px;margin:16px 0 2px;position:relative}
.plan-price .amt{font-size:34px;font-weight:800;line-height:1}
.plan-price .per{font-size:15px;color:var(--ink-soft);font-weight:600}
.plan.featured .plan-price .per{color:rgba(255,255,255,.72)}
.plan-sub{font-size:12.5px;color:var(--ink-faint);font-weight:600;position:relative;min-height:16px}
.plan.featured .plan-sub{color:rgba(255,255,255,.66)}
.plan ul{list-style:none;margin:16px 0 20px;display:flex;flex-direction:column;gap:9px;position:relative}
.plan li{display:flex;gap:9px;font-size:14.5px;font-weight:600;color:var(--ink-soft)}
.plan.featured li{color:rgba(255,255,255,.92)}
.plan li .tick{flex-shrink:0}
.plan .btn{width:100%}

/* period toggle */
.toggle{display:inline-flex;gap:4px;background:var(--surface-2);border-radius:12px;padding:4px;margin:0 auto 30px}
.toggle-wrap{text-align:center}
.toggle button{border:none;background:transparent;padding:9px 18px;border-radius:9px;font-family:var(--font);font-weight:700;font-size:14px;color:var(--ink-soft);cursor:pointer;display:flex;align-items:center;gap:6px}
.toggle button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(19,26,51,.14)}
.toggle .save{font-size:10.5px;font-weight:800;background:var(--gold);color:var(--on-gold);padding:1px 7px;border-radius:20px}

/* themes showcase */
.themes-grid{display:grid;gap:18px;grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.themes-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.themes-grid{grid-template-columns:1fr;max-width:280px;margin:0 auto}}
.theme-card{text-align:center}
.theme-card img{width:100%;height:auto;border-radius:18px;box-shadow:0 6px 22px rgba(19,26,51,.14);transition:transform .18s}
.theme-card:hover img{transform:translateY(-4px)}
.theme-card .t-name{font-weight:800;font-size:15px;margin-top:12px}
.theme-card .t-sub{font-size:12.5px;color:var(--ink-faint);font-weight:600}

/* screenshots showcase — tabbed gallery: pick a screen, image cross-fades */
.gallery{max-width:960px;margin:0 auto}
/* Keep the whole showcase on one screen. The stage is 1280/800 (1.6:1), so its
   height is width/1.6 — cap the WIDTH by the height left over after the section
   heading, tabs and caption (~330px). The screenshot scales down instead of
   pushing the tabs and caption below the fold. Only on real screens; phones
   scroll normally. */
@media(min-width:760px){
  .gallery{max-width:clamp(520px, calc((100vh - 400px) * 1.6), 960px)}
}
/* On short screens (laptops) also trim the showcase's own chrome so the tabs,
   screenshot and caption all land above the fold instead of being scrolled to. */
@media(min-width:760px) and (max-height:900px){
  #screens.block{padding:30px 0}
  #screens .section-head{margin-bottom:18px}
  #screens .section-head p{display:none}
  .gallery-tabs{margin-bottom:14px;gap:6px}
  .g-tab{font-size:13px;padding:7px 13px}
  .gallery-caption{margin-top:12px;min-height:38px;font-size:14px}
}
.gallery-tabs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:22px}
.g-tab{border:1.5px solid var(--line);background:var(--surface);color:var(--ink-soft);font-family:var(--font);font-weight:700;font-size:14px;padding:9px 16px;border-radius:100px;cursor:pointer;transition:background .15s,color .15s,border-color .15s,box-shadow .15s,transform .12s}
.g-tab:hover{border-color:var(--primary);color:var(--ink);transform:translateY(-1px)}
.g-tab.is-active{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 6px 16px rgba(42,63,196,.28)}
.gallery-stage{position:relative;aspect-ratio:1280/800;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 22px 54px rgba(19,26,51,.22);background:var(--primary-deep)}
.g-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s ease;pointer-events:none}
.g-img.is-active{opacity:1}
.gallery-caption{text-align:center;color:var(--ink-soft);font-size:15px;font-weight:600;max-width:640px;margin:18px auto 0;min-height:44px}
@media(max-width:560px){.g-tab{font-size:12.5px;padding:8px 13px}.gallery-caption{font-size:14px}}
@media(prefers-reduced-motion:reduce){.g-img{transition:none}.g-tab{transition:none}}

/* video */
.video-shell{max-width:760px;margin:0 auto}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:var(--primary-deep);box-shadow:0 12px 34px rgba(19,26,51,.18)}
.video-frame iframe,.video-frame video{position:absolute;inset:0;width:100%;height:100%;border:0}

/* CTA band */
.cta-band{background:linear-gradient(160deg,var(--primary-deep),var(--primary));color:#fff;border-radius:22px;padding:44px 28px;text-align:center;margin:16px 0;position:relative;overflow:hidden}
.cta-band::after{content:'';position:absolute;bottom:-60px;left:-30px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,var(--gold),transparent 70%);opacity:.35}
.cta-band h2{font-size:clamp(22px,3.4vw,32px);font-weight:800;position:relative}
.cta-band p{color:rgba(255,255,255,.8);margin:10px auto 0;max-width:520px;position:relative}
.cta-band .btn{margin-top:22px;position:relative}

/* footer */
footer{border-top:1px solid var(--line);padding:34px 0;margin-top:30px;color:var(--ink-faint);font-size:13.5px}
.foot-inner{display:flex;gap:18px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.foot-links{display:flex;gap:18px;flex-wrap:wrap}
.foot-links a{color:var(--ink-soft);font-weight:600}
.foot-contact{margin-top:14px;font-size:13px;color:var(--ink-soft);font-weight:600}
.foot-contact a{color:var(--ink-soft)}
.disclaimer{margin-top:8px;font-size:12px;color:var(--ink-faint);max-width:720px}

/* legal / doc pages */
.doc{max-width:760px;margin:0 auto;padding:44px 0}
.doc h1{font-size:32px;margin-bottom:6px}
.doc .updated{color:var(--ink-faint);font-size:13px;margin-bottom:24px;font-family:var(--mono)}
.doc h2{font-size:19px;font-weight:800;color:var(--primary-deep);margin:26px 0 8px}
.doc p,.doc li{color:#2c3352;font-size:15px;margin-bottom:9px}
.doc ul{margin:0 0 10px 22px}
.doc .tag{display:inline-block;background:var(--surface-2);color:var(--primary);font-size:13px;font-weight:700;padding:3px 11px;border-radius:20px}

/* centered simple page (confirmed) */
.simple{min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px}
.simple .box{max-width:460px}
.simple .big{font-size:54px;margin-bottom:10px}
.simple h1{font-size:26px;margin-bottom:10px}
.simple p{color:var(--ink-soft)}

/* ── Mobile — Android/iOS webview polish ─────────────────────────────────
   The nav previously had no small-screen rules: the brand wrapped to three
   lines and the gold CTA crowded it. Everything here only kicks in under
   600px, so desktop is untouched. */
html{-webkit-text-size-adjust:100%}
@media(max-width:600px){
  .wrap{padding:0 16px}
  .brand{font-size:12.5px;gap:6px;line-height:1.2}
  .brand-ico{width:26px;height:26px;font-size:14px;border-radius:8px;flex-shrink:0}
  /* Nav only: brand takes the leftover width so it wraps to a tidy 2 lines
     beside the CTA. (Scoped to .nav — flex:1 on the FOOTER brand made the
     link row overlap it.) */
  .nav-inner{gap:8px;height:56px}
  .nav .brand{min-width:0;flex:1}
  .nav-links{gap:10px;flex-shrink:0;margin-left:0}
  .nav-links a{font-size:13px}
  .nav-cta{padding:9px 13px;font-size:12.5px;white-space:nowrap;border-radius:10px}
  .hero{padding:46px 0 32px}
  section.block{padding:32px 0}
  .btn-lg{padding:13px 20px;font-size:14.5px}
  .plan{padding:20px 18px}
  .cta-band{padding:34px 20px;border-radius:18px;margin:0}
  .toggle button{padding:8px 12px;font-size:13px}
  /* Footer: stack everything centered — brand on its own line, links in a
     wrapping row under it, then contact + copyright. */
  footer{padding:26px 0;margin-top:12px}
  .foot-inner{flex-direction:column;align-items:center;gap:12px;text-align:center}
  footer .brand{flex:none;white-space:nowrap}
  .foot-links{justify-content:center;flex-wrap:wrap;gap:8px 16px}
  .foot-contact,.disclaimer{text-align:center;margin-left:auto;margin-right:auto}
  .doc{padding:30px 0}
}

/* ── MOTION — scroll reveal + hero entrance ──────────────────────────────
   SAFETY: all initial-hidden states are scoped under html.motion-ready,
   which an inline <head> script only adds when JS runs AND the visitor has
   NOT asked for reduced motion. So no-JS, headless renderers, crawlers, and
   reduced-motion users always see fully-visible content — the animation
   only ever ENHANCES an already-visible default. Only transform/opacity/
   filter are animated. */
:root{--ease-out-expo:cubic-bezier(.16,1,.3,1)}

/* single element rises + fades in when it scrolls into view */
html.motion-ready [data-reveal]{opacity:0;transform:translateY(18px)}
html.motion-ready [data-reveal].is-visible{opacity:1;transform:none;
  transition:opacity .6s var(--ease-out-expo),transform .6s var(--ease-out-expo)}

/* a group whose children stagger in one after another (legit for lists) */
html.motion-ready [data-reveal-group]>*{opacity:0;transform:translateY(18px)}
html.motion-ready [data-reveal-group].is-visible>*{opacity:1;transform:none;
  transition:opacity .55s var(--ease-out-expo),transform .55s var(--ease-out-expo)}
html.motion-ready [data-reveal-group].is-visible>*:nth-child(1){transition-delay:0ms}
html.motion-ready [data-reveal-group].is-visible>*:nth-child(2){transition-delay:70ms}
html.motion-ready [data-reveal-group].is-visible>*:nth-child(3){transition-delay:140ms}
html.motion-ready [data-reveal-group].is-visible>*:nth-child(4){transition-delay:210ms}
html.motion-ready [data-reveal-group].is-visible>*:nth-child(5){transition-delay:280ms}
html.motion-ready [data-reveal-group].is-visible>*:nth-child(6){transition-delay:350ms}

/* hero plays on load (not scroll), staggered top-to-bottom */
html.motion-ready .hero [data-hero]{opacity:0;transform:translateY(16px)}
html.motion-ready .hero.hero-in [data-hero]{opacity:1;transform:none;
  transition:opacity .6s var(--ease-out-expo),transform .6s var(--ease-out-expo)}
html.motion-ready .hero.hero-in [data-hero]:nth-child(1){transition-delay:40ms}
html.motion-ready .hero.hero-in [data-hero]:nth-child(2){transition-delay:110ms}
html.motion-ready .hero.hero-in [data-hero]:nth-child(3){transition-delay:190ms}
html.motion-ready .hero.hero-in [data-hero]:nth-child(4){transition-delay:270ms}
html.motion-ready .hero.hero-in [data-hero]:nth-child(5){transition-delay:350ms}
html.motion-ready .hero.hero-in [data-hero]:nth-child(6){transition-delay:430ms}

/* gold underline that draws under the hero tagline on load (Jhey delight) */
.hero-tag{position:relative;display:inline-block}
.hero-tag::after{content:"";position:absolute;left:0;bottom:-4px;height:2px;width:100%;
  background:linear-gradient(90deg,var(--gold),var(--gold-deep));border-radius:2px;
  transform:scaleX(0);transform-origin:left center}
html.motion-ready .hero.hero-in .hero-tag::after{transform:scaleX(1);
  transition:transform .7s var(--ease-out-expo) .6s}

/* feature-card icon gives a small crafted lift on hover (real pointers only) */
@media (hover:hover) and (pointer:fine){
  .card{transition:transform .18s var(--ease-out-expo),box-shadow .18s var(--ease-out-expo)}
  .card:hover{transform:translateY(-3px);box-shadow:0 8px 26px rgba(19,26,51,.10)}
  .card .ico{transition:transform .22s var(--ease-out-expo)}
  .card:hover .ico{transform:scale(1.08) rotate(-3deg)}
}

/* FAILSAFE: if the reveal JS never ran (cache/error/slow load), the head
   script sets .motion-failsafe after 2.5s — force everything visible so the
   page can never ship blank. */
html.motion-failsafe [data-reveal],html.motion-failsafe [data-reveal-group]>*,
html.motion-failsafe .hero [data-hero]{opacity:1!important;transform:none!important}
html.motion-failsafe .hero-tag::after{transform:scaleX(1)!important}

/* Belt-and-suspenders: if reduced-motion is on, force everything visible and
   kill transitions even if motion-ready somehow got set. */
@media (prefers-reduced-motion:reduce){
  html.motion-ready [data-reveal],html.motion-ready [data-reveal-group]>*,
  html.motion-ready .hero [data-hero]{opacity:1!important;transform:none!important}
  html.motion-ready .hero-tag::after{transform:scaleX(1)!important}
  .card:hover,.card:hover .ico{transform:none!important}
}

/* ── PREMIUM POLISH — depth, ambient motion, tactile hovers ──────────────
   All decorative motion is gated: aurora only animates under motion-ready
   (JS on + reduced-motion off); hovers/shine only on fine pointers. */

/* nav gains a soft shadow once the page scrolls (depth cue, always on) */
.nav{transition:box-shadow .25s ease}
.nav.scrolled{box-shadow:0 6px 24px rgba(19,26,51,.09)}

/* hero aurora — two slow-drifting brand-tinted glows behind the content.
   Ambient + low-contrast (not attention-seeking); frozen if motion is off. */
.hero{isolation:isolate}
.hero::before,.hero::after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(70px);pointer-events:none}
.hero::before{width:560px;height:560px;top:-180px;left:-140px;background:radial-gradient(circle,rgba(42,63,196,.30),transparent 70%)}
.hero::after{width:480px;height:480px;top:-80px;right:-120px;background:radial-gradient(circle,rgba(232,165,58,.20),transparent 70%)}
html.motion-ready .hero::before{animation:auroraA 26s ease-in-out infinite alternate}
html.motion-ready .hero::after{animation:auroraB 32s ease-in-out infinite alternate}
@keyframes auroraA{to{transform:translate(70px,40px) scale(1.15)}}
@keyframes auroraB{to{transform:translate(-60px,50px) scale(1.12)}}

/* gold CTA: a light shine sweeps across on hover (fine pointers only) */
.btn-gold{position:relative;overflow:hidden}
.btn-gold::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.38) 50%,transparent 65%);
  transform:translateX(-130%)}
@media (hover:hover) and (pointer:fine){
  .btn-gold:hover::after{transform:translateX(130%);transition:transform .75s var(--ease-out-expo)}
  /* magnetic hero buttons need an eased spring-back when the cursor leaves */
  .hero-cta .btn{transition:transform .3s var(--ease-out-expo),box-shadow .18s ease}
  /* pricing cards lift with a springy ease (featured lifts + scales a touch) */
  .plan{transition:transform .2s var(--ease-out-expo),box-shadow .2s var(--ease-out-expo)}
  .plan:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(19,26,51,.12)}
  .plan.featured:hover{transform:translateY(-4px) scale(1.015)}
  /* step cards + theme cards get the same gentle lift */
  .step,.theme-card{transition:transform .2s var(--ease-out-expo),box-shadow .2s var(--ease-out-expo)}
  .step:hover,.theme-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(19,26,51,.10)}
}

/* freeze all ambient motion for reduced-motion visitors */
@media (prefers-reduced-motion:reduce){
  .hero::before,.hero::after{animation:none!important}
}
