/*
 Theme Name: Astra Child
 Template: astra
 Version: 2.0.50
*/
:root {
  --color-dark: #1a1410;
  --color-amber: #FDA63F;
  --color-amber-ghost: rgba(253,166,63,0.15);
  --color-amber-border: rgba(253,166,63,0.35);
  --color-white: #ffffff;
  --color-white-muted: rgba(255,255,255,0.65);
  --color-white-subtle: rgba(255,255,255,0.1);
  --color-body-bg: #ffffff;
  --color-surface: #f8f7f5;
  --color-text: #1a1410;
  --color-text-muted: #6b6560;
  --color-border: #e8e4df;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --section-pad: 80px 20px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-body-bg); margin: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-amber); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5,h6 { font-weight: 500; line-height: 1.2; margin: 0 0 1rem; color: var(--color-text); }
h1, h2, h3 { letter-spacing: -0.01em; }
h3 { letter-spacing: 0.04em; }
h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; }
h2 { font-size: clamp(28px, 4vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); letter-spacing: 0.04em; line-height: 1.4; font-weight: 500; word-spacing: 0.05em; }
#how-we-work .card h3 {
  letter-spacing: 0.04em;
  word-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.card h3 { letter-spacing: 0.015em; margin-bottom: 12px; }
p { font-size: 17px; line-height: 1.7; margin: 0 0 1.2rem; color: var(--color-text-muted); }
.eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-amber); margin-bottom: 12px; display: block; }
.dark-section h1,.dark-section h2,.dark-section h3 { color: var(--color-white); }
.dark-section p { color: var(--color-white-muted); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-pad { padding: var(--section-pad); }
.dark-section { background: var(--color-dark); }
.surface-section { background: var(--color-surface); }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.text-center { text-align: center; }
.btn { display: inline-block; font-family: var(--font-sans); font-size: 15px; font-weight: 500; padding: 13px 28px; border-radius: var(--radius-md); cursor: pointer; text-decoration: none; transition: opacity 0.15s, transform 0.1s; border: none; }
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:hover { color: #ffffff !important; opacity: 1; }
.btn-primary:hover { background: #e8922a; color: #ffffff !important; }
.btn-ghost:hover { background: var(--color-amber); color: #1a1410 !important; }
.amlo-nav-cta:hover { background: #e8922a !important; color: #ffffff !important; }
.btn-primary { background: var(--color-amber); color: var(--color-dark); }
.btn-ghost { background: var(--color-amber-ghost); color: var(--color-amber); border: 1px solid var(--color-amber-border); }
.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.amlo-nav { position: sticky; top: 0; z-index: 100; background: var(--color-dark); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 20px; }
.amloNavInner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 32px; }
.amlo-nav-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 32px; }
.amloNavLogo span { font-size: 18px; font-weight: 500; color: var(--color-white); letter-spacing: -0.02em; text-decoration: none; }
.amloNavLinks,
.amlo-nav-links { display: flex; align-items: center; gap: 32px; flex-wrap: nowrap; }
.amloNavLinks a,
.amlo-nav-links a { font-size: 14px; color: var(--color-white-muted); text-decoration: none; transition: color 0.15s; }
.amloNavLinks a:hover,
.amlo-nav-links a:hover { color: var(--color-white); }
.amloNavToggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.amloNavToggle span { display: block; width: 22px; height: 2px; background: var(--color-white); margin: 4px 0; }
.card h3, .card-dark h3 {
  letter-spacing: 0.01em;
  font-weight: 500;
  line-height: 1.25;
}

.card h3,
.value-card h3,
.feature-card h3 {
  letter-spacing: 0.03em;
  word-spacing: 0.04em;
  line-height: 1.3;
  font-weight: 600;
}
.card { background: var(--color-body-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; }
.card-dark { background: rgba(255,255,255,0.05); border: 1px solid rgba(253,166,63,0.2); border-radius: var(--radius-lg); padding: 28px; }
.card-dark h3 { color: var(--color-white); }
.card-dark p { color: var(--color-white-muted); }
.stat-number { font-size: 40px; font-weight: 500; color: var(--color-amber); line-height: 1; }
.stat-label { font-size: 13px; color: var(--color-white-muted); margin-top: 4px; }
.stats-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stats-row .divider { width: 1px; background: var(--color-white-subtle); }
blockquote.testimonial { margin: 0; padding: 0; border: none; }
blockquote.testimonial .quote-mark { font-size: 48px; line-height: 1; color: var(--color-amber); margin-bottom: 8px; }
blockquote.testimonial p { font-size: 15px; font-style: italic; color: var(--color-white-muted); line-height: 1.7; margin-bottom: 16px; }
blockquote.testimonial footer { border-top: 1px solid rgba(253,166,63,0.15); padding-top: 14px; }
blockquote.testimonial cite { font-style: normal; font-size: 13px; font-weight: 500; color: var(--color-white); display: block; }
blockquote.testimonial .community { font-size: 12px; color: var(--color-amber); margin-top: 3px; display: block; }

/* Testimonial pagination dots — circle by default, pill when active */
#testimonial-dots .testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.3s, background 0.3s;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
#testimonial-dots .testimonial-dot.active {
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background: #FDA63F;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
/* ============================================
   NAV STYLES
   ============================================ */
.amlo-nav-logo { display:flex;align-items:center;gap:10px;text-decoration:none;background:none !important;border:none !important;padding:0 !important;border-radius:0 !important;box-shadow:none !important; }
.amlo-nav-logo img { height:38px;width:auto;max-width:180px;object-fit:contain;display:block; }
.amlo-nav-wordmark { font-size:18px;font-weight:500;color:#ffffff;letter-spacing:-0.02em; }
#amlo-nav-toggle { display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px;margin-left:auto; }
#amlo-nav-toggle span { display:block;width:22px;height:2px;background:#ffffff;border-radius:1px;transition:transform 0.25s ease,opacity 0.25s ease; }

/* ============================================
   BUTTON HOVER STATES
   ============================================ */
.btn { transition: background 0.15s, color 0.15s, opacity 0.15s, transform 0.1s; }
.btn:hover { opacity: 1; text-decoration: none; }
.btn-primary:hover { background: #e8922a; color: #ffffff !important; }
.btn-ghost:hover { background: var(--color-amber); color: #1a1410 !important; }
a.amlo-nav-cta:hover { background: #e8922a !important; color: #ffffff !important; }

/* ============================================
   VALUE PROP CARDS
   ============================================ */
#how-we-work .card { padding: 32px; }
#how-we-work .card h3 { font-size: 19px; letter-spacing: 0.04em; word-spacing: 0.06em; line-height: 1.3; font-weight: 600; margin-bottom: 16px; }
#how-we-work .card h3 { letter-spacing: 0.04em; word-spacing: 0.06em; margin-bottom: 16px; font-weight: 600; line-height: 1.3; }
#how-we-work .card p { font-size: 15px; line-height: 1.8; }

/* ============================================
   TABLET (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-2-1 { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; }
  h1 { font-size: 42px; }
  .amlo-table-wrap table td,
  .amlo-table-wrap table th { padding: 14px 16px !important; font-size: 13px !important; }
  #testimonials-track article { min-width: calc(80% - 12px) !important; }
}

/* ============================================
   MOBILE NAV (triggers at 900px)
   ============================================ */
@media (max-width: 900px) {
  #amlo-nav-toggle { display: flex !important; }
  .amlo-nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a1410;
    flex-direction: column;
    padding: 8px 0 16px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 200;
  }
  .amlo-nav-links.open { display: flex !important; }
  .amlo-nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 15px;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    background: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
  .amlo-nav-links a:last-child {
    margin: 12px 24px 0 !important;
    background: var(--color-amber) !important;
    color: #1a1410 !important;
    border-radius: 6px !important;
    border-bottom: none !important;
    text-align: center;
    font-weight: 600;
    padding: 12px 20px !important;
  }
  .amlo-nav-links a:hover { background: rgba(255,255,255,0.05) !important; color: #ffffff !important; }
  .amlo-nav-links a:last-child:hover { background: #e8922a !important; color: #ffffff !important; }
}

/* ============================================
   MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 34px; line-height: 1.15; }
  h2 { font-size: 26px; }
  h3 { font-size: 18px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-1 { grid-template-columns: 1fr; }
  .grid-2-1 > div:last-child { order: -1; margin-bottom: 32px; }
  .stats-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px 16px; }
  .stats-row .divider { display: none; }
  .stat-number { font-size: 32px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; }
  .container { padding: 0 16px; }
  section { padding: 56px 16px !important; }
  .amlo-nav-inner { height: 56px; }
  .amlo-nav-links { top: 56px; }

  /* Table: show scrollable table on mobile */
  .amlo-table-wrap { display: block !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .amlo-table-mobile { display: none !important; }

  /* Testimonials: 1 card at a time on mobile */
  #testimonials-track article {
    min-width: 100% !important;
    padding: 24px !important;
  }
  #testimonials-carousel { overflow: hidden; }
}

/* ============================================
   SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .stat-number { font-size: 26px; }
  .btn { font-size: 14px; padding: 12px 20px; }
  section { padding: 48px 14px !important; }
  #how-we-work .card { padding: 20px; }
}

/* Testimonial carousel — prevent overflow */
.testimonials-carousel .slide,
.testimonials-carousel .card {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.testimonials-carousel blockquote,
.testimonials-carousel .quote-text,
.testimonials-carousel p {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* Mobile: 1 card at a time */
@media (max-width: 768px) {
  .testimonials-carousel .slide {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* Nav — Request Proposal CTA button */
@media (min-width: 769px) {
  .menu-toggle { display: none !important; }
}

#site-navigation .menu-item a[href*="request"],
#site-navigation .menu-item a[href*="proposal"],
.main-nav .nav-cta a {
  background: var(--color-amber) !important;
  color: #1a1410 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s ease !important;
}
#site-navigation .menu-item a[href*="request"]:hover,
#site-navigation .menu-item a[href*="proposal"]:hover {
  background: #e8922a !important;
}

/* Hide/show hamburger nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none;
    cursor: pointer;
    z-index: 100;
    padding: 8px;
  }

  /* Hide desktop nav links on mobile by default */
  .main-navigation ul,
  #site-navigation ul,
  .nav-menu-wrap ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #1a1410;
    padding: 16px 0;
  }

  /* Show nav when toggle is active */
  .main-navigation.is-open > ul,
  #site-navigation.is-open > ul,
  .nav-menu-wrap.is-open > ul {
    display: flex;
  }
}

/* end nav hamburger fixes */

/* Submenus hidden by default */
.main-navigation .sub-menu,
#site-navigation .sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1410;
  min-width: 200px;
  z-index: 1000;
  padding: 8px 0;
  border-radius: 8px;
}
/* Show on hover desktop */
@media (min-width: 769px) {
  .main-navigation .menu-item:hover > .sub-menu,
  #site-navigation .menu-item:hover > .sub-menu {
    display: block !important;
  }
}
/* Show when toggled on mobile */
.main-navigation .menu-item.is-open > .sub-menu,
#site-navigation .menu-item.is-open > .sub-menu {
  display: block !important;
}

/* Remove Astra submenu toggle placeholders (prevents empty amber boxes) */
button.ast-menu-toggle,
.dropdown-menu-toggle {
  display: none !important;
}

/* Trust bar — vertical divider full height */
.trust-bar .divider,
.badges-bar .divider,
.trust-bar hr,
.badges-bar hr,
.trust-bar .separator {
  width: 1px;
  height: auto;
  align-self: stretch;
  min-height: 100%;
  background: rgba(255,255,255,0.15);
  border: none;
  margin: 0 32px;
}

/* Ensure trust/badges rows stretch so vertical dividers fill */
.trust-bar,
.badges-bar {
  display: flex;
  align-items: stretch;
}

/* Comparison table — light background */
.comparison-table-wrap,
.comparison-section table {
  background: #f8f7f5;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.comparison-section th,
.comparison-section td {
  color: #1a1410;
}

.comparison-section thead th {
  font-size: 16px;
  font-weight: 600;
  color: #1a1410;
}

/* Mobile: enforce scroll */
@media (max-width: 768px) {
  .comparison-table-wrap {
    display: block;
    overflow-x: auto;
  }
  .comparison-section table {
    min-width: 560px;
  }
}

/* Table column dividers */
.comparison-section td:nth-child(1),
.comparison-section th:nth-child(1) {
  border-right: 1px solid rgba(26,20,16,0.15);
}

.comparison-section td:nth-child(2),
.comparison-section th:nth-child(2) {
  border-right: 1px solid rgba(26,20,16,0.15);
}

/* Fix whitespace in bottom-right corner */
.comparison-section table {
  border-collapse: collapse;
}

.comparison-section td,
.comparison-section th {
  vertical-align: middle;
  padding: 18px 24px;
}

/* Last row — no extra bottom padding */
.comparison-section tr:last-child td {
  padding-bottom: 24px;
}

/* Testimonial carousel — one card at a time */
.testimonials-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.testimonials-carousel .slide,
.testimonials-carousel .testimonial-card {
  box-sizing: border-box;
  width: 100% !important;
  flex: 0 0 100% !important;
  display: none;
}

.testimonials-carousel .slide.active,
.testimonials-carousel .testimonial-card.active {
  display: block !important;
}

.testimonials-carousel blockquote,
.testimonials-carousel .quote-text,
.testimonials-carousel p {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* Hamburger — transparent, amber lines only */
.menu-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
}

/* Hide hamburger completely on desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}

/* Mobile — show hamburger, position far right */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
  }

  /* Hide nav links on mobile by default */
  .main-navigation ul,
  #site-navigation ul,
  .nav-menu-wrap ul {
    display: none !important;
    flex-direction: column;
    width: 100%;
    background: #1a1410;
    padding: 16px 0;
  }

  /* Show nav when toggle opens it */
  .main-navigation.is-open > ul,
  #site-navigation.is-open > ul,
  .nav-menu-wrap.is-open > ul {
    display: flex !important;
  }
}

/* Nav — Request Proposal CTA button */
#site-navigation .menu-item a[href*="request"],
#site-navigation .menu-item a[href*="proposal"],
.main-nav .nav-cta a {
  background: var(--color-amber) !important;
  color: #1a1410 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s ease !important;
}

#site-navigation .menu-item a[href*="request"]:hover,
#site-navigation .menu-item a[href*="proposal"]:hover {
  background: #e8922a !important;
}

/* Center "Build Your Own Quote" in hero and bottom CTA */
.btn-build-quote,
.btn-group a[href*="/pricing/"] {
  justify-content: center !important;
  text-align: center !important;
}

/* Trust bar — stack label above badges */
.trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.trust-bar .trust-label {
  display: block;
  width: 100%;
  text-align: center !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26,20,16,0.5);
  margin: 0;
}

/* Desktop: single non-wrapping row of 4 badges */
.trust-bar .badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 32px !important;
  margin: 0;
  width: 100% !important;
  max-width: none !important;
}
.trust-bar .badges > * {
  min-width: 0;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px;
  text-align: left;
  flex: 1 1 0;
}
.trust-bar .badges > * > div:last-child {
  /* Force the two-line label to start flush-left next to the circle */
  text-align: left !important;
  flex: 1;
  min-width: 0;
  /* Keep the inner divs in the normal flow; don't change layout sizing */
}
.trust-bar .badges > * > div:last-child > div {
  text-align: left !important;
}

/* Remove old divider if it still exists */
.trust-bar .divider,
.trust-bar hr,
.trust-bar .separator {
  display: none !important;
}

/* ============================================
   FINAL override: Testimonial dots (pills)
   ============================================ */
#testimonial-dots button.testimonial-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.25) !important;
  padding: 0 !important;
  border: none !important;
  cursor: pointer !important;
}
#testimonial-dots button.testimonial-dot.active {
  width: 22px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #FDA63F !important;
}

/* Founder section — image above text on mobile */
@media (max-width: 768px) {
  .grid-2-1 {
    display: flex;
    flex-direction: column;
  }

  /* Move image (child 2) above text (child 1) */
  .grid-2-1 > div:last-child {
    order: -1;
    margin-bottom: 24px;
  }

  .grid-2-1 > div:first-child {
    order: 1;
  }

  /* Ensure image fills mobile width */
  .grid-2-1 > div:last-child img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
  }

  /* Footer: stack columns vertically on mobile */
  .footer-columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  /* Trust bar: stack badges vertically, full width each */
  .trust-bar .badges {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .trust-bar .badges > * {
    width: 100% !important;
    min-width: 0;
    flex: 0 0 auto;
  }
}

/* Final force: prevent any theme rule from turning these into a 2x2 grid */
section[aria-label="Certifications"] .trust-bar .badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  grid-template-columns: none !important;
}
section[aria-label="Certifications"] .trust-bar .badges > * {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

@media (max-width: 768px) {
  section[aria-label="Certifications"] .trust-bar .badges {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  section[aria-label="Certifications"] .trust-bar .badges > * {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}


/* Inner page content styles */
.inner-page-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--color-dark);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,20,16,0.1);
  letter-spacing: 0.01em;
}

.inner-page-content h3 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--color-dark);
  margin: 32px 0 12px;
}

.inner-page-content p {
  margin-bottom: 20px;
  color: #3a3530;
}

.inner-page-content a {
  color: var(--color-amber);
  text-decoration: none;
}

.inner-page-content a:hover {
  text-decoration: underline;
}

.inner-page-content strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* FINAL mobile submenu lock: in-panel, full-width, non-floating */
@media (max-width: 768px) {
  .amlo-nav.nav-open .amlo-nav-links .menu-item-has-children > .sub-menu,
  #site-navigation.is-open .amlo-nav-links .menu-item-has-children > .sub-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 10px !important;
    padding: 4px 0 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.04) !important;
    box-shadow: none !important;
    z-index: auto !important;
  }

  .amlo-nav.nav-open .amlo-nav-links .menu-item-has-children.sub-open > .sub-menu,
  #site-navigation.is-open .amlo-nav-links .menu-item-has-children.sub-open > .sub-menu {
    display: block !important;
  }

  .amlo-nav.nav-open .amlo-nav-links .sub-menu .menu-item a,
  #site-navigation.is-open .amlo-nav-links .sub-menu .menu-item a {
    font-size: 12px !important;
    line-height: 1.3 !important;
    padding: 9px 14px 9px 20px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  /* Mobile: Request Proposal should look like normal menu item */
  .amlo-nav.nav-open .amlo-nav-links .menu-item.nav-cta > a,
  #site-navigation.is-open .amlo-nav-links .menu-item.nav-cta > a,
  .amlo-nav.nav-open .amlo-nav-links > .menu-item:last-child > a,
  #site-navigation.is-open .amlo-nav-links > .menu-item:last-child > a {
    background: transparent !important;
    color: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    text-align: left !important;
    font-weight: 400 !important;
  }

  /* Mobile: normalize top-level nav typography (prevents bold Blog item) */
  .amlo-nav.nav-open .amlo-nav-links > .menu-item > a,
  #site-navigation.is-open .amlo-nav-links > .menu-item > a {
    font-weight: 400 !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
}

/* ============================================
   FIX 1: Mobile hamburger + dropdown UX
   ============================================ */

/* Mobile hamburger — hidden on desktop */
@media (min-width: 769px) {
  .menu-toggle { display: none !important; }
}

/* Mobile hamburger — show hamburger, hide menu by default */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    line-height: 0;
  }

  /* Hide nav links by default on mobile */
  .amlo-nav ul,
  .main-nav ul {
    display: none !important;
    flex-direction: column;
    width: 100%;
    background: #1a1410;
    padding: 12px 0;
    margin: 0;
  }

  /* Show nav when open */
  .amlo-nav.nav-open ul,
  .main-nav.nav-open ul {
    display: flex !important;
  }

  /* Mobile nav items */
  .amlo-nav.nav-open .menu-item a,
  .main-nav.nav-open .menu-item a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* Desktop dropdowns */
@media (min-width: 769px) {
  /* Parent item needs position relative for submenu to anchor to */
  .menu-item-has-children {
    position: relative;
  }

  /* Submenu hidden by default */
  .menu-item-has-children .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #1a1410;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  /* Show submenu on hover */
  .menu-item-has-children:hover .sub-menu {
    display: block !important;
  }

  /* Submenu links */
  .sub-menu .menu-item a {
    display: block;
    padding: 10px 18px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .sub-menu .menu-item a:hover {
    color: #FDA63F;
    background: rgba(255,255,255,0.05);
  }

  /* Remove stray submenu caret glyphs/icons */
  .sub-menu .ast-menu-toggle,
  .sub-menu .dropdown-menu-toggle,
  .sub-menu .menu-link .ast-icon,
  .sub-menu .menu-link::before,
  .sub-menu .menu-item::before {
    display: none !important;
    content: none !important;
  }
}

/* Mobile dropdowns — show submenus under parent when nav is open */
@media (max-width: 768px) {
  .menu-item-has-children {
    position: relative;
  }
  .menu-item-has-children .sub-menu {
    display: none !important;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 4px 0;
    margin: 4px 0 8px;
    box-shadow: none;
    z-index: auto;
  }

  .menu-item-has-children.sub-open .sub-menu {
    display: block !important;
  }

  /* Mobile menu cleanliness overrides */
  /* Only show the top-level menu list when nav is open (matches our JS nav-open toggle) */
  .amlo-nav-links { display: none !important; }
  .amlo-nav.nav-open .amlo-nav-links,
  .amlo-nav-links.open { display: flex !important; flex-direction: column !important; }

  /* Make menu items look like clean links on mobile (CTA keeps amber) */
  .amlo-nav-links .menu-item a,
  .main-nav .menu-item a,
  #site-navigation .menu-item a {
    background: transparent !important;
  }

  .amlo-nav-links .menu-item a {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    text-align: left !important;
    color: rgba(255,255,255,0.85) !important;
  }

  /* CTA button only */
  .amlo-nav-links .menu-item.nav-cta > a {
    background: var(--color-amber) !important;
    color: #1a1410 !important;
    border-bottom: none !important;
    margin: 12px 20px 0 !important;
    text-align: center !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
  }
  /* Fallback: if nav-cta class is missing, style last top-level item as CTA */
  .amlo-nav-links > .menu-item:last-child > a {
    background: var(--color-amber) !important;
    color: #1a1410 !important;
    border-bottom: none !important;
    margin: 12px 20px 0 !important;
    text-align: center !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
  }

  .sub-menu .menu-item a {
    padding: 9px 14px 9px 22px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }

  /* Mobile submenu labels: full text, one line, no truncation */
  .menu-item-has-children .sub-menu {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* Right-side mobile flyout (no inner scroll container) */
  .amlo-nav-inner {
    position: relative;
  }
  #site-navigation.main-navigation,
  .main-navigation.nav-menu-wrap,
  #site-navigation {
    position: absolute !important;
    top: 100%;
    left: auto;
    right: 0;
    width: auto !important;
    z-index: 180;
  }
  .amlo-nav-links {
    width: min(92vw, 390px) !important;
    margin: 8px 0 0 auto !important;
    padding: 8px 0 !important;
    background: #1a1410 !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    max-height: none;
    overflow: visible;
  }
  .amlo-nav.nav-open .amlo-nav-links,
  #site-navigation.is-open .amlo-nav-links,
  .amlo-nav-links.open {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Keep top-level links clean and evenly spaced */
  .amlo-nav-links > .menu-item > a {
    display: block !important;
    padding: 12px 18px !important;
    line-height: 1.35;
  }

  /* Guarantee nested submenu visibility when parent is opened */
  .amlo-nav.nav-open .menu-item-has-children.sub-open > .sub-menu,
  #site-navigation.is-open .menu-item-has-children.sub-open > .sub-menu,
  .menu-item-has-children.sub-open > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
  }
  .menu-item-has-children > .sub-menu {
    margin-top: 0;
  }

  /* Keep panel anchored and prevent page-wide takeover */
  .amlo-nav {
    position: sticky;
    top: 0;
    z-index: 300;
  }
  .amlo-nav.nav-open {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* Contact page — main 2/3 + 1/3 grid */
.contact-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin: 0 auto 64px;
  align-items: start;
}

.contact-form-col { min-width: 0; }
.contact-side-col { min-width: 0; }

/* Contact page — offices 2-column grid */
.contact-offices-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-offices-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* Full-bleed sections — break out of inner-page content container */
.inner-page-content .full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 0;
  padding-right: 0;
}

/* Contact page — override inner-page-content max-width for full-bleed elements */
.page-id-22 .inner-page-content {
  padding: 0;
  max-width: 100%;
}

.page-id-22 .contact-main-grid,
.page-id-22 .contact-offices-grid-wrap,
.page-id-22 .contact-bottom-cta {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Contact offices cards — desktop typography + spacing uniformity */
@media (min-width: 769px) {
  .page-id-22 .contact-offices-grid {
    align-items: stretch;
  }
  .page-id-22 .contact-offices-grid > div {
    min-height: 292px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .page-id-22 .contact-offices-grid > div p,
  .page-id-22 .contact-offices-grid > div a {
    letter-spacing: 0 !important;
    line-height: 1.55 !important;
  }
  .page-id-22 .contact-offices-grid > div p:first-child {
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }
  .page-id-22 .contact-offices-grid > div p:nth-child(2) {
    font-size: 16px !important;
    font-weight: 600 !important;
  }
  .page-id-22 .contact-offices-grid > div p:nth-child(3) {
    font-size: 14px !important;
  }
  .page-id-22 .contact-offices-grid > div a {
    font-size: 14px !important;
  }
}
\n\n/* Contact grids */\n.contact-offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; }\n.contact-main-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; margin: 0 auto 64px; align-items: start; }\n.contact-form-col, .contact-side-col { min-width: 0; }\n@media (max-width: 768px) { .contact-offices-grid { grid-template-columns: 1fr; } .contact-main-grid { grid-template-columns: 1fr; } }\n

/* Contact grids */
.contact-offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin: 0 auto 64px;
  align-items: start;
}
.contact-form-col, .contact-side-col { min-width: 0; }
@media (max-width: 768px) {
  .contact-offices-grid { grid-template-columns: 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; }
}
/* About page mobile hardening */
@media (max-width: 900px) {
  .page-id-3037 .about-founder-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .page-id-3037 .about-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .page-id-3037 .about-serve-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .page-id-3037 .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  .page-id-3037 .inner-page-content > div[style*="max-width:860px;margin:0 auto;padding:40px 20px;"] {
    padding: 24px 16px !important;
  }

  .page-id-3037 .about-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .page-id-3037 .about-cta-row a {
    width: 100% !important;
    text-align: center !important;
  }

  .page-id-3037 h1 {
    line-height: 1.15 !important;
  }

  .page-id-3037 h2 {
    line-height: 1.2 !important;
  }
}
/* About founder mobile reading order */
@media (max-width: 768px) {
  .page-id-3037 .about-founder-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .page-id-3037 .about-founder-media {
    order: 1;
  }

  .page-id-3037 .about-founder-content {
    order: 2;
  }

  .page-id-3037 .about-founder-eyebrow {
    margin-bottom: 10px !important;
  }

  /* Keep desktop credentials, hide on mobile for requested flow */
  .page-id-3037 .about-founder-credentials {
    display: none !important;
  }
}
/* About page mobile stack enforcement */
@media (max-width: 768px) {
  .page-id-3037 .about-pillars-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .page-id-3037 .about-serve-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
/* About page KPI stats: mobile vertical stack */
@media (max-width: 768px) {
  .page-id-3037 .about-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}
/* About founder: force photo above name on mobile */
@media (max-width: 768px) {
  .page-id-3037 .about-founder-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .page-id-3037 .about-founder-grid > .about-founder-media {
    order: 1 !important;
  }

  .page-id-3037 .about-founder-grid > .about-founder-content {
    order: 2 !important;
  }
}
/* About page mobile: tighten bottom CTA button gap */
@media (max-width: 768px) {
  .page-id-3037 .about-cta-row {
    gap: 6px !important;
  }

  .page-id-3037 .about-cta-row a {
    margin: 0 !important;
  }
}
/* About founder order: keep media block above name on mobile/tablet */
@media (max-width: 1024px) {
  .page-id-3037 .about-founder-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .page-id-3037 .about-founder-grid > .about-founder-media {
    order: 1 !important;
  }

  .page-id-3037 .about-founder-grid > .about-founder-content {
    order: 2 !important;
  }
}
/* About founder mobile flow: keep credentials at bottom */
@media (max-width: 1024px) {
  .page-id-3037 .about-founder-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  /* Flatten media wrapper so we can order eyebrow/photo/credentials independently */
  .page-id-3037 .about-founder-media {
    display: contents !important;
  }

  .page-id-3037 .about-founder-media > .about-founder-eyebrow {
    order: 1 !important;
    margin-bottom: 10px !important;
  }

  .page-id-3037 .about-founder-media > img {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-id-3037 .about-founder-content {
    order: 3 !important;
  }

  /* Show credentials and place after story text */
  .page-id-3037 .about-founder-media > .about-founder-credentials {
    display: block !important;
    order: 4 !important;
    margin-top: 8px !important;
  }
}
/* About page mobile final spacing tighten */
@media (max-width: 768px) {
  /* Tighten founder block spacing from photo to text */
  .page-id-3037 .about-founder-grid {
    gap: 6px !important;
  }

  .page-id-3037 .about-founder-media {
    margin: 0 !important;
    padding: 0 !important;
  }

  .page-id-3037 .about-founder-media > img {
    margin-bottom: 6px !important;
  }

  .page-id-3037 .about-founder-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .page-id-3037 .about-founder-content h2 {
    margin-top: 0 !important;
  }

  /* Tighten bottom CTA button spacing */
  .page-id-3037 .about-cta-row {
    gap: 2px !important;
  }

  .page-id-3037 .about-cta-row a {
    margin: 0 !important;
  }
}
/* Onboarding page (3304) — stats band mobile stack */
@media (max-width: 900px) {
  .page-id-3304 .onboarding-stats-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}
/* Onboarding page (3304) — quote readability + bottom CTA button spacing */
.page-id-3304 .inner-page-content blockquote.onboarding-founder-quote,
.page-id-3304 .inner-page-content blockquote.onboarding-founder-quote p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.page-id-3304 .onboarding-bottom-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.page-id-3304 .onboarding-bottom-cta-buttons a {
  margin: 0 !important;
}

@media (min-width: 520px) {
  .page-id-3304 .onboarding-bottom-cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* Onboarding 3304: keep footer CTAs stacked */
.page-id-3304 .onboarding-bottom-cta-buttons { flex-direction: column !important; align-items: center !important; gap: 10px !important; }
/* Onboarding transition page — remove white strip between bottom CTA and footer */
.page-id-3304 main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page-id-3304 .inner-page-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Astra / layout wrappers (safe if absent) */
.page-id-3304 #primary,
.page-id-3304 #content,
.page-id-3304 .site-content,
.page-id-3304 .ast-container,
.page-id-3304 .ast-plain-container,
.page-id-3304 .ast-separate-container .ast-article-single {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page-id-3304 footer,
.page-id-3304 .site-footer,
.page-id-3304 footer[class*="footer"] {
  margin-top: 0 !important;
  border-top: none !important;
  box-shadow: none !important;
}

/* CTA heading: strip inner-page h2 underline on dark band */
.page-id-3304 .onboarding-footer-cta h2 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.page-id-3304 .onboarding-page-bottom-dark {
  margin-bottom: 0 !important;
}
/* Onboarding 3304 — force quote text to pure white */
.page-id-3304 .inner-page-content blockquote.onboarding-founder-quote,
.page-id-3304 blockquote.onboarding-founder-quote,
.page-id-3304 .onboarding-founder-quote {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

.page-id-3304 .inner-page-content blockquote.onboarding-founder-quote p,
.page-id-3304 .inner-page-content blockquote.onboarding-founder-quote cite,
.page-id-3304 .inner-page-content blockquote.onboarding-founder-quote span,
.page-id-3304 .inner-page-content blockquote.onboarding-founder-quote * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
/* Onboarding 3304 — hairline between main and footer: body bg bleed / subpixel gap */
.page-id-3304 .onboarding-page-bottom-dark {
  padding-bottom: 6px !important;
  margin-bottom: -3px !important;
  background-color: #1a1410 !important;
}

.page-id-3304 main + footer {
  margin-top: -3px !important;
  padding-top: 63px !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

/* Onboarding 3304 — vertically center value cards between band top and bottom rule */
.page-id-3304 .inner-page-content > div:has(.onboarding-stats-row) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
  min-height: clamp(300px, 34vh, 460px) !important;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

@media (max-width: 900px) {
  .page-id-3304 .inner-page-content > div:has(.onboarding-stats-row) {
    min-height: unset !important;
    justify-content: flex-start !important;
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Onboarding 3304 — less space after Common Transition Topics (after box #4) */
.page-id-3304 .inner-page-content div[style*="padding-top:64px"][style*="margin-bottom:64px"] {
  margin-bottom: 28px !important;
}

/* Onboarding 3304 — remove stray <br> between stacked CTAs (flex gap handles spacing) */
.page-id-3304 .onboarding-bottom-cta-buttons br {
  display: none !important;
}

/* ========== Onboarding page 3304 — mobile polish (max-width: 768px) ========== */
@media (max-width: 768px) {
  /* Prevent horizontal bleed from full-bleed sections */
  body.page-id-3304 {
    overflow-x: hidden;
  }

  .page-id-3304 .inner-page-content {
    overflow-x: hidden;
    min-width: 0;
  }

  /* Hero */
  .page-id-3304 .inner-page-content > div:first-child[style*="background:#1a1410"][style*="width:100vw"] {
    padding: 52px 16px 44px !important;
  }

  .page-id-3304 .inner-page-content > div:first-child[style*="background:#1a1410"] p[style*="margin:0 auto 36px"] {
    margin-bottom: 28px !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  /* Main reading column */
  .page-id-3304 .inner-page-content div[style*="max-width:860px;margin:0 auto;padding:72px 20px"] {
    padding: 40px 16px !important;
  }

  /* Section headings (inline 32px) — slightly smaller, tighter rhythm */
  .page-id-3304 .inner-page-content h2[style*="font-size:32px"] {
    font-size: clamp(22px, 6.2vw, 28px) !important;
    line-height: 1.2 !important;
  }

  /* Core phase cards — stack amber icon above heading (mobile) */
  .page-id-3304 .inner-page-content div[style*="grid-template-columns:56px 1fr"][style*="border-radius:16px"] {
    padding: 20px 16px !important;
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 12px !important;
    align-items: start !important;
    justify-items: start !important;
  }

  .page-id-3304 .inner-page-content div[style*="grid-template-columns:56px 1fr"][style*="border-radius:16px"] > div:first-child {
    grid-row: 1 !important;
    grid-column: 1 !important;
    grid-row-end: auto !important;
    align-self: flex-start !important;
    justify-self: start !important;
  }

  .page-id-3304 .inner-page-content div[style*="grid-template-columns:56px 1fr"][style*="border-radius:16px"] > h3 {
    grid-row: 2 !important;
    grid-column: 1 !important;
  }

  .page-id-3304 .inner-page-content div[style*="grid-template-columns:56px 1fr"][style*="border-radius:16px"] > p {
    grid-row: 3 !important;
    grid-column: 1 !important;
  }

  /* 10-step process: single column + tighter step chips */
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Desktop uses interleaved DOM (col1: 1-5, col2: 6-10). On one column, fix visual order to 01-10. */
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(1) { order: 1; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(2) { order: 6; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(3) { order: 2; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(4) { order: 7; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(5) { order: 3; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(6) { order: 8; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(7) { order: 4; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(8) { order: 9; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(9) { order: 5; }
  .page-id-3304 .inner-page-content div[style*="display:grid;grid-template-columns:1fr 1fr;gap:16px"] > div:nth-child(10) { order: 10; }

  .page-id-3304 .inner-page-content div[style*="padding:18px 20px;background:#f8f7f5;border-radius:12px"] {
    padding: 14px 16px !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }

  .page-id-3304 .inner-page-content div[style*="padding:18px 20px;background:#f8f7f5;border-radius:12px"] br {
    display: none !important;
  }

  /* Full-process dark band */
  .page-id-3304 .inner-page-content div[style*="padding:48px 20px 56px"][style*="margin-bottom:64px"] {
    padding: 32px 16px 40px !important;
    margin-bottom: 36px !important;
  }

  /* Common topics cards */
  .page-id-3304 .inner-page-content div[style*="border:1px solid rgba(26,20,16,0.1);border-radius:12px;padding:28px 32px"] {
    padding: 18px 16px !important;
  }

  /* Common topics — stack numbered badge above heading (mobile) */
  .page-id-3304 .inner-page-content div[style*="grid-template-columns:36px 1fr"][style*="column-gap:20px"] {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 10px !important;
    align-items: start !important;
    justify-items: start !important;
  }

  .page-id-3304 .inner-page-content div[style*="grid-template-columns:36px 1fr"][style*="column-gap:20px"] > div:first-child {
    grid-row: 1 !important;
    grid-column: 1 !important;
    grid-row-end: auto !important;
    justify-self: start !important;
  }

  .page-id-3304 .inner-page-content div[style*="grid-template-columns:36px 1fr"][style*="column-gap:20px"] > h3 {
    grid-row: 2 !important;
    grid-column: 1 !important;
  }

  .page-id-3304 .inner-page-content div[style*="grid-template-columns:36px 1fr"][style*="column-gap:20px"] > p {
    grid-row: 3 !important;
    grid-column: 1 !important;
  }

  /* Stats value cards — allow shrink, comfortable padding */
  .page-id-3304 .onboarding-stats-row {
    gap: 12px !important;
  }

  .page-id-3304 .onboarding-stats-row > div[style*="grid-template-columns:48px"] {
    min-width: 0;
    padding: 16px 14px !important;
  }

  /* Bottom quote + CTA band */
  .page-id-3304 .onboarding-page-bottom-dark {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .page-id-3304 .inner-page-content div[style*="padding:44px 0 40px"] {
    padding: 24px 0 24px !important;
  }

  .page-id-3304 .inner-page-content div[style*="padding:32px 36px"][style*="border-radius:16px"] {
    padding: 22px 16px !important;
  }

  .page-id-3304 .onboarding-footer-cta {
    padding: 28px 0 44px !important;
  }

  .page-id-3304 .onboarding-bottom-cta-buttons a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* Tighter topics section title */
  .page-id-3304 .inner-page-content h2[style*="margin-bottom:48px"] {
    margin-bottom: 22px !important;
  }

  .page-id-3304 .inner-page-content div[style*="padding-top:64px"][style*="margin-bottom:64px"] {
    padding-top: 44px !important;
  }
}

/* Restore readable inner-page text width */
.inner-page-content:not(.amlo-resale-docs) {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .inner-page-content:not(.amlo-resale-docs) {
    padding-left: 16px;
    padding-right: 16px;
  }
}
