/* ── Token system ── */
:root {
  --navy:     var(--brand-navy,#0B1E3D);
  --navy-dk:  #071428;
  --gold:     var(--brand-gold,#C9A84C);
  --gold-lt:  #E8D9A8;
  --gold-bg:  #FFFBF3;
  --green:    #1A7A4A;
  --green-bg: #F0FDF4;
  --green-bd: #BBF7D0;
  --red:      #DC2626;
  --red-bg:   #FEF2F2;
  --red-bd:   #FECACA;
  --amber:    #F59E0B;
  --amber-bg: #FFFBEB;
  --amber-dk: #78350f;
  --cream:    var(--brand-cream,#F7F5F0);
  --cream-dk: #EDE9E2;
  --text:     #4B5563;
  --text-dk:  #1F2937;
  --border:   #E2E0DA;
  --bg-pale:  #F7F9FC;
  --white:    #ffffff;
}

/* ── Reset ── */
#o1w *, #o1w *::before, #o1w *::after { box-sizing: border-box; }
#o1w h1,#o1w h2,#o1w h3,#o1w h4,#o1w p,#o1w ul,#o1w li,#o1w blockquote { margin: 0; padding: 0; }
#o1w ul { list-style: none; }

#o1w {
  background: var(--white);
  font-family: 'Radio Canada', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* ── Layout ── */
.o1-pw   { max-width: 1200px !important; margin: 0 auto !important; padding: 0 48px !important; }
.o1-sect { padding: 72px 0 !important; }
.o1-sect-sm { padding: 56px 0 !important; }

/* ── Eyebrow ── */
.o1-eyebrow {
  font-family: 'Newsreader', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px !important;
}
.o1-eyebrow::before,.o1-eyebrow::after { content:''; height:1px; flex:1; background:var(--cream-dk); }
.o1-eyebrow-light::before,.o1-eyebrow-light::after { background: rgba(255,255,255,.12); }

/* ── Typography ── */
.o1-h1 {
  font-family: 'Newsreader', sans-serif;
  font-size: clamp(26px,4vw,40px); font-weight: 700;
  color: var(--navy); line-height: 1.15; letter-spacing: -.02em;
  margin: 0 0 20px !important;
}
.o1-h2 {
  font-family: 'Newsreader', sans-serif;
  font-size: clamp(19px,2.8vw,27px); font-weight: 700;
  color: var(--navy); line-height: 1.2; letter-spacing: -.015em;
  margin: 0 0 14px !important;
}
.o1-h3 {
  font-family: 'Newsreader', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin: 0 0 8px !important;
}
.o1-lead { font-size: 16px; color: var(--text); line-height: 1.8; margin: 0 0 24px !important; }
.o1-p    { font-size: 14px; color: var(--text); line-height: 1.8; margin: 0 0 14px !important; }
.o1-p:last-child { margin-bottom: 0 !important; }
.o1-p strong { color: var(--navy); }
.o1-p a  { color: var(--brand-navy,#0B1E3D); text-decoration: none; }

/* ── Buttons ── */
.o1-btn-gold {
  display: inline-block !important; background: var(--gold) !important;
  color: var(--white) !important;
  font-family: 'Newsreader', sans-serif !important;
  font-size: 14px !important; font-weight: 700 !important;
  padding: 14px 28px !important; border-radius: 8px !important;
  text-decoration: none !important;
  transition: background .2s, transform .15s !important;
}
.o1-btn-gold:hover { background: #d4b45a !important; transform: translateY(-1px) !important; }

.o1-btn-navy {
  display: inline-block !important; background: var(--navy) !important;
  color: var(--white) !important;
  font-family: 'Newsreader', sans-serif !important;
  font-size: 13px !important; font-weight: 700 !important;
  padding: 12px 22px !important; border-radius: 8px !important;
  text-decoration: none !important; transition: background .2s !important;
}
.o1-btn-navy:hover { background: #142952 !important; }

/* ══════════════════════════════════════
   § 1  HEADER  (white)
   ══════════════════════════════════════ */
#o1-header {
  background: var(--white);
  padding: 64px 0 56px !important;
  border-bottom: 1px solid var(--border);
}
#o1-header .o1-eyebrow { justify-content: flex-start; }
#o1-header .o1-eyebrow::after { display: none; }

/* ══════════════════════════════════════
   § 2  STATS  (navy)
   ══════════════════════════════════════ */
#o1-stats { background: var(--navy); padding: 48px 0 !important; }
.o1-stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
}
.o1-stat {
  text-align: center; padding: 28px 20px !important;
  border-right: 1px solid rgba(255,255,255,.1);
}
.o1-stat:last-child { border-right: none; }
.o1-stat-num {
  font-family: 'Newsreader', sans-serif;
  font-size: 40px; font-weight: 700; color: var(--gold);
  display: block; margin-bottom: 8px !important; line-height: 1;
}
.o1-stat-label { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ══════════════════════════════════════
   § 3  WHY IT MATTERS  (cream)
   ══════════════════════════════════════ */
#o1-why { background: var(--cream); }
#o1-why .o1-eyebrow::before,
#o1-why .o1-eyebrow::after { background: var(--cream-dk); }

.o1-callout {
  background: var(--navy); border-radius: 12px;
  padding: 24px 28px !important; margin: 24px 0 !important;
}
.o1-callout p {
  font-size: 15px; color: rgba(255,255,255,.85);
  line-height: 1.75; margin: 0 !important; font-style: italic;
}

/* ══════════════════════════════════════
   § 4  WHAT QUALIFIES  (white)
   ══════════════════════════════════════ */
#o1-qualifies { background: var(--white); }

.o1-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 24px 0 !important;
}
.o1-col {
  border-radius: 12px; padding: 24px 22px !important;
}
.o1-col-yes {
  background: var(--green-bg);
  border: 1.5px solid var(--green-bd);
  border-top: 3px solid var(--green);
}
.o1-col-no {
  background: var(--red-bg);
  border: 1.5px solid var(--red-bd);
  border-top: 3px solid var(--red);
}
.o1-col h3 {
  font-family: 'Newsreader', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 14px !important;
}
.o1-col-yes h3 { color: var(--green); }
.o1-col-no  h3 { color: var(--red); }
.o1-col li {
  font-size: 13px; color: var(--text); line-height: 1.55;
  padding: 7px 0 7px 22px !important; position: relative;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.o1-col li:last-child { border-bottom: none; padding-bottom: 0 !important; }
.o1-col-yes li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}
.o1-col-no li::before {
  content: '✕'; position: absolute; left: 0;
  color: var(--red); font-weight: 700;
}

/* Warning banner */
.o1-warning {
  background: var(--amber-bg);
  border: 1.5px solid var(--amber);
  border-radius: 10px; padding: 16px 20px !important;
  display: flex; gap: 14px; align-items: flex-start;
  margin: 24px 0 !important;
}
.o1-warning-icon {
  font-size: 18px; flex-shrink: 0; margin-top: 1px;
}
.o1-warning p {
  font-size: 13px; color: var(--amber-dk);
  line-height: 1.7; margin: 0 !important;
}
.o1-warning strong { color: #92400e; }

/* ══════════════════════════════════════
   § 5  INLINE CTA  (gold-bg strip)
   ══════════════════════════════════════ */
#o1-cta-mid {
  background: var(--gold-bg);
  border-top: 1px solid var(--gold-lt);
  border-bottom: 1px solid var(--gold-lt);
  padding: 44px 0 !important;
}
.o1-inline-cta {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.o1-inline-cta p {
  font-family: 'Newsreader', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--navy);
  margin: 0 !important;
}
.o1-inline-cta span {
  font-family: 'Radio Canada', sans-serif;
  font-size: 13px; font-weight: 400; color: #888;
  display: block; margin-top: 4px !important;
}

/* ══════════════════════════════════════
   § 6  MEDIA STRATEGY  (cream)
   ══════════════════════════════════════ */
#o1-strategy { background: var(--cream); }
#o1-strategy .o1-eyebrow::before,
#o1-strategy .o1-eyebrow::after { background: var(--cream-dk); }

/* Category tags */
.o1-cat-grid { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 !important; }
.o1-cat {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 16px 20px !important;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .2s;
}
.o1-cat:hover { border-color: var(--navy); }
.o1-cat-tag {
  flex-shrink: 0; font-family: 'Newsreader', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white);
  background: var(--navy); border-radius: 6px;
  padding: 4px 10px !important; white-space: nowrap; margin-top: 1px;
}
.o1-cat-tag.gold-tag { background: var(--gold); }
.o1-cat-body h4 {
  font-family: 'Newsreader', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--navy);
  margin: 0 0 4px !important;
}
.o1-cat-body p {
  font-size: 13px; color: var(--text); line-height: 1.65; margin: 0 !important;
}

/* ══════════════════════════════════════
   § 7  DOCUMENTATION  (white)
   ══════════════════════════════════════ */
#o1-docs { background: var(--white); }

.o1-docs-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 14px; margin: 24px 0 !important;
}
.o1-doc-card {
  background: var(--cream); border-radius: 12px;
  padding: 20px 20px !important;
  border-left: 3px solid var(--navy);
  display: flex; gap: 14px; align-items: flex-start;
}
.o1-doc-icon {
  font-size: 20px; flex-shrink: 0; margin-top: 2px;
}
.o1-doc-title {
  font-family: 'Newsreader', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--navy);
  display: block; margin-bottom: 4px !important;
}
.o1-doc-desc { font-size: 12px; color: var(--text); line-height: 1.6; }

/* ══════════════════════════════════════
   § 8  PRICING  (cream)
   ══════════════════════════════════════ */
#o1-pricing { background: var(--cream); }
#o1-pricing .o1-eyebrow::before,
#o1-pricing .o1-eyebrow::after { background: var(--cream-dk); }

.o1-pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin: 28px 0 20px !important;
  align-items: start;
}
.o1-price-card {
  background: var(--white);
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 28px 22px !important; position: relative;
  transition: border-color .2s;
}
.o1-price-card:hover { border-color: var(--navy); }
.o1-price-card.featured {
  border-color: var(--navy); border-width: 2px;
  /* Slightly elevated */
  box-shadow: 0 8px 32px rgba(11,30,61,.1);
}

.o1-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white) !important;
  font-family: 'Newsreader', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 14px !important; border-radius: 100px; white-space: nowrap;
}
.o1-price-name {
  font-family: 'Newsreader', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #aaa;
  display: block; margin-bottom: 6px !important;
}
.o1-price-tagline {
  font-size: 12px; color: var(--text); line-height: 1.4;
  display: block; margin-bottom: 14px !important;
  min-height: 32px; /* keeps cards aligned */
}
.o1-price-amount {
  font-family: 'Newsreader', sans-serif;
  font-size: 32px; font-weight: 700; color: var(--navy);
  display: block; margin-bottom: 18px !important; line-height: 1;
}
.o1-price-features {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px !important;
}
.o1-price-features li {
  font-size: 13px; color: var(--text);
  padding-left: 20px !important; position: relative; line-height: 1.5;
}
.o1-price-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700; font-size: 12px;
}
.o1-price-cta {
  display: block !important; text-align: center !important;
  background: var(--navy) !important; color: var(--white) !important;
  font-family: 'Newsreader', sans-serif !important;
  font-size: 13px !important; font-weight: 700 !important;
  padding: 13px !important; border-radius: 8px !important;
  text-decoration: none !important; transition: background .2s !important;
}
.o1-price-card.featured .o1-price-cta {
  background: var(--gold) !important;
}
.o1-price-cta:hover { opacity: 0.9 !important; }

.o1-price-note { font-size: 12px; color: #888; text-align: center; margin-top: 4px !important; }

/* ══════════════════════════════════════
   § 9  FAQ  (white)
   ══════════════════════════════════════ */
#o1-faq { background: var(--white); }

.o1-faq-wrap { margin-top: 28px !important; }
.o1-faq-item { border-bottom: 1px solid #D8D5CE; }
.o1-faq-item:first-of-type { border-top: 1px solid #D8D5CE; }

/* Accessibility: button element with aria-expanded */
.o1-faq-btn {
  width: 100% !important; background: none !important; border: none !important;
  text-align: left !important; padding: 18px 0 !important; cursor: pointer !important;
  font-family: 'Newsreader', sans-serif !important;
  font-size: 15px !important; font-weight: 600 !important;
  color: var(--navy) !important;
  display: flex !important; justify-content: space-between !important;
  align-items: center !important; gap: 16px !important;
  line-height: 1.4 !important; transition: color .2s !important;
}
.o1-faq-btn:hover,
.o1-faq-btn[aria-expanded="true"] { color: var(--gold) !important; }

.o1-faq-icon {
  flex-shrink: 0 !important; width: 22px !important; height: 22px !important;
  border-radius: 50% !important; border: 1.5px solid var(--gold) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  transition: all .25s !important; color: var(--gold) !important;
  font-size: 14px !important; min-width: 22px !important; line-height: 1 !important;
}
.o1-faq-btn[aria-expanded="true"] .o1-faq-icon {
  background: var(--navy) !important; border-color: var(--navy) !important;
  color: var(--white) !important; transform: rotate(45deg) !important;
}

/* AIO-safe: visibility hidden keeps text in DOM for AI scrapers */
.o1-faq-answer {
  max-height: 0 !important; overflow: hidden !important; visibility: hidden !important;
  transition: max-height .3s ease, padding-bottom .25s, visibility .3s !important;
}
.o1-faq-answer.open {
  max-height: 800px !important; padding-bottom: 18px !important;
  visibility: visible !important;
}
.o1-faq-answer p {
  font-size: 14px; color: var(--text); line-height: 1.8; margin: 0 0 10px !important;
}
.o1-faq-answer p:last-child { margin-bottom: 0 !important; }

/* ══════════════════════════════════════
   § 10  FINAL CTA  (navy)
   ══════════════════════════════════════ */
#o1-final { background: var(--navy); padding: 64px 0 !important; }
.o1-final-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
#o1-final h3 {
  font-family: 'Newsreader', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--white);
  margin: 0 0 6px !important;
}
#o1-final p {
  font-size: 14px; color: rgba(255,255,255,.6); margin: 0 !important;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .o1-pw { padding: 0 24px !important; }
  .o1-stats-grid { grid-template-columns: 1fr 1fr; }
  .o1-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .o1-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .o1-stat:last-child { border-bottom: none; }
  .o1-two-col { grid-template-columns: 1fr; }
  .o1-pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto !important; margin-right: auto !important; }
  .o1-docs-grid { grid-template-columns: 1fr; }
  .o1-inline-cta { flex-direction: column; }
  .o1-final-inner { flex-direction: column; align-items: flex-start; }
  .o1-btn-gold, .o1-btn-navy { display: block !important; text-align: center !important; width: 100% !important; }
  .o1-sect, .o1-sect-sm { padding: 56px 0 !important; }
  #o1-final { padding: 48px 0 !important; }
}
