/* ============================================================
   My Pocket — main.css (v2.0.0)
   Dark-mode-only app landing theme. Emerald/teal brand system.
   ============================================================ */

:root{
  --emerald:       #10B981;
  --emerald-light: #34D399;
  --teal:          #14B8A6;
  --teal-light:    #2DD4BF;
  --gradient:      linear-gradient(135deg, #10B981, #14B8A6);
  --text-gradient: linear-gradient(90deg, #10B981, #2DD4BF);

  --bg:            #28344E;
  --bg-deep:       #222D42;
  --bg-card:       #2E3D59;
  --bg-elevated:   #3A4C6D;

  --text-primary:  #F0F6FF;
  --text-secondary:#94A8BF;
  --text-muted:    #5C7A94;

  --border-subtle: rgba(255,255,255,.12);
  --border-strong: rgba(20,184,166,.35);

  /* Glassmorphism surfaces — translucent + blurred, used on cards and
     panels. Kept separate from --bg-card/--bg-elevated (which stay
     solid) because a handful of things — form inputs, code blocks,
     image containers — need to stay opaque for legibility. */
  --glass-card:     rgba(46,61,89,.48);
  --glass-elevated: rgba(58,76,109,.45);
  --glass-blur:     blur(20px) saturate(160%);
  --glass-highlight: inset 0 1px 0 rgba(255,255,255,.10);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow: 0 14px 34px -14px rgba(0,0,0,.55);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1140px;
  --nav-h: 76px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg-deep);
  background-image:
    radial-gradient(60% 50% at 85% -10%, rgba(16,185,129,.10), transparent 60%),
    radial-gradient(50% 40% at -10% 20%, rgba(20,184,166,.08), transparent 60%);
  color:var(--text-primary);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--font-head); font-weight:700; line-height:1.15; margin:0; letter-spacing:-.01em; }
p{ margin:0; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; position:relative; z-index:1; }
section[id]{ scroll-margin-top:80px; }

/* ---------- Glass surfaces ----------
   Shared frosted-glass treatment (iOS-style) applied to every card,
   panel, and section band across the site. Declared once here so all
   of them stay visually consistent; .mp-countdown and .mp-cta__box
   layer their own extra glow on top via their own box-shadow rules
   further down, which — appearing later in the file — wins over the
   plain inset highlight set here without needing !important. */
.mp-countdown, .mp-countdown__unit,
.mp-trust__item, .mp-feat-card, .mp-showcase, .mp-stat,
.mp-testimonials, .mp-testimonial-card, .mp-platform-card, .mp-cta__box,
.mp-legal__section, .mp-contact-form, .mp-contact-card, .mp-post-card,
.mp-single__author, .mp-single__nav-link{
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight);
}

.gradient-text{
  background:var(--text-gradient);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.mp-badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; font-weight:500; color:var(--emerald-light);
  background:rgba(16,185,129,.08); border:1px solid var(--border-strong);
  border-radius:999px; padding:7px 16px; margin-bottom:16px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 12px; border-radius:999px; font-weight:600; font-size:14px;
  border:1px solid transparent; cursor:pointer; transition:transform .15s ease, filter .2s ease, border-color .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--gradient); color:#062018; }
.btn-primary:hover{ filter:brightness(1.08); }
.btn-outline{ background:transparent; color:var(--text-primary); border-color:var(--border-strong); }
.btn-outline:hover{ border-color:var(--teal-light); color:var(--teal-light); }

/* ---------- Nav ---------- */
.mp-nav{
  position:fixed; top:0; left:0; right:0; z-index:50; height:var(--nav-h);
  background:transparent; border-bottom:1px solid transparent;
  transition:background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.mp-nav.is-scrolled{
  background:rgba(34,45,66,.6); backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  border-bottom-color:var(--border-subtle);
}
/* Sit below the WP admin toolbar for logged-in users instead of
   overlapping it — matches WP core's own admin-bar breakpoint. */
body.admin-bar .mp-nav{ top:32px; }
@media screen and (max-width:782px){
  body.admin-bar .mp-nav{ top:46px; }
}
.mp-nav__inner{ display:flex; align-items:center; gap:24px; height:var(--nav-h); }
.mp-nav__logo{ display:flex; align-items:center; margin-right:auto; }
.mp-nav__logo-img{ height:42px; width:auto; display:block; }
.mp-nav__links{ display:flex; align-items:center; gap:28px; }
.mp-nav__links a{ font-size:14.5px; color:var(--text-secondary); transition:color .15s ease; }
.mp-nav__links a:hover{ color:var(--text-primary); }
.mp-nav__hamburger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.mp-nav__hamburger span{ width:20px; height:2px; background:var(--text-primary); border-radius:2px; }

.mp-mobile-menu{
  position:fixed; inset:0; z-index:100; background:rgba(34,45,66,.82);
  backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:22px;
  padding:32px; transform:translateX(100%); transition:transform .3s ease; visibility:hidden;
}
.mp-mobile-menu.is-open{ transform:translateX(0); visibility:visible; }
.mp-mobile-menu__list{ display:flex; flex-direction:column; align-items:flex-start; gap:22px; }
.mp-mobile-menu a{ font-family:var(--font-head); font-size:26px; font-weight:600; color:var(--text-primary); }
.mp-mobile-menu__close{ position:absolute; top:24px; right:24px; background:none; border:1px solid var(--border-subtle); border-radius:999px; padding:10px; color:var(--text-primary); cursor:pointer; }

/* ---------- Hero ---------- */
.mp-hero{
  min-height:80vh; display:flex; align-items:center;
  padding:calc(var(--nav-h) + 64px) 0 64px; position:relative; overflow:clip;
}
.mp-hero::before{
  content:""; position:absolute; z-index:0; top:-10%; right:-10%; width:60%; height:70%;
  background:radial-gradient(circle, rgba(16,185,129,.16), transparent 70%); pointer-events:none;
}
.mp-hero__grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:0; align-items:center; }
.mp-hero__heading{ font-size:clamp(34px,5vw,52px); margin:0 0 16px; }
.mp-hero__sub{ font-size:17px; color:var(--text-secondary); max-width:480px; margin-bottom:28px; }
.mp-hero__sub strong{ color:var(--text-primary); }
.mp-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:26px; }
.mp-hero__platforms{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.mp-hero__platform-tag{ font-size:12.5px; padding:6px 13px; border-radius:999px; border:1px solid var(--border-subtle); color:var(--text-muted); }
.mp-hero__platform-tag.active{ color:var(--emerald-light); border-color:var(--border-strong); background:rgba(16,185,129,.08); }

/* ---------- Countdown (hero feature panel) ---------- */
.mp-hero__visual{ position:relative; min-height:420px; z-index:1; display:flex; align-items:center; justify-content:center; }
.mp-hero__visual-bg{ position:absolute; inset:0; z-index:0; opacity:.32; filter:blur(.5px); pointer-events:none; }
.mp-hero__visual-bg-img{
  position:absolute; width:190px; aspect-ratio:9/19.5; object-fit:cover; object-position:top center;
  border-radius:26px; border:1px solid rgba(255,255,255,.08);
}
.mp-hero__visual-bg-img--main{ width:220px; left:50%; top:50%; transform:translate(-50%,-50%); z-index:2; }
.mp-hero__visual-bg-img--left{ left:2%; top:14%; z-index:1; transform:rotate(-8deg); }
.mp-hero__visual-bg-img--right{ right:2%; bottom:8%; z-index:1; transform:rotate(8deg); }
.mp-countdown{
  position:relative; z-index:1; overflow:clip; width:100%; max-width:520px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  background:rgb(0 0 0 / 48%); border:1px solid var(--border-strong); border-radius:var(--radius-xl);
  padding:44px 32px; box-shadow:0 0 0 1px var(--border-strong), 0 25px 60px -18px rgba(16,185,129,.4), var(--glass-highlight);
}
.mp-countdown::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--gradient);
}
.mp-countdown::after{
  content:""; position:absolute; z-index:0; top:-25%; left:50%; transform:translateX(-50%);
  width:130%; height:150%; background:radial-gradient(ellipse, rgba(16,185,129,.16), transparent 65%); pointer-events:none;
}
.mp-countdown > *{ position:relative; z-index:1; }
.mp-countdown__badge{
  display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:500; color:var(--emerald-light);
  background:rgba(16,185,129,.1); border:1px solid var(--border-strong); border-radius:999px; padding:7px 16px;
}
.mp-countdown__date{ font-family:var(--font-head); font-size:26px; font-weight:700; color:var(--text-primary); margin:10px 0 0; }
.mp-countdown__label{ font-size:13.5px; color:var(--text-secondary); margin:0 0 10px; }
.mp-countdown__grid{ display:flex; align-items:center; gap:12px; }
.mp-countdown__unit{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  width:68px; padding:14px 0; background:var(--glass-elevated); border:1px solid var(--border-subtle); border-radius:var(--radius-md);
}
.mp-countdown__num{ font-family:var(--font-head); font-size:30px; font-weight:700; color:var(--text-primary); font-variant-numeric:tabular-nums; }
.mp-countdown__unit-label{ font-size:10.5px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); }
/* No JS to run the countdown means it would otherwise sit frozen at
   00:00:00:00 — hide it entirely rather than show a broken timer. */
.no-js .mp-countdown{ display:none; }

/* ---------- Trust bar ---------- */
.mp-trust{ padding:56px 0; border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); }
.mp-trust__inner{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.mp-trust__item{
  display:flex; flex-direction:column; align-items:flex-start; gap:14px;
  background:var(--glass-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md);
  padding:20px 18px 22px; font-size:13.5px; line-height:1.4; color:var(--text-secondary);
  transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
.mp-trust__item:hover{ border-color:var(--border-strong); background:var(--glass-elevated); transform:translateY(-4px); }
.mp-trust__icon{
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  width:40px; height:40px; border-radius:var(--radius-sm); background:rgba(16,185,129,.12); font-size:19px;
}

/* ---------- Section header ---------- */
.mp-section-header{ max-width:600px; margin:0 auto 48px; text-align:center; }
.mp-section-header h2{ font-size:clamp(26px,3.4vw,38px); margin-bottom:14px; }
.mp-section-header p{ color:var(--text-secondary); font-size:15.5px; }

/* ---------- Features ---------- */
.mp-features{ padding:96px 0; }
.mp-features__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.mp-feat-card{
  position:relative; background:var(--glass-card); border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg); padding:26px; transition:border-color .2s ease, transform .2s ease;
}
.mp-feat-card:hover{ border-color:var(--border-strong); transform:translateY(-4px); }
.mp-feat-card__icon{
  width:44px; height:44px; border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center;
  background:rgba(16,185,129,.12); font-size:22px; margin-bottom:16px;
}
.mp-feat-card__title{ font-size:18px; margin-bottom:8px; }
.mp-feat-card__desc{ font-size:14.5px; color:var(--text-secondary); margin-bottom:16px; }
.mp-feat-card__tags{ display:flex; flex-wrap:wrap; gap:7px; }
.mp-feat-card__tag{ font-size:11.5px; color:var(--text-muted); border:1px solid var(--border-subtle); border-radius:var(--radius-sm); padding:3px 9px; }
.mp-feat-card__screenshot{ margin-top:18px; height:280px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border-subtle); background:var(--bg-elevated); }
.mp-feat-card__screenshot img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.mp-feat-card--coming{ opacity:.7; border-style:dashed; }
.mp-feat-card--coming .mp-feat-card__title::after{
  content:"Soon"; display:inline-block; margin-left:9px; vertical-align:middle;
  font-size:10.5px; font-weight:600; text-transform:uppercase; letter-spacing:.04em;
  color:var(--text-muted); background:var(--bg-elevated); border:1px solid var(--border-subtle);
  border-radius:999px; padding:3px 9px;
}

/* ---------- Showcase ---------- */
.mp-showcase{ padding:96px 0; background:var(--glass-card); border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); }
.mp-showcase__inner{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.mp-showcase__screens{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.mp-showcase__screen{ height:214px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border-subtle); box-shadow:var(--shadow); background:var(--bg-elevated); }
.mp-showcase__screen img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.mp-showcase__screen--tall{ grid-row:span 2; height:442px; }
.mp-showcase__text h2{ margin:14px 0; }
.mp-showcase__text p{ color:var(--text-secondary); font-size:15.5px; margin-bottom:26px; }
.mp-showcase__stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-bottom:28px; }
.mp-stat{ background:var(--glass-elevated); border:1px solid var(--border-subtle); border-radius:var(--radius-md); padding:16px 18px; }
.mp-stat__num{ font-family:var(--font-head); font-size:26px; font-weight:700; color:var(--emerald-light); }
.mp-stat__label{ font-size:12.5px; color:var(--text-muted); margin-top:2px; }

/* ---------- Gallery ---------- */
.mp-gallery{ padding:96px 0 100px; }
.mp-gallery .mp-section-header{ margin-bottom:40px; }
.mp-gallery__track{
  display:flex; gap:18px; overflow-x:auto; padding:4px 4px 12px; margin:0 -4px;
  scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; -ms-overflow-style:none;
}
.mp-gallery__track::-webkit-scrollbar{ display:none; }
.mp-gallery__item{ flex:0 0 auto; width:190px; margin:0; scroll-snap-align:start; }
.mp-gallery__item img{
  display:block; width:190px; aspect-ratio:9/19.5; object-fit:cover;
  border-radius:var(--radius-lg); border:1px solid var(--border-subtle);
  box-shadow:var(--shadow); background:var(--bg-elevated);
}
.mp-gallery__item figcaption{ margin-top:12px; font-size:13px; color:var(--text-secondary); text-align:center; }

/* ---------- Testimonials ---------- */
.mp-testimonials{ padding:96px 0; background:var(--glass-card); border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); }
.mp-testimonials__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.mp-testimonial-card{
  display:flex; flex-direction:column; gap:14px; background:var(--glass-elevated);
  border:1px solid var(--border-subtle); border-radius:var(--radius-lg); padding:26px;
  transition:border-color .2s ease, transform .2s ease;
}
.mp-testimonial-card:hover{ border-color:var(--border-strong); transform:translateY(-4px); }
.mp-testimonial-card__stars{ color:var(--emerald-light); font-size:13px; letter-spacing:2px; }
.mp-testimonial-card__quote{ font-size:14.5px; color:var(--text-secondary); line-height:1.6; flex:1; }
.mp-testimonial-card__person{ display:flex; align-items:center; gap:12px; }
.mp-testimonial-card__avatar{
  flex-shrink:0; width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(16,185,129,.14); color:var(--emerald-light); font-family:var(--font-head); font-weight:700; font-size:15px;
}
.mp-testimonial-card__person > span:last-child{ display:flex; flex-direction:column; }
.mp-testimonial-card__name{ font-size:14px; font-weight:600; color:var(--text-primary); }
.mp-testimonial-card__role{ font-size:12px; color:var(--text-muted); }

/* ---------- Blog preview (homepage) ---------- */
.mp-blog-preview{ padding:96px 0; }
.mp-blog-preview__more{ text-align:center; margin-top:40px; }

/* ---------- Platforms ---------- */
.mp-platforms{ padding:96px 0; }
.mp-platforms__grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.mp-platform-card{ background:var(--glass-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); padding:26px 14px; text-align:center; }
.mp-platform-card.is-live{ border-color:var(--border-strong); box-shadow:0 0 0 1px rgba(16,185,129,.08); }
.mp-platform-card__icon{ display:block; font-size:26px; margin-bottom:12px; }
.mp-platform-card__name{ font-weight:600; font-size:14.5px; margin-bottom:8px; }
.mp-platform-card__status{ display:inline-block; font-size:10.5px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; padding:3px 10px; border-radius:999px; color:var(--text-muted); border:1px solid var(--border-subtle); margin-bottom:8px; }
.mp-platform-card__status.live{ color:var(--emerald-light); border-color:var(--border-strong); background:rgba(16,185,129,.1); }
.mp-platform-card__caption{ display:block; font-size:12px; color:var(--text-muted); }

/* ---------- CTA / Download ---------- */
.mp-cta{ padding:100px 0; }
.mp-cta__box{
  position:relative; text-align:center; overflow:clip;
  background:var(--glass-card); border:1px solid var(--border-subtle); border-radius:var(--radius-xl);
  padding:64px 40px;
}
.mp-cta__box::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--gradient);
}
.mp-cta__box::after{
  content:""; position:absolute; z-index:0; top:-30%; left:50%; transform:translateX(-50%);
  width:80%; height:120%; background:radial-gradient(ellipse, rgba(20,184,166,.16), transparent 65%); pointer-events:none;
}
.mp-cta__box > *{ position:relative; z-index:1; }
.mp-cta__box h2{ font-size:clamp(28px,4vw,42px); margin-bottom:16px; }
.mp-cta__box p{ color:var(--text-secondary); font-size:16px; margin:0 auto 30px; max-width:480px; }
.mp-cta__actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-bottom:22px; }
.mp-cta__note{ font-size:13px; color:var(--text-muted); }
.mp-cta__note-highlight{ color:var(--emerald-light); font-weight:600; }

/* ---------- Footer ---------- */
.mp-footer{ border-top:1px solid var(--border-subtle); padding:44px 0 28px; }
.mp-footer__inner{ display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:32px; flex-wrap:wrap; }
.mp-footer__logo{ display:flex; align-items:center; gap:10px; }
.mp-footer__logo-img{ height:42px; width:auto; display:block; }
.mp-footer__links{ display:flex; gap:24px; flex-wrap:wrap; }
.mp-footer__links a{ font-size:14px; color:var(--text-secondary); }
.mp-footer__links a:hover{ color:var(--text-primary); }
.mp-footer__bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding-top:24px; border-top:1px solid var(--border-subtle); }
.mp-footer__copy{ font-size:12.5px; color:var(--text-muted); }
.mp-footer__free{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-muted); }
.mp-footer__pulse{
  width:8px; height:8px; border-radius:50%; background:var(--emerald); flex-shrink:0;
  box-shadow:0 0 0 3px rgba(16,185,129,.18); animation:mp-pulse 2.2s ease-in-out infinite;
}

@keyframes mp-pulse{
  0%,100%{ box-shadow:0 0 0 3px rgba(16,185,129,.18); }
  50%{ box-shadow:0 0 0 6px rgba(16,185,129,.08); }
}

/* ---------- Generic page template (any Gutenberg page) ---------- */
.mp-page{ padding:calc(var(--nav-h) + 64px) 0 100px; }
.mp-page__header{ margin-bottom:32px; }
.mp-page__header h1{ font-size:clamp(28px,4vw,42px); }

/* ---------- Prose: shared rich-content styling for the block editor ----------
   Used anywhere WordPress block content is rendered: generic Pages
   (page.php) and single blog posts (single.php). */
.mp-prose{ color:var(--text-secondary); font-size:15.5px; line-height:1.7; }
.mp-prose > *:first-child{ margin-top:0; }
.mp-prose h1,.mp-prose h2,.mp-prose h3,.mp-prose h4,.mp-prose h5,.mp-prose h6{ color:var(--text-primary); line-height:1.3; margin:36px 0 14px; }
.mp-prose h2{ font-size:26px; }
.mp-prose h3{ font-size:21px; }
.mp-prose h4{ font-size:17px; }
.mp-prose p{ margin:0 0 18px; }
.mp-prose a{ color:var(--emerald-light); text-decoration:underline; text-underline-offset:2px; }
.mp-prose strong{ color:var(--text-primary); }
.mp-prose ul,.mp-prose ol{ margin:0 0 18px; padding-left:22px; list-style:revert; }
.mp-prose li{ margin-bottom:6px; }
.mp-prose li::marker{ color:var(--emerald-light); }
.mp-prose img{ border-radius:var(--radius-md); margin:24px 0; }
.mp-prose figure{ margin:24px 0; }
.mp-prose figcaption{ color:var(--text-muted); font-size:13px; text-align:center; margin-top:8px; }
.mp-prose hr{ border:none; border-top:1px solid var(--border-subtle); margin:36px 0; }
.mp-prose code{ font-family:ui-monospace,'SF Mono',Menlo,monospace; font-size:.9em; background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:5px; padding:2px 6px; color:var(--emerald-light); }
.mp-prose pre{ background:var(--bg-card); border:1px solid var(--border-subtle); border-radius:var(--radius-md); padding:20px; overflow-x:auto; margin:0 0 18px; }
.mp-prose pre code{ background:none; border:none; padding:0; color:var(--text-secondary); }
.mp-prose blockquote,.mp-prose .wp-block-quote{ border-left:3px solid var(--emerald); background:var(--bg-card); border-radius:0 var(--radius-md) var(--radius-md) 0; padding:18px 24px; margin:24px 0; color:var(--text-primary); }
.mp-prose .wp-block-quote cite{ display:block; margin-top:10px; color:var(--text-muted); font-size:13px; font-style:normal; }
.mp-prose .wp-block-pullquote{ border-top:3px solid var(--emerald); border-bottom:3px solid var(--emerald); padding:28px 0; margin:32px 0; text-align:center; }
.mp-prose .wp-block-pullquote p{ font-family:var(--font-head); font-size:22px; color:var(--text-primary); }
.mp-prose table{ width:100%; border-collapse:collapse; margin:0 0 18px; font-size:14.5px; }
.mp-prose th,.mp-prose td{ border:1px solid var(--border-subtle); padding:10px 14px; text-align:left; }
.mp-prose th{ color:var(--text-primary); background:var(--bg-card); }
.mp-prose .wp-block-button__link{ display:inline-flex; align-items:center; gap:8px; padding:14px 24px; border-radius:999px; font-weight:600; font-size:15px; background:var(--gradient); color:#062018; text-decoration:none; }
.mp-prose .wp-block-button.is-style-outline .wp-block-button__link{ background:transparent; color:var(--text-primary); border:1px solid var(--border-strong); }
.mp-prose .wp-block-columns{ display:flex; gap:24px; flex-wrap:wrap; margin:0 0 18px; }
.mp-prose .wp-block-column{ flex:1; min-width:0; }
.mp-prose .wp-block-gallery{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px; margin:24px 0; padding:0; }
.mp-prose .wp-block-gallery img{ margin:0; }
.mp-prose .wp-block-separator{ border-top:1px solid var(--border-subtle); margin:36px 0; }
.mp-prose .wp-block-embed{ margin:24px 0; }
.mp-prose iframe{ max-width:100%; border-radius:var(--radius-md); }

/* ---------- Changelog page ---------- */
.mp-log-hero{ padding:calc(var(--nav-h) + 56px) 0 40px; text-align:center; }
.mp-log-hero h1{ font-size:clamp(32px,5vw,48px); margin:10px 0 14px; }
.mp-log-hero p{ color:var(--text-secondary); font-size:15.5px; }
.mp-log{ padding:20px 0 100px; }
.mp-log__list{ max-width:680px; margin:0 auto; display:flex; flex-direction:column; gap:0; position:relative; }
.mp-log__list::before{ content:""; position:absolute; left:5px; top:6px; bottom:6px; width:1px; background:var(--border-subtle); }
.mp-log__entry{ display:flex; gap:24px; padding-bottom:44px; position:relative; }
.mp-log__marker{ width:11px; height:11px; border-radius:50%; background:var(--emerald); margin-top:6px; box-shadow:0 0 0 4px var(--bg-deep); flex-shrink:0; z-index:1; }
.mp-log__meta{ display:flex; align-items:center; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.mp-log__version{ font-weight:600; font-size:16px; color:var(--text-primary); }
.mp-log__tag{ font-size:12px; background:rgba(16,185,129,.12); color:var(--emerald-light); border-radius:999px; padding:3px 10px; }
.mp-log__date{ font-size:12.5px; color:var(--text-muted); }
.mp-log__items{ display:flex; flex-direction:column; gap:9px; }
.mp-log__items li{ font-size:14.5px; color:var(--text-secondary); padding-left:16px; position:relative; }
.mp-log__items li::before{ content:"—"; position:absolute; left:0; color:var(--text-muted); }

/* ---------- Privacy Policy page ---------- */
.mp-legal-hero{ padding:calc(var(--nav-h) + 56px) 0 40px; max-width:720px; margin:0 auto; text-align:center; }
.mp-legal-hero h1{ font-size:clamp(32px,5vw,48px); margin:0 0 14px; }
.mp-legal-hero p{ color:var(--text-secondary); font-size:15.5px; }
.mp-legal-hero p strong{ color:var(--text-primary); }
.mp-legal{ padding:20px 0 100px; }
.mp-legal__list{ max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.mp-legal__section{
  display:flex; gap:18px; background:var(--glass-card); border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg); padding:26px;
}
.mp-legal__section--highlight{ border-color:var(--border-strong); background:var(--glass-elevated); }
.mp-legal__icon{
  flex-shrink:0; width:44px; height:44px; border-radius:var(--radius-sm); display:flex;
  align-items:center; justify-content:center; background:rgba(16,185,129,.12); font-size:21px;
}
.mp-legal__section h2{ color:var(--text-primary); font-size:19px; margin:0 0 10px; }
.mp-legal__section p{ color:var(--text-secondary); font-size:14.5px; margin:0 0 12px; }
.mp-legal__section p:last-child{ margin-bottom:0; }
.mp-legal__section ul{ margin:0; padding-left:20px; }
.mp-legal__section li{ color:var(--text-secondary); font-size:14.5px; margin-bottom:8px; }
.mp-legal__section li:last-child{ margin-bottom:0; }
.mp-legal__section li strong{ color:var(--text-primary); }
.mp-legal__section .btn{ margin-top:6px; }

/* ---------- Contact page ---------- */
.mp-contact-hero{ padding:calc(var(--nav-h) + 56px) 0 24px; max-width:640px; margin:0 auto; text-align:center; }
.mp-contact-hero h1{ font-size:clamp(32px,5vw,48px); margin:0 0 14px; }
.mp-contact-hero > p{ color:var(--text-secondary); font-size:15.5px; margin-bottom:32px; }
.mp-form-banner{
  text-align:left; font-size:14px; border-radius:var(--radius-md); padding:14px 18px; margin-bottom:20px;
  border:1px solid var(--border-subtle);
}
.mp-form-banner--success{ color:var(--emerald-light); background:rgba(16,185,129,.1); border-color:var(--border-strong); }
.mp-form-banner--error{ color:#F0A868; background:rgba(240,168,104,.08); border-color:rgba(240,168,104,.3); }
.mp-contact-form{
  display:flex; flex-direction:column; gap:16px; text-align:left; background:var(--glass-card);
  border:1px solid var(--border-subtle); border-radius:var(--radius-lg); padding:28px;
}
.mp-hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.mp-form-field{ display:flex; flex-direction:column; gap:8px; }
.mp-form-field label{ font-size:13px; font-weight:500; color:var(--text-secondary); }
.mp-form-field input,.mp-form-field textarea{
  font-family:var(--font-body); font-size:15px; color:var(--text-primary); background:var(--bg-elevated);
  border:1px solid var(--border-subtle); border-radius:var(--radius-sm); padding:12px 14px; resize:vertical;
  transition:border-color .15s ease;
}
.mp-form-field input::placeholder,.mp-form-field textarea::placeholder{ color:var(--text-muted); }
.mp-form-field input:focus,.mp-form-field textarea:focus{ outline:none; border-color:var(--emerald); }
.mp-contact-form .btn{ align-self:flex-start; }
.mp-contact-hero__note{ font-size:13px; color:var(--text-muted); margin-top:18px; }
.mp-contact-grid-section{ padding:20px 0 100px; }
.mp-contact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; max-width:960px; margin:0 auto; }
.mp-contact-card{
  display:flex; flex-direction:column; gap:10px; background:var(--glass-card); border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg); padding:24px; transition:border-color .2s ease, transform .2s ease;
}
.mp-contact-card:hover{ border-color:var(--border-strong); transform:translateY(-4px); }
.mp-contact-card__icon{
  width:44px; height:44px; border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center;
  background:rgba(16,185,129,.12); font-size:21px;
}
.mp-contact-card__title{ font-family:var(--font-head); font-weight:600; font-size:15.5px; color:var(--text-primary); }
.mp-contact-card__desc{ font-size:13.5px; color:var(--text-secondary); line-height:1.5; }

/* ---------- Blog index / archive ---------- */
.mp-blog-hero{ padding:calc(var(--nav-h) + 56px) 0 48px; max-width:680px; margin:0 auto; text-align:center; }
.mp-blog-hero h1{ font-size:clamp(30px,4.6vw,44px); margin:0 0 14px; }
.mp-blog-hero p{ color:var(--text-secondary); font-size:15.5px; }
.mp-blog{ padding:20px 0 100px; }
.mp-blog__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.mp-post-card{
  display:flex; flex-direction:column; background:var(--glass-card); border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg); overflow:hidden; transition:border-color .2s ease, transform .2s ease;
}
.mp-post-card:hover{ border-color:var(--border-strong); transform:translateY(-4px); }
.mp-post-card__media{ display:block; height:170px; background:var(--bg-elevated); }
.mp-post-card__media img{ width:100%; height:100%; object-fit:cover; }
.mp-post-card__media--placeholder{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:34px; background:linear-gradient(135deg, rgba(16,185,129,.14), rgba(20,184,166,.08)); }
.mp-post-card__body{ padding:22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.mp-post-card__cat{ font-size:11.5px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--emerald-light); }
.mp-post-card__title{ font-size:17px; margin:0; }
.mp-post-card__title a{ color:var(--text-primary); }
.mp-post-card__excerpt{ font-size:14px; color:var(--text-secondary); line-height:1.55; flex:1; }
.mp-post-card__meta{ display:flex; gap:8px; font-size:12px; color:var(--text-muted); margin-top:4px; }
.mp-blog__pagination{ margin-top:48px; }
.mp-blog__pagination ul{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.mp-blog__pagination a,.mp-blog__pagination span{
  display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 12px;
  border-radius:var(--radius-sm); border:1px solid var(--border-subtle); color:var(--text-secondary); font-size:14px;
}
.mp-blog__pagination a:hover{ border-color:var(--border-strong); color:var(--text-primary); }
.mp-blog__pagination span.current{ background:var(--gradient); color:#062018; border-color:transparent; font-weight:600; }
.mp-blog__empty{ text-align:center; max-width:420px; margin:60px auto; display:flex; flex-direction:column; align-items:center; gap:14px; }
.mp-blog__empty-icon{ font-size:40px; }
.mp-blog__empty h2{ font-size:22px; }
.mp-blog__empty p{ color:var(--text-secondary); font-size:14.5px; }

/* ---------- Single blog post ---------- */
.mp-single{ padding:calc(var(--nav-h) + 56px) 0 100px; }
.mp-single__header{ margin-bottom:32px; }
.mp-single__back{ display:inline-block; font-size:13.5px; color:var(--text-muted); margin-bottom:18px; }
.mp-single__back:hover{ color:var(--text-secondary); }
.mp-single__header h1{ font-size:clamp(28px,4.4vw,42px); margin:12px 0 16px; }
.mp-single__meta{ display:flex; gap:8px; font-size:13px; color:var(--text-muted); }
.mp-single__media{ margin:0 0 40px; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border-subtle); }
.mp-single__media img{ width:100%; height:auto; display:block; }
.mp-single__tags{ margin:32px 0 0; display:flex; flex-wrap:wrap; gap:8px; }
.mp-single__author{
  margin:48px 0 0; display:flex; align-items:center; gap:16px;
  background:var(--glass-card); border:1px solid var(--border-subtle); border-radius:var(--radius-lg); padding:22px 26px;
}
.mp-single__author-avatar{ border-radius:var(--radius-sm); flex-shrink:0; }
.mp-single__author > div{ flex:1; display:flex; flex-direction:column; gap:2px; }
.mp-single__author-name{ font-family:var(--font-head); font-weight:600; font-size:15px; color:var(--text-primary); }
.mp-single__author-role{ font-size:13px; color:var(--text-muted); }
.mp-single__nav{ margin:24px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.mp-single__nav-link{
  display:flex; flex-direction:column; gap:6px; background:var(--glass-card); border:1px solid var(--border-subtle);
  border-radius:var(--radius-md); padding:16px 18px; font-size:13px; color:var(--text-muted); transition:border-color .2s ease;
}
.mp-single__nav-link:hover{ border-color:var(--border-strong); }
.mp-single__nav-link strong{ color:var(--text-primary); font-size:14.5px; font-weight:600; }
.mp-single__nav-link--next{ text-align:right; align-items:flex-end; grid-column:2; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(8px); transition:opacity .35s ease, transform .35s ease; }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-delay-1.is-visible{ transition-delay:.03s; }
.reveal-delay-2.is-visible{ transition-delay:.08s; }
.reveal-delay-3.is-visible{ transition-delay:.13s; }
/* Screenshots/tools without JS, or a full-page capture mid-scroll,
   should never show permanently hidden content. */
.no-js .reveal, .reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Missing-image fallback ---------- */
/* Applied by main.js when an <img> fails to load, so a broken-image
   icon never appears — shows a soft placeholder tile instead. */
.mp-img-missing{ background:var(--bg-elevated); position:relative; }
.mp-img-missing img{ display:none; }
.mp-img-missing::after{
  content:""; position:absolute; inset:0; margin:auto; width:34%; height:34%; max-width:48px; max-height:48px;
  background:var(--text-muted); opacity:.35;
  -webkit-mask:url('../images/icon.png') center/contain no-repeat;
          mask:url('../images/icon.png') center/contain no-repeat;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .mp-features__grid{ grid-template-columns:repeat(2,1fr); }
  .mp-trust__inner{ grid-template-columns:repeat(3,1fr); }
  .mp-blog__grid{ grid-template-columns:repeat(2,1fr); }
  .mp-contact-grid{ grid-template-columns:repeat(2,1fr); }
  .mp-testimonials__grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
  .mp-hero__grid{ grid-template-columns:1fr; }
  /* Countdown falls naturally after .mp-hero__content in the DOM —
     which ends with the platform tags — so no order/reorder needed.
     On mobile it's stripped to just the numbers: no badge, no date,
     no labels, no background photos — a tiny inline clock. */
  .mp-hero__visual{ min-height:auto; margin-top:16px; display:block; }
  .mp-hero__visual-bg{ display:none; }
  .mp-countdown{
    display:inline-flex; width:100%; max-width:none; gap:0; padding:14px 14px;
  }
  .mp-countdown::before, .mp-countdown::after{ display:none; }
  .mp-countdown__badge, .mp-countdown__date, .mp-countdown__label,
  .mp-countdown__unit-label{ display:none; }
  .mp-countdown__grid{ gap:2px; }
  .mp-countdown__unit{ width:auto; padding:0; background:none; border:none; }
  .mp-countdown__num{ font-size:28px; }
  .mp-countdown__unit:not(:last-child) .mp-countdown__num::after{
    content:":"; margin:0 4px; color:var(--text-muted); font-weight:400;
  }
  .mp-showcase__inner{ grid-template-columns:1fr; }
  .mp-platforms__grid{ grid-template-columns:repeat(3,1fr); }
  .mp-nav__links, .mp-nav__cta{ display:none; }
  .mp-nav__hamburger{ display:flex; }
}
@media (max-width:720px){
  .mp-features__grid{ grid-template-columns:1fr; }
  .mp-showcase__screens{ grid-template-columns:1fr; }
  .mp-showcase__screen--tall{ grid-row:auto; }
  .mp-footer__inner{ flex-direction:column; align-items:flex-start; }
  .mp-footer__bottom{ flex-direction:column; align-items:flex-start; }
  .mp-blog__grid{ grid-template-columns:1fr; }
  .mp-contact-grid{ grid-template-columns:1fr; }
  .mp-testimonials__grid{ grid-template-columns:1fr; }
  .mp-legal__section{ flex-direction:column; }
  .mp-single__nav{ grid-template-columns:1fr; }
  .mp-single__nav-link--next{ text-align:left; align-items:flex-start; grid-column:1; }
  .mp-single__author{ flex-direction:column; text-align:center; }
  .mp-contact-form{ padding:22px; }
}
@media (max-width:640px){
  .mp-platforms__grid{ grid-template-columns:repeat(2,1fr); }
  .mp-showcase__stats{ grid-template-columns:repeat(2,1fr); }
  .mp-trust__inner{ grid-template-columns:repeat(2,1fr); }
}
