.ap3 { background: var(--ap-bg); color: var(--ap-fg); font-family: var(--ap-body); line-height: 1.7; min-height: 100vh; -webkit-font-smoothing: antialiased; }
.ap3 a { color: inherit; }
.ap3-site { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 18px 24px; border-bottom: 1px solid var(--ap-border); }
.ap3-brand { font-family: var(--ap-display); font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.ap3-site nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.ap3-site nav a { text-decoration: none; color: var(--ap-muted); }
.ap3 .ap3-btn { display: inline-block; background: var(--ap-primary); color: var(--ap-on-primary); padding: 9px 18px; border-radius: var(--ap-radius); font-weight: 600; font-size: 14px; text-decoration: none; }
.ap3-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 24px 64px; }
.ap3-crumbs { font-size: 13px; color: var(--ap-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.ap3-crumbs a { color: var(--ap-muted); text-decoration: none; } .ap3-sep { margin-left: 6px; opacity: .5; }
.ap3-hero { max-width: 820px; margin: 22px 0 28px; }
.ap3-hero h1 { font-family: var(--ap-display); font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; margin: 0; }
[data-theme="rohan"] .ap3-hero h1, [data-theme="rohan"] .ap3-section h2, [data-theme="rohan"] .ap3-related h2 { font-weight: 600; letter-spacing: 0; }
.ap3-deck { font-size: 20px; line-height: 1.5; color: var(--ap-muted); margin: 16px 0 0; }
.ap3-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14px; color: var(--ap-muted); }
.ap3-meta strong { color: var(--ap-fg); font-weight: 600; }
.ap3-img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--ap-radius); margin-bottom: 36px; display: block; }
.ap3-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.ap3-toc { position: sticky; top: 56px; font-size: 14px; }
.ap3-toc-btn { display: none; }
.ap3-toc-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ap-muted); margin-bottom: 10px; }
.ap3-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ap-border); }
.ap3-toc li a { display: block; padding: 6px 0 6px 14px; color: var(--ap-muted); text-decoration: none; line-height: 1.4; }
.ap3-toc li a:hover { color: var(--ap-primary); }
.ap3-main { max-width: 720px; font-size: 18px; }
.ap3-main p { margin: 0 0 1.1em; }
.ap3-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ap-primary); margin-bottom: 10px; font-family: var(--ap-body); }
.ap3-answer { background: var(--ap-soft); border-left: 4px solid var(--ap-primary); border-radius: var(--ap-radius); padding: 24px 28px 10px; font-size: 19px; margin-bottom: 28px; }
.ap3-takeaways { border: 1px solid var(--ap-border); border-radius: var(--ap-radius); padding: 22px 28px; margin-bottom: 44px; }
.ap3-takeaways ul { margin: 0; padding: 0; list-style: none; }
.ap3-takeaways li { position: relative; padding-left: 28px; margin: 10px 0; font-size: 17px; }
.ap3-takeaways li::before { content: "✓"; position: absolute; left: 0; color: var(--ap-primary); font-weight: 700; }
.ap3-section { margin-bottom: 44px; scroll-margin-top: 60px; }
.ap3-section h2, .ap3-related h2, .ap3-refs h2 { font-family: var(--ap-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 16px; font-weight: 700; }
.ap3-ilink { color: var(--ap-primary) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 500; }
.ap3-box { border-radius: var(--ap-radius); padding: 18px 22px 6px; margin: 22px 0; background: var(--ap-soft); font-size: 17px; }
.ap3-limitation { border: 1px solid var(--ap-border); background: transparent; border-left: 4px solid oklch(70% .15 70); }
.ap3-definition { border-left: 4px solid var(--ap-primary); }
.ap3-blabel { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 8px; color: var(--ap-muted); }
.ap3-steps ol { counter-reset: s; list-style: none; padding: 0; margin: 10px 0 20px; }
.ap3-steps li { counter-increment: s; position: relative; padding: 4px 0 12px 48px; }
.ap3-steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 999px; background: var(--ap-primary); color: var(--ap-on-primary); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.ap3-compare dl { display: grid; gap: 1px; background: var(--ap-border); border: 1px solid var(--ap-border); border-radius: var(--ap-radius); overflow: hidden; margin: 12px 0 22px; }
.ap3-compare dl > div { display: grid; grid-template-columns: 34% 1fr; background: var(--ap-bg); }
.ap3-compare dt { font-weight: 600; padding: 12px 16px; background: var(--ap-soft); } .ap3-compare dd { margin: 0; padding: 12px 16px; }
.ap3-quote { font-family: var(--ap-display); font-size: 24px; line-height: 1.4; border-left: 3px solid var(--ap-primary); margin: 26px 0; padding: 4px 0 4px 22px; }
.ap3-quote cite { display: block; font-family: var(--ap-body); font-size: 14px; color: var(--ap-muted); font-style: normal; margin-top: 8px; }
.ap3-faq details { border-bottom: 1px solid var(--ap-border); padding: 14px 0; }
.ap3-faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ap3-faq summary::after { content: "+"; color: var(--ap-primary); } .ap3-faq details[open] summary::after { content: "−"; }
.ap3-faq details p { margin: 10px 0 0; color: var(--ap-fg); }
.ap3-cta { background: var(--ap-primary); color: var(--ap-on-primary); border-radius: var(--ap-radius); padding: 28px 30px; margin: 8px 0 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.ap3-cta p { margin: 0 !important; flex: 1 1 320px; font-size: 18px; }
.ap3-cta .ap3-btn { background: var(--ap-on-primary); color: var(--ap-primary); }
.ap3-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 44px; }
.ap3-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--ap-border); border-radius: var(--ap-radius); padding: 16px 18px; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.35; transition: border-color .15s; }
.ap3-card:hover { border-color: var(--ap-primary); }
.ap3-rel { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ap-primary); font-weight: 700; }
.ap3-refs ol { font-size: 15px; padding-left: 20px; }
.ap3-about { border-top: 1px solid var(--ap-border); padding-top: 22px; font-size: 15px; color: var(--ap-muted); }
.ap3-about p { margin: 0 0 6px !important; }
.ap3-foot { max-width: 1180px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--ap-border); display: flex; justify-content: space-between; font-size: 14px; color: var(--ap-muted); }
.ap3-foot a { text-decoration: none; }
@media (max-width: 900px) {
  .ap3-grid { grid-template-columns: 1fr; gap: 0; }
  .ap3-toc { position: static; margin-bottom: 28px; border: 1px solid var(--ap-border); border-radius: var(--ap-radius); }
  .ap3-toc-btn { display: flex; width: 100%; justify-content: space-between; padding: 12px 16px; background: none; border: 0; color: inherit; font: 600 15px var(--ap-body); cursor: pointer; }
  .ap3-toc-list { display: none; padding: 0 16px 12px; } .ap3-toc-list.open { display: block; } .ap3-toc-title { display: none; }
  .ap3-main { font-size: 17px; } .ap3-site nav a:not(.ap3-btn) { display: none; }
  .ap3-compare dl > div { grid-template-columns: 1fr; }
}
/* Answer Page V4 additions */
.ap4-eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ap-primary); margin-bottom: 14px; }
.ap4-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ap4-btn2 { display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--ap-border); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; }
.ap4-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 24px; font-size: 15px; }
.ap4-byline img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; object-position: top; }
.ap4-byline a { text-decoration: none; }
.ap4-sub { color: var(--ap-muted); font-size: 13px; }
.ap4-dates { margin-left: auto; }
.ap4-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--ap-border); border: 1px solid var(--ap-border); border-radius: var(--ap-radius); overflow: hidden; margin: 0 0 40px; }
.ap4-stats > div { background: var(--ap-soft); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.ap4-stats strong { font-family: var(--ap-display); font-size: 30px; line-height: 1.1; color: var(--ap-primary); }
.ap4-stats span { font-size: 14px; color: var(--ap-muted); line-height: 1.35; }
.ap4-num { font-family: var(--ap-display); font-size: 14px; font-weight: 700; color: var(--ap-primary); letter-spacing: .08em; margin-bottom: 4px; }
.ap4-cards > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 22px; }
.ap4-ocard { border: 1px solid var(--ap-border); border-top: 3px solid var(--ap-primary); border-radius: var(--ap-radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.ap4-ocard span { color: var(--ap-muted); }
.ap4-side { margin-top: 26px; font-size: 14px; } .ap4-side p { margin: 6px 0 10px; color: var(--ap-muted); line-height: 1.45; }
.ap4-side a:not(.ap3-btn) { color: var(--ap-primary); font-weight: 600; text-decoration: none; }
.ap4-bottom { background: var(--ap-soft); border-radius: var(--ap-radius); padding: 24px 28px; font-size: 18px; }
.ap4-author { display: flex; gap: 22px; align-items: flex-start; border: 1px solid var(--ap-border); border-radius: var(--ap-radius); padding: 24px; margin-bottom: 20px; }
.ap4-author img { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; object-position: top; flex-shrink: 0; }
.ap4-author h3 { font-family: var(--ap-display); font-size: 24px; margin: 2px 0 8px; } .ap4-author p { margin: 0 0 10px; font-size: 16px; }
.ap4-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; } .ap4-links a { color: var(--ap-primary); font-weight: 600; }
.ap4-parent { border-left: 4px solid var(--ap-primary); padding: 6px 0 6px 20px; margin-bottom: 44px; font-size: 16px; }
@media (max-width: 600px) { .ap4-author { flex-direction: column; } .ap4-dates { margin-left: 0; } }
