/**
 * @file
 * The logged-out home page (node--landing-page.html.twig).
 *
 * Recreates the welcome page design "Amber highlight" (approved 2026-10-06):
 * its tokens, layout, breakpoints (two columns over 1100px, one column from
 * 641 to 1100px, phone at 640px and under) and video overlay. The site
 * theme's global styles load on this page too, so every rule is scoped to
 * .bdc-landing and sets what it needs explicitly.
 *
 * Color roles: blue for every action and link, amber only as the second
 * accent (play buttons with a dark icon, the highlighter mark, the eyebrow
 * pill, the circle behind the laptop). Never white text on amber.
 */

body.bdc-landing-body {
  margin: 0;
  padding: 0;
  background: #F5F8FD;
}

/* Status messages and, for editors, the View / Edit tabs sit above the page.
   With neither (an anonymous visitor, usually) they take no space. */
body.bdc-landing-body .block-system-main-block,
body.bdc-landing-body .bdc-landing-admin .block {
  margin: 0;
  padding: 0;
}

.bdc-landing-admin {
  padding: 0 16px;
}

/* The page behind the open video does not scroll. */
html:has(dialog.bdc-video-dialog[open]) {
  overflow: hidden;
}

.bdc-landing {
  /* Design tokens: BizDevCoach welcome page, Amber highlight */
  --bdc-page: #F5F8FD;
  --bdc-surface: #FFFFFF;
  --bdc-ink: #0F172A;
  --bdc-muted: #475569;
  --bdc-nav: #64748B;
  --bdc-line: rgba(15, 23, 42, 0.08);
  --bdc-blue: #2563EB;          /* primary accent: buttons, borders */
  --bdc-blue-ink: #1D4ED8;      /* blue text */
  --bdc-blue-tint: #E8EFFD;
  --bdc-amber: #F5B83D;         /* second accent: play buttons, highlight */
  --bdc-amber-mark: rgba(245, 184, 61, 0.55);
  --bdc-amber-tint: #FDF1D6;
  --bdc-amber-ink: #7A4F00;
  --bdc-amber-glow: #FDF3DE;    /* circle behind laptop */
  --bdc-laptop: #111827;
  --bdc-laptop-base: #D5DCE6;
  --bdc-laptop-notch: #B8C2D0;
  --bdc-focus: #93B4F5;
  --bdc-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --bdc-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  min-height: 100vh;
  background: var(--bdc-page);
  color: var(--bdc-ink);
  font-family: var(--bdc-sans);
  font-size: 16px;
  line-height: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.bdc-landing *,
.bdc-landing *::before,
.bdc-landing *::after {
  box-sizing: border-box;
}

/* The site theme colors every a:link and a:visited and underlines on hover
   and focus, so link rules here carry an extra class to win. */
.bdc-landing a,
.bdc-landing a:link,
.bdc-landing a:visited,
.bdc-landing a:hover,
.bdc-landing a:focus {
  text-decoration: none;
}

.bdc-landing button {
  margin: 0;
  font-family: inherit;
  line-height: normal;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.bdc-landing a:focus-visible,
.bdc-landing button:focus-visible {
  outline: 3px solid var(--bdc-focus);
  outline-offset: 3px;
}

.bdc-landing img {
  display: block;
  max-width: none;
}

/* Header ---------------------------------------------------------------- */

.bdc-landing .bdc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 64px;
  background: var(--bdc-surface);
  border-bottom: 1px solid var(--bdc-line);
}

.bdc-landing .bdc-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bdc-landing .bdc-brand__logo {
  /* The vector logo has no margin around it, so it draws at the size the
     design's 52px PNG (with its built-in margin) shows the mark, in the
     same 52px of height. */
  height: 45px;
  width: auto;
  margin: 3.5px 0;
}

.bdc-landing .bdc-brand__from {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 58px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bdc-muted);
  white-space: nowrap;
}

/* The Kohn Communications handshake, in the line's own color, between "Kohn"
   and "Communications" (the flex gap spaces it evenly on both sides). */
.bdc-landing .bdc-brand__mark {
  display: block;
  width: auto;
  height: 20px;
  flex-shrink: 0;
}

.bdc-landing .bdc-header__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.bdc-landing .bdc-nav {
  display: flex;
  align-items: center;
}

.bdc-landing .bdc-nav a,
.bdc-landing .bdc-nav a:link,
.bdc-landing .bdc-nav a:visited {
  font-size: 15px;
  padding: 12px 16px;
  color: var(--bdc-nav);
}

.bdc-landing .bdc-nav a:hover {
  color: var(--bdc-ink);
}

.bdc-landing .bdc-nav__sep {
  width: 1px;
  height: 18px;
  background: rgba(15, 23, 42, 0.15);
}

.bdc-landing .bdc-nav__login-mobile,
.bdc-landing .bdc-nav__login-mobile:link,
.bdc-landing .bdc-nav__login-mobile:visited {
  display: none;
  font-size: 15px;
  padding: 12px 4px 12px 12px;
  color: var(--bdc-nav);
}

.bdc-landing .bdc-btn-top,
.bdc-landing .bdc-btn-top:link,
.bdc-landing .bdc-btn-top:visited,
.bdc-landing .bdc-btn-top:hover {
  background: var(--bdc-blue);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
}

/* Hero ------------------------------------------------------------------ */

.bdc-landing .bdc-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  column-gap: 64px;
  align-items: center;
  min-height: calc(100vh - 107px);
  padding: 32px 64px 72px;
  max-width: 1440px;
  margin: 0 auto;
}

.bdc-landing .bdc-hero:focus {
  outline: none;
}

.bdc-landing .bdc-hero__glow {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: var(--bdc-amber-glow);
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.bdc-landing .bdc-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.bdc-landing .bdc-eyebrow {
  align-self: flex-start;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bdc-amber-ink);
  background: var(--bdc-amber-tint);
  padding: 7px 14px;
  border-radius: 999px;
}

.bdc-landing .bdc-lead {
  margin: 0;
  padding: 0;
  font-family: var(--bdc-serif);
  font-size: 38px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--bdc-ink);
  text-wrap: pretty;
}

.bdc-landing .bdc-lead__brand {
  color: var(--bdc-blue-ink);
  font-weight: 600;
}

/* A thin highlighter band (32%-84% of the line box) centered on the letters;
   clone repeats the padding and band on each line if the phrase wraps. */
.bdc-landing .bdc-lead__mark {
  background: linear-gradient(transparent 32%, var(--bdc-amber-mark) 32%, var(--bdc-amber-mark) 84%, transparent 84%);
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The price, just above the trial button: the amount in the lead's serif,
   the line under it in the page's muted text. */
.bdc-landing .bdc-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.bdc-landing .bdc-price__amount {
  margin: 0;
  font-family: var(--bdc-serif);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--bdc-ink);
}

.bdc-landing .bdc-price__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--bdc-muted);
}

.bdc-landing .bdc-ctas {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 8px;
}

/* With the price above it, the button row sits closer, so the two read as
   one offer. */
.bdc-landing .bdc-price + .bdc-ctas {
  margin-top: -6px;
}

.bdc-landing .bdc-btn-primary,
.bdc-landing .bdc-btn-primary:link,
.bdc-landing .bdc-btn-primary:visited,
.bdc-landing .bdc-btn-primary:hover {
  min-width: 300px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--bdc-blue);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.bdc-landing .bdc-btn-primary__label {
  font-size: 18px;
  font-weight: 600;
}

.bdc-landing .bdc-btn-primary__note {
  font-size: 14px;
  font-weight: 400;
}

.bdc-landing .bdc-btn-video {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px 14px 16px;
  border-radius: 14px;
  background: var(--bdc-surface);
  border: 1.5px solid var(--bdc-blue);
  box-shadow: none;
  color: var(--bdc-blue-ink);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}

.bdc-landing .bdc-btn-video:hover {
  background: #F1F5FE;
}

.bdc-landing .bdc-btn-video__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bdc-blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bdc-landing .bdc-btn-primary:hover,
.bdc-landing .bdc-btn-top:hover,
.bdc-landing .bdc-bigplay:hover {
  filter: brightness(0.92);
}

/* Laptop ---------------------------------------------------------------- */

.bdc-landing .bdc-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.bdc-landing .bdc-laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 668px;
}

.bdc-landing .bdc-laptop__screen {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 14px 18px;
  border: none;
  border-radius: 20px 20px 4px 4px;
  background: var(--bdc-laptop);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
}

.bdc-landing .bdc-laptop__display {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1920 / 1072;
  background: #E9EEF6;
}

.bdc-landing .bdc-laptop__display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.bdc-landing .bdc-laptop__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
}

.bdc-landing .bdc-playdot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bdc-amber);
  border: 5px solid #FFFFFF;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.bdc-landing .bdc-laptop__screen:hover .bdc-playdot {
  transform: translate(-50%, -50%) scale(1.06);
}

.bdc-landing .bdc-laptop__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.82);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 7px;
}

.bdc-landing .bdc-laptop__base {
  width: 117%;
  height: 16px;
  background: var(--bdc-laptop-base);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
  display: flex;
  justify-content: center;
}

.bdc-landing .bdc-laptop__notch {
  width: 16%;
  height: 5px;
  background: var(--bdc-laptop-notch);
  border-radius: 0 0 6px 6px;
}

/* Video thumbnails under the laptop -------------------------------------- */

/* Up to three, each a third of the laptop's width; one or two stay that size
   and sit centered under it. */
.bdc-landing .bdc-thumbs {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 668px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bdc-landing .bdc-thumbs__item {
  flex: 0 1 calc((100% - 32px) / 3);
  min-width: 0;
  margin: 0;
  padding: 0;
}

.bdc-landing .bdc-thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--bdc-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bdc-landing .bdc-thumb__image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bdc-laptop);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

/* YouTube's still is 4:3 with bars above and below; cover crops them. */
.bdc-landing .bdc-thumb__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bdc-landing .bdc-thumb__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bdc-amber);
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.bdc-landing .bdc-thumb:hover .bdc-thumb__play {
  transform: translate(-50%, -50%) scale(1.08);
}

.bdc-landing .bdc-thumb__label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bdc-ink);
}

.bdc-landing .bdc-thumb:hover .bdc-thumb__label {
  color: var(--bdc-blue-ink);
}

/* Video dialog ---------------------------------------------------------- */

.bdc-landing .bdc-video-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

.bdc-landing .bdc-video-dialog::backdrop {
  background: rgba(15, 23, 42, 0.80);
}

.bdc-landing .bdc-video-dialog__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bdc-landing .bdc-video-dialog__close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bdc-landing .bdc-video-dialog__close:hover {
  background: #E2E8F0;
}

.bdc-landing .bdc-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0F172A;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.bdc-landing .bdc-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0.85;
}

.bdc-landing .bdc-video-frame iframe,
.bdc-landing .bdc-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bdc-landing .bdc-bigplay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  padding: 0;
  border-radius: 50%;
  background: var(--bdc-amber);
  border: 5px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tablet: stack --------------------------------------------------------- */

@media (max-width: 1100px) {
  .bdc-landing .bdc-header {
    padding: 16px 32px;
  }

  .bdc-landing .bdc-hero {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
    padding: 32px 32px 64px;
    min-height: 0;
  }

  .bdc-landing .bdc-hero__glow {
    top: auto;
    bottom: -260px;
    right: -200px;
    transform: none;
  }
}

/* Phone: description, trial button, video button, laptop ---------------- */

@media (max-width: 640px) {
  .bdc-landing .bdc-header {
    padding: 12px 16px;
  }

  .bdc-landing .bdc-brand__logo {
    height: 33px;
    margin: 2.5px 0;
  }

  .bdc-landing .bdc-brand__from {
    padding-left: 40px;
    font-size: 12px;
  }

  .bdc-landing .bdc-brand__mark {
    height: 16px;
  }

  .bdc-landing .bdc-header__actions {
    display: none;
  }

  .bdc-landing .bdc-nav__login-mobile,
  .bdc-landing .bdc-nav__login-mobile:link,
  .bdc-landing .bdc-nav__login-mobile:visited {
    display: block;
  }

  .bdc-landing .bdc-hero {
    padding: 20px 16px 40px;
    row-gap: 24px;
  }

  .bdc-landing .bdc-hero__glow {
    display: none;
  }

  .bdc-landing .bdc-hero__copy {
    gap: 16px;
  }

  .bdc-landing .bdc-lead {
    font-size: 25px;
  }

  .bdc-landing .bdc-price {
    gap: 2px;
    margin-top: 6px;
  }

  .bdc-landing .bdc-price__amount {
    font-size: 25px;
  }

  .bdc-landing .bdc-price__note {
    font-size: 14px;
  }

  .bdc-landing .bdc-ctas {
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
  }

  .bdc-landing .bdc-price + .bdc-ctas {
    margin-top: -2px;
  }

  .bdc-landing .bdc-btn-primary,
  .bdc-landing .bdc-btn-primary:link,
  .bdc-landing .bdc-btn-primary:visited,
  .bdc-landing .bdc-btn-video {
    width: 100%;
    min-width: 0;
  }

  .bdc-landing .bdc-laptop__screen {
    padding: 8px 8px 12px;
    border-radius: 14px 14px 4px 4px;
  }

  .bdc-landing .bdc-playdot {
    width: 60px;
    height: 60px;
  }

  .bdc-landing .bdc-playdot svg {
    width: 22px;
    height: 22px;
  }

  .bdc-landing .bdc-laptop__label {
    display: none;
  }

  .bdc-landing .bdc-laptop__base {
    width: 105%;
    height: 10px;
  }

  .bdc-landing .bdc-hero__visual {
    gap: 20px;
  }

  .bdc-landing .bdc-thumbs {
    gap: 10px;
  }

  .bdc-landing .bdc-thumbs__item {
    flex-basis: calc((100% - 20px) / 3);
  }

  .bdc-landing .bdc-thumb__play {
    width: 30px;
    height: 30px;
    border-width: 2px;
  }

  .bdc-landing .bdc-thumb__play svg {
    width: 13px;
    height: 13px;
  }

  .bdc-landing .bdc-thumb__label {
    font-size: 12px;
  }

  .bdc-landing .bdc-video-frame {
    border-radius: 10px;
  }

  .bdc-landing .bdc-bigplay {
    width: 72px;
    height: 72px;
  }

  .bdc-landing .bdc-bigplay svg {
    width: 26px;
    height: 26px;
  }
}
