/* Clarify additions on top of the dscvryai.com stylesheets (site, sections, header, light, home, hub).
   Started from Sustainize's sustainize.css. Keep this small: anything here should look like it belongs to dscvryai.com. */

/* the five steps: Question -> Access check -> Query -> Answer -> Sources */
.flow { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.flow li { background: #fff; border: 1px solid rgba(21, 23, 21, 0.1); padding: 20px 18px 22px; display: grid; gap: 6px; align-content: start; position: relative; }
.flow li:not(:last-child)::after { content: '→'; position: absolute; right: -11px; top: 22px; z-index: 1; width: 20px; height: 20px; display: grid; place-items: center; background: #f5f4ef; border-radius: 50%; font-size: 12px; color: #4b5563; }
.flow-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #1f7a57; }
.flow strong { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.flow em { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; }
.flow p { margin: 6px 0 0; color: #374151; font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow li:not(:last-child)::after { content: '↓'; right: auto; left: 18px; top: auto; bottom: -11px; } }

.example-card { max-width: 860px; background: #0b1322; color: #e6edf6; padding: clamp(22px, 3vw, 34px); margin: 0 0 22px; }
.example-kicker { margin: 0 0 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8fd3b6; }
.example-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45; }
.example-card dt { color: #8fd3b6; font-weight: 500; }
.example-card dd { margin: 0; }
.example-card dd strong { color: #fff; font-weight: 600; background: linear-gradient(transparent 62%, rgba(143, 211, 182, 0.3) 62%); }
.example-note { margin: 18px 0 0; font-size: 13px; color: #9aa6b8; }
.flow-foot { max-width: 860px; margin: 0; font-size: 16px; line-height: 1.6; color: #374151; }

/* use-case cards: the question as a small kicker, and a secondary link */
.build-card .build-q { display: block; margin: 0 0 8px; font-size: 15px; font-style: italic; color: #4b5563; }
.build-card .build-more { display: inline-block; margin-top: 6px; font-size: 14px; color: #4b5563; text-decoration: none; }
.build-card .build-more:hover { text-decoration: underline; }

/* deployment options as a single row of chips */
.deploy-row { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.deploy-row li { padding: 12px 18px; border: 1px solid rgba(21, 23, 21, 0.18); background: #fff; font-size: 16px; font-weight: 500; }

/* product name next to the Dscvry logo */
.site-header .brand-link { gap: 12px; text-decoration: none; }
.site-header .brand-link:hover .brand-product { text-decoration: none; }
.site-header .brand-product {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.light .site-header .brand-product { color: #151715; border-left-color: rgba(21, 23, 21, 0.25); }

/* plain nav links styled exactly like the dscvryai.com menu summaries */
.site-header .global-nav > a.nav-plain {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.light .site-header .global-nav > a.nav-plain { color: #151715; }
.site-header .global-nav > a.nav-plain:hover,
.site-header .global-nav > a.nav-plain[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* a figure at the top of a research card */
.build-card .build-stat {
  display: block;
  margin: 0 0 6px;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* research list on the blog index and article "at a glance" key finding */
.art-facts dd strong { font-weight: 600; }

/* two-column card grid (research index has an even number of posts) */
.build-grid.build-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .build-grid.build-grid-2 { grid-template-columns: 1fr; } }

/* closing band: demo (solid) and pilot (outline) side by side */
.close-band .close-actions, .art-cta-card .close-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.btn-line {
  display: inline-flex; align-items: center; padding: 11px 21px;
  border: 1px solid currentColor; color: inherit; font-weight: 500; text-decoration: none;
}
.btn-line:hover { background: rgba(21, 23, 21, 0.06); }

/* pilot page: keep the submit button above the fold on a laptop screen */
#form.hub-first .stage-head { margin-bottom: clamp(20px, 3vw, 36px); }
#form.hub-first .stage-title { font-size: clamp(44px, 6vw, 84px); }
#form.hub-first { padding-top: clamp(96px, 9vw, 128px); }
.art-cta-card .close-actions { justify-content: flex-start; margin-top: 8px; }
#form #contact-message { min-height: 96px; height: 96px; }
