/* Book a Demo (demo.html, cn/demo.html, tc/demo.html), in the design system (2026-11-13).
   Loaded after css/site.css and css/product-page.css, which supply the hero, type scale, panels, FAQ and closing band.
   Only the page's own pieces are here: the hero with the booking form in place of a key visual, the three points,
   the agenda panel and the customer quote. */

/* ---- hero: text in the left column, the booking form on the right ---- */
.hero--demo .donb-hero { align-items: start; }
@media (min-width: 901px) { .hero--demo .donb-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 60px); } }
.hero--demo .donb-copy { padding-top: clamp(8px, 2.4vw, 34px); }

/* the three points under the sub-line: a blue title and one short line each, as under a product screen */
.demo-points { list-style: none; margin: 34px auto 0; padding: 0; max-width: 46ch; text-align: center; }
.demo-points li { padding: 18px 0; border-top: 1px solid rgba(7,34,89,.12); }
.demo-points li:first-child { border-top: 0; padding-top: 0; }
.demo-points b { display: block; font-size: 19px; letter-spacing: -.015em; line-height: 1.3; color: var(--blue); }
.demo-points span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--sub); text-wrap: balance; }
.demo-points.rv { transition-delay: .55s; }

/* the form card: white with 20px rounded corners and a soft blue shadow, no border. This softer look was chosen
   on 2026-11-13; it is an exception to square boxes, like the DeFi Shield screening card, and the Trusted box below
   matches it. The fields themselves are drawn by HubSpot inside a frame, so their font and colours are set in the
   HubSpot form settings, not here. */
.demo-form { min-width: 0; padding: 32px 34px 26px; background: var(--white); border: 0; border-radius: 20px; box-shadow: 0 0 0 1px rgba(13,79,211,.05), 0 24px 58px -28px rgba(13,79,211,.3); text-align: left; }
.demo-form h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.demo-form-sub { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--sub); }
/* a note inside the card: plain text between two rules, no tinted box (the card sits on the pale-blue hero) */
.demo-form-note { margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; color: var(--sub); }
.demo-form-note b { color: var(--blue); font-weight: 700; }
#hs-demo-form { margin-top: 22px; min-height: 380px; }
.demo-form.rv { transition-delay: .25s; }

/* ---- Trusted and Recognised, compact and boxed (this page only, 2026-11-13) ----
   The shared section (components/recognition) is loaded inside the hero and sits in the left column under the three
   points, in the space beside the form. It is a white box with the form card's rounded corners and soft shadow, so
   the two read as a pair; no border and no line above it. Its content stays the shared one; only the size changes here. On tablets and
   phones the hero is one column and the box follows the form, at the form's width. */
@media (min-width: 901px) {
  .hero--demo .donb-hero { grid-template-rows: auto 1fr; row-gap: 44px; }   /* clear space between the three points and the box */
  .hero--demo .donb-copy { grid-column: 1; grid-row: 1; }
  .hero--demo .demo-form { grid-column: 2; grid-row: 1 / span 2; }
  .hero--demo section#recognition { grid-column: 1; grid-row: 2; align-self: start; }
}
.hero--demo section#recognition.sec-pad { min-width: 0; padding: 0; background: none; }
.hero--demo section#recognition .wrap { width: auto; max-width: none; margin: 0; padding: 30px 28px 26px; background: var(--white); border: 0; border-radius: 20px; box-shadow: 0 0 0 1px rgba(13,79,211,.05), 0 24px 58px -28px rgba(13,79,211,.3); }
.hero--demo section#recognition .sec-head { margin: 0; max-width: none; }
.hero--demo section#recognition h2 { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; }
.hero--demo section#recognition .lede { margin: 6px auto 0; font-size: 14.5px; line-height: 1.55; text-wrap: balance; }
.hero--demo section#recognition .marquee { margin-top: 20px; }
.hero--demo section#recognition .mq-mask { zoom: .62; padding-bottom: 4px; }   /* logos and awards at about two thirds of their usual size */
.hero--demo section#recognition .awards-band { margin-top: 16px; }
.hero--demo section#recognition .awards-band .marquee { margin-top: 0; }
.hero--demo section#recognition .awards-note { margin-top: 14px; font-size: 12px; line-height: 1.5; text-wrap: balance; }
.hero--demo section#recognition .listed-line { margin-top: 8px; gap: 6px 8px; font-size: 12.5px; }
.hero--demo section#recognition .listed-line img { height: 20px; width: auto; }

/* ---- the 30-minute agenda: the figures panel under a heading ---- */
#agenda .pp-nums { margin-top: 48px; }
#agenda .nobr { white-space: nowrap; }   /* phones: never break "30-Minute" at its hyphen */
#agenda .pp-num span strong { font-weight: 700; color: var(--ink); }

/* ---- the customer quote ---- */
.demo-quote { margin: 0 auto; max-width: 880px; text-align: center; }
.demo-quote p { margin: 0; font-size: clamp(20px, 2.1vw, 26px); font-weight: 500; line-height: 1.45; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.demo-quote footer { margin-top: 20px; font-size: 14.5px; line-height: 1.5; color: var(--sub); }
.demo-quote footer b { font-weight: 700; color: var(--blue); }

/* ---- closing band (Chinese pages): two buttons side by side ---- */
#cta .cta-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }

@media (max-width: 900px) {
  .hero--demo .donb-hero { gap: 30px; }
  .hero--demo .donb-copy { padding-top: 0; }
  .demo-form { width: 100%; max-width: 620px; margin: 0 auto; }
  .hero--demo section#recognition .wrap { max-width: 620px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .demo-form { padding: 24px 20px 18px; } .demo-form h2 { font-size: 21px; }
  .hero--demo section#recognition .wrap { padding: 26px 18px 22px; }
  .demo-points { margin-top: 26px; } #agenda .pp-nums { margin-top: 36px; }
}
