/* ============================================================
   Snapeex — shared stylesheet
   Monochrome (black / white), rounded modern type (Quicksand)
   ============================================================ */

:root {
  /* Brand / text colors are driven by Astra Global Colors (Appearance -> Customize
     -> Global -> Colors). Changing the palette there updates the whole site.
     Fallbacks match the original design in case Astra vars are unavailable. */
  --brand:        var(--ast-global-color-0, #111111);
  --brand-dark:   var(--ast-global-color-1, #000000);
  --brand-light:  #3A3A3A;
  --brand-50:     #F2F2F2;
  --accent:       var(--ast-global-color-0, #111111);
  --ink:          var(--ast-global-color-2, #0A0A0A);
  --ink-2:        var(--ast-global-color-3, #2C2C2C);
  --muted:        var(--ast-global-color-6, #7A7A7A);
  --line:         var(--ast-global-color-7, #ECECEC);
  --line-2:       #D8D8D8;
  --bg:           #FFFFFF;
  --bg-soft:      var(--ast-global-color-5, #F7F7F7);
  --bg-soft-2:    #F0F0F0;
  --danger:       #D92D20;
  --warning:      #B58100;
  --radius:       16px;
  --radius-sm:    11px;
  --radius-lg:    26px;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.05), 0 2px 10px rgba(0,0,0,.04);
  --shadow-md:    0 8px 30px rgba(0,0,0,.09);
  --shadow-lg:    0 24px 70px rgba(0,0,0,.16);
  --maxw:         1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
/* Font family, base font-size, text color and heading sizes/weights are all
   inherited from Astra Global Typography & Colors (Appearance -> Customize).
   Only layout-specific overrides live here. */
body {
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas, video { max-width: 100%; }
img { display: block; }
/* Keep only tight heading rhythm; sizes/weights/family come from Astra globals. */
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { letter-spacing: -.03em; }
h2 { letter-spacing: -.02em; }
p  { margin: 0 0 1rem; }
.brand-accent { color: var(--brand); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn, .btn:hover, .btn:focus, .btn:active, .btn:visited {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: .98rem;
  padding: .82em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: 0 10px 26px rgba(0,0,0,.22); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-lg, .btn-lg:hover, .btn-lg:focus, .btn-lg:active, .btn-lg:visited { padding: 1.02em 2em; font-size: 1.05rem; }
.btn-sm, .btn-sm:hover, .btn-sm:focus, .btn-sm:active, .btn-sm:visited { padding: .58em 1.05em; font-size: .85rem; }
.btn-block { width: 100%; }

/* Header & primary navigation are rendered by the Astra theme (Customizer). */

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 44px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 460px at 84% 6%, rgba(0,0,0,.05), transparent 62%),
    radial-gradient(520px 400px at 6% 96%, rgba(0,0,0,.04), transparent 60%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: .8rem; padding: .5em 1.05em; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.section-head .eyebrow { background: var(--brand-50); color: var(--ink); }
.section-head .eyebrow .dot { background: var(--ink); }
.hero p.lead { font-size: 1.2rem; max-width: 540px; color: var(--ink-2); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 18px; }
.trust { display: flex; align-items: center; gap: 16px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.trust .stars { color: var(--ink); letter-spacing: 2px; }

/* Hero preview (before/after card) */
.preview-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px; position: relative;
}
.ba {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3;
  background:
    conic-gradient(#eee 90deg, #fff 90deg 180deg, #eee 180deg 270deg, #fff 270deg) 0 0 / 22px 22px;
}
.ba .half { position: absolute; inset: 0; display: grid; place-items: center; }
.ba .after-half { clip-path: inset(0 0 0 50%); }
.ba .label {
  position: absolute; bottom: 12px; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; background: rgba(10,10,10,.82); color: #fff; padding: .35em .7em; border-radius: 999px;
}
.ba .label.l { left: 12px; } .ba .label.r { right: 12px; }
.ba .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba .divider::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 36px; height: 36px; background: var(--ink); border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); font-size: 15px; color: #fff;
}

/* ---------- Logos strip ---------- */
.logos { padding: 30px 0 8px; }
.logos .row { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; opacity: .42; }
.logos .row span { font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -.02em; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h2 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.7); }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feat-card .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 18px; background: var(--ink); color: #fff;
}
.feat-card h3 { font-size: 1.15rem; }
.feat-card p { margin: 0; font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step .num {
  counter-increment: step; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; margin: 0; }

/* CTA band */
.cta-band {
  background: var(--ink); border-radius: var(--radius-lg); padding: 60px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #f1f1f1; color: var(--ink); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .42em 1.05em; border-radius: 999px;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.price-card .tier-desc { font-size: .9rem; color: var(--muted); min-height: 40px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 6px; }
.price .amount { font-size: 3rem; font-weight: 700; letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 13px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.price-card li .ck { color: var(--ink); font-weight: 800; flex: none; }
.price-card li.off { color: var(--muted); }
.price-card li.off .ck { color: var(--line-2); }
.price-card .btn { margin-top: auto; }

.billing-toggle { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); padding: 6px; border-radius: 999px; margin: 0 auto; border: 1px solid var(--line); }
.billing-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: .55em 1.3em; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button.active { background: var(--ink); color: #fff; }
.save-badge { background: #fff; color: var(--ink); font-size: .7rem; font-weight: 700; padding: .2em .6em; border-radius: 999px; margin-left: 4px; border: 1px solid var(--line-2); }
.billing-toggle button.active .save-badge { background: #fff; color: var(--ink); border: 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; font-size: .95rem; }

/* ---------- Footer widget columns (inside Astra's footer) ---------- */
.snap-foot-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.snap-foot-col a { display: block; font-size: .92rem; margin-bottom: 9px; opacity: .82; }
.snap-foot-col a:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding: 56px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .preview-card { max-width: 460px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .section { padding: 60px 0; }
  .feat-grid, .steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feat-card { padding: 20px 16px; }
  .feat-card .ico { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; }
  .feat-card h3 { font-size: 1rem; }
  .feat-card p { font-size: .86rem; }
  .step .num { width: 38px; height: 38px; font-size: .95rem; margin-bottom: 10px; }
  .step h3 { font-size: .95rem; }
  .step p { font-size: .82rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .container { padding: 0 18px; }
}

/* ===== Animated hamburger + mobile menu (Astra) ===== */
.ast-mobile-menu-buttons .menu-toggle,
.ast-button-wrap .menu-toggle,
.main-header-menu-toggle {
  transition: background-color .25s ease, transform .25s ease;
  border-radius: 8px;
}
.main-header-menu-toggle .mobile-menu-toggle-icon {
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
}
.main-header-menu-toggle svg.ast-mobile-svg {
  display: inline-block !important;
  transition: opacity .28s ease, rotate .32s cubic-bezier(.4,0,.2,1), scale .32s cubic-bezier(.4,0,.2,1);
  position: absolute;
  top: 0; left: 0;
}
.main-header-menu-toggle svg.ast-menu-svg {
  opacity: 1;
  rotate: 0deg;
  scale: 1;
}
.main-header-menu-toggle svg.ast-close-svg {
  opacity: 0;
  rotate: -90deg;
  scale: .6;
}
.main-header-menu-toggle.toggled svg.ast-menu-svg {
  opacity: 0;
  rotate: 90deg;
  scale: .6;
}
.main-header-menu-toggle.toggled svg.ast-close-svg {
  opacity: 1;
  rotate: 0deg;
  scale: 1;
}
.main-header-menu-toggle.toggled {
  background-color: rgba(0,0,0,.05);
}

/* Smooth reveal for the mobile nav panel */
.main-header-bar-navigation.ast-mobile-header-content,
.main-header-bar-navigation {
  transition: max-height .32s cubic-bezier(.4,0,.2,1), opacity .28s ease;
}
@media (max-width: 921px) {
  .main-header-bar-navigation #ast-mobile-site-navigation,
  .main-header-bar-navigation .main-header-menu {
    transition: opacity .3s ease .05s, transform .32s cubic-bezier(.4,0,.2,1);
  }
  .main-header-bar-navigation:not(.toggle-on) #ast-mobile-site-navigation {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }
  .main-header-bar-navigation.toggle-on #ast-mobile-site-navigation {
    opacity: 1;
    transform: translateY(0);
  }
  .main-header-bar-navigation.toggle-on .main-header-menu .menu-item {
    animation: snapeexMenuItemIn .32s cubic-bezier(.4,0,.2,1) both;
  }
  .main-header-bar-navigation.toggle-on .main-header-menu .menu-item:nth-child(1) { animation-delay: .04s; }
  .main-header-bar-navigation.toggle-on .main-header-menu .menu-item:nth-child(2) { animation-delay: .09s; }
  .main-header-bar-navigation.toggle-on .main-header-menu .menu-item:nth-child(3) { animation-delay: .14s; }
  .main-header-bar-navigation.toggle-on .main-header-menu .menu-item:nth-child(4) { animation-delay: .19s; }
}
@keyframes snapeexMenuItemIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Blog (archive + single) — matches site design language ===== */
#primary.ast-grid-3, #primary.content-area.primary { padding-top: 56px; padding-bottom: 40px; }
#primary .ast-container, .ast-container { max-width: var(--maxw); }
.ast-separate-container #primary,
#primary { background: transparent; }

/* Archive cards */
.ast-article-post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.ast-article-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.ast-article-post .cat-links { display: none; }
.ast-article-post .cat-links a {
  background: var(--brand-50); color: var(--ink); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .06em; padding: .35em .9em; border-radius: 999px;
}
.ast-article-post .entry-title { font-size: 1.3rem; margin: 0 0 .3em; }
.ast-article-post .entry-title a { color: var(--ink); }
.ast-article-post .entry-title a:hover { color: var(--brand); }
.ast-article-post .entry-meta { color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.ast-article-post .ast-excerpt-container p { color: var(--ink-2); margin: 0; }
.ast-article-post .ast-button, .ast-article-post .ast-read-more { display: none; }

/* Single post */
.ast-article-single { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); max-width: 760px; margin: 0 auto; }
.ast-article-single .entry-title { font-size: 2rem; margin-bottom: .3em; }
.ast-article-single .entry-meta { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.ast-article-single .entry-content { color: var(--ink-2); }
.ast-article-single .entry-content p { margin: 0 0 1.1em; line-height: 1.7; }
.ast-article-single .entry-content h2 { margin-top: 1.6em; }

/* Pagination */
.ast-pagination, nav.pagination, .navigation.pagination { max-width: var(--maxw); margin: 20px auto 0; padding: 0 24px; }
.ast-pagination a, .ast-pagination span.current,
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4em; height: 2.4em; padding: 0 .6em; margin-right: 6px;
  border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--ink); font-weight: 700;
}
.ast-pagination span.current, .pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Sticky header (desktop + mobile) =====
   position:fixed is used (not sticky) because sticky is disabled by the
   overflow-x:hidden set on html/body above (needed to stop horizontal swipe). */
#masthead.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
}
body:not(.wp-admin-bar) {
  padding-top: var(--snapeex-header-h, 0px);
}