*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }

:root {
  --ink: #0a0a0a;
  --ink2: #444;
  --ink3: #777;
  --ink4: #aaa;
  --surface: #fafaf8;
  --s2: #f2f0eb;
  --s3: #e8e5de;
  --accent: #e8562a;
  --ah: #c94420;
  --navy: #14203b;
  --border: rgba(0, 0, 0, 0.08);
  --b2: rgba(0, 0, 0, 0.14);
  --r: 4px;
  --rl: 10px;
  --max: 1140px;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, sans-serif;
}

html { scroll-behavior: smooth }
body { font-family: var(--sans); background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased }

/* HERO */
.askops-hero { background: var(--navy); padding: 5rem 2rem 4.5rem; position: relative; overflow: hidden }
.askops-hero::after { content: ''; position: absolute; top: -120px; right: -80px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(232, 86, 42, 0.12) 0%, transparent 60%); pointer-events: none }
.askops-hero-i { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1 }
.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232, 86, 42, 0.95); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem }
.hero-eyebrow::before { content: ''; display: inline-block; width: 22px; height: 1px; background: var(--accent) }
.askops-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400; line-height: 1.15; color: #fff; letter-spacing: -0.02em; margin-bottom: 1.4rem; max-width: 820px }
.askops-hero h1 em { color: var(--accent); font-style: normal }
.hero-sub { font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); line-height: 1.75; margin-bottom: 2rem; max-width: 680px }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap }
.btn-primary { background: var(--accent); color: #fff; padding: 0.85rem 1.8rem; border-radius: var(--r); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: background 0.2s; display: inline-flex; align-items: center }
.btn-primary:hover { background: var(--ah) }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.85); padding: 0.85rem 1.6rem; border-radius: var(--r); font-size: 0.92rem; font-weight: 500; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.18); transition: all 0.2s }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1) }

/* SECTION */
.s { padding: 4.5rem 2rem }
.s-i { max-width: var(--max); margin: 0 auto }
.s-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem }
.s-eyebrow::before { content: ''; display: inline-block; width: 16px; height: 1px; background: var(--accent) }
.s-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; color: var(--ink); line-height: 1.2; margin-bottom: 0.8rem }
.s-sub { font-size: 1rem; color: var(--ink3); max-width: 640px; line-height: 1.7; margin-bottom: 2.5rem }

/* PULLQUOTE */
.pullquote { border-left: 3px solid var(--accent); padding: 1.1rem 1.5rem; margin: 2rem auto; background: var(--s2); border-radius: 0 4px 4px 0; max-width: var(--max) }
.pullquote p { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink); margin: 0 0 0.6rem; line-height: 1.6 }
.pullquote cite { font-size: 0.82rem; color: var(--ink3); font-style: normal; letter-spacing: 0.02em }
.pq-wrap { padding: 0 2rem }

/* HOW IT WORKS — STAGES */
.aq-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem }
.aq-stage { padding: 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--rl); border-top: 3px solid var(--accent) }
.aq-stage-num { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem }
.aq-stage h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--ink); margin-bottom: 0.6rem; line-height: 1.3 }
.aq-stage p { font-size: 0.9rem; color: var(--ink3); line-height: 1.65 }

/* QUERY EXAMPLES */
.aq-queries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem }
.aq-query { background: #fff; border: 1px solid var(--border); border-radius: var(--rl); padding: 1.2rem 1.3rem }
.aq-q-icon { font-size: 1.4rem; display: block; margin-bottom: 0.5rem }
.aq-q-label { font-size: 0.88rem; font-weight: 500; color: var(--ink); margin-bottom: 0.35rem }
.aq-q-ex { font-size: 0.78rem; color: var(--ink3); font-style: italic }

/* ERP COMPATIBILITY */
.aq-compat { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem }
.aq-compat-item { font-size: 0.85rem; padding: 0.45rem 1.1rem; border: 1px solid var(--b2); border-radius: 99px; color: var(--ink2); background: #fff }

/* COMPARISON TABLE */
.aq-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem }
.aq-compare-col { background: #fff; border: 1px solid var(--border); border-radius: var(--rl); padding: 1.8rem }
.aq-compare-col--active { border-top: 3px solid var(--accent) }
.aq-compare-head { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border) }
.aq-compare-col ul { list-style: none; padding: 0; margin-bottom: 1.5rem }
.aq-compare-col ul li { font-size: 0.88rem; color: var(--ink2); padding: 0.4rem 0; border-bottom: 1px solid var(--border); line-height: 1.5 }
.aq-compare-col ul li::before { content: '·'; color: var(--accent); font-weight: 700; margin-right: 0.5rem }
.aq-compare-cta { display: inline-block; background: var(--accent); color: #fff; padding: 0.65rem 1.3rem; border-radius: var(--r); font-size: 0.85rem; text-decoration: none; font-weight: 500 }
.aq-compare-cta:hover { background: var(--ah) }
.aq-compare-link { display: inline-block; color: var(--accent); font-size: 0.85rem; text-decoration: none; font-weight: 500; padding: 0.65rem 0 }
.aq-compare-link:hover { text-decoration: underline }

/* FAQ */
.aq-faqs { margin-top: 2rem }
.aq-faq { border-bottom: 1px solid var(--border); padding: 1.2rem 0 }
.aq-faq:first-child { border-top: 1px solid var(--border) }
.aq-faq-q { font-size: 0.95rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem }
.aq-faq-a { font-size: 0.88rem; color: var(--ink3); line-height: 1.7 }

/* DEMO SECTION */
.aq-demo-section { padding: 4.5rem 2rem; background: var(--s2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }
.aq-demo-i { max-width: var(--max); margin: 0 auto; text-align: center }
.aq-demo-i .s-title { margin: 0.4rem auto 0.6rem }
.aq-demo-i .s-sub { margin: 0 auto 2rem }

/* FURTHER READING — matching OpsGrid og-insights pattern */
.og-insights { background: var(--surface); padding: 3rem 2rem; border-top: 1px solid var(--border) }
.og-insights-i { max-width: var(--max); margin: 0 auto }
.og-insights-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 0.35rem; font-weight: 500 }
.og-insights-sub { font-size: 0.88rem; color: var(--ink3); margin-bottom: 1.6rem }
.og-insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem }
.og-ins-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: var(--rl); padding: 1.4rem 1.5rem; border-top: 3px solid var(--accent); transition: box-shadow 0.2s, transform 0.2s }
.og-ins-card:hover { box-shadow: 0 6px 20px rgba(20,32,59,0.08); transform: translateY(-2px) }
.og-ins-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; margin-bottom: 0.45rem }
.og-ins-title { font-size: 0.95rem; font-weight: 500; color: var(--ink); line-height: 1.35; margin-bottom: 0.45rem }
.og-ins-desc { font-size: 0.82rem; color: var(--ink3); line-height: 1.6; margin-bottom: 0.85rem }
.og-ins-link { font-size: 0.8rem; color: var(--accent); font-weight: 500 }

/* CTA */
.aq-cta { background: var(--navy); padding: 5rem 2rem; text-align: center }
.aq-cta-i { max-width: 640px; margin: 0 auto }
.aq-cta h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; font-weight: 400; margin-bottom: 1rem }
.aq-cta p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2rem }
.aq-cta-note { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 1rem }

/* FOOTER */
footer { background: #080808; color: rgba(255,255,255,0.45); padding: 3rem 2rem }
.foot-i { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem }
.foot-logo { font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,0.8); text-decoration: none; display: block; margin-bottom: 0.8rem }
.foot-logo span { color: var(--accent) }
.foot-tag { font-size: 0.8rem; line-height: 1.6 }
.foot-col h5 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); margin-bottom: 1rem; font-weight: 400 }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem }
.foot-col a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s }
.foot-col a:hover { color: rgba(255,255,255,0.8) }
.foot-btm { max-width: var(--max); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; font-size: 0.73rem; color: rgba(255,255,255,0.2); flex-wrap: wrap; gap: 0.5rem }

/* RESPONSIVE */
@media (max-width: 900px) {
  .aq-stages { grid-template-columns: 1fr }
  .aq-queries { grid-template-columns: repeat(2, 1fr) }
  .aq-compare { grid-template-columns: 1fr }
  .foot-i { grid-template-columns: 1fr 1fr }
}
@media (max-width: 700px) {
  .og-insights-grid { grid-template-columns: 1fr }
  .aq-queries { grid-template-columns: 1fr }
}
@media (max-width: 640px) {
  .askops-hero { padding: 3.5rem 1.5rem 3rem }
  .s { padding: 3rem 1.5rem }
  .hero-actions { flex-direction: column }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center }
  .pq-wrap { padding: 0 1.5rem }
  .foot-i { grid-template-columns: 1fr }
}
