/* prepl.app — global styles — paste into Elementor Site Settings → Custom CSS */

  /* ========================================================
     BRAND TOKENS — single source of truth
     Change here once → updates everywhere.
     ======================================================== */
  :root {
    --color-primary: #2563EB;
    --color-primary-hover: #1D4ED8;
    --color-headline: #0F172A;
    --color-body: #1E293B;
    --color-muted: #475569;
    --color-bg: #F8FAFC;
    --color-hero-bg: #F1F5FF;
    --color-card: #FFFFFF;
    --color-border: #E2E8F0;
    --color-soft-blue: #DBEAFE;
    --color-cta-dark: #142B57;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
    --shadow-md: 0 8px 24px -8px rgba(15,23,42,.12);
    --shadow-card: 0 50px 100px -30px rgba(15,23,42,.45),
                   0 22px 45px -20px rgba(37,99,235,.28),
                   inset 0 1px 0 rgba(255,255,255,.8);

    --maxw: 1200px;
  }

  /* ========================================================
     RESET / BASE
     ======================================================== */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg);
    color: var(--color-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  ::selection { background: var(--color-soft-blue); color: var(--color-headline); }

  h1, h2, h3, h4 {
    font-family: 'Archivo', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: var(--color-headline);
    margin: 0;
  }
  p { margin: 0; }
  ul { margin: 0; padding: 0; list-style: none; }

  section[id] { scroll-margin-top: 88px; }

  .container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
  }
  @media (min-width: 1024px) { .container { padding: 0 32px; } }

  /* ========================================================
     SHARED COMPONENTS
     ======================================================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
  }
  .btn-primary:hover { background: var(--color-primary-hover); }
  .btn-secondary {
    background: #fff;
    color: var(--color-body);
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
  }
  .btn-secondary:hover { background: var(--color-bg); }
  .btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.3);
  }
  .btn-ghost:hover { background: rgba(255,255,255,.1); }

  .eyebrow {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--color-soft-blue);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
  }
  .eyebrow-alt { background: var(--color-hero-bg); }

  .icon { width: 18px; height: 18px; flex-shrink: 0; }
  .icon-sm { width: 14px; height: 14px; }
  .icon-lg { width: 22px; height: 22px; }

  /* dotted accent background used in hero */
  .dot-grid {
    background-image: radial-gradient(circle at 1px 1px, rgba(37,99,235,.18) 1px, transparent 0);
    background-size: 22px 22px;
  }

  /* ========================================================
     HERO — hand-drawn SVG underline (pure CSS)
     ======================================================== */
  .brand-underline {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    white-space: nowrap;
  }
  .brand-underline svg {
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -0.18em;
    width: 104%;
    height: 0.55em;
    overflow: visible;
    pointer-events: none;
  }
  .brand-underline svg path {
    fill: var(--color-primary);
    stroke: none;
    /* Draw-in via clip-path */
    animation: underline-draw 1.2s cubic-bezier(.22,1,.36,1) .35s both;
  }
  @keyframes underline-draw {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
  }

  /* ========================================================
     HERO — 3D floating brief card (pure CSS)
     ======================================================== */
  .brief-3d-wrapper { perspective: 1400px; position: relative; }
  .brief-3d-float {
    animation: brief-float 9s ease-in-out infinite;
    will-change: transform;
  }
  .brief-3d-card {
    transform-origin: center center;
    backface-visibility: hidden;
    animation: brief-swing 12s ease-in-out infinite;
    will-change: transform;
  }
  .brief-shadow-float {
    animation: brief-shadow 9s ease-in-out infinite;
  }
  @keyframes brief-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-22px); }
  }
  @keyframes brief-swing {
    0%   { transform: rotateX(8deg) rotateY(-16deg); }
    50%  { transform: rotateX(4deg) rotateY(10deg); }
    100% { transform: rotateX(8deg) rotateY(-16deg); }
  }
  @keyframes brief-shadow {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50%      { transform: scaleX(.78); opacity: .65; }
  }

  /* Fade-up entrance for hero text */
  .fade-up { opacity: 0; transform: translateY(16px); animation: fade-up .6s cubic-bezier(.22,1,.36,1) forwards; }
  .fade-up-1 { animation-delay: .05s; }
  .fade-up-2 { animation-delay: .15s; }
  .fade-up-3 { animation-delay: .25s; }
  .fade-up-4 { animation-delay: .35s; }
  .fade-up-5 { animation-delay: .45s; }
  .fade-up-6 { animation-delay: .55s; }
  @keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .brief-3d-float, .brief-3d-card, .brief-shadow-float,
    .fade-up, .brand-underline svg path { animation: none !important; }
    .fade-up { opacity: 1; transform: none; }
  }

  /* ========================================================
     HEADER & ELEMENTOR RESET
     ======================================================== */
  .prepl-site-header,
  .elementor-section.prepl-site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.02) !important;
  }
  
  .prepl-site-header .elementor-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 80px !important;
    width: 100% !important;
  }
  @media (min-width: 1024px) {
    .prepl-site-header .elementor-container {
      padding: 0 32px !important;
    }
  }

  .prepl-site-header .elementor-column {
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .prepl-site-header .elementor-widget-wrap,
  .prepl-site-header .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Navigation Menu Custom Styles */
  .prepl-site-header .elementor-nav-menu a.elementor-item {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--color-muted) !important;
    padding: 10px 16px !important;
    transition: color 0.2s ease-in-out !important;
  }
  .prepl-site-header .elementor-nav-menu a.elementor-item:hover,
  .prepl-site-header .elementor-nav-menu a.elementor-item.elementor-item-active {
    color: var(--color-headline) !important;
    background: transparent !important;
  }

  /* Static header compatibility (Mockup) */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.02);
  }
  .site-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
  }
  .site-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 100%;
  }

  /* Target the logo images inside the header robustly */
  header a[aria-label="prepl.app"] img,
  .prepl-site-header a[aria-label="prepl.app"] img,
  .site-header a[aria-label="prepl.app"] img,
  .site-logo img,
  .prepl-site-header img[src*="logo"],
  .prepl-site-header img[src*="prepl"] {
    display: block !important;
    max-width: none !important;
    width: auto !important;
    object-fit: contain !important;
  }

  header a[aria-label="prepl.app"] img:first-of-type,
  .prepl-site-header a[aria-label="prepl.app"] img:first-of-type,
  .site-header a[aria-label="prepl.app"] img:first-of-type,
  .site-logo img:first-of-type,
  .prepl-site-header img[src*="icon"]:first-of-type {
    height: 36px !important;
  }

  header a[aria-label="prepl.app"] img:last-of-type,
  .prepl-site-header a[aria-label="prepl.app"] img:last-of-type,
  .site-header a[aria-label="prepl.app"] img:last-of-type,
  .site-logo img:last-of-type,
  .prepl-site-header img[src*="wordmark"]:last-of-type {
    height: 24px !important;
    margin-top: 2px !important;
  }

  .nav-desktop {
    display: none;
    gap: 32px;
    align-items: center;
  }
  .nav-desktop a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    transition: color 0.2s ease-in-out;
  }
  .nav-desktop a:hover {
    color: var(--color-headline);
  }

  .header-cta {
    display: none;
    gap: 20px;
    align-items: center;
  }
  
  /* Overrides for live CTA elements with inline styles */
  .prepl-site-header div[style*="justify-content:flex-end"] {
    gap: 20px !important;
  }
  .prepl-site-header div[style*="justify-content:flex-end"] a[href*="wp-login.php"] {
    color: var(--color-muted) !important;
    transition: color 0.2s ease-in-out !important;
  }
  .prepl-site-header div[style*="justify-content:flex-end"] a[href*="wp-login.php"]:hover {
    color: var(--color-headline) !important;
  }
  .prepl-site-header div[style*="justify-content:flex-end"] a[href*="#pricing"],
  .prepl-site-header div[style*="justify-content:flex-end"] a.start {
    background: var(--color-primary) !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-sm) !important;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
  }
  .prepl-site-header div[style*="justify-content:flex-end"] a[href*="#pricing"]:hover,
  .prepl-site-header div[style*="justify-content:flex-end"] a.start:hover {
    background: var(--color-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
  }
  .prepl-site-header div[style*="justify-content:flex-end"] a[href*="#pricing"]:active,
  .prepl-site-header div[style*="justify-content:flex-end"] a.start:active {
    transform: scale(0.97) !important;
  }

  /* Language Switcher Dropdown Styling */
  .prepl-lang-dropdown {
    position: relative;
    display: inline-block;
  }
  .prepl-lang-dropdown button.prepl-lang-current {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--color-body) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-full) !important;
    border: 1px solid var(--color-border) !important;
    background: #fff !important;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .prepl-lang-dropdown button.prepl-lang-current:hover {
    border-color: rgba(37, 99, 235, 0.3) !important;
    background: var(--color-hero-bg) !important;
  }
  .prepl-lang-flag {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  }
  .prepl-lang-flag img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .prepl-lang-slug {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--color-headline) !important;
  }
  .prepl-lang-chevron {
    color: var(--color-muted) !important;
    transition: transform 0.2s ease !important;
  }
  .prepl-lang-dropdown:hover .prepl-lang-chevron {
    transform: translateY(1px) !important;
  }
  
  /* Dropdown List Styling */
  .prepl-lang-list {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    z-index: 1001 !important;
    background: #fff !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 6px !important;
    min-width: 100px !important;
    display: none !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  
  /* Bridge physical gap to keep hover stable */
  .prepl-lang-list::before {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    height: 12px !important;
    background: transparent !important;
    pointer-events: auto !important;
  }

  /* Show dropdown on hover or on click toggle (via is-open class) */
  .prepl-lang-dropdown:hover .prepl-lang-list,
  .prepl-lang-dropdown.is-open .prepl-lang-list,
  .prepl-lang-dropdown.is-active .prepl-lang-list {
    display: flex !important;
  }
  .prepl-lang-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .prepl-lang-list a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: var(--radius-sm) !important;
    color: var(--color-body) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    text-decoration: none !important;
  }
  .prepl-lang-list a:hover {
    background: var(--color-hero-bg) !important;
    color: var(--color-primary) !important;
  }

  @media (min-width: 1024px) {
    .nav-desktop { display: flex; }
    .header-cta { display: flex; }
  }

  /* Mobile UI Responsive Layout & Mobile Menu Drawers */
  @media (max-width: 1023px) {
    /* Set parents static so absolute mobile drawer aligns to the full-width header container */
    .prepl-site-header,
    .prepl-site-header .elementor-container {
      position: relative !important;
    }
    .prepl-site-header .elementor-column,
    .prepl-site-header .elementor-widget-wrap,
    .prepl-site-header .elementor-widget,
    .prepl-site-header .elementor-widget-container {
      position: static !important;
    }
    .prepl-lang-dropdown {
      position: relative !important;
    }

    .prepl-site-header .elementor-container {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      height: 72px !important; /* Slightly more compact header height on mobile */
    }
    
    /* Re-order elements: Logo left, Language Switcher middle-right, Burger far-right */
    .prepl-site-header .elementor-column:nth-child(1) {
      order: 1 !important;
      flex-grow: 0 !important;
      width: auto !important;
    }
    .prepl-site-header .elementor-column:nth-child(3) {
      order: 2 !important;
      margin-left: auto !important;
      margin-right: 16px !important;
      flex-grow: 0 !important;
      width: auto !important;
    }
    .prepl-site-header .elementor-column:nth-child(2) {
      order: 3 !important;
      flex-grow: 0 !important;
      width: auto !important;
    }

    /* Hide standard CTA buttons in the header on mobile/tablet */
    .prepl-site-header div[style*="justify-content:flex-end"] a[href*="wp-login.php"],
    .prepl-site-header div[style*="justify-content:flex-end"] a[href*="#pricing"],
    .prepl-site-header div[style*="justify-content:flex-end"] a.start {
      display: none !important;
    }

    /* Target the hamburger icon wrapper */
    .prepl-site-header .elementor-menu-toggle {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: 40px !important;
      height: 40px !important;
      border-radius: var(--radius-md) !important;
      border: 1px solid var(--color-border) !important;
      background: #fff !important;
      color: var(--color-headline) !important;
      padding: 0 !important;
      cursor: pointer;
      transition: background-color 0.2s, border-color 0.2s, color 0.2s !important;
      box-shadow: var(--shadow-sm) !important;
    }
    .prepl-site-header .elementor-menu-toggle:hover,
    .prepl-site-header .elementor-menu-toggle.elementor-active {
      background: var(--color-hero-bg) !important;
      border-color: rgba(37, 99, 235, 0.3) !important;
      color: var(--color-primary) !important;
    }
    .prepl-site-header .elementor-menu-toggle svg {
      width: 20px !important;
      height: 20px !important;
      fill: currentColor !important;
    }

    /* Premium Slide-Down Mobile Drawer Menu Overrides */
    .prepl-site-header .elementor-nav-menu--dropdown {
      position: absolute !important;
      top: 100% !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      background: #ffffff !important;
      border-bottom: 1px solid var(--color-border) !important;
      box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02) !important;
      padding: 24px !important;
      z-index: 999 !important;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
    }
    
    .prepl-site-header .elementor-nav-menu--dropdown ul {
      display: flex !important;
      flex-direction: column !important;
      gap: 16px !important;
      padding: 0 !important;
      margin: 0 !important;
      list-style: none !important;
    }
    
    .prepl-site-header .elementor-nav-menu--dropdown ul li {
      margin: 0 !important;
      padding: 0 !important;
    }
    
    .prepl-site-header .elementor-nav-menu--dropdown ul li a {
      display: block !important;
      font-family: 'Inter', sans-serif !important;
      font-size: 16px !important;
      font-weight: 500 !important;
      color: var(--color-body) !important;
      padding: 8px 0 !important;
      border-bottom: 1px solid rgba(241, 245, 249, 0.6) !important;
      transition: color 0.2s ease, padding-left 0.2s ease !important;
      text-decoration: none !important;
    }
    
    .prepl-site-header .elementor-nav-menu--dropdown ul li:last-child a {
      border-bottom: none !important;
    }
    
    .prepl-site-header .elementor-nav-menu--dropdown ul li a:hover,
    .prepl-site-header .elementor-nav-menu--dropdown ul li a:focus {
      color: var(--color-primary) !important;
      padding-left: 6px !important;
    }
  }

  /* ========================================================
     HERO LAYOUT
     ======================================================== */
  .hero {
    position: relative;
    overflow: hidden;
    background: var(--color-hero-bg);
  }
  .hero .accent-1, .hero .accent-2 {
    position: absolute; pointer-events: none;
  }
  .hero .accent-1 { right: 0; top: 40px; height: 288px; width: 288px; opacity: .6; }
  .hero .accent-2 { left: 33%; bottom: 0; height: 160px; width: 160px; opacity: .4; }
  .hero .inner { position: relative; padding: 64px 0 96px; }
  @media (min-width: 1024px) { .hero .inner { padding: 96px 0 128px; } }
  .hero .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
  }
  @media (min-width: 1024px) {
    .hero .grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  }

  .hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--color-soft-blue);
    padding: 6px 14px; border-radius: var(--radius-full);
    font-size: 14px; color: var(--color-body); box-shadow: var(--shadow-sm);
  }
  .hero-pill .icon { color: var(--color-primary); }
  .hero-pill span { font-weight: 500; }

  .hero h1 {
    margin-top: 24px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.05;
  }
  @media (min-width: 768px) { .hero h1 { font-size: 52px; } }
  @media (min-width: 1024px) { .hero h1 { font-size: 64px; } }
  .hero h1 .dot { color: var(--color-primary); }

  .hero-sub {
    margin-top: 24px;
    font-size: 18px;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 560px;
  }
  @media (min-width: 768px) { .hero-sub { font-size: 20px; } }

  .hero-ctas {
    margin-top: 32px;
    display: flex; flex-direction: column; gap: 12px;
  }
  @media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

  .hero-features {
    margin-top: 28px;
    display: flex; flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 14px;
    color: var(--color-muted);
  }
  .hero-features li { display: inline-flex; align-items: center; gap: 8px; }
  .hero-features .icon { color: var(--color-primary); width: 16px; height: 16px; }

  .hero-social {
    margin-top: 32px;
    display: flex; align-items: center; gap: 16px;
  }
  .avatars { display: flex; }
  .avatars img {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid #fff; object-fit: cover;
    box-shadow: var(--shadow-sm);
    margin-left: -12px;
  }
  .avatars img:first-child { margin-left: 0; }
  .stars { color: #FACC15; font-size: 14px; letter-spacing: 1px; }
  .hero-social p { font-size: 14px; color: var(--color-muted); }

  /* ========================================================
     BRIEF MOCKUP CARD
     ======================================================== */
  .brief-wrapper { position: relative; }
  .brief-glow {
    position: absolute;
    inset: -24px -40px;
    background: linear-gradient(135deg, rgba(219,234,254,.6), transparent 50%, rgba(37,99,235,.15));
    border-radius: 36px;
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
  }
  .brief-shadow {
    position: absolute;
    left: 40px; right: 40px; bottom: -16px;
    height: 48px;
    background: rgba(30,41,59,.25);
    filter: blur(16px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
  }
  .brief-card {
    position: relative;
    display: flex;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
  }
  .brief-sidebar {
    width: 56px; flex-shrink: 0;
    background: var(--color-bg);
    border-right: 1px solid var(--color-border);
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 0; gap: 16px;
  }
  .brief-sidebar img.icon-logo { width: 36px; height: 36px; }
  .brief-sidebar button {
    width: 36px; height: 36px;
    border-radius: 8px; color: var(--color-muted);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
  }
  .brief-sidebar button:hover { background: #fff; color: var(--color-primary); }
  .brief-content { flex: 1; padding: 20px; }
  @media (min-width: 640px) { .brief-content { padding: 28px; } }

  .brief-head { display: flex; align-items: flex-start; justify-content: space-between; }
  .brief-head .eyebrow-text { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
  .brief-head h3 { margin-top: 4px; font-size: 20px; font-weight: 700; }
  @media (min-width: 640px) { .brief-head h3 { font-size: 24px; } }
  .brief-dots { display: flex; gap: 6px; padding-top: 4px; }
  .brief-dots span { width: 10px; height: 10px; border-radius: 50%; }
  .brief-dots span:nth-child(1) { background: #FCA5A5; }
  .brief-dots span:nth-child(2) { background: #FCD34D; }
  .brief-dots span:nth-child(3) { background: #86EFAC; }

  .brief-grid-3 {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  @media (min-width: 640px) { .brief-grid-3 { grid-template-columns: repeat(3, 1fr); } }
  .brief-grid-2 {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  @media (min-width: 640px) { .brief-grid-2 { grid-template-columns: repeat(2, 1fr); } }

  .mini-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: #fff;
    padding: 14px;
    transition: box-shadow .2s;
  }
  .mini-card:hover { box-shadow: var(--shadow-md); }
  .mini-card-head { display: flex; align-items: center; justify-content: space-between; }
  .mini-card-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
  }
  .icon-blue { background: var(--color-soft-blue); color: var(--color-primary); }
  .icon-green { background: #DCFCE7; color: #16A34A; }
  .icon-amber { background: #FEF3C7; color: #B45309; }
  .badge {
    display: inline-block;
    font-size: 10px; font-weight: 600;
    padding: 2px 6px; border-radius: var(--radius-full);
    background: #DCFCE7; color: #15803D;
  }
  .mini-card-label { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--color-headline); }
  .mini-card-body { margin-top: 4px; font-size: 11px; line-height: 1.6; color: var(--color-muted); }

  .mini-list-head {
    display: flex; align-items: center; gap: 8px;
  }
  .mini-list-head span:last-child { font-size: 12px; font-weight: 600; color: var(--color-headline); }
  .mini-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
  .mini-list li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 11px; color: var(--color-body);
  }
  .mini-list li svg { color: var(--color-primary); margin-top: 2px; width: 12px; height: 12px; flex-shrink: 0; }

  /* ========================================================
     AUDIENCE STRIP
     ======================================================== */
  .audience-strip {
    background: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  .audience-strip .inner { padding: 40px 0; }
  .audience-strip p.title {
    text-align: center;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--color-primary);
  }
  .audience-strip .row {
    margin-top: 24px;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 20px 40px;
  }
  .audience-strip .item { display: flex; align-items: center; gap: 10px; color: var(--color-body); font-weight: 600; }
  .audience-strip .item-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--color-hero-bg);
    border: 1px solid var(--color-soft-blue);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
  }

  /* ========================================================
     PROBLEM SECTION
     ======================================================== */
  .problem { background: var(--color-hero-bg); padding: 96px 0; }
  @media (min-width: 1024px) { .problem { padding: 128px 0; } }
  .problem .grid {
    display: grid; grid-template-columns: 1fr; gap: 48px;
  }
  @media (min-width: 1024px) {
    .problem .grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: flex-start; }
  }
  .problem h2 {
    margin-top: 20px;
    font-size: 32px; font-weight: 700; line-height: 1.1;
  }
  @media (min-width: 768px) { .problem h2 { font-size: 40px; } }
  @media (min-width: 1024px) { .problem h2 { font-size: 48px; } }
  .problem .steps { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
  .problem .steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--color-body); }
  .problem .step-icon {
    margin-top: 2px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--color-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .problem .step-icon svg { width: 14px; height: 14px; }
  .problem .steps li span:last-child { font-size: 17px; }

  .problem .compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
  }
  @media (min-width: 640px) {
    .problem .compare { grid-template-columns: 1fr auto 1fr; }
  }
  .pain-card {
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 24px;
    box-shadow: var(--shadow-sm);
  }
  .pain-card ul { display: flex; flex-direction: column; gap: 16px; }
  .pain-card li { display: flex; align-items: center; gap: 12px; }
  .pain-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--color-hero-bg);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .pain-card span.label { font-weight: 500; color: var(--color-body); }

  .solution-card {
    border-radius: var(--radius-lg);
    background: var(--color-soft-blue);
    border: 1px solid #BFDBFE;
    padding: 24px;
    box-shadow: var(--shadow-sm);
  }
  .solution-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
  }
  .solution-card p {
    margin-top: 16px;
    font-size: 17px; line-height: 1.6;
    color: var(--color-headline);
  }
  .solution-card strong { font-weight: 700; }

  /* Hand-drawn arrow (pure SVG draw-in via stroke-dasharray) */
  .hd-arrow {
    width: 100px; height: 40px;
    overflow: visible;
    display: block;
    margin: 0 auto;
  }
  .hd-arrow path {
    stroke: var(--color-primary);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: arrow-draw 1.1s ease-out .2s forwards;
  }
  @keyframes arrow-draw { to { stroke-dashoffset: 0; } }
  .hd-arrow-vertical { transform: rotate(90deg); }

  /* ========================================================
     HOW IT WORKS
     ======================================================== */
  .how { background: #fff; padding: 96px 0; }
  @media (min-width: 1024px) { .how { padding: 128px 0; } }
  .section-head { text-align: center; max-width: 640px; margin: 0 auto; }
  .section-head h2 {
    margin-top: 20px;
    font-size: 32px; font-weight: 700;
  }
  @media (min-width: 768px) { .section-head h2 { font-size: 40px; } }
  @media (min-width: 1024px) { .section-head h2 { font-size: 48px; } }
  .section-head p {
    margin-top: 16px;
    font-size: 18px;
    color: var(--color-muted);
  }
  .how .steps {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
  }
  @media (min-width: 768px) {
    .how .steps { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; }
  }
  .step-card {
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
  }
  .step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .step-head { display: flex; align-items: center; gap: 12px; }
  .step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--color-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px;
  }
  .step-icon-wrap {
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--color-soft-blue); color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
  }
  .step-card h3 { margin-top: 24px; font-size: 20px; font-weight: 700; }
  @media (min-width: 768px) { .step-card h3 { font-size: 22px; } }
  .step-card p { margin-top: 8px; color: var(--color-muted); line-height: 1.6; }
  .how .arrow-cell {
    display: none;
    align-items: center;
    justify-content: center;
  }
  @media (min-width: 768px) { .how .arrow-cell { display: flex; } }

  /* ========================================================
     USE CASES / AUDIENCE CARDS
     ======================================================== */
  .use-cases { background: var(--color-bg); padding: 96px 0; }
  @media (min-width: 1024px) { .use-cases { padding: 128px 0; } }
  .use-cases .cards {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  @media (min-width: 768px) { .use-cases .cards { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1280px) { .use-cases .cards { grid-template-columns: repeat(4, 1fr); } }
  .use-card {
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
  }
  .use-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .use-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--color-soft-blue); color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
  }
  .use-card:hover .use-card-icon { background: var(--color-primary); color: #fff; }
  .use-card h3 { margin-top: 24px; font-size: 20px; font-weight: 700; }
  .use-card p { margin-top: 8px; color: var(--color-muted); line-height: 1.6; }
  .use-card blockquote {
    margin: 20px 0 0 0;
    padding: 20px 0 0 0;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
    font-style: italic;
    color: var(--color-body);
    line-height: 1.6;
  }

  /* ========================================================
     PRICING
     ======================================================== */
  .pricing {
    background: #fff;
    padding: 96px 0;
    border-top: 1px solid var(--color-border);
  }
  @media (min-width: 1024px) { .pricing { padding: 128px 0; } }
  .pricing .tiers {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
  }
  @media (min-width: 768px) { .pricing .tiers { grid-template-columns: repeat(3, 1fr); } }
  .tier {
    position: relative;
    display: flex; flex-direction: column;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: #fff;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
  }
  .tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .tier.popular {
    border-color: var(--color-primary);
    background: #F8FBFF;
    box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-sm);
  }
  @media (min-width: 768px) { .tier.popular { transform: scale(1.02); } }
  .tier-badge {
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--color-primary); color: #fff;
    font-size: 12px; font-weight: 600;
    padding: 5px 14px; border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
  }
  .tier h3 { font-size: 26px; font-weight: 700; }
  .tier .tag { margin-top: 4px; font-size: 14px; color: var(--color-muted); }
  .tier .price-row { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
  .tier .price {
    font-family: 'Archivo', sans-serif;
    font-size: 40px; font-weight: 800; letter-spacing: -0.02em;
    color: var(--color-headline);
  }
  @media (min-width: 1024px) { .tier .price { font-size: 48px; } }
  .tier .per { font-size: 14px; color: var(--color-muted); }
  .tier .free { margin-top: 4px; font-size: 14px; font-weight: 500; color: #16A34A; }
  .tier ul {
    margin-top: 28px;
    flex: 1;
    display: flex; flex-direction: column; gap: 12px;
  }
  .tier ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--color-body); }
  .tick {
    margin-top: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--color-soft-blue); color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .tier.popular .tick { background: var(--color-primary); color: #fff; }
  .tick svg { width: 12px; height: 12px; }
  .tier .btn { margin-top: 32px; }

  /* ========================================================
     DARK CTA
     ======================================================== */
  .dark-cta {
    background: var(--color-bg) !important;
    padding-bottom: 96px !important;
    padding-left: max(24px, calc((100% - 1200px) / 2)) !important;
    padding-right: max(24px, calc((100% - 1200px) / 2)) !important;
  }
  @media (min-width: 1024px) {
    .dark-cta {
      padding-left: max(32px, calc((100% - 1200px) / 2)) !important;
      padding-right: max(32px, calc((100% - 1200px) / 2)) !important;
    }
  }
  .dark-cta .card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--color-cta-dark);
    padding: 40px;
  }
  @media (min-width: 1024px) { .dark-cta .card { padding: 64px; } }
  .dark-cta .dots {
    position: absolute; inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(circle at 1px 1px, rgba(219,234,254,.4) 1px, transparent 0);
    background-size: 26px 26px;
    pointer-events: none;
  }
  .dark-cta .row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (min-width: 1024px) {
    .dark-cta .row { grid-template-columns: 7fr 5fr; }
  }
  .dark-cta h2 {
    color: #fff;
    font-size: 32px; font-weight: 700; line-height: 1.1;
  }
  @media (min-width: 768px) { .dark-cta h2 { font-size: 40px; } }
  @media (min-width: 1024px) { .dark-cta h2 { font-size: 48px; } }
  .dark-cta .sub { margin-top: 16px; font-size: 17px; color: #CBD5E1; max-width: 560px; }
  .dark-cta .ctas {
    display: flex; flex-direction: column; gap: 12px;
  }
  @media (min-width: 640px) {
    .dark-cta .ctas { flex-direction: row; justify-content: flex-end; }
  }

  /* ========================================================
      FOOTER
      ======================================================== */
  .site-footer,
  .elementor-location-footer {
    background: var(--color-bg) !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    border-top: 1px solid var(--color-border) !important;
  }

  /* Make footer sections inherit the main background and span full width */
  .elementor-location-footer .elementor-section {
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Compact padding matching screenshot */
  .elementor-location-footer .elementor-section:first-of-type {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .elementor-location-footer .elementor-section:last-of-type {
    padding-top: 0 !important;
    padding-bottom: 32px !important;
  }

  /* Constrain inner content containers to follow the header 1200px width */
  .elementor-location-footer .elementor-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  @media (min-width: 1024px) {
    .elementor-location-footer .elementor-container {
      padding-left: 32px !important;
      padding-right: 32px !important;
    }
  }

  /* Elementor Footer Heading & Typography Alignment */
  .elementor-location-footer h4.elementor-heading-title {
    font-family: 'Archivo', sans-serif !important;
    font-weight: 700 !important;
    color: var(--color-headline) !important;
    font-size: 16px !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.01em !important;
  }
  .elementor-location-footer .elementor-icon-list-item,
  .elementor-location-footer .elementor-icon-list-item a {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: var(--color-muted) !important;
    text-decoration: none !important;
    transition: color 0.2s ease-in-out !important;
  }
  .elementor-location-footer .elementor-icon-list-item a:hover,
  .elementor-location-footer .elementor-icon-list-item a:hover .elementor-icon-list-text {
    color: var(--color-primary) !important;
  }
  .elementor-location-footer .elementor-icon-list-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Mobile UI Footer Responsive Styles */
  @media (max-width: 767px) {
    /* Stack footer columns vertically with neat gaps */
    .elementor-location-footer .elementor-container {
      flex-direction: column !important;
      align-items: stretch !important;
    }
    .elementor-location-footer .elementor-column {
      width: 100% !important;
      margin-bottom: 36px !important;
    }
    .elementor-location-footer .elementor-column:last-of-type {
      margin-bottom: 0 !important;
    }
    
    /* Perfect logo and paragraph alignments on mobile */
    .elementor-location-footer .elementor-widget-wrap {
      padding: 0 !important;
      margin: 0 !important;
    }
    .elementor-location-footer h4.elementor-heading-title {
      margin-bottom: 12px !important;
    }
    .elementor-location-footer .elementor-widget-text-editor p {
      max-width: 100% !important;
      margin-top: 16px !important;
      margin-bottom: 0 !important;
    }

    /* Centered, premium copyright row on mobile */
    .elementor-location-footer .elementor-section:last-of-type .elementor-widget-html .elementor-widget-container > div {
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      gap: 16px !important;
      padding-top: 24px !important;
    }
    .elementor-location-footer .elementor-section:last-of-type .elementor-widget-html .elementor-widget-container > div div {
      justify-content: center !important;
      gap: 24px !important;
    }
  }

  /* Centered padding for non-Elementor fallback footers */
  .site-footer .inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding-left: max(24px, calc((100% - 1200px) / 2)) !important;
    padding-right: max(24px, calc((100% - 1200px) / 2)) !important;
  }
  @media (min-width: 1024px) {
    .site-footer .inner {
      padding-left: max(32px, calc((100% - 1200px) / 2)) !important;
      padding-right: max(32px, calc((100% - 1200px) / 2)) !important;
    }
  }

  .site-footer .inner {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .site-footer .grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }
  @media (min-width: 640px) {
    .site-footer .grid { grid-template-columns: repeat(4, 1fr); }
  }
  .site-footer .brand-col { grid-column: span 2; }
  @media (min-width: 640px) { .site-footer .brand-col { grid-column: span 1; } }
  .site-footer .brand-col p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
    max-width: 320px;
  }
  .site-footer h4 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    color: var(--color-headline);
    font-size: 16px;
  }
  .site-footer ul.links { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
  .site-footer ul.links a {
    font-size: 14px;
    color: var(--color-muted);
    transition: color .2s;
  }
  .site-footer ul.links a:hover { color: var(--color-primary); }
  .site-footer .bottom {
    margin-top: 48px !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    padding-left: max(24px, calc((100% - 1200px) / 2)) !important;
    padding-right: max(24px, calc((100% - 1200px) / 2)) !important;
    border-top: 1px solid var(--color-border) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }
  @media (min-width: 640px) {
    .site-footer .bottom {
      flex-direction: row !important;
    }
  }
  @media (min-width: 1024px) {
    .site-footer .bottom {
      padding-left: max(32px, calc((100% - 1200px) / 2)) !important;
      padding-right: max(32px, calc((100% - 1200px) / 2)) !important;
    }
  }
  .site-footer .bottom p { font-size: 14px !important; color: var(--color-muted) !important; }
  .site-footer .bottom .legal { display: flex !important; align-items: center !important; gap: 20px !important; font-size: 14px !important; color: var(--color-muted) !important; }
  .site-footer .bottom .legal a:hover { color: var(--color-primary) !important; }

