/* How It Works page in Only Audit's colours: orange #f78b30 and slate #344f61.
   Every rule is scoped so the WordPress theme's global styles stay out. */
#onlyaudit-how-it-works, #onlyaudit-how-it-works * { box-sizing: border-box; }
#onlyaudit-how-it-works { display: block; font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.5; color: #1c2b35; background: #fff; }
#onlyaudit-how-it-works a { text-decoration: none !important; }
#onlyaudit-how-it-works a::before, #onlyaudit-how-it-works a::after { content: none !important; display: none !important; }
#onlyaudit-how-it-works h1, #onlyaudit-how-it-works h2, #onlyaudit-how-it-works h3 { font-family: inherit; text-transform: none; margin: 0; padding: 0; color: #1c2b35; letter-spacing: -0.02em; }
#onlyaudit-how-it-works p { margin: 0; }
#onlyaudit-how-it-works ol { list-style: none; margin: 0; padding: 0; }
#onlyaudit-how-it-works li { margin: 0; padding: 0; }

/* Gentle fade-up as sections scroll into view (only when scripts run and
   the visitor hasn't asked for less motion). */
.oa-js #onlyaudit-how-it-works .oa-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.oa-js #onlyaudit-how-it-works .oa-reveal.oa-in { opacity: 1; transform: none; }
.oa-js #onlyaudit-how-it-works .oa-hiw-step:nth-child(2) { transition-delay: 0.06s; }
.oa-js #onlyaudit-how-it-works .oa-hiw-step:nth-child(3) { transition-delay: 0.12s; }
.oa-js #onlyaudit-how-it-works .oa-hiw-step:nth-child(4) { transition-delay: 0.18s; }
.oa-js #onlyaudit-how-it-works .oa-hiw-step:nth-child(5) { transition-delay: 0.24s; }

/* Intro and split share a beige band that runs edge to edge. */
#onlyaudit-how-it-works .oa-hiw-intro, #onlyaudit-how-it-works .oa-hiw-split { box-shadow: 0 0 0 100vmax #f6f3ef; clip-path: inset(0 -100vmax); background: #f6f3ef; }
#onlyaudit-how-it-works .oa-hiw-intro { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 20px clamp(32px, 4vw, 48px); }
#onlyaudit-how-it-works h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; font-weight: 700; }
#onlyaudit-how-it-works .oa-hiw-lede { margin-top: 20px; font-size: 18px; line-height: 1.65; color: #4a5b66 !important; max-width: 60ch; }

/* You / us */
#onlyaudit-how-it-works .oa-hiw-split { max-width: 1280px; margin: 0 auto; padding: 0 20px clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
#onlyaudit-how-it-works .oa-hiw-side { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: #fff; border: 1px solid #e7e1da; }
#onlyaudit-how-it-works .oa-hiw-side-us { background: #1c2b35; border-color: #1c2b35; }
#onlyaudit-how-it-works .oa-hiw-side-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #f6f3ef; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7c86; }
#onlyaudit-how-it-works .oa-hiw-side-us .oa-hiw-side-tag { background: rgba(247,139,48,0.16); color: #f78b30; }
#onlyaudit-how-it-works .oa-hiw-logo { display: block; width: 150px; height: auto; max-width: 100%; }
#onlyaudit-how-it-works .oa-hiw-side h2 { margin-top: 16px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.2; }
#onlyaudit-how-it-works .oa-hiw-side p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: #4a5b66 !important; }
#onlyaudit-how-it-works .oa-hiw-side-us h2 { color: #fff !important; }
#onlyaudit-how-it-works .oa-hiw-side-us p { color: #b9c7d0 !important; }
#onlyaudit-how-it-works .oa-hiw-handover { display: grid; place-items: center; }
#onlyaudit-how-it-works .oa-hiw-handover svg { width: 44px; height: 44px; padding: 10px; border-radius: 999px; background: #f78b30; fill: #1c2b35; }

/* Steps */
#onlyaudit-how-it-works .oa-hiw-steps-wrap { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) 20px clamp(40px, 5vw, 64px); }
#onlyaudit-how-it-works .oa-hiw-steps-wrap > h2, #onlyaudit-how-it-works .oa-hiw-cta h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.15; }
#onlyaudit-how-it-works .oa-hiw-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
#onlyaudit-how-it-works .oa-hiw-steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, #f78b30, #f3c9a4); }
#onlyaudit-how-it-works .oa-hiw-step { position: relative; }
#onlyaudit-how-it-works .oa-hiw-step-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: #fff; border: 2px solid #f78b30; font-size: 20px; font-weight: 700; color: #1c2b35; transition: background 0.2s ease, color 0.2s ease; }
#onlyaudit-how-it-works .oa-hiw-step:hover .oa-hiw-step-num { background: #f78b30; }
#onlyaudit-how-it-works .oa-hiw-step-body { margin-top: 20px; }
#onlyaudit-how-it-works .oa-hiw-step-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e57a1f; }
#onlyaudit-how-it-works .oa-hiw-step h3 { margin-top: 6px; font-size: 19px; font-weight: 700; }
#onlyaudit-how-it-works .oa-hiw-step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: #4a5b66 !important; }
#onlyaudit-how-it-works .oa-hiw-steps-cta { margin-top: 36px; }

/* Buttons */
#onlyaudit-how-it-works .oa-hiw-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; background: #f78b30; color: #1c2b35 !important; font-size: 16px; font-weight: 700; transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
#onlyaudit-how-it-works .oa-hiw-btn:hover { background: #e57a1f; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(247,139,48,0.35); }
#onlyaudit-how-it-works .oa-hiw-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #fff !important; }
#onlyaudit-how-it-works .oa-hiw-btn-ghost:hover { background: transparent; border-color: #f78b30; color: #f78b30 !important; box-shadow: none; }

/* Stats */
#onlyaudit-how-it-works .oa-hiw-stats { max-width: 1240px; margin: 0 auto clamp(24px, 3vw, 40px); padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 24px; background: #1c2b35; }
#onlyaudit-how-it-works .oa-hiw-stat { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 8px clamp(12px, 3vw, 40px); }
#onlyaudit-how-it-works .oa-hiw-stat + .oa-hiw-stat { border-left: 1px solid rgba(255,255,255,0.14); }
#onlyaudit-how-it-works .oa-hiw-stat-icon { flex: 0 0 64px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(247,139,48,0.14); }
#onlyaudit-how-it-works .oa-hiw-stat-icon svg { width: 32px; height: 32px; fill: #f78b30; }
#onlyaudit-how-it-works .oa-hiw-stat-text { display: flex; flex-direction: column; gap: 4px; }
#onlyaudit-how-it-works .oa-hiw-stat b { font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #f78b30; white-space: nowrap; }
#onlyaudit-how-it-works .oa-hiw-stat-text span { font-size: 15px; color: #dfe7ec; max-width: 26ch; }
@media (max-width: 1280px) { #onlyaudit-how-it-works .oa-hiw-stats { margin-left: 20px; margin-right: 20px; } }
@media (max-width: 767px) {
  #onlyaudit-how-it-works .oa-hiw-stats { grid-template-columns: minmax(0, 1fr); }
  #onlyaudit-how-it-works .oa-hiw-stat { justify-content: flex-start; padding: 16px 4px; }
  #onlyaudit-how-it-works .oa-hiw-stat + .oa-hiw-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
  #onlyaudit-how-it-works .oa-hiw-stat-icon { flex-basis: 52px; width: 52px; height: 52px; border-radius: 14px; }
  #onlyaudit-how-it-works .oa-hiw-stat-icon svg { width: 26px; height: 26px; }
}

/* Quote */
#onlyaudit-how-it-works .oa-hiw-quote { max-width: 1280px; margin: 0 auto; padding: clamp(24px, 3vw, 40px) 20px; }
#onlyaudit-how-it-works blockquote { margin: 0; padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px); border: 0; border-radius: 24px; background: #fdeee1; position: relative; overflow: hidden; }
#onlyaudit-how-it-works blockquote::before { content: "“"; position: absolute; right: 28px; top: -28px; font-size: 220px; line-height: 1; font-weight: 700; color: rgba(247,139,48,0.18); font-family: Georgia, serif; }
#onlyaudit-how-it-works blockquote p { position: relative; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; font-weight: 600; color: #1c2b35 !important; max-width: 36ch; font-style: normal; }
#onlyaudit-how-it-works blockquote footer { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: #6b7c86; background: none; padding: 0; }
#onlyaudit-how-it-works blockquote footer strong { color: #1c2b35; }

/* Keep the theme's quote font and dash off the quote. */
#onlyaudit-how-it-works blockquote, #onlyaudit-how-it-works blockquote p, #onlyaudit-how-it-works blockquote footer, #onlyaudit-how-it-works blockquote strong, #onlyaudit-how-it-works blockquote span { font-family: 'Montserrat', system-ui, sans-serif !important; font-style: normal !important; }
#onlyaudit-how-it-works blockquote footer::before, #onlyaudit-how-it-works blockquote footer::after { content: none !important; display: none !important; }

/* FAQ / testimonials */
#onlyaudit-how-it-works .oa-hiw-more { max-width: 1280px; margin: 0 auto; padding: clamp(24px, 3vw, 40px) 20px clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#onlyaudit-how-it-works .oa-hiw-more-card { position: relative; display: block; padding: 28px 80px 28px 28px; border-radius: 20px; border: 1px solid #e7e1da; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
#onlyaudit-how-it-works .oa-hiw-more-card:hover { border-color: #f78b30; box-shadow: 0 12px 32px rgba(28,43,53,0.08); }
#onlyaudit-how-it-works .oa-hiw-more-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e57a1f; }
#onlyaudit-how-it-works .oa-hiw-more-card h3 { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.3; }
#onlyaudit-how-it-works .oa-hiw-more-arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: #f6f3ef; transition: background 0.2s ease; }
#onlyaudit-how-it-works .oa-hiw-more-arrow svg { width: 20px; height: 20px; fill: #1c2b35; }
#onlyaudit-how-it-works .oa-hiw-more-card:hover .oa-hiw-more-arrow { background: #f78b30; }

/* Closing call to action */
#onlyaudit-how-it-works .oa-hiw-cta { max-width: 1280px; margin: 0 auto clamp(48px, 6vw, 80px); padding: clamp(32px, 4vw, 48px); border-radius: 24px; background: #1c2b35; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
#onlyaudit-how-it-works .oa-hiw-cta h2 { color: #fff !important; font-size: clamp(24px, 2.4vw, 32px); }
#onlyaudit-how-it-works .oa-hiw-cta p { margin-top: 8px; color: #b9c7d0 !important; font-size: 16px; }
#onlyaudit-how-it-works .oa-hiw-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#onlyaudit-how-it-works a:focus-visible { outline: 2px solid #f78b30; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  #onlyaudit-how-it-works .oa-hiw-btn, #onlyaudit-how-it-works .oa-hiw-more-card, #onlyaudit-how-it-works .oa-hiw-step-num { transition: none; }
  #onlyaudit-how-it-works .oa-hiw-btn:hover { transform: none; }
}
@media (max-width: 1320px) {
  #onlyaudit-how-it-works .oa-hiw-cta { margin-left: 20px; margin-right: 20px; }
}
/* Steps run down the page on smaller screens. */
@media (max-width: 1023px) {
  #onlyaudit-how-it-works .oa-hiw-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #onlyaudit-how-it-works .oa-hiw-steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, #f78b30, #f3c9a4); }
  #onlyaudit-how-it-works .oa-hiw-step { display: flex; gap: 20px; padding-bottom: 28px; }
  #onlyaudit-how-it-works .oa-hiw-step:last-child { padding-bottom: 0; }
  #onlyaudit-how-it-works .oa-hiw-step-num { flex: 0 0 56px; }
  #onlyaudit-how-it-works .oa-hiw-step-body { margin-top: 4px; }
}
@media (max-width: 767px) {
  #onlyaudit-how-it-works .oa-hiw-split { grid-template-columns: minmax(0, 1fr); }
  #onlyaudit-how-it-works .oa-hiw-handover svg { transform: rotate(90deg); }
  #onlyaudit-how-it-works .oa-hiw-more { grid-template-columns: minmax(0, 1fr); }
}
