/* ==========================================================================
   Briefing layer: Lab technology briefings, the webinar page and the
   library of trusted sources. Builds on site.css tokens and components.
   ========================================================================== */

/* ---------- Hero ---------- */
.brief-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.brief-hero .eyebrow.brief-over { display: block; margin-top: 22px; color: var(--ink-2); }
.brief-hero .brief-over + h1 { margin-top: 10px; }
.brief-hero .phero-grid { align-items: center; }

/* Platform-at-a-glance card (hero aside) */
.brief-plat { background: var(--surface); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); display: grid; min-width: 0; }
.bp-logo { display: grid; place-items: center; min-height: 176px; padding: 28px 32px; border-bottom: 1px solid var(--line); background: var(--surface); }
.bp-logo img { display: block; width: auto; height: auto; max-width: min(100%, 340px); max-height: 120px; object-fit: contain; }
.bp-logo.square img { max-height: 132px; }
.bp-body { padding: 20px 24px 22px; display: grid; gap: 14px; }
.bp-name { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.bp-name .eyebrow { flex: none; }
.bp-name strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 17px; line-height: 1.3; }
.bp-facts { list-style: none; display: grid; border-top: 1px solid var(--line); }
.bp-facts li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 11px 0 10px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.bp-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.bp-facts li::before { content: ""; width: 10px; height: 10px; background: var(--yellow); border: 1px solid var(--ink); margin-top: 6px; }
.bp-facts strong { color: var(--ink); font-weight: 650; }

/* Past-event / status note */
.brief-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line-strong); font-family: var(--f-mono); font-stretch: 87.5%; font-size: 12px; letter-spacing: .03em; color: var(--ink-2); }
.brief-note::before { content: ""; width: 8px; height: 8px; background: var(--muted); flex: none; }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.use { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: 26px 26px 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.use-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.use h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.2; letter-spacing: -.015em; }
.use h3 em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow-soft) 58%); }
.use p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.use strong { color: var(--ink); font-weight: 650; }
.use .btn-text { justify-self: start; margin-top: 6px; }
.use.long { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px clamp(28px, 4vw, 56px); }
.use.long > div { display: grid; gap: 12px; align-content: start; }
.use.long .checklist { align-self: start; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 36px); }
.use.long .checklist li { font-size: 15.5px; }
@media (max-width: 860px) {
  .uses { grid-template-columns: minmax(0, 1fr); }
  .use.long { grid-template-columns: minmax(0, 1fr); }
  .use.long .checklist { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
}

/* Feature rows with a screenshot (Claude) */
.feats { display: grid; border-top: 2px solid var(--ink); }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.feat:nth-child(even) .feat-media { order: -1; }
.feat-text { display: grid; gap: 14px; align-content: start; }
.feat-text h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.feat-text p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 58ch; }
.feat-media { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: clamp(10px, 1.6vw, 18px); }
.feat-media img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; object-position: top center; }
@media (max-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat:nth-child(even) .feat-media { order: 0; }
}

/* Deployment phases (Antigravity) */
.phases { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.phase { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.phase-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.phase h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 20px; line-height: 1.25; }
.phase p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1080px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .phases { grid-template-columns: minmax(0, 1fr); } }

/* Ebook / resource box */
.ebook { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ebook .media img { background: var(--surface-2); }
.ebook-text { display: grid; gap: 16px; align-content: start; }
.ebook-text .row { margin-top: 8px; }
@media (max-width: 860px) { .ebook { grid-template-columns: minmax(0, 1fr); } }

/* Results: three case cards */
.brief-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.brief-cases .case-card .cc-stat strong { font-size: clamp(38px, 3.6vw, 52px); }
@media (max-width: 1000px) { .brief-cases { grid-template-columns: minmax(0, 1fr); } }

/* Agent rows: keep the arrow column tidy */
.rows .r-k.agent { color: var(--ink); }

/* CTA band extras */
.cta-band .cta-note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.cta-band .cta-links { margin-top: 22px; }

/* ---------- Webinar ---------- */
.wb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); counter-reset: wb; }
.wb-cards .card { counter-increment: wb; padding: 26px; }
.wb-cards .card::after { content: counter(wb, decimal-leading-zero); position: absolute; top: 22px; right: 24px; font-family: var(--f-mono); font-stretch: 87.5%; font-size: 12px; font-weight: 600; color: var(--muted); }
.wb-cards .card h3 { padding-right: 40px; }
@media (max-width: 760px) { .wb-cards { grid-template-columns: minmax(0, 1fr); } }
.wb-stack { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.wb-stack li { background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.wb-stack .wb-ill { display: grid; place-items: center; background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 16px; aspect-ratio: 4 / 3; overflow: hidden; }
.wb-stack .wb-ill img { width: auto; height: 100%; max-height: 180px; object-fit: contain; }
.wb-stack .wb-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.wb-stack h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 19px; line-height: 1.25; }
.wb-stack p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1080px) { .wb-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wb-stack { grid-template-columns: minmax(0, 1fr); } }
.wb-host { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wb-host .media img { filter: grayscale(1) contrast(1.05); }
.wb-host blockquote { font-family: var(--f-display); font-stretch: 106%; font-weight: 520; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink); border-left: 3px solid var(--yellow); padding-left: 20px; margin-top: 22px; max-width: 60ch; }
@media (max-width: 760px) { .wb-host { grid-template-columns: minmax(0, 1fr); } .wb-host .media { max-width: 240px; } }
.wb-register { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.wb-register .form select { appearance: auto; }
@media (max-width: 900px) { .wb-register { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Library of sources ---------- */
.src-feature { background: var(--surface); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); display: grid; min-width: 0; }
.src-feature .sf-head { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.src-feature .sf-head h2 { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.src-feature .sf-cover { display: grid; place-items: center; background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 20px; }
.src-feature .sf-cover img { width: auto; max-height: 220px; }
.src-feature .sf-body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.src-feature h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 20px; line-height: 1.25; }
.src-feature p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.src-feature .btn { justify-self: start; margin-top: 6px; }
.src-list { list-style: none; display: grid; border-top: 2px solid var(--ink); }
.src-list > li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px clamp(20px, 3vw, 40px); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.src-thumb { display: grid; place-items: center; width: 112px; height: 104px; background: var(--surface); border: 1px solid var(--line); padding: 8px; }
.src-thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.src-main { display: grid; gap: 6px; min-width: 0; }
.src-main h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 680; font-size: 19px; line-height: 1.3; }
.src-main h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.src-main p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
.src-list .btn-text { white-space: nowrap; }
@media (max-width: 760px) {
  .src-list > li { grid-template-columns: 80px minmax(0, 1fr); align-items: start; }
  .src-thumb { width: 80px; height: 76px; padding: 6px; }
  .src-list .btn-text { grid-column: 2; justify-self: start; }
}

/* ---------- Fixes on top of site.css ---------- */
.brief-plat .bp-logo img { border: 0; background: none; }
.feat-text .tag, .ebook-text .label { justify-self: start; }
.brief-quotes .quote { grid-template-rows: auto 1fr auto; align-content: stretch; }
.brief-quotes .quote blockquote { align-self: start; }
.cta-band h2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1; }
.src-feature .sf-cover img { border: 0; background: none; width: auto; }
