/* ================= Ready for Law — NCA exam prep landing page (nca.html) =================
   Loaded only by nca.html, on top of site.css. Left out of public/ while SITE.ncaPublic is false
   (tools/build-public.js). */
:root {
  /* Hero / final-CTA photo for the NCA page. Swap this one line to change it (credit: NCA_PHOTO in tools/build-site.js). */
  --photo-nca: url("https://images.unsplash.com/photo-1701790644702-292e25180524?auto=format&fit=crop&w=2200&q=75");
}

/* hero: same navy overlay as the LSAT hero, but denser: the bookshelf photo is a dimmed backdrop behind the covers */
.hero.nca-hero { background-image: linear-gradient(90deg, rgba(27,45,82,.97) 0%, rgba(27,45,82,.94) 45%, rgba(27,45,82,.86) 70%, rgba(27,45,82,.78) 100%), var(--photo-nca);
  background-position: center 50%; }
.final-cta.nca-final { background-image: linear-gradient(0deg, rgba(27,45,82,.94), rgba(27,45,82,.94)), var(--photo-nca); }

/* proof strip: 4 or 5 items */
.trust-grid.nca-trust { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }

/* method loop: 5 steps */
.loop.nca-loop { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.loop.nca-loop .loop-card { padding: 24px 20px; }

/* feedback mock (mirrors the dashboard's feedback view, css/nca.css) */
.nca-mock { font-size: 14px; color: var(--ink); }
.nca-mock-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.nca-mock-title { font-weight: 800; color: var(--brand-navy); font-size: 16px; }
.nca-mock-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nca-mock-scores > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper-2); }
.nca-mock-scores b { display: block; font-size: 26px; font-weight: 800; color: var(--brand-navy); line-height: 1.2; }
.nca-mock-scores b > span:not(.nca-pill) { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.nca-mock-scores small { display: block; color: var(--ink-2); font-size: 12px; line-height: 1.35; margin-top: 2px; }
.nca-mock-scores .nca-conf { font-size: 18px; text-transform: capitalize; padding: 3px 0; }
.nca-pill { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #eef1f5; color: var(--ink-2); vertical-align: middle; }
.nca-mock-scores .nca-pill { font-size: 14px; padding: 4px 12px; }
.nca-pill.good { background: #e3f4ea; color: #1f7a44; }
.nca-pill.bad { background: #fde8e6; color: #a8261b; }
.nca-mock-fixes { background: var(--brand-orange-soft); border: 1px solid #f7d2b8; border-radius: 10px; padding: 10px 14px; }
.nca-mock-fixes b { color: var(--brand-orange-2); font-size: 13px; }
.nca-mock-fixes ol { margin: 6px 0 0; padding-left: 20px; line-height: 1.5; }
.nca-mock-q { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--brand-navy); font-size: 14.5px; margin-bottom: -6px; }
.nca-mock-q span { color: var(--ink-2); }
.nca-mock-q span b { font-size: 20px; color: var(--brand-navy); }
.nca-mock-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.nca-mock-table .row { display: grid; grid-template-columns: 2.2fr 1fr .9fr 1fr .7fr; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); align-items: center; }
.nca-mock-table .row:first-child { border-top: none; }
.nca-mock-table .row.head { background: var(--paper-2); font-weight: 700; color: var(--brand-navy); font-size: 12.5px; }
.nca-mock-table .row span:first-child { font-weight: 600; }
.nca-mock-table em { font-style: normal; font-weight: 400; color: var(--ink-2); font-size: 12px; }
.nca-mock-table .row.missed { background: #fffafa; }
.nca-mock-table .quote { margin: 0 12px 10px; padding: 8px 12px; border-left: 3px solid var(--brand-check); background: #f3faf6; border-radius: 0 8px 8px 0; font-size: 13px; line-height: 1.5; color: #27324a; }
.nca-mock-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nca-mock-cols > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.nca-mock-cols b { color: var(--brand-navy); font-size: 13px; }
.nca-mock-cols p { margin: 4px 0 0; line-height: 1.5; font-size: 13px; }
.nca-mock-cols p span { color: var(--ink-2); }
.nca-mock-cols .nca-ok { color: #1f7a44; font-weight: 700; }

.nca-save { margin: 0 0 10px; color: #1f7a44; font-weight: 700; font-size: 15px; }
.nca-reviewed { margin-top: 28px; color: var(--ink-2); font-weight: 600; }

/* grading section (navy) */
.nca-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nca-steps li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 14px 18px; line-height: 1.55; color: rgba(255,255,255,.86); font-size: 15.5px; }
.nca-steps b { color: #fff; }
.nca-note { margin-top: 44px; background: rgba(255,255,255,.07); border-left: 4px solid #f59a4e; border-radius: 0 12px 12px 0; padding: 18px 22px; line-height: 1.65; color: rgba(255,255,255,.86); font-size: 15.5px; }
.nca-note b { color: #fff; }
.nca-note a, .section.navy .site-lede a { color: #f59a4e; }
.faq details p a { color: var(--brand-orange-2); font-weight: 600; }
.guarantee a { color: var(--brand-orange-2); font-weight: 700; }

/* ---- hero: copy + fanned stack of the real covers ---- */
.nca-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; }
.nca-hero .hero-inner.nca-hero-copy { padding: 84px 0 110px; }
.nca-hero .hero-inner.nca-hero-copy > * { max-width: 640px; }
.nca-hero h1 { font-size: clamp(34px, 4.6vw, 54px); }
.nca-hero-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); }
.nca-hero-trust li { position: relative; padding-left: 22px; }
.nca-hero-trust li::before { content: "✓"; position: absolute; left: 0; color: #7fd6a0; font-weight: 800; }
.nca-stack { position: relative; height: 400px; }
.nca-stack img { position: absolute; left: 50%; bottom: 20px; width: 210px; height: auto; margin-left: -105px; border-radius: 3px; background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); transform-origin: 50% 110%;
  transform: translateX(calc((var(--i) - 2) * 52px)) rotate(calc((var(--i) - 2) * 7deg)); }
.nca-stack img:nth-child(1) { z-index: 1; } .nca-stack img:nth-child(2) { z-index: 2; } .nca-stack img:nth-child(3) { z-index: 5; }
.nca-stack img:nth-child(4) { z-index: 4; } .nca-stack img:nth-child(5) { z-index: 3; }
.nca-crumbs { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.nca-crumbs a { color: #fff; text-decoration: none; }
.nca-crumbs a:hover { text-decoration: underline; }
.nca-cover-wrap { display: flex; justify-content: center; }
.nca-cover { width: 260px; max-width: 100%; height: auto; border-radius: 3px; background: #fff; transform: rotate(2.5deg);
  box-shadow: 0 22px 50px rgba(0,0,0,.38), 0 0 0 1px rgba(0,0,0,.06); }

/* ---- look inside: subject tabs + panels ---- */
.nca-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.nca-tab { font: inherit; font-size: 15px; font-weight: 700; color: var(--brand-navy); background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 10px 18px; cursor: pointer; }
.nca-tab:hover { border-color: var(--brand-navy); }
.nca-tab[aria-selected="true"] { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.nca-tab:focus-visible, .nca-vbtn:focus-visible, .nca-viewer-stage:focus-visible, .nca-panel:focus-visible { outline: 3px solid #f59a4e; outline-offset: 3px; }
.nca-panel[data-inactive] { display: none; }
.nca-panel-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start; justify-content: center; }
.nca-panel-info h3 { margin: 0 0 10px; font-size: 28px; color: var(--brand-navy); letter-spacing: -.3px; }
.nca-panel-info > p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.6; font-size: 16px; }
.nca-panel-buy { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.nca-panel-buy .price b { font-size: 44px; letter-spacing: -1px; }
.nca-more { color: var(--brand-orange-2); font-weight: 700; text-decoration: none; }
.nca-more:hover { text-decoration: underline; }

/* key facts (panels and subject pages) */
.nca-facts { margin: 0; display: flex; flex-direction: column; font-size: 15px; border-top: 1px solid var(--line); }
.nca-facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.nca-facts dt { color: var(--ink-2); font-weight: 600; }
.nca-facts dd { margin: 0; color: var(--ink); }
.nca-facts-card { background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(15,29,58,.14); padding: 8px 26px; }
.nca-facts-wide { flex-direction: row; flex-wrap: wrap; border-top: none; }
.nca-facts-wide > div { display: flex; flex-direction: column; gap: 2px; flex: 1 1 150px; padding: 14px 18px 14px 0; border-bottom: none; }
.nca-facts-wide > div:last-child { flex: 2 1 260px; }
.nca-facts-wide dt { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.nca-facts-wide dd { font-weight: 700; color: var(--brand-navy); font-size: 16px; line-height: 1.4; }

/* ---- flip-through viewer (js/nca-site.js) ---- */
.nca-viewer { min-width: 0; }
.nca-viewer-stage { position: relative; background: #e9edf3; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: 0 24px 60px rgba(15,29,58,.14); touch-action: pan-y; }
.nca-viewer-stage img { display: block; width: 100%; height: auto; aspect-ratio: 1150 / 1488; background: #fff; box-shadow: 0 2px 10px rgba(15,29,58,.15); transition: opacity .15s; }
.nca-viewer-stage.turning img { opacity: .55; }
.nca-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.nca-vbtn { font: inherit; font-size: 15px; font-weight: 700; color: var(--brand-navy); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 18px; cursor: pointer; min-width: 96px; }
.nca-vbtn:hover:not(:disabled) { border-color: var(--brand-navy); }
.nca-vbtn:disabled { opacity: .45; cursor: default; }
.nca-viewer-count { color: var(--ink-2); font-size: 15px; }
.nca-viewer-count b { color: var(--brand-navy); }
.nca-viewer-end { margin: 12px 0 0; padding: 12px 16px; background: var(--brand-orange-soft); border-radius: 10px; font-size: 15px; line-height: 1.5; text-align: center; }
.nca-viewer-end a { color: var(--brand-orange-2); font-weight: 700; }

/* ---- what's inside the notes: zoomed crops ---- */
.nca-crops { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nca-crop { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.nca-crop-img { background: #fff; border-bottom: 1px solid var(--line); padding: 14px; flex: 1; display: flex; align-items: center; }
.nca-crop-img img { display: block; width: 100%; height: auto; }
.nca-crop figcaption { padding: 16px 20px 18px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.nca-crop figcaption b { display: block; color: var(--brand-navy); font-size: 16.5px; margin-bottom: 2px; }
.nca-crops-note { text-align: center; color: var(--ink-2); margin: 28px auto 0; max-width: 760px; line-height: 1.6; }

/* ---- practice exams / pricing ---- */
.nca-exam-modes { color: var(--ink-2); line-height: 1.6; margin: 22px 0 24px; }
.nca-small { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.nca-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; max-width: 940px; margin: 0 auto; }
.nca-best { border: 2px solid var(--brand-orange); }
.nca-buy-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.nca-buy-list a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); color: var(--brand-navy); font-weight: 600; text-decoration: none; }
.nca-buy-list a:hover span { color: var(--brand-orange-2); text-decoration: underline; }
.nca-buy-list a b::after { content: " ›"; color: var(--brand-orange-text); }
.price-card .price-fine a { color: var(--brand-orange-2); }

/* ---- subject page ---- */
.nca-preview-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center; }
.nca-preview-copy .checks { margin-top: 24px; }
.nca-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nca-part { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.nca-part h3 { margin: 0; font-size: 17.5px; color: var(--brand-navy); line-height: 1.35; display: flex; gap: 10px; align-items: baseline; }
.nca-tabno { flex-shrink: 0; background: var(--brand-navy); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.nca-part ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.nca-try { margin-top: 36px; }
.nca-others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nca-other { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--brand-navy); }
.nca-other:hover { border-color: var(--brand-navy); }
.nca-other img { width: 56px; height: auto; flex-shrink: 0; box-shadow: 0 4px 12px rgba(15,29,58,.18); }
.nca-other b { display: block; font-size: 15.5px; line-height: 1.3; }
.nca-other small { color: var(--ink-2); font-size: 13px; }
.section .site-lede a, .nca-part a { color: var(--brand-orange-2); font-weight: 600; }
.checks a { color: var(--brand-orange-2); font-weight: 600; }

@media (max-width: 1080px) {
  .nca-others { grid-template-columns: 1fr 1fr; }
  .loop.nca-loop { grid-template-columns: repeat(3, 1fr); }
  .loop.nca-loop .loop-card::after { display: none; }
}
@media (max-width: 960px) {
  .nca-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .nca-hero .hero-inner.nca-hero-copy { padding: 64px 0 24px; }
  .nca-stack { height: 300px; margin-bottom: 80px; }
  .nca-stack img { width: 160px; margin-left: -80px; transform: translateX(calc((var(--i) - 2) * 40px)) rotate(calc((var(--i) - 2) * 7deg)); }
  .nca-cover-wrap { padding-bottom: 90px; }
  .nca-cover { width: 200px; }
  .nca-panel-grid, .nca-preview-split { grid-template-columns: minmax(0, 560px); gap: 28px; }
  .trust-grid.nca-trust { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
  .trust-grid.nca-trust > div { border-bottom: 1px solid var(--line); }
  .trust-grid.nca-trust > div:nth-child(3n) { border-right: none; }
}
@media (max-width: 760px) {
  .nca-stack { height: 230px; }
  .nca-stack img { width: 120px; margin-left: -60px; transform: translateX(calc((var(--i) - 2) * 30px)) rotate(calc((var(--i) - 2) * 7deg)); }
  .nca-crops, .nca-prices, .nca-parts, .nca-others { grid-template-columns: 1fr; }
  .nca-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-left: -4px; margin-right: -4px; padding-left: 4px; }
  .nca-tab { flex-shrink: 0; font-size: 14px; padding: 9px 14px; }
  .nca-viewer-stage { padding: 8px; }
  .nca-vbtn { min-width: 0; padding: 10px 14px; }
  .nca-facts > div { grid-template-columns: 110px minmax(0, 1fr); }
  .nca-facts-card { padding: 4px 18px; }
  .nca-facts-wide > div { flex: 1 1 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nca-facts-wide > div:last-child { border-bottom: none; }
  .nca-panel-info h3 { font-size: 24px; }
  .hero.nca-hero { background-image: linear-gradient(90deg, rgba(27,45,82,.95), rgba(27,45,82,.82)), var(--photo-nca); }
  .loop.nca-loop { grid-template-columns: 1fr; }
  .trust-grid.nca-trust { grid-template-columns: 1fr 1fr; }
  .trust-grid.nca-trust > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trust-grid.nca-trust > div:nth-child(2n) { border-right: none; }
  .trust-grid.nca-trust > div:last-child { border-bottom: none; }
  .trust-grid.nca-trust > div:nth-child(odd):last-child { grid-column: 1 / -1; border-right: none; }
  .nca-mock-body { padding: 14px; }
  .nca-mock-scores { grid-template-columns: 1fr 1fr; }
  .nca-mock-scores > div:first-child { grid-column: 1 / -1; }
  .nca-mock-table .row { grid-template-columns: 1.6fr 1fr .7fr; }
  .nca-mock-table .row > span:nth-child(3), .nca-mock-table .row > span:nth-child(4) { display: none; }
  .nca-mock-cols { grid-template-columns: 1fr; }
}

/* in-page links land below the sticky header */
.section[id], #preview, #look-inside { scroll-margin-top: 72px; }
/* site.css's `.mk a { color: inherit }` outranks `.cta` on light backgrounds */
.mk a.cta { color: #fff; }

/* ---- demo video (practice exams section) */
.nca-demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #13234a; }
.nca-demo-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.nca-demo-cta .cta { margin: 0; }
.nca-demo-cta .nca-small { color: var(--muted, #5b6475); }
.nca-exams { max-width: 1040px; }
.nca-exams-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.nca-exams-head .eyebrow { justify-content: center; }
.nca-exams .nca-demo { max-width: 1000px; margin: 0 auto; }
.nca-exams .nca-demo-cta { justify-content: center; margin-top: 22px; }
.nca-exams .tool-list { grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.nca-exams .nca-exam-modes { text-align: center; max-width: 760px; margin: 26px auto 0; }
@media (max-width: 900px) { .nca-exams .tool-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nca-exams .tool-list { grid-template-columns: 1fr; } .nca-exams .nca-exam-modes { text-align: left; } .nca-exams-head { text-align: left; } .nca-exams-head .eyebrow { justify-content: flex-start; } }

/* ---- the all-subjects bundle: the featured option wherever prices are shown */
.nca-best { position: relative; border: 2px solid var(--brand-orange); box-shadow: 0 28px 70px rgba(201,76,10,.18); }
.nca-best .ribbon { background: linear-gradient(135deg, #d4570f, #b8460a); }
.nca-best .ribbon .eyebrow { color: #ffe3cf; }
.nca-best .ribbon .eyebrow::before { background: #ffe3cf; }
.nca-best-badge { position: absolute; top: 18px; right: 18px; z-index: 1; background: #fff; color: #b8460a; font-weight: 800; font-size: 13.5px;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.nca-price-try { max-width: 940px; margin: 26px auto 0; }
.nca-hero-bundle { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 16px 10px 10px; border-radius: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-size: 15px; line-height: 1.35; }
.nca-hero-bundle:hover { background: rgba(255,255,255,.16); }
.nca-hero-bundle .tag { flex: none; background: var(--brand-orange); color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.nca-hero-bundle b { font-weight: 700; }

/* ---- NCA guides: illustration thumbnails on a light panel (same style as the CAEC Ready blog) */
.post-thumb.ill { background: #f1f4f8; padding: 14px; align-items: center; justify-content: center; }
.post-thumb.ill::before { display: none; }
.post-thumb.ill img { width: 100%; height: 100%; max-height: 190px; object-fit: contain; display: block; }
.post-row .post-thumb.ill { min-height: 190px; }
