/* Webinar landing pages — /ai-for-agents and /ai-for-agents/thanks.
   Type, colour, buttons, cards, the FAQ, the stats band and the host lockup
   all come from styles.css; this file only lays them out for a single-column,
   phone-first ad page. */

.wb-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}
.wb-narrow { max-width: 760px; }

/* Hero — full-bleed backdrop the way the homepage hero is built: photo
   behind, scrim over it, copy on top, in the homepage lockup's two registers
   (display caps for the claim, Newsreader italic for Jason's voice). No
   header: the page opens on the claim. The hero sizes to its content rather
   than the viewport, so the next band peeks in and says "scroll". */
.wb-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 9vh, 96px) 0 56px;
  overflow: hidden;
}
.wb-hero-bg { position: absolute; inset: 0; z-index: -2; }
.wb-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}
/* Left shade holds the headline; bottom fade hands off to the canvas so the
   band below starts without a seam. */
.wb-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(19, 19, 21, .9) 0%, rgba(19, 19, 21, .72) 32%, rgba(19, 19, 21, .25) 60%, rgba(19, 19, 21, 0) 78%),
    linear-gradient(180deg, rgba(19, 19, 21, .55) 0%, rgba(19, 19, 21, 0) 22%, rgba(19, 19, 21, 0) 55%, rgba(19, 19, 21, .85) 88%, #131315 100%);
}
.wb-hero-grid {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
/* Anchored to the page edge like the homepage hero, not centered: widening
   the window grows the photo, the copy stays where it is. */
.wb-hero .wb-wrap { max-width: none; margin: 0; }
.wb-hero-copy { max-width: 760px; }
.wb-hero .wb-ticket--strip { max-width: 1120px; }
.wb-eyebrow,
.wb-accent { color: var(--accent-text); }
.wb-eyebrow { margin: 0 0 22px; }
.wb-title { margin: 0; font-size: clamp(40px, 6.4vw, 100px); line-height: .92; font-weight: 800; }
.wb-title-a { display: block; }
.wb-title-b {
  display: block;
  margin-top: .14em;
  font-family: var(--font-text);
  font-style: italic;
  font-weight: 500;
  font-size: .923em;
  letter-spacing: -.015em;
  color: var(--accent-text);
}
.wb-sub {
  margin: 26px 0 0;
  max-width: 38ch;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
  color: var(--text-2);
}
.wb-cta { margin-top: 30px; }
.wb-fine { margin: 16px 0 0; color: var(--text-3); }
/* Dark ground everywhere on these pages, so the flow fill flips to paper the
   way it does on the homepage's closing panel. */
.wb .flow-btn { --flow-fill: #ECEAE4; --flow-ink: #131315; }

/* Event facts, as records. */
.wb-ticket {
  margin: 0;
  padding: 26px 30px;
  background: #1B1B1E;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.wb-ticket div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.wb-ticket div:first-child { padding-top: 0; border-top: 0; }
.wb-ticket div:last-child { padding-bottom: 0; }
.wb-ticket dt { color: var(--text-3); }
.wb-ticket dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body-sm);
  line-height: 1.35;
}

/* The same facts as one frosted strip along the bottom of the hero photo. */
.wb-ticket--strip {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr .6fr 1.1fr 1.5fr;
  padding: 0;
  background: rgba(19, 19, 21, .58);
  border-color: rgba(236, 234, 228, .12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.wb-ticket--strip div,
.wb-ticket--strip div:first-child,
.wb-ticket--strip div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border-top: 0;
  border-left: 1px solid rgba(236, 234, 228, .1);
}
.wb-ticket--strip div:first-child { border-left: 0; }

/* Bands */
.wb-section { padding: var(--sp-section) 0; border-top: 1px solid var(--line); }
.wb-h2 { margin-bottom: 56px; }

/* Three parts side by side, or one stack: never two plus an orphan. */
.wb-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.quote-card.wb-part { justify-content: flex-start; gap: 0; }
.wb-part .eyebrow { color: var(--accent-text); }
.wb-part h3 { margin: 0 0 18px; font-size: var(--fs-display-3); }
.wb-part p:not(.eyebrow) {
  margin: 0 0 18px;
  font-size: var(--fs-body-sm);
  line-height: 1.55;
  color: var(--text-2);
}
.wb-part .venture-bullets,
.wb-part > :last-child { margin-bottom: 0; }
/* Who it's for — agenda-card surface, with an indigo icon tile up top. */
.wb-for { gap: 32px; }
.wb-for li {
  padding: 34px 30px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(91, 108, 255, .07), rgba(91, 108, 255, 0) 55%), #1B1B1E;
}
.wb-for-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 14px;
  border: 1px solid rgba(91, 108, 255, .4);
  background: rgba(91, 108, 255, .14);
  color: var(--accent-text);
}
.wb-for-label { margin: 0 0 10px; font-size: var(--fs-display-3); color: var(--ink); }
.wb-step { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

/* Host — the closing panel's wash. The figure (its own bottom fades out) is
   centred on the copy block: the 1fr rows above and below copy + links split
   whatever height the two columns differ by, so whichever is shorter sits
   mid-height against the other. Stacked, the figure moves between the copy and
   the OneSpring/LinkedIn row so the face comes before the links. */
.wb-host { background: #1F2136; border-top: 0; overflow: hidden; }
.wb-host-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas:
    ".     lockup"
    "copy  lockup"
    "links lockup"
    ".     lockup";
  column-gap: 40px;
}
.wb-host-copy { grid-area: copy; }
.wb-host-lockup { grid-area: lockup; align-self: center; }
/* The photo's baked-in fade starts abruptly at ~86% of its height; on the
   homepage that edge sits on the panel's bottom and never shows. Floating
   mid-panel here it reads as a seam, so a longer fade takes over first. */
.wb-host .advisor-figure {
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 96%);
}
.wb-host .venture-title { max-width: none; }
.wb-host .venture-lead { margin: -18px 0 24px; }
.wb-host .t-prose { margin: 0 0 1.2em; color: #C6C9DA; }
/* `html` matches the specificity of styles.css's phone-deck rule that hides
   the homepage's stats band, so this later file wins it back here. */
html .wb-host .nl-stats { display: flex; margin-top: 28px; }
.wb-host .nl-stat-label { color: #8E92A8; }
/* Reader stack: same phone-deck override as the stats, and the punch-out
   border takes this panel's wash instead of the homepage's. */
html .wb-host .nl-avatars { display: flex; }
.wb-host .nl-avatar { border-color: #1F2136; }
.wb-host .nl-join { color: #8E92A8; }
.wb-host-links { grid-area: links; align-items: center; gap: 28px; margin-top: 4px; }
.wb-host-logo { display: block; width: 180px; height: auto; opacity: .55; transition: opacity .2s ease; }
.wb-host-logo-link:hover .wb-host-logo,
.wb-host-logo-link:focus-visible .wb-host-logo { opacity: 1; }
.wb-host .social-icon:hover,
.wb-host .social-icon:focus-visible { background: rgba(255, 255, 255, .08); }

/* Signup — the newsletter's pill fields, with visible labels in the record
   voice. 16px type: anything smaller and iOS zooms the page on focus. */
.wb-register-when { margin: 20px 0 48px; }
.wb-form { display: grid; gap: 24px; }
.wb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wb-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.wb-field label,
.wb-field legend { padding: 0; color: var(--text-2); }
.wb-optional { color: var(--text-3); }
.wb-form .nl-input { width: 100%; box-sizing: border-box; font-size: 16px; padding: 14px 22px; }
.wb-textarea { min-height: 96px; resize: vertical; border-radius: 18px; line-height: 1.45; }
.wb-form .nl-input.wb-textarea:focus-visible { border-radius: 18px; }

/* Yes / No as two pills; the radio stays in the DOM for keyboard and forms. */
.wb-choices { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.wb-choices legend { width: 100%; margin-bottom: 9px; }
.wb-choice { position: relative; cursor: pointer; }
.wb-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wb-choice span {
  display: block;
  min-width: 64px;
  padding: 12px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-2);
}
.wb-choice:hover span { border-color: var(--text-3); }
.wb-choice input:checked + span { background: var(--accent-deep); border-color: var(--accent-deep); color: #FFFFFF; }
.wb-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.wb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wb-submit { justify-self: start; cursor: pointer; }
.wb-submit:disabled { opacity: .6; cursor: default; }
.wb-status { margin: 0; font-size: var(--fs-body-sm); color: var(--text-2); }

/* Closing call */
.wb-final { text-align: center; }
.wb-final .t-section { margin: 0 auto; }
.wb-final-sub { margin: 24px auto 34px; }

/* Thank-you page */
.wb-thanks { padding: 96px 0 var(--sp-section); }
.wb-thanks .wb-title-b { font-size: .6em; line-height: 1.1; }
.wb-thanks .wb-ticket { margin: 44px 0 28px; }
.wb-thanks .t-prose { margin: 28px 0 0; }
.wb-thanks .t-prose a { color: var(--accent-text); }

.wb-foot { padding: 0 var(--page-gutter) 30px; }
.wb-foot .site-foot-fine { max-width: 1200px; margin: 0 auto; }
.wb-foot a { color: var(--text-3); }
.wb-foot a:hover { color: var(--accent-text); }

@media (max-width: 1000px) {
  .wb-parts { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  .wb-host-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "copy" "lockup" "links";
  }
  /* Shrink-wrapped on the copy's left edge: the HOST word stays anchored to
     the figure instead of the figure drifting to the right gutter. */
  .wb-host-lockup { justify-self: start; margin: 12px 0 4px; }
  .wb-host-links { margin-top: 0; }
  .wb-ticket--strip { grid-template-columns: 1fr 1fr 1fr; }
  .wb-ticket--strip div:nth-child(4) { border-left: 0; }
  .wb-ticket--strip div:nth-child(n+4) { border-top: 1px solid rgba(236, 234, 228, .1); }
  /* Portrait: the photo sits behind the copy, so the shade runs top to
     bottom instead of left to right, lightest around the house. */
  .wb-hero::after {
    background: linear-gradient(180deg, rgba(19, 19, 21, .5) 0%, rgba(19, 19, 21, .35) 18%, rgba(19, 19, 21, .7) 40%, rgba(19, 19, 21, .88) 62%, #131315 100%);
  }
}
@media (max-width: 600px) {
  .wb-hero { padding: 32px 0 40px; }
  .wb-hero-bg { bottom: auto; height: 78%; }
  .wb-hero-bg img { object-position: 74% center; }
  .wb-hero-grid { gap: 40px; }
  .wb-ticket--strip { grid-template-columns: 1fr 1fr; }
  /* When and For carry the long values, so they take the full width;
     Length/Where and Cost/Host pair up between them. */
  .wb-ticket--strip div,
  .wb-ticket--strip div:last-child { padding: 16px 20px; border-left: 0; border-top: 1px solid rgba(236, 234, 228, .1); }
  .wb-ticket--strip div:first-child { border-top: 0; }
  .wb-ticket--strip div:nth-child(1),
  .wb-ticket--strip div:nth-child(6) { grid-column: 1 / -1; }
  .wb-ticket--strip div:nth-child(3),
  .wb-ticket--strip div:nth-child(5) { border-left: 1px solid rgba(236, 234, 228, .1); }
  .wb-eyebrow { margin-bottom: 16px; font-size: 11px; letter-spacing: .07em; }
  .wb-sub { margin-top: 18px; font-size: 17px; }
  .wb-cta { margin-top: 22px; }
  .wb-h2 { margin-bottom: 36px; }
  .wb-for { gap: 16px; }
  .wb-for li { padding: 24px 22px 26px; }
  .wb-for-icon { width: 46px; height: 46px; margin-bottom: 18px; }
  .wb-register-when { margin: 16px 0 36px; }
  .wb-ticket { padding: 22px 20px; }
  .wb-thanks { padding-top: 40px; }
  :root { --page-gutter: 20px; }
}
