/*
 * Photomator theme — main stylesheet.
 * Ported 1:1 from the original static site (assets/css/style.css) and extended
 * with WordPress + Elementor integration styles at the bottom of this file.
 *
 * Colours resolve in this order:
 *   1. Elementor Site Settings → Global Colors ("Photomator …" swatches)
 *   2. Appearance → Customize → Theme Colors (written as --pm-c-* on :root)
 *   3. The original design values below.
 */
:root {
  --radius:28px;
  --shadow:0 20px 60px rgba(59,16,82,.14);
  --container:1180px;
  --header:76px;
  --font-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-heading:Poppins,ui-sans-serif,system-ui;
}
body {
  --ink:var(--e-global-color-pm_ink,var(--pm-c-ink,#241533));
  --muted:var(--e-global-color-pm_muted,var(--pm-c-muted,#63596d));
  --line:#ece6ef;
  --soft:var(--e-global-color-pm_soft,var(--pm-c-soft,#faf5f8));
  --white:#fff;
  --dark:var(--e-global-color-pm_dark,var(--pm-c-dark,#1b1230));
  --dark2:var(--e-global-color-pm_dark2,var(--pm-c-dark2,#2c1540));
  --violet:var(--e-global-color-pm_primary,var(--pm-c-primary,#c30057));
  --violet2:var(--e-global-color-pm_secondary,var(--pm-c-secondary,#ff8a00));
  --cyan:var(--e-global-color-pm_accent,var(--pm-c-accent,#00708c));
  --gold:#ffbf00;
  --green:#1f8c5f;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
}
body {
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:#fff;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img {
  max-width:100%;
  height:auto;
  display:block;
}
a {
  color:inherit;
}
button,a {
  font:inherit;
}
.container {
  width:min(var(--container),calc(100% - 40px));
  margin-inline:auto;
}
.narrow {
  max-width:840px;
}
.skip-link {
  position:fixed;
  left:12px;
  top:12px;
  transform:translateY(-150%);
  background:#fff;
  color:#111;
  padding:12px 16px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus {
  transform:none;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
#site-header {
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid transparent;
  transition:.25s;
}
#site-header.scrolled {
  border-color:rgba(25,25,45,.08);
  box-shadow:0 8px 30px rgba(22,23,42,.08);
}
.header-inner {
  height:var(--header);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font:800 20px/1 var(--font-heading);
}
.brand img {
  border-radius:12px;
  box-shadow:0 8px 20px rgba(195,0,87,.10);
}
.primary-nav {
  display:flex;
  align-items:center;
  gap:22px;
}
.primary-nav>a {
  font-size:14px;
  text-decoration:none;
  color:#403546;
  font-weight:650;
  position:relative;
}
.primary-nav>a:not(.nav-cta):after {
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-8px;
  height:2px;
  background:linear-gradient(90deg,var(--violet),var(--violet2),var(--cyan));
  transition:.2s;
}
.primary-nav>a:hover:after,.primary-nav>a.active:after {
  right:0;
}
.nav-cta {
  padding:11px 17px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--violet),var(--violet2));
  border-radius:999px;
  box-shadow:0 14px 30px rgba(195,0,87,.22);
}
.menu-toggle {
  display:none;
  border:0;
  background:transparent;
  padding:10px;
}
.menu-toggle span:not(.sr-only) {
  display:block;
  width:24px;
  height:2px;
  background:#222;
  margin:5px 0;
}
.section {
  padding:110px 0;
}
.tone-soft {
  background:var(--soft);
}
:is(.dark,.pm-dark) {
  background:var(--dark);
  color:#fff;
}
.eyebrow {
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  font-weight:800;
  color:var(--violet);
}
:is(.dark,.pm-dark) .eyebrow {
  color:#9f8cff;
}
.badge {
  padding:8px 12px;
  border:1px solid #dfdcff;
  border-radius:999px;
  background:#f8f6ff;
}
.hero {
  padding:86px 0 105px;
  overflow:hidden;
  background:radial-gradient(circle at 78% 18%,rgba(255,191,0,.18),transparent 28%),radial-gradient(circle at 18% 12%,rgba(195,0,87,.11),transparent 32%),linear-gradient(180deg,#fff8fb,#ffffff);
}
.hero-grid,.showcase-grid,.download-grid,.editorial-split,.pricing-layout {
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:64px;
}
.hero h1,.page-hero h1,.article-hero h1 {
  font-family:var(--font-heading);
  letter-spacing:-.045em;
  line-height:1.02;
  margin:.35em 0 .32em;
}
.hero h1 {
  font-size:clamp(48px,6vw,80px);
}
.lead {
  font-size:19px;
  color:#55576c;
  max-width:680px;
}
.button-row {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:32px 0 20px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:13px 20px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  transition:transform .2s,box-shadow .2s;
}
.button:hover {
  transform:translateY(-2px);
}
.button.primary {
  color:#fff;
  background:linear-gradient(135deg,var(--violet),var(--violet2));
  box-shadow:0 15px 35px rgba(195,0,87,.24);
}
.button.secondary {
  background:#fff;
  border-color:#e4d5df;
  color:#33293d;
}
.button.xl {
  padding:16px 24px;
}
.button.small {
  min-height:44px;
  padding:10px 16px;
  font-size:14px;
}
.centered {
  margin:28px auto 0;
  width:max-content;
}
.compat-inline {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.compat-inline span,.pill-list span {
  border:1px solid #ead7e2;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:750;
  background:#fff;
}
.trust-note,.micro {
  font-size:13px;
  color:#6c6e83;
  margin-top:20px;
}
.hero-visual,.showcase-image,.download-image,.editorial-image,.wide-visual {
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-visual {
  position:relative;
}
.hero-visual img {
  border-radius:inherit;
}
.floating-tag {
  position:absolute;
  padding:10px 14px;
  background:rgba(31,17,49,.92);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 15px 30px rgba(0,0,0,.22);
}
.tag-a {
  top:10%;
  left:-4%;
}
.tag-b {
  right:-4%;
  top:52%;
}
.tag-c {
  left:8%;
  bottom:-5%;
}
.section-heading {
  max-width:760px;
  margin-bottom:44px;
}
.section-heading h2 {
  font-family:var(--font-heading);
  font-size:clamp(34px,4vw,54px);
  line-height:1.08;
  letter-spacing:-.035em;
  margin:12px 0;
}
.section-heading p {
  font-size:18px;
  color:var(--muted);
  margin:0;
}
:is(.dark,.pm-dark) .section-heading p,:is(.dark,.pm-dark) .muted {
  color:#b8b9ca;
}
.editorial-split {
  align-items:start;
}
.editorial-split .section-heading {
  grid-column:1;
}
.copy-columns {
  grid-column:1;
}
.editorial-image {
  grid-column:2;
  grid-row:1/3;
}
.copy-columns p:first-child {
  font-size:19px;
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.feature-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  min-height:190px;
}
.feature-card h3 {
  font-size:17px;
  margin:14px 0 8px;
}
.feature-card p {
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.feature-dot {
  display:block;
  width:30px;
  height:30px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--violet),var(--violet2),var(--cyan));
}
.workflow {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.workflow-step {
  display:flex;
  gap:18px;
  padding:25px;
  border:1px solid #2c2d49;
  border-radius:22px;
  background:var(--dark2);
}
.workflow-step>span {
  flex:0 0 42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg,var(--violet),var(--violet2));
  font-weight:900;
}
.workflow-step h3 {
  margin:0 0 8px;
}
.workflow-step p {
  margin:0;
  color:#b8b9ca;
}
.compat-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.compat-card {
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
}
.device-icon {
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#fff1f6;
  color:var(--violet);
  font-weight:900;
}
.compat-card p {
  color:var(--muted);
  font-size:14px;
}
.not-available {
  display:grid;
  grid-template-columns:.45fr 1fr;
  gap:30px;
  align-items:center;
  margin:24px 0 38px;
  padding:30px;
  border-radius:24px;
  background:#17182a;
  color:#fff;
}
.not-available p {
  margin:0;
  color:#c5c6d5;
}
.wide-visual {
  width:100%;
  max-height:560px;
  object-fit:cover;
}
.use-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.use-card {
  border-radius:22px;
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
}
.use-card>span {
  font-weight:900;
  color:#a5a7b8;
  font-size:12px;
}
.use-card h3 {
  margin:9px 0;
}
.use-card p {
  color:var(--muted);
  font-size:14px;
  margin:0;
}
.pill-list {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:25px 0;
}
:is(.dark,.pm-dark) .pill-list span {
  background:#21223d;
  border-color:#383a5d;
  color:#e9eaff;
}
.showcase-grid .section-heading {
  margin-bottom:20px;
}
.showcase-image {
  width:100%;
}
.showcase-stack {
  display:grid;
  gap:14px;
}
.showcase-stack .showcase-image:last-child {
  width:72%;
  margin:-13% 0 0 auto;
  border:6px solid #121224;
}
.install-layout {
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:35px;
}
.install-layout ol {
  margin:0;
  padding-left:25px;
}
.install-layout li {
  margin:0 0 18px;
}
.install-note {
  padding:28px;
  border-radius:24px;
  background:var(--soft);
  border:1px solid var(--line);
}
.text-link {
  font-weight:800;
  color:#5a46d8;
  text-decoration:none;
}
.download-section {
  background:linear-gradient(135deg,#fff4f8,#fff5e9 58%,#eff8fb);
}
.download-copy h2 {
  font-family:var(--font-heading);
  font-size:clamp(42px,5vw,66px);
  line-height:1;
  margin:12px 0 20px;
}
.download-copy .button {
  margin-top:24px;
}
.safety-section {
  padding-top:40px;
}
.safety-card {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:45px;
  padding:40px;
  border-radius:28px;
  background:#17182a;
  color:#fff;
}
.safety-card h2 {
  font-size:34px;
  line-height:1.1;
}
.safety-card p {
  color:#d1d2dc;
}
.pros-cons {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.pros,.cons {
  padding:30px;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
}
.pros h3 {
  color:#2d7b5b;
}
.cons h3 {
  color:#9a5d32;
}
.pros li,.cons li {
  margin-bottom:10px;
}
.pricing-layout {
  align-items:start;
}
.price-cards {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.price-cards>div {
  padding:24px;
  border-radius:20px;
  background:#fff4f8;
  border:1px solid #f0d8e6;
}
.price-cards span {
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#77798c;
}
.price-cards b {
  display:block;
  margin-top:7px;
}
.trouble-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
}
.trouble-card {
  padding:22px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--line);
}
.trouble-card h3 {
  margin:0 0 8px;
  font-size:16px;
}
.trouble-card p {
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.guide-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.guide-card {
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 35px rgba(28,24,74,.06);
}
.guide-image {
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
}
.guide-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.35s;
}
.guide-card:hover img {
  transform:scale(1.025);
}
.guide-card-body {
  padding:22px;
}
.category {
  display:inline-block;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
  color:var(--violet);
}
.guide-card h3 {
  font-size:20px;
  line-height:1.25;
  margin:10px 0;
}
.guide-card h3 a,.guide-meta a {
  text-decoration:none;
}
.guide-card p {
  color:var(--muted);
  font-size:14px;
}
.guide-meta {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:12px;
  color:#858797;
}
.guide-meta a {
  color:#4f3ec0;
  font-weight:900;
}
.faq-columns {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.faq-category h3 {
  font-size:22px;
}
.faq-list {
  border-top:1px solid #32334b;
}
.faq-item {
  border-bottom:1px solid #32334b;
}
.faq-item h4 {
  margin:0;
}
.faq-question {
  width:100%;
  border:0;
  background:transparent;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  gap:20px;
  padding:20px 0;
  font-weight:800;
  cursor:pointer;
}
.faq-question span:last-child {
  font-size:24px;
  color:#ffb640;
}
.faq-answer {
  padding:0 0 20px;
  color:#bfc0d0;
}
.faq-answer p {
  margin:0;
}
.page-hero {
  padding:95px 0 65px;
  background:linear-gradient(180deg,#fff8fb,#fff);
}
.page-hero:is(.dark,.pm-dark) {
  background:var(--dark);
  color:#fff;
}
.page-hero h1 {
  font-size:clamp(46px,6vw,76px);
}
.page-hero p {
  font-size:20px;
  color:var(--muted);
}
.page-hero:is(.dark,.pm-dark) p {
  color:#b9bbca;
}
.content-layout,.article-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:60px;
  align-items:start;
}
.prose {
  font-size:18px;
}
.prose h2 {
  font-family:var(--font-heading);
  font-size:30px;
  line-height:1.2;
  margin-top:0;
}
.content-section {
  padding-bottom:34px;
  margin-bottom:34px;
  border-bottom:1px solid var(--line);
}
.sidebar {
  display:grid;
  gap:16px;
}
.sidebar-card {
  padding:23px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}
.sidebar-card h3 {
  margin-top:0;
}
.plain-email {
  font-size:22px;
  font-weight:900;
  padding:18px;
  border-radius:14px;
  background:var(--soft);
  overflow-wrap:anywhere;
}
.footer-grid {
  display:grid;
  grid-template-columns:1.4fr .6fr .8fr;
  gap:60px;
  padding:70px 0 48px;
}
#site-footer {
  background:#0f1020;
  color:#fff;
}
.brand.light {
  color:#fff;
}
.footer-grid h2 {
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:#8f91a6;
}
.footer-grid a,.footer-email {
  display:block;
  color:#d7d8e0;
  text-decoration:none;
  margin:10px 0;
}
.footer-grid a:hover {
  color:#fff;
}
.footer-email {
  cursor:text;
}
.footer-brand p {
  color:#aeb0bf;
  max-width:520px;
}
.footer-disclaimer {
  font-size:13px;
}
.footer-bottom {
  border-top:1px solid #292a40;
  padding:22px 0 32px;
  color:#9ea0af;
  font-size:13px;
}
.footer-bottom a {
  text-decoration:none;
  color:#dfe0e8;
}
.story-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:22px;
}
.story-card {
  grid-column:span 2;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}
.story-card.lead-story {
  grid-column:span 4;
  grid-row:span 2;
}
.story-card.medium-story {
  grid-column:span 2;
}
.story-card img {
  aspect-ratio:16/9;
  object-fit:cover;
  width:100%;
}
.story-card>div {
  padding:22px;
}
.story-card h2 {
  font-size:22px;
  line-height:1.25;
  margin:9px 0;
}
.lead-story h2 {
  font-size:32px;
}
.story-card h2 a {
  text-decoration:none;
}
.story-card p {
  color:var(--muted);
}
.article-hero {
  padding:70px 0;
  background:linear-gradient(180deg,#fff8fb,#fff);
}
.article-hero-grid {
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:55px;
  align-items:center;
}
.article-hero h1 {
  font-size:clamp(44px,5vw,68px);
}
.article-hero p {
  font-size:19px;
  color:var(--muted);
}
.article-hero img {
  border-radius:28px;
  box-shadow:var(--shadow);
}
.article-meta {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  color:#787a8d;
  font-size:13px;
}
.article-prose {
  max-width:780px;
}
.article-intro {
  font-size:21px;
  color:#3f4157;
}
.article-section {
  margin-bottom:42px;
}
.article-section h2 {
  font-size:31px;
  margin-bottom:14px;
}
.article-section p {
  color:#494b60;
}
.article-section.callout {
  padding:28px;
  border-radius:22px;
  background:#fff4f8;
  border:1px solid #f0d8e6;
}
.article-section.callout li {
  margin:10px 0;
}
.sticky-card {
  position:sticky;
  top:96px;
}
.toc {
  padding-left:20px;
}
.toc li {
  margin:9px 0;
}
.toc a,.related-list a {
  text-decoration:none;
  color:#4f3ec0;
  font-weight:700;
}
.related-list {
  padding-left:18px;
}
.related-list li {
  margin:10px 0;
}
.reveal {
  opacity:0;
  transform:translateY(18px);
  transition:opacity .55s ease,transform .55s ease;
}
.reveal.visible {
  opacity:1;
  transform:none;
}
.scroll-top {
  position:fixed;
  right:22px;
  bottom:22px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:0;
  background:#1b1c31;
  color:#fff;
  box-shadow:0 12px 25px rgba(0,0,0,.2);
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:.2s;
  z-index:80;
}
.scroll-top.visible {
  opacity:1;
  pointer-events:auto;
  transform:none;
}
:focus-visible {
  outline:3px solid #0087a6;
  outline-offset:3px;
}
@media(max-width:1050px) {
  .primary-nav {
    gap:14px;
  }
  .primary-nav>a {
    font-size:13px;
  }
  .feature-grid,.use-grid {
    grid-template-columns:repeat(3,1fr);
  }
  .guide-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .compat-grid {
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:860px) {
  :root {
    --header:68px;
  }
  .menu-toggle {
    display:block;
  }
  .primary-nav {
    position:absolute;
    left:20px;
    right:20px;
    top:64px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    padding:14px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:var(--shadow);
  }
  .primary-nav.open {
    display:flex;
  }
  .primary-nav>a {
    padding:11px 12px;
  }
  .nav-cta {
    text-align:center;
    margin-top:4px;
  }
  .hero-grid,.showcase-grid,.download-grid,.editorial-split,.pricing-layout,.article-hero-grid {
    grid-template-columns:1fr;
  }
  .hero {
    padding-top:60px;
  }
  .hero-visual {
    margin-top:12px;
  }
  .editorial-split .section-heading,.copy-columns,.editorial-image {
    grid-column:1;
    grid-row:auto;
  }
  .workflow,.faq-columns,.pros-cons,.install-layout,.safety-card,.content-layout,.article-layout {
    grid-template-columns:1fr;
  }
  .feature-grid,.use-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .story-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .story-card,.story-card.lead-story,.story-card.medium-story {
    grid-column:span 1;
    grid-row:auto;
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
  }
  .footer-brand {
    grid-column:1/-1;
  }
  .sticky-card {
    position:static;
  }
}
@media(max-width:600px) {
  .container {
    width:min(100% - 28px,var(--container));
  }
  .section {
    padding:78px 0;
  }
  .hero h1 {
    font-size:46px;
  }
  .page-hero h1,.article-hero h1 {
    font-size:44px;
  }
  .lead {
    font-size:17px;
  }
  .button-row .button {
    width:100%;
  }
  .feature-grid,.use-grid,.guide-grid,.compat-grid,.trouble-grid,.price-cards,.story-grid {
    grid-template-columns:1fr;
  }
  .not-available {
    grid-template-columns:1fr;
  }
  .workflow {
    grid-template-columns:1fr;
  }
  .section-heading h2 {
    font-size:36px;
  }
  .safety-card {
    padding:28px;
  }
  .footer-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .footer-brand {
    grid-column:auto;
  }
  .article-prose {
    font-size:17px;
  }
  .article-section h2 {
    font-size:27px;
  }
  .floating-tag {
    display:none;
  }
  .download-copy .button {
    width:100%;
    text-align:center;
  }
}
@media(max-width:360px) {
  .hero h1 {
    font-size:40px;
  }
  .brand {
    font-size:18px;
  }
  .brand img {
    width:38px;
    height:38px;
  }
  .section {
    padding:68px 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .reveal {
    opacity:1;
    transform:none;
    transition:none;
  }
  .guide-card img,.button {
    transition:none;
  }
}

/* ==========================================================================
   WordPress integration
   ========================================================================== */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;margin:0;z-index:100000;background:#fff;color:#111;padding:12px 16px;border-radius:10px;left:12px;top:12px}
.admin-bar #site-header{top:32px}
@media(max-width:782px){.admin-bar #site-header{top:46px}}
@media(max-width:600px){.admin-bar #site-header{top:0}}
#site-header.is-static{position:relative}
[id]{scroll-margin-top:calc(var(--header) + 10px)}
.brand .custom-logo{width:auto;max-height:42px}
.brand-text{display:inline}
.site-tagline{display:none}
.primary-nav .menu-item-has-children>a:after{display:none}
.alignleft{float:left;margin:0 1.5em 1em 0}
.alignright{float:right;margin:0 0 1em 1.5em}
.aligncenter{display:block;margin-inline:auto}
.alignwide{margin-inline:calc(-1 * min(60px, 4vw))}
.alignfull{margin-inline:calc(50% - 50vw);max-width:100vw;width:100vw}
.wp-caption,.wp-block-image figcaption,figcaption{font-size:13px;color:var(--muted);margin-top:8px}
.wp-block-image img,.entry-content img{border-radius:18px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.sticky .story-card,.sticky{position:relative}
.bypostauthor{display:block}
.entry-content::after{content:"";display:table;clear:both}
.entry-content a{color:#4f3ec0}
.entry-content blockquote{margin:28px 0;padding:6px 0 6px 22px;border-left:4px solid var(--violet);font-size:20px;color:#3f4157}
.entry-content pre,.entry-content code{background:var(--soft);border-radius:10px}
.entry-content pre{padding:18px;overflow:auto}
.entry-content code{padding:2px 6px;font-size:.92em}
.entry-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:16px}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.entry-content th{background:var(--soft)}
.entry-content .wp-block-button__link,.entry-content .wp-element-button{display:inline-flex;align-items:center;min-height:50px;padding:13px 20px;border-radius:999px;font-weight:800;text-decoration:none;color:#fff;background:linear-gradient(135deg,var(--violet),var(--violet2))}

/* Article body written in the block editor keeps the original article rhythm */
.article-prose .entry-content>h2,.article-prose .entry-content .article-section>h2{font-family:var(--font-heading);font-size:31px;line-height:1.2;margin:42px 0 14px}
.article-prose .entry-content>h2:first-child{margin-top:0}
.article-prose .entry-content>h3{font-size:22px;margin:30px 0 10px}
.article-prose .entry-content>p,.article-prose .entry-content>ul,.article-prose .entry-content>ol{color:#494b60}
.article-prose .entry-content>p.article-intro{color:#3f4157}
.article-prose .entry-content>.article-section{margin:42px 0}
.article-prose .entry-content>.article-section.callout>h2{margin-top:0}
.article-section.callout>*:last-child{margin-bottom:0}
.page-prose .entry-content>h2{font-family:var(--font-heading);font-size:30px;line-height:1.2;margin:34px 0 14px;padding-top:34px;border-top:1px solid var(--line)}
.page-prose .entry-content>h2:first-child{margin-top:0;padding-top:0;border-top:0}

/* Post navigation, pagination, comments, search */
.pm-pagination{margin-top:48px}
.pm-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.pm-pagination .page-numbers{min-width:46px;height:46px;display:inline-grid;place-items:center;padding:0 14px;border-radius:999px;border:1px solid var(--line);text-decoration:none;font-weight:800;background:#fff}
.pm-pagination .page-numbers.current{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--violet),var(--violet2))}
.post-navigation{margin-top:46px;padding-top:28px;border-top:1px solid var(--line)}
.post-navigation .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.post-navigation a{display:block;padding:20px;border:1px solid var(--line);border-radius:20px;text-decoration:none;font-weight:800}
.post-navigation .nav-next{text-align:right}
.post-navigation .meta-nav{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--violet);margin-bottom:6px}
.comments-area{margin-top:56px;padding-top:34px;border-top:1px solid var(--line)}
.comment-list{list-style:none;padding:0}
.comment-list .children{list-style:none;padding-left:28px}
.comment-body{padding:20px;border:1px solid var(--line);border-radius:20px;margin-bottom:16px;background:#fff}
.comment-meta{font-size:13px;color:var(--muted)}
.comment-meta .avatar{border-radius:50%;float:left;margin-right:12px}
.comment-respond input[type=text],.comment-respond input[type=email],.comment-respond input[type=url],.comment-respond textarea,.search-form .search-field{width:100%;padding:13px 16px;border:1px solid #e4d5df;border-radius:14px;font:inherit;background:#fff}
.comment-respond .submit,.search-form .search-submit{display:inline-flex;min-height:50px;padding:13px 22px;border:0;border-radius:999px;color:#fff;font-weight:800;cursor:pointer;background:linear-gradient(135deg,var(--violet),var(--violet2))}
.search-form{display:flex;gap:10px;align-items:center}
.search-form label{flex:1}
.widget{margin-bottom:16px}
.widget ul{padding-left:18px}
.widget-title{margin-top:0;font-size:18px}
.not-found-card{padding:40px;border-radius:28px;border:1px solid var(--line);background:#fff;text-align:center}
.not-found-card .search-form{max-width:520px;margin:24px auto 0}
.archive-description{font-size:20px;color:var(--muted)}
.footer-widgets{display:grid;gap:12px}
.footer-grid .menu,.footer-grid ul{list-style:none;margin:0;padding:0}
@media(max-width:600px){.post-navigation .nav-links{grid-template-columns:1fr}.post-navigation .nav-next{text-align:left}}

/* ==========================================================================
   Elementor integration
   ========================================================================== */
/* Section backgrounds — add these classes to a Container (Advanced → CSS Classes).
   Any background chosen in Elementor's Style tab overrides them. */
.pm-bg-hero{background:radial-gradient(circle at 78% 18%,rgba(255,191,0,.18),transparent 28%),radial-gradient(circle at 18% 12%,rgba(195,0,87,.11),transparent 32%),linear-gradient(180deg,#fff8fb,#ffffff)}
.pm-bg-page-hero{background:linear-gradient(180deg,#fff8fb,#fff)}
.pm-bg-soft{background:var(--soft)}
.pm-bg-download{background:linear-gradient(135deg,#fff4f8,#fff5e9 58%,#eff8fb)}
.pm-dark{background:var(--dark);color:#fff}
.pm-overflow-hidden{overflow:hidden}
.e-con.pm-dark,.e-con.pm-dark h1,.e-con.pm-dark h2,.e-con.pm-dark h3{color:#fff}

/* Theme widgets bring their own spacing; neutralise Elementor's inner wrapper margins */
[class*="elementor-widget-pm-"]{width:100%}
[class*="elementor-widget-pm-"] .elementor-widget-container{margin:0}
.elementor-widget-pm-section-heading .section-heading.is-centered{margin-inline:auto;text-align:center}
.elementor-widget-pm-section-heading .section-heading.is-right{margin-left:auto;text-align:right}
.section-heading.no-margin{margin-bottom:0}
.pm-wide-visual img,.wide-visual{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);max-height:560px;object-fit:cover}
.pm-button-wrap{display:flex}
.pm-button-wrap .button.centered{margin:0}
.media-split{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:64px}
.media-split.align-start{align-items:start}
.media-split.align-end{align-items:end}
.media-split.media-left .media-split-media{order:-1}
.media-split-media img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow)}
.media-split .copy-columns p:first-child{font-size:19px}
.media-split-copy .button-row{margin-bottom:0}
.media-split .copy-columns{margin-top:0}
.faq-columns.cols-1{grid-template-columns:1fr}
.faq-section-light .faq-question{color:var(--ink)}
.faq-section-light .faq-list,.faq-section-light .faq-item{border-color:var(--line)}
.faq-section-light .faq-answer{color:var(--muted)}
.pm-posts-empty{padding:28px;border:1px dashed var(--line);border-radius:20px;text-align:center;color:var(--muted)}
.guide-card .guide-image img,.story-card img{background:var(--soft)}
.story-card>a{display:block}
@media(max-width:860px){.media-split{grid-template-columns:1fr}.media-split.media-left .media-split-media{order:0}}

/* Inside the Elementor editor, show reveal-animated items immediately */
.elementor-editor-active .reveal,.elementor-editor-preview .reveal{opacity:1!important;transform:none!important}
.elementor-editor-active .faq-answer[hidden]{display:none}

/* Elementor Pro Theme Builder / template headers */
.pm-elementor-header{position:sticky;top:0;z-index:100}
.admin-bar .pm-elementor-header{top:32px}
@media(min-width:861px){.footer-grid.has-extra{grid-template-columns:1.2fr .6fr .8fr .8fr}}

/* --------------------------------------------------------------------------
   Widget equivalents of the original element selectors (titles may use any tag)
   -------------------------------------------------------------------------- */
.hero-copy .pm-title,.pm-page-hero .pm-title{font-family:var(--font-heading);letter-spacing:-.045em;line-height:1.02;margin:.35em 0 .32em}
.hero-copy .pm-title{font-size:clamp(48px,6vw,80px)}
.pm-page-hero .pm-title{font-size:clamp(46px,6vw,76px)}
.page-hero.pm-page-hero{padding:0;background:none;max-width:840px;margin-inline:auto}
.section-heading .pm-title{font-family:var(--font-heading);font-size:clamp(34px,4vw,54px);line-height:1.08;letter-spacing:-.035em;margin:12px 0}
.download-copy .pm-title{font-family:var(--font-heading);font-size:clamp(42px,5vw,66px);line-height:1;margin:12px 0 20px}
.safety-card .pm-title{font-size:34px;line-height:1.1}
.not-available .pm-notice-text p{margin:0}
.feature-card .pm-card-title{font-size:17px;margin:14px 0 8px}
.use-card .pm-card-title{margin:9px 0}
.trouble-card .pm-card-title{margin:0 0 8px;font-size:16px}
.pm-card-title a{text-decoration:none}
.pm-card-title a:hover{text-decoration:underline}
.feature-dot.has-icon{display:grid;place-items:center;color:#fff;font-size:15px}
.feature-dot svg,.device-icon svg{width:55%;height:55%;fill:currentColor}
.device-icon i{font-size:20px}
.no-dividers .content-section{border-bottom:0}
.content-section .pm-title{font-family:var(--font-heading);font-size:30px;line-height:1.2;margin-top:0}
.pm-button-wrap.is-stretch .button{width:100%}
@media(max-width:860px){.hero-grid{grid-template-columns:1fr}}
@media(max-width:600px){
  .hero-copy .pm-title{font-size:46px}
  .pm-page-hero .pm-title{font-size:44px}
  .section-heading .pm-title{font-size:36px}
}
@media(max-width:360px){.hero-copy .pm-title{font-size:40px}}

/* Elementor resets `.elementor img` (no radius/shadow/border) — restore the design inside Elementor content */
.elementor .hero-visual img{border-radius:inherit}
.elementor .media-split-media img,.elementor .showcase-image,.elementor .pm-wide-visual img{border-radius:var(--radius);box-shadow:var(--shadow)}
.elementor .showcase-stack .showcase-image:last-child{border:6px solid #121224}
.elementor .pm-wide-visual img{width:100%;max-height:560px;object-fit:cover}
/* Original "editorial split": the 64px grid row-gap sits between heading and copy */
.media-split.align-start .media-split-copy>.section-heading+.copy-columns{padding-top:64px}
@media(max-width:600px){.article-prose .entry-content>h2,.article-prose .entry-content .article-section>h2{font-size:27px}}
.article-prose .entry-content>.article-intro+h2{margin-top:0}
.article-prose .entry-content>*:last-child{margin-bottom:42px}
/* Original ≤360px rule (.section{padding:68px 0}). Elementor has no breakpoint that small,
   so demo section containers carry the "pm-section" class to receive it. */
@media(max-width:360px){.e-con.pm-section{--padding-top:68px!important;--padding-bottom:68px!important}}
