/* A.C.E. Recon page: web layout around the pitch book's own CSS (inlined from generate_pitch_book.CSS).
   The pitch book is set for print at small pixel sizes, so each section is scaled up with zoom on wide screens. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); background-image: radial-gradient(1100px 520px at 105% -5%, rgba(34,211,238,.10), transparent 60%),
  radial-gradient(900px 480px at -15% 40%, rgba(8,145,178,.08), transparent 60%); }
a { color: var(--cyan); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--bg); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header: same top bar as the pitch book pages */
.rhead { position: sticky; top: 0; z-index: 5; background: rgba(7,17,31,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line); }
.rhead-in { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.rhead .brand { display: flex; align-items: center; gap: 10px; color: var(--cyan); text-decoration: none; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; font-size: 13px; }
.rhead .brand img { width: 26px; height: 26px; border-radius: 6px; }
.rhead nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.rhead nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.rhead nav a:hover { color: #fff; }
.rhead nav .cross { color: var(--dim); border-left: 1px solid var(--line); padding-left: 20px; }

/* sections: one per pitch book page */
.rsec { max-width: 1180px; margin: 0 auto; padding: 0 20px; scroll-margin-top: 64px; }
.rsec-in { zoom: 1.3; padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.rsec:last-of-type .rsec-in { border-bottom: none; }
.rsec .spacer { display: none; }
.rsec .callout { margin-top: 16px; }
.rsec .fine { margin-top: 12px; }
.cover-logo { width: 120px; height: 120px; }

/* the Enterprise card's consultation button becomes a link */
.pb-cta { display: block; margin-top: 12px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--bg); background: var(--cyan);
  border-radius: 7px; padding: 7px 6px; text-decoration: none; }

/* top band (web only): audience and downloads above the cover */
.topband { margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.topband-mark { display: block; width: 150px; height: 150px; border-radius: 32px; margin: 0 0 18px;
  box-shadow: 0 18px 50px rgba(34,211,238,.18); }
.topband .kicker { margin-bottom: 10px; }
.rsec.cover .cover-logo { display: none; }
.rsec.cover .cover-top { grid-template-columns: 1fr !important; }
.topband-who { font-size: 14px; color: #c9d7e6; margin: 0 0 8px; }
.who { display: flex; flex-wrap: wrap; gap: 6px; }
.who .tag { margin: 0; font-size: 11px; padding: 5px 11px; }
.topband .cta-row { margin: 14px 0 8px; }
.topband .fine { margin: 0; font-size: 11px; }
.cta.ghost { color: var(--cyan); border-color: rgba(34,211,238,.45); }
.cta.ghost:hover { background: rgba(34,211,238,.08); }
.head-dl { font-size: 13px; padding: 7px 14px; }

/* use cases, guides and breadcrumbs (web only) */
.who a.tag { text-decoration: none; }
.who a.tag:hover { background: rgba(34,211,238,.10); }
.who-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.who-card { display: block; text-decoration: none; color: inherit; }
.who-card:hover { border-color: rgba(34,211,238,.6); }
.who-card h3 { font-size: 15px; }
.who-links { display: flex; flex-wrap: wrap; gap: 8px; }
.who-link { font-size: 12.5px; font-weight: 650; color: #cfe9f2; border: 1px solid var(--line); background: var(--panel); padding: 6px 11px;
  border-radius: 999px; text-decoration: none; }
.who-link:hover { border-color: var(--cyan); color: #fff; }
.crumbs { font-size: 11px; color: var(--dim); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
.sol-body h2 { margin-top: 22px; }
.sol-body .grid2 { margin: 12px 0; }
.sol-body > p, .prose > p { max-width: 720px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 22px; font-size: 21px; }
.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.faq h3 { font-size: 14px; margin-bottom: 4px; }
.faq p { margin: 0; }

/* get started (web only) */
.get { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.cta { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 8px; padding: 10px 16px; text-decoration: none; border: 1px solid transparent; }
.cta.pri { background: var(--cyan); color: var(--bg); }
.cta.pri:hover { background: #67e8f9; }
.cta.sec { border-color: var(--line); color: var(--text); background: var(--panel); }
.cta.sec:hover { border-color: var(--cyan); }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.contact label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; color: var(--muted); }
.contact .wide { grid-column: 1 / -1; }
.contact input, .contact select, .contact textarea { font: 400 13px/1.4 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 8px 9px; width: 100%; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact button { font: 700 13px 'Segoe UI', Arial, sans-serif; background: var(--cyan); color: var(--bg); border: 0; border-radius: 8px; padding: 10px 18px; cursor: pointer; }
.contact button:disabled { opacity: .6; cursor: progress; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-status { margin: 0; font-size: 12px; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: var(--rose); }

.rfoot { max-width: 1180px; margin: 0 auto; padding: 22px 20px 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.rfoot a { color: var(--muted); margin-left: 16px; }
.rfoot a:first-child { margin-left: 0; }

/* wide mockups scroll inside their frame on narrow screens; the page itself never scrolls sideways */
.win, .paper, table.cmp { max-width: 100%; }

@media (max-width: 1000px) {
  .rsec-in { zoom: 1.12; }
}
@media (max-width: 760px) {
  .rsec-in { zoom: 1; padding: 32px 0 28px; }
  .rsec .grid2, .rsec .grid3, .rsec .flow, .rsec .diagram, .rsec .get, .rsec .contact, .rsec .faqs,
  .rsec [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .rsec .step { margin: 0 0 10px; }
  .rsec .step::after { display: none; }
  .rsec .win .app-body, .rsec .paper { overflow-x: auto; }
  .rsec table.grid { min-width: 520px; }
  .rsec table.cmp { display: block; overflow-x: auto; }
  .rsec .app-status { display: none; }
  .rsec .fields { grid-template-columns: 1fr 1fr; }
  .cover-top { grid-template-columns: 1fr 72px !important; gap: 12px; }
  .cover-logo { width: 72px; height: 72px; border-radius: 16px; }
  .topband-mark { width: 110px; height: 110px; border-radius: 24px; }
  .cover h1, .rsec h1 { font-size: 28px; }
  .rsec h2 { font-size: 22px; }
  .rsec p { font-size: 14px; }
  .rsec .lead { font-size: 15px; }
  .rhead nav .cross { border-left: none; padding-left: 0; }
  .rhead { position: static; }
  .head-dl { display: none; }
  .rsec { scroll-margin-top: 0; }
}
