/* OpenClaw Academy sales page */
/* ── Base reset inside page ──────────────────────────────────────────────── */
.oca { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: #0f172a; line-height: 1.6; }
.oca *, .oca *::before, .oca *::after { box-sizing: border-box; }
.oca a { color: inherit; text-decoration: none; }
.oca a:hover { opacity: .85; }

/* ── Heading contrast (override theme global h1–h4 color: var(--ink)) ─────── */
.oca :is(h1, h2, h3, h4) {
  font-family: inherit;
  font-weight: 700;
  color: #0f172a;
}

/* Dark hero */
.oca-hero :is(h1, h2, h3, h4) { color: #ffffff; }
.oca-hero h1 { font-weight: 800; }
.oca-hero h1 em { color: #7dd3fc; font-style: italic; }

/* Light section titles */
.oca-products-section h2,
.oca-tier h2,
.oca-footer-cta h3 { color: #0f172a; font-weight: 800; }
.oca-tier h2 em { color: #0a6570; font-style: italic; }

/* Cards & subsections on light / tinted backgrounds */
.oca-product h3,
.oca-price-box h3,
.oca-vault-item h4,
.oca-week h4,
.oca-part h4,
.oca-free-item h4 { color: #0f172a; }

/* Compare table header row (dark) */
.oca-compare th { color: #ffffff; }

/* ── Utility ─────────────────────────────────────────────────────────────── */
.oca-wrap   { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.oca-divider{ border: none; border-top: 1px solid #e2e8f0; margin: 56px 0; }
.oca-label  { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }

/* ── NAV (matches interview-roadmap nav tabs) ────────────────────────────── */
.oca-nav { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.oca-nav-inner { max-width: 860px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 52px; }
.oca-nav-tabs  { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.oca-nav-tabs a{ display: block; padding: 6px 14px; font-size: .85rem; font-weight: 500; color: #475569; border-radius: 6px; transition: background .15s; }
.oca-nav-tabs a:hover { background: #f1f5f9; color: #0f172a; }
.oca-nav-cta { background: #0f172a; color: #fff !important; padding: 7px 16px; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.oca-nav-cta:hover { opacity: .9 !important; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.oca-hero { background: #0d1b2a; color: #fff; padding: 72px 40px 64px; text-align: center; }
.oca-hero-eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a5d8ff; background: rgba(165,216,255,.12); border: 1px solid rgba(165,216,255,.25); border-radius: 20px; padding: 4px 14px; margin-bottom: 22px; }
.oca-hero h1 { font-size: 2.6rem; line-height: 1.15; margin: 0 0 10px; }
.oca-hero-sub { font-size: 1.05rem; color: #94a3b8; max-width: 560px; margin: 0 auto 36px; }
.oca-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.oca .btn { display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: .9rem; cursor: pointer; border: none; text-decoration: none; }
.oca .btn-dark  { background: #0e7c86; color: #fff; }
.oca .btn-ghost { background: transparent; color: #e2e8f0; border: 1px solid rgba(255,255,255,.25); }
.oca .btn-dark:hover  { background: #0a6570; }
.oca .btn-ghost:hover { background: rgba(255,255,255,.06); }
.oca-hero-stats { display: flex; gap: 48px; justify-content: center; margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.oca-stat-n { font-size: 1.9rem; font-weight: 800; color: #fff; }
.oca-stat-l { font-size: .78rem; color: #94a3b8; margin-top: 2px; }

/* ── TICKER (social proof scrolling) ─────────────────────────────────────── */
.oca-ticker { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; padding: 10px 0; overflow: hidden; white-space: nowrap; }
.oca-ticker-inner { display: inline-block; animation: ticker 30s linear infinite; }
.oca-ticker-inner span { display: inline-block; padding: 0 32px; font-size: .82rem; color: #475569; }
.oca-ticker-inner span strong { color: #0f172a; font-weight: 600; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PRODUCTS GRID ────────────────────────────────────────────────────────── */
.oca-products-section { padding: 64px 0 0; }
.oca-products-section h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 8px; }
.oca-products-section > .oca-wrap > p { color: #64748b; font-size: .95rem; margin: 0 0 36px; }
.oca-products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.oca-product { border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px; position: relative; background: #fff; }
.oca-product.featured { border-color: #0e7c86; box-shadow: 0 0 0 3px rgba(14,124,134,.1); }
.oca-product-badge { position: absolute; top: -11px; left: 22px; background: #0e7c86; color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 11px; border-radius: 20px; letter-spacing: .04em; }
.oca-product-num { font-size: .72rem; font-weight: 700; color: #94a3b8; margin-bottom: 8px; }
.oca-product h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.oca-product-desc { font-size: .88rem; color: #475569; line-height: 1.6; margin: 0 0 18px; }
.oca-product-price { font-size: 1.5rem; font-weight: 800; color: #0e7c86; margin: 0 0 4px; }
.oca-product-price span { font-size: .9rem; font-weight: 400; color: #94a3b8; }
.oca-product-cadence { font-size: .78rem; color: #94a3b8; margin: 0 0 18px; }
.oca-product-btn { display: block; text-align: center; padding: 10px 16px; border-radius: 7px; font-size: .88rem; font-weight: 600; background: #0f172a; color: #fff; }
.oca-product-btn.free { background: #f1f5f9; color: #0f172a; }

/* ── SUBSCRIPTION DEEP DIVE ───────────────────────────────────────────────── */
.oca-tier { padding: 64px 0; }
.oca-tier-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0e7c86; margin-bottom: 12px; }
.oca-tier h2 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 12px; }
.oca-tier-sub { font-size: .95rem; color: #475569; margin: 0 0 32px; max-width: 600px; }
.oca-features { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 10px; }
.oca-features li { display: flex; gap: 10px; font-size: .9rem; color: #334155; }
.oca-features li::before { content: "✓"; color: #0e7c86; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.oca-price-box { border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px; background: #f8fafc; max-width: 420px; }
.oca-price-box h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.oca-price-box .price { font-size: 2rem; font-weight: 800; color: #0e7c86; margin: 0 0 4px; }
.oca-price-box .price span { font-size: 1rem; font-weight: 400; color: #94a3b8; }
.oca-price-box .cadence { font-size: .8rem; color: #94a3b8; margin: 0 0 20px; }
.oca-btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.oca-price-box .oca-btn-row a { flex: 1; min-width: 140px; text-align: center; padding: 11px; border-radius: 7px; font-size: .88rem; font-weight: 600; }
.oca-price-box .oca-btn-row a:first-child { background: #0f172a; color: #fff; }
.oca-price-box .oca-btn-row a:last-child  { background: #f1f5f9; color: #0f172a; }
.oca-checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.oca-checklist li { font-size: .82rem; color: #475569; display: flex; gap: 8px; }
.oca-checklist li::before { content: "✓"; color: #0e7c86; font-weight: 700; flex-shrink: 0; }
.oca-inr-note { font-size: .82rem; color: #64748b; margin-top: 16px; }
.oca-inr-note strong { color: #0f172a; }

/* ── VAULT SECTION ────────────────────────────────────────────────────────── */
.oca-vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.oca-vault-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; }
.oca-vault-item .icon { font-size: 1.2rem; margin-bottom: 6px; }
.oca-vault-item h4 { font-size: .88rem; font-weight: 700; margin: 0 0 4px; }
.oca-vault-item p { font-size: .8rem; color: #64748b; margin: 0; }

/* ── PROGRAM WEEKS ────────────────────────────────────────────────────────── */
.oca-weeks { display: grid; gap: 12px; margin: 28px 0; }
.oca-week { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.oca-week-badge { width: 40px; height: 40px; background: #0d1b2a; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; flex-shrink: 0; }
.oca-week h4 { font-size: .9rem; font-weight: 700; margin: 0 0 3px; }
.oca-week p  { font-size: .82rem; color: #64748b; margin: 0; }

/* ── CURRICULUM ───────────────────────────────────────────────────────────── */
.oca-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.oca-part { border-left: 3px solid #0e7c86; background: #f8fafc; border-radius: 0 8px 8px 0; padding: 16px 18px; }
.oca-part-num { font-size: .7rem; font-weight: 700; color: #0e7c86; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.oca-part h4 { font-size: .9rem; font-weight: 700; margin: 0 0 5px; }
.oca-part p  { font-size: .8rem; color: #64748b; margin: 0; line-height: 1.5; }

/* ── COMPARISON TABLE ─────────────────────────────────────────────────────── */
.oca-compare { overflow-x: auto; margin: 28px 0; }
.oca-compare table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.oca-compare th { background: #0d1b2a; color: #fff; padding: 11px 16px; text-align: left; font-weight: 600; }
.oca-compare td { padding: 11px 16px; border-bottom: 1px solid #e2e8f0; color: #475569; vertical-align: top; }
.oca-compare tr:nth-child(even) td { background: #f8fafc; }
.oca-compare td:first-child { font-weight: 600; color: #0f172a; }
.oca-compare tr.oca-compare-us td { background: #f0fdf4; }
.oca-compare tr.oca-compare-us td:first-child { color: #0e7c86; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.oca-faq { margin: 0; padding: 0; }
.oca-faq details { border-bottom: 1px solid #e2e8f0; }
.oca-faq details:first-of-type { border-top: 1px solid #e2e8f0; }
.oca-faq summary { padding: 16px 0; font-weight: 600; font-size: .93rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #0f172a; }
.oca-faq summary::-webkit-details-marker { display: none; }
.oca-faq summary::after { content: "+"; color: #0e7c86; font-size: 1.2rem; font-weight: 400; flex-shrink: 0; margin-left: 12px; }
.oca-faq details[open] summary::after { content: "−"; }
.oca-faq details p { margin: 0 0 16px; font-size: .88rem; color: #475569; line-height: 1.7; }

/* ── FREE RESOURCES ───────────────────────────────────────────────────────── */
.oca-free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.oca-free-item { border: 1px solid #e2e8f0; border-radius: 10px; padding: 22px; text-align: center; }
.oca-free-item .icon { font-size: 1.5rem; margin-bottom: 10px; }
.oca-free-item h4 { font-size: .9rem; font-weight: 700; margin: 0 0 6px; }
.oca-free-item p  { font-size: .8rem; color: #64748b; margin: 0 0 14px; }
.oca-free-item a  { font-size: .82rem; font-weight: 600; color: #0e7c86; }

/* ── FOOTER CTA ───────────────────────────────────────────────────────────── */
.oca-footer-cta { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 48px 40px; text-align: center; margin: 64px 0 32px; }
.oca-footer-cta h3 { font-size: 1.4rem; font-weight: 800; max-width: 520px; margin: 0 auto 10px; line-height: 1.3; }
.oca-footer-cta p { font-size: .9rem; color: #64748b; margin: 0 0 28px; }
.oca-footer-note { font-size: .78rem; color: #94a3b8; margin-top: 20px; }
.oca-disclaimer { font-size: .75rem; color: #94a3b8; text-align: center; padding: 0 0 40px; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 620px) {
  .oca-hero { padding: 48px 20px 40px; }
  .oca-hero h1 { font-size: 1.9rem; }
  .oca-products, .oca-vault-grid, .oca-parts, .oca-free-grid { grid-template-columns: 1fr; }
  .oca-hero-stats { gap: 28px; }
  .oca-nav-tabs { display: none; }
}
