/* Details pages of the one-screen tools: /alcor-finance/ and /alcor-reconcile/ (enqueued by
 * alcor_tool_details_stylesheet() in mu-plugins/alcor-app-ui.php). The apps themselves are /finance/ and
 * /reconcile/. Same layout as the /alcor-erp/ details page: 1180px column, 72/40/20px gutters, the shared
 * closing block ("Need a tool like this", "More free tools") spans the page. Headings take Sora from arcana.css
 * (body.alcor-std). */
.atd-page { min-height: 100vh; background: radial-gradient(circle at 75% 0, #18243b 0, transparent 32%), #07090e; color: #b8bec8; font: 400 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.atd-page *, .atd-page *::before, .atd-page *::after { box-sizing: border-box; }
.atd-main { width: 100%; margin: 0; }
.atd-main > :not(.aui-close) { width: min(1180px, calc(100% - 144px)); margin-inline: auto; }
.atd-page h1, .atd-page h2, .atd-page h3 { color: #f6f0e4; text-wrap: balance; }
.atd-kicker { display: block; margin: 0 0 14px; color: #b38cff; font: 600 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.atd-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: var(--page-hero-gap, 128px) 0 72px; }
.atd-intro h1 { font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem); line-height: var(--leading-h1, 1.08); letter-spacing: var(--track-h1, -.03em); margin: 0 0 20px; max-width: 16ch; }
.atd-lede { font-size: 1.1875rem; line-height: 1.6; max-width: 60ch; margin: 0 0 28px; text-wrap: pretty; }
.atd-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.atd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid rgba(246, 240, 228, .26); border-radius: 999px; color: #f6f0e4; text-decoration: none; font: 600 .9375rem/1 Inter, ui-sans-serif, system-ui, sans-serif; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.atd-btn--primary { background: #53d9d4; border-color: #53d9d4; color: #050608; }
.atd-btn--primary:hover { background: #7de3df; border-color: #7de3df; transform: translateY(-1px); }
.atd-btn--secondary:hover { border-color: rgba(246, 240, 228, .4); background: rgba(246, 240, 228, .06); }
.atd-promise { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; font-size: .875rem; color: #959dac; }
.atd-promise li::before { content: "\2713"; margin-right: 8px; color: #53d9d4; }
.atd-shot { margin: 0; min-width: 0; }
.atd-shot img { display: block; width: 100%; height: auto; border: 1px solid rgba(246, 240, 228, .12); border-radius: 12px; box-shadow: 0 30px 100px #0008; background: #0b0d13; }
.atd-section { padding: clamp(56px, 7vw, 104px) 0 0; }
.atd-section h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: var(--leading-h2, 1.12); letter-spacing: var(--track-h2, -.02em); margin: 0 0 .5em; max-width: 22ch; }
.atd-section-lede { max-width: 62ch; margin: 0 0 32px; font-size: 1.1875rem; line-height: 1.6; }
.atd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.atd-cards article { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid rgba(246, 240, 228, .10); border-radius: 16px; background: linear-gradient(180deg, rgba(246, 240, 228, .035), rgba(246, 240, 228, .012)), #0b0d13; }
.atd-cards h3 { font-size: 1.25rem; line-height: 1.25; margin: 0; }
.atd-cards p { margin: 0; font-size: 1rem; }
.atd-link { margin-top: auto; color: #53d9d4; font-weight: 600; text-decoration: none; }
.atd-link:hover { text-decoration: underline; }
.atd-note { margin: 20px 0 0; font-size: .9375rem; color: #959dac; }
.atd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: start; }
.atd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.atd-list li { padding-left: 18px; border-left: 2px solid #53d9d4; font-size: 1rem; }
.atd-list strong { display: block; color: #f6f0e4; margin-bottom: 4px; }
.atd-main > .aui-close { margin-top: clamp(72px, 9vw, 128px); }
.atd-page a:focus-visible { outline: 2px solid #f6f0e4; outline-offset: 3px; }
@media (max-width: 1023px) {
  .atd-main > :not(.aui-close) { width: calc(100% - 80px); }
  .atd-intro { grid-template-columns: 1fr; gap: 40px; padding-top: var(--page-hero-gap, 96px); }
  .atd-split { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .atd-main > :not(.aui-close) { width: calc(100% - 40px); }
  .atd-intro { padding: var(--page-hero-gap, 72px) 0 40px; }
  .atd-ctas .atd-btn { flex: 1 1 100%; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .atd-page * { scroll-behavior: auto !important; transition: none !important; } .atd-btn--primary:hover { transform: none; } }
