/* Global styles — copied from the static design. Section styles live in each block. */
html, body { margin: 0; min-height: 100%; color: #fff; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
html { background: linear-gradient(180deg, #0A0F1D 0%, #101A2E 100%); }
* { box-sizing: border-box; }
body { background: transparent; }
img { max-width: 100%; height: auto; } /* width/height attrs reserve space (no layout shift) without stretching */
@media (pointer: coarse) { #aleemCursorDot2 { display: none !important; } }
.hover-card2, .problem-card2 { transition: border-color 0.3s ease, transform 0.3s ease; }
.hover-card2:hover, .problem-card2:hover { border-color: #4ADE80 !important; }
.footer-link2:hover { color: #4ADE80 !important; }
.pillar-card2:hover { transform: translateY(-6px); border-color: #4ADE80 !important; }
a[data-magnetic] { transition: filter 0.25s ease, box-shadow 0.3s ease; }
a[data-magnetic]:hover { filter: brightness(1.08); }
button[data-faq-trigger] { transition: background-color 0.25s ease; }
button[data-faq-trigger]:hover { background-color: rgba(148,163,184,0.06); }
@media (max-width: 640px) {
  .module-row { grid-template-columns: 1fr !important; }
  .module-row.rev > *:first-child { order: 2; }
}

/* Template-part wrapper: let the header sit directly in the page wrapper so it stays sticky */
.ay-page > .wp-block-template-part { display: contents; }
button[data-faq-trigger]:focus-visible, a[data-magnetic]:focus-visible { outline: 2px solid #4ADE80; outline-offset: 3px; }
[data-faq-panel] a { color: #4ADE80; text-decoration: none; }
.editor-styles-wrapper #aleemCursorDot2 { display: none; }

/* Hero headline: two lines on desktop, one flowing sentence on phones */
@media (max-width: 640px) {
  .ay-hero__line { display: inline !important; }
  /* Trust ticks: 2 per row, left-aligned */
  .ay-hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 18px !important; max-width: 360px; margin: 0 auto; text-align: left; }
  .ay-hero__trust > span { align-items: flex-start !important; line-height: 1.4; }
  .ay-hero__trust svg { flex-shrink: 0; margin-top: 2px; }
}

/* Swipe carousel (Modules) — phones only; desktop keeps the stacked rows */
.ay-carousel__dots { display: none; }
@media (max-width: 640px) {
  .ay-carousel {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 6vw;
    margin: 0 -6vw; padding: 4px 6vw 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ay-carousel::-webkit-scrollbar { display: none; }
  .ay-carousel > .module-row {
    flex: 0 0 86%; margin-bottom: 0 !important;
    scroll-snap-align: start;
    align-content: start; align-items: start !important;
    gap: 18px !important; padding: 22px !important;
  }
  /* Compact media inside the cards */
  .ay-modules .module-row > img { width: 110px !important; margin: 0 auto; }
  .ay-modules .ay-module__ph { aspect-ratio: 16 / 9 !important; }
  .ay-modules .module-row h3 { font-size: 19px !important; }
  .ay-modules .module-row p { font-size: 14.5px !important; }
  /* Bonuses: compact icon tile / wide image */
  .ay-bonuses .ay-bonus__icon { width: 64px; aspect-ratio: 1 !important; border-radius: 14px !important; }
  .ay-bonuses .ay-bonus__icon svg { width: 30px; height: 30px; }
  .ay-bonuses .module-row > img { aspect-ratio: 16 / 9 !important; }
  .ay-bonuses .module-row h3 { font-size: 18px !important; }

  .ay-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .ay-carousel__dot { all: unset; width: 8px; height: 8px; border-radius: 4px; background: rgba(148,163,184,0.35); cursor: pointer; transition: width 0.3s ease, background-color 0.3s ease; }
  .ay-carousel__dot.is-active { width: 22px; background: #4ADE80; }
  .ay-carousel__dot:focus-visible { outline: 2px solid #4ADE80; outline-offset: 3px; }
}

/* Footer — stacked links on phones, room for the back-to-top button */
@media (max-width: 640px) {
  .ay-footer { padding-bottom: 96px !important; }
  .ay-footer__nav { flex-direction: column; flex-wrap: nowrap !important; gap: 14px !important; width: 100%; }
  .ay-footer__nav a { font-size: 15px !important; padding: 2px 0; }
}

/* Logo links (header, footer, checkout) */
.ay-logo { transition: opacity 0.25s ease; }
.ay-logo:hover { opacity: 0.85; color: #fff; }
.ay-logo:focus-visible { outline: 2px solid #4ADE80; outline-offset: 4px; border-radius: 4px; }

/* Header — mobile menu (desktop layout is untouched) */
.ay-nav-toggle { all: unset; display: none; box-sizing: border-box; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: #fff; cursor: pointer; background: rgba(148,163,184,0.08); border: 1px solid rgba(148,163,184,0.2); transition: border-color 0.25s ease, background-color 0.25s ease; }
.ay-nav-toggle:hover { border-color: #4ADE80; background: rgba(74,222,128,0.08); }
.ay-nav-toggle:focus-visible, .ay-nav a:focus-visible { outline: 2px solid #4ADE80; outline-offset: 3px; }
.ay-nav-toggle__close { display: none; }
.ay-header.is-open .ay-nav-toggle__open { display: none; }
.ay-header.is-open .ay-nav-toggle__close { display: block; }

@media (max-width: 820px) {
  .ay-header { padding: 14px 6vw !important; }
  .ay-header__actions { gap: 10px !important; }
  .ay-header__cta { padding: 10px 16px !important; font-size: 13.5px !important; }
  .ay-nav-toggle { display: inline-flex; }
  .ay-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column !important; align-items: stretch !important; gap: 0 !important;
    padding: 8px 6vw 20px;
    background: #070B14;
    border-bottom: 1px solid rgba(148,163,184,0.12);
    box-shadow: 0 24px 40px -20px rgba(0,0,0,0.7);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .ay-header.is-open .ay-nav { opacity: 1; visibility: visible; transform: none; }
  .ay-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 17px !important; border-bottom: 1px solid rgba(148,163,184,0.1); }
  .ay-nav a:last-child { border-bottom: 0; }
  .ay-nav a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid #4ADE80; border-right: 2px solid #4ADE80; transform: rotate(45deg); opacity: 0.7; }
}
@media (max-width: 380px) {
  .ay-header__cta { padding: 9px 12px !important; font-size: 12.5px !important; }
}
@media (prefers-reduced-motion: reduce) { .ay-nav { transition: none; } }

/* Back to top — border ring fills with scroll progress */
.ay-to-top {
    all: unset;
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(7,11,20,0.7); backdrop-filter: blur(12px);
    color: #4ADE80; cursor: pointer; box-sizing: border-box;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.25s ease, box-shadow 0.3s ease;
}
.ay-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ay-to-top:hover { background: rgba(74,222,128,0.12); box-shadow: 0 0 20px rgba(74,222,128,0.35); }
.ay-to-top:focus-visible { outline: 2px solid #4ADE80; outline-offset: 3px; }
.ay-to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ay-to-top__track, .ay-to-top__progress { fill: none; stroke-width: 2; }
.ay-to-top__track { stroke: rgba(148,163,184,0.22); }
.ay-to-top__progress { stroke: #4ADE80; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.ay-to-top__icon { position: relative; transition: transform 0.25s ease; }
.ay-to-top:hover .ay-to-top__icon { transform: translateY(-2px); }
@media (max-width: 640px) { .ay-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }
.editor-styles-wrapper .ay-to-top { display: none; }

/* Page wrapper (static: outer div around header, sections and footer) */
.ay-page {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(180deg, #0A0F1D 0%, #101A2E 100%);
    background-image: linear-gradient(180deg, #0A0F1D 0%, #101A2E 100%), linear-gradient(rgba(74,222,128,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(74,222,128,0.09) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

/* Plain content pages (privacy policy) */
.ay-legal { max-width: 760px; margin: 0 auto; padding: 80px 6vw; color: #C5D2E3; font-size: 16px; line-height: 1.7; }
.ay-legal h1, .ay-legal h2, .ay-legal h3 { color: #fff; }
.ay-legal h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 32px; }
.ay-legal h2 { font-size: 24px; margin: 40px 0 12px; }
.ay-legal a { color: #4ADE80; }
