/* trailer.css: the Willowbrook trailer blocks (partials wb-trailer, wb-trailer-sm,
   wb-trailer-mini). Self-contained so it works on both the x.css pages and the
   older base.css pages. White, minimal, Willowbrook green for the main button. */
.wbt, .wbt-dialog { --t-wb: var(--wb, #2E8B57); --t-wb2: var(--wb-2, #1F6B41); --t-ink: var(--ink, #0E1118); --t-ink2: var(--ink-2, #3A4152); --t-line: var(--line, #DDE0E7);
  color: var(--t-ink); }
.wbt { background: #fff; padding: clamp(48px, 7vw, 96px) 0; }
.wbt-in { width: min(1040px, calc(100% - 32px)); margin-inline: auto; }
.wbt-head { text-align: center; margin-bottom: clamp(22px, 3vw, 36px); }
.wbt-k { margin: 0 0 10px; font-family: var(--f-display, inherit); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--t-wb); }
.wbt-h { margin: 0; font-family: var(--f-display, inherit); font-weight: 750; line-height: 1.05; letter-spacing: -.01em; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); color: var(--t-ink); text-wrap: balance; }
.wbt-h em { font-style: normal; color: var(--t-wb); }
.wbt-lede { margin: 12px auto 0; max-width: 46ch; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--t-ink2); }

.wbt-frame { margin: 0; }
.wbt-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0E1118; box-shadow: 0 0 0 1px var(--t-line), 0 24px 60px -28px rgba(14, 17, 24, .45); }
.wbt-poster, .wbt-media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; background: #0E1118; }
.wbt-media { object-fit: contain; }
.wbt-play { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(14px, 2.4vw, 28px); border: 0; cursor: pointer; color: #fff; font: inherit; text-align: left;
  background: linear-gradient(to top, rgba(14, 17, 24, .55), rgba(14, 17, 24, 0) 55%); }
.wbt-play[hidden], .wbt-poster[hidden] { display: none; }
.wbt-ic { position: relative; flex: none; width: clamp(56px, 8vw, 84px); height: clamp(56px, 8vw, 84px); border-radius: 50%; background: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .25s ease; }
.wbt-ic::after { content: ''; position: absolute; top: 50%; left: 54%; width: 0; height: 0; transform: translate(-50%, -50%); border-style: solid; border-width: .5em 0 .5em .8em; font-size: clamp(22px, 3.2vw, 32px); border-color: transparent transparent transparent var(--t-wb); }
.wbt-play:hover .wbt-ic { transform: scale(1.08); }
.wbt-lab { margin-left: 16px; align-self: center; font-family: var(--f-display, inherit); font-weight: 700; font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); line-height: 1.15; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.wbt-lab small { display: block; font-weight: 500; font-size: .75em; opacity: .9; margin-top: 3px; }
.wbt-play { align-items: center; justify-content: center; flex-direction: row; background: linear-gradient(to top, rgba(14, 17, 24, .5), rgba(14, 17, 24, .05) 60%); }
.wbt-play:focus-visible, .wbt-btn:focus-visible, .wbt-minibtn:focus-visible, .wbt-x:focus-visible { outline: 3px solid #1B6FEA; outline-offset: 3px; }
.wbt-media:focus-visible { outline: 3px solid #1B6FEA; outline-offset: -3px; }
.wbt-cap { margin: 12px 0 0; text-align: center; font-size: .9rem; color: #5A6172; }
.wbt-cap a { color: inherit; }
.wbt-err { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 16px; background: #fff; color: var(--t-ink); font-size: .95rem; text-align: center; }

.wbt-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(20px, 3vw, 30px); }
.wbt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-family: var(--f-display, inherit); font-weight: 700; font-size: 1.05rem; line-height: 1.1; text-decoration: none; text-align: center; cursor: pointer; transition: background .2s, box-shadow .2s; }
.wbt-btn-wb { background: var(--t-wb); color: #fff; box-shadow: 0 10px 24px -10px rgba(46, 139, 87, .7); }
.wbt-btn-wb:hover { background: var(--t-wb2); color: #fff; }
.wbt-btn-line { background: #fff; color: var(--t-ink); box-shadow: inset 0 0 0 1.5px var(--t-ink); }
.wbt-btn-line:hover { background: var(--t-ink); color: #fff; }

/* smaller block (home) */
.wbt-sm { padding: clamp(40px, 6vw, 72px) 0; }
.wbt-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.wbt-sm .wbt-stage { border-radius: 20px; }
.wbt-sm .wbt-ic { width: clamp(52px, 6vw, 68px); height: clamp(52px, 6vw, 68px); }
.wbt-sm .wbt-h { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.wbt-sm .wbt-lede { margin-left: 0; }
.wbt-sm .wbt-btns { justify-content: flex-start; }

/* one-button version (shop, apps, premium) */
.wbt-center { text-align: center; margin-top: 6px; }
.wbt-mini { margin: 14px 0; }
.wbt-minibtn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 8px; border: 0; border-radius: 999px; background: #fff; color: #0E1118; cursor: pointer; font: 700 1rem/1.2 var(--f-display, inherit); box-shadow: inset 0 0 0 1.5px #DDE0E7; }
.wbt-minibtn:hover { box-shadow: inset 0 0 0 1.5px #0E1118; }
.wbt-minibtn small { font-weight: 500; color: #5A6172; font-size: .85em; }
.wbt-minibtn .wbt-ic { width: 34px; height: 34px; background: var(--wb, #2E8B57); box-shadow: none; }
.wbt-minibtn .wbt-ic::after { font-size: 11px; border-left-color: #fff; }
.wbt-dialog { width: min(960px, 96vw); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #fff; overflow: visible; }
.wbt-dialog::backdrop { background: rgba(14, 17, 24, .72); }
.wbt-stage-dlg { border-radius: 20px 20px 0 0; box-shadow: none; }
.wbt-btns-dlg { margin: 0; padding: 16px; }
.wbt-x { position: absolute; top: -18px; right: -6px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #0E1118; font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }

@media (max-width: 760px) {
  .wbt-two { grid-template-columns: 1fr; }
  .wbt-sm .wbt-head, .wbt-copy { text-align: center; }
  .wbt-sm .wbt-lede { margin-inline: auto; }
  .wbt-sm .wbt-btns { justify-content: center; }
  .wbt-btns { flex-direction: column; align-items: stretch; }
  .wbt-stage { border-radius: 16px; }
  .wbt-lab { margin-left: 12px; }
  .wbt-x { top: -14px; right: 2px; }
}
@media (prefers-reduced-motion: reduce) { .wbt-ic, .wbt-btn { transition: none; } .wbt-play:hover .wbt-ic { transform: none; } }
