/* WB-6 · marketing-web white-flow canonical, 2026-09-14.
   One white canvas; CSS 3D gives native product interfaces spatial continuity.
   User-directed marketing composition and ink actions: see DIRECTION.md. */
.marketing-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 40px;
}
.marketing-section {
  padding-block: 100px;
}
.site-home .button--plain {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
}
.site-home .button--plain:hover {
  background: var(--surface-muted);
}
.welcome-mark {
  position: relative;
  width: 228px;
  margin: 0 auto 28px;
  padding-bottom: 12px;
}
.welcome-mark__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1853 / 730;
}
.welcome-mark__stage canvas,
.welcome-mark__stage img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.welcome-mark__tagline {
  margin: -14px 0 0;
  font-size: 9px;
  letter-spacing: 0.045em;
  color: var(--ink-secondary);
}
.welcome-mark__replay {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  border: 0;
  padding: 8px 12px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 9px;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-logo-state='playing'] [data-logo-tagline],
[data-logo-state='paused'] [data-logo-tagline] {
  opacity: 0;
}
.trinity-wordmark {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  color: #d62a55;
  background: linear-gradient(90deg, color-mix(in srgb, #ff2a43 58%, #742aff), #ff2a43, #ff7c2a);
  /* impeccable-disable-next-line gradient-text -- the Trinity wordmark is a brand mark, not heading copy */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.marketing-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.marketing-heading h2 {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 24px;
}
.marketing-heading > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-secondary);
  max-width: 550px;
  margin: 0 auto;
}
.tour-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}
.tour-choice {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 24px;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.3;
  font-size: 14px;
}
.tour-choice strong {
  font-weight: 600;
}
.tour-choice[aria-pressed='true'] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.tour-choice:hover {
  border-color: var(--ink-secondary);
}
.tour-choice[aria-pressed='true']:hover {
  border-color: var(--brand);
}
.tour-scene {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  scroll-margin-top: 130px;
}
.tour-layout:not(.is-enhanced) .tour-scene + .tour-scene {
  margin-top: 60px;
}
.tour-scene__visual {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 28px 24px;
  background: var(--surface-subtle);
}
.device-phone--product {
  width: 440px;
  max-width: 100%;
  aspect-ratio: 1.17;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  transition: transform 250ms ease;
}
.device-phone--product img {
  border-radius: 0;
  transform: translateY(-43.5%);
}
[data-tour-panel='messages'] .device-phone--product img {
  transform: translateY(-11.2%);
}
[data-tour-panel='messages'] .device-phone--product {
  aspect-ratio: 1.35;
}
[data-tour-panel='roster'] .device-phone--product img {
  transform: translateY(-41.5%);
}
[data-tour-panel='roster'] .device-phone--product {
  aspect-ratio: 1.55;
}
[data-tour-panel='payments'] .device-phone--product img {
  transform: translateY(-10.6%);
}
[data-tour-panel='payments'] .device-phone--product {
  aspect-ratio: 1.14;
}
.device-phone--product:hover {
  transform: translateY(-4px);
}
.screen-zoom-label {
  display: block;
  text-align: center;
  color: var(--ink-secondary-on-fill);
  font-size: 11px;
  margin-top: 20px;
}
.screen-zoom-label > span {
  margin-left: 5px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  font-weight: 650;
}
.tour-scene__story {
  min-width: 0;
  max-width: 440px;
}
.tour-scene__story .eyebrow {
  color: var(--ink-secondary);
  margin-bottom: 20px;
}
.tour-scene__story h3 {
  margin-bottom: 24px;
}
.tour-scene__story > p:not(.eyebrow, .preview-disclosure, .tour-fee-note) {
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.product-details {
  margin: 0;
}
.product-details > div {
  border-top: 1px solid var(--border);
  padding-block: 20px;
}
.product-details dt {
  font-size: 14px;
  font-weight: 650;
}
.product-details dd {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin: 6px 0 0;
}
.preview-disclosure {
  color: var(--ink-secondary);
  font-size: 11px;
  line-height: 1.6;
  margin: 24px 0 0;
}
.tour-fee-note {
  color: var(--ink-secondary);
  font-size: 12px;
  line-height: 1.7;
  margin: 12px 0 0;
}
/* Native crops retain source pixels; their surroundings join the white page. */
.tour-selector {
  justify-content: center;
  margin-bottom: 55px;
}
.tour-scene__visual {
  padding: 24px 16px;
  background: #fff;
}
.device-phone--product {
  display: block;
  box-shadow: 0 16px 48px rgb(13 15 20 / 6%);
}
.device-phone--product img {
  display: block;
  width: 100%;
  height: auto;
}
.tour-scene__story > p:not(.eyebrow, .preview-disclosure, .tour-fee-note) {
  font-size: 15px;
  margin-bottom: 24px;
}
.product-details > div {
  padding-block: 16px;
}
.team-invitation {
  padding-block: 84px 100px;
}
.team-invitation__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 0.9fr auto;
  gap: 30px;
  align-items: center;
}
.team-invitation h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 29px;
  margin: 0 0 12px;
}
.team-invitation p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin: 0;
}
.plan-glance > span {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.plan-glance > strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.035em;
  line-height: 1.5;
}
.plan-glance small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  color: var(--ink-secondary);
}
@media (max-width: 1100px) {
  .team-invitation__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .team-invitation__grid > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 900px) {
  .marketing-section {
    padding-block: 65px;
  }
  .tour-scene {
    gap: 40px;
  }
  .tour-scene__story h3 {
  }
}
@media (max-width: 760px) {
  .marketing-wrap {
    padding-inline: 24px;
  }
  .welcome-mark {
    width: 190px;
    margin-bottom: 29px;
  }
  .marketing-heading h2 {
    font-size: 36px;
  }
  .marketing-heading > p {
    font-size: 15px;
  }
  .tour-selector {
    gap: 6px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
  }
  .tour-choice {
    font-size: 12px;
    padding: 12px 13px;
  }
  .tour-scene {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .tour-scene__visual {
    padding: 18px 8px;
  }
  .tour-scene__story {
    max-width: none;
  }
  .tour-scene__story h3 {
  }
  .tour-scene__story > p:not(.eyebrow, .preview-disclosure, .tour-fee-note) {
    font-size: 14px;
  }
  .device-phone--product {
    width: 440px;
    border-radius: 16px;
  }
  .team-invitation {
    padding-block: 35px 65px;
  }
  .team-invitation__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .team-invitation__grid > div:first-child {
    grid-column: 1 / -1;
  }
  .team-invitation h2 {
    font-size: 28px;
  }
}
@media (max-width: 380px) {
  .marketing-wrap {
    padding-inline: 20px;
  }
  .tour-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .device-phone--product:hover {
    transform: none;
  }
}
.screen-lightbox {
  width: min(1040px, calc(100vw - 48px));
  height: min(820px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  border: 1px solid var(--border);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: 20px;
  overscroll-behavior: contain;
  overflow: hidden;
}
.screen-lightbox[open] {
  display: flex;
  flex-direction: column;
}
.screen-lightbox::backdrop {
  background: rgb(13 15 20 / 85%);
}
.screen-lightbox__bar {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}
.screen-lightbox__bar > p {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.screen-lightbox button {
  min-height: 40px;
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
}
.screen-lightbox button:hover {
  background: var(--surface-muted);
}
.screen-lightbox button[aria-pressed='true'] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.screen-lightbox__close,
.screen-lightbox__paging button {
  border-radius: 8px;
}
.screen-lightbox__close span {
  margin-left: 8px;
  font-size: 18px;
}
.screen-lightbox__modes {
  display: flex;
  gap: 8px;
}
.screen-lightbox__modes button,
.screen-lightbox__choices button {
  border-radius: 999px;
}
.screen-lightbox__body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}
.screen-lightbox__sidebar {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  overflow: auto;
}
.screen-lightbox__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.screen-lightbox__story {
  margin-top: 44px;
}
.screen-lightbox__story .eyebrow {
  margin-bottom: 24px;
}
.screen-lightbox__story h2 {
  margin: 0 0 22px;
}
.screen-lightbox__story > p:last-child {
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 28px;
}
.screen-lightbox__paging {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  flex-shrink: 0;
}
.screen-lightbox__paging button {
  padding-inline: 10px;
}
.screen-lightbox__paging span {
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}
.screen-lightbox__stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface-subtle);
}
.screen-lightbox__viewport {
  flex: 1;
  min-height: 0;
  padding: 28px 24px 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.screen-lightbox__viewport:focus-visible {
  outline-offset: -4px;
}
.screen-lightbox__viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.screen-lightbox[data-screen-mode='read'] .screen-lightbox__viewport img {
  width: min(390px, 100%);
  height: auto;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .screen-lightbox {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .screen-lightbox__bar {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
    gap: 8px 16px;
  }
  .screen-lightbox__close {
    grid-column: 2;
    grid-row: 1;
  }
  .screen-lightbox__modes {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .screen-lightbox button {
    min-height: 44px;
  }
  .screen-lightbox__body {
    display: flex;
    flex-direction: column;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .screen-lightbox__sidebar {
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    overflow: visible;
    flex-shrink: 0;
  }
  .screen-lightbox__choices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .screen-lightbox__choices button {
    padding-inline: 5px;
    font-size: 11px;
  }
  .screen-lightbox__story {
    display: none;
  }
  .screen-lightbox__stage {
    flex: 1;
  }
  .screen-lightbox__viewport {
    padding: 18px 16px 0;
  }
  .screen-lightbox__paging {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--border);
  }
  .screen-lightbox__paging button {
    padding-inline: 20px;
  }
  .screen-lightbox__paging span {
    font-size: 11px;
  }
}
@media (max-width: 350px) {
  .screen-lightbox__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* WB-6 native screen reel: courier-reference lateral sweep, white app planes.
   src/app-reel.js animates the track; these individual poses stay stable. */
.app-reel {
  margin: 0 -32px 64px;
}
.app-reel__stage {
  overflow: clip;
  perspective: 1700px;
  padding: 26px 36px 62px;
}
.app-reel__track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(28px, 5vw, 72px);
  transform-style: preserve-3d;
}
.app-reel__card {
  flex: 0 0 min(25%, 260px);
  min-width: 0;
  margin: 0;
  transform: translateY(var(--reel-y, 0px)) rotateY(var(--reel-yaw, 9deg))
    rotateZ(var(--reel-roll, -2deg));
  transform-style: preserve-3d;
}
.app-reel__card--messages {
  --reel-y: 28px;
  --reel-yaw: -4deg;
  --reel-roll: 1deg;
}
.app-reel__card--payments {
  --reel-yaw: -10deg;
  --reel-roll: 2deg;
}
.app-reel__plane {
  display: block;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border: 1px solid #d8d9df;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 22px 45px rgb(13 15 20 / 10%),
    0 3px 8px rgb(13 15 20 / 4%);
}
.app-reel__plane img {
  display: block;
  width: 100%;
  height: auto;
}
/* The fees capture has a long empty tail below its three fee rows. Keep the
   useful crop beside the other screens; the link still opens the full capture. */
@media (min-width: 761px) {
  .app-reel__card--payments {
    align-self: flex-end;
  }
  .app-reel__card--payments .app-reel__plane {
    aspect-ratio: 390 / 440;
  }
}
.app-reel__plane:hover {
  border-color: var(--ink-secondary);
}
.app-reel__plane:focus-visible {
  outline-offset: 5px;
}
.app-reel__label {
  margin: 18px 0 0;
  text-align: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.app-reel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 32px;
}
.app-reel__footer p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 11px;
  line-height: 1.8;
}
.app-reel__motion {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.app-reel__motion:hover {
  border-color: var(--ink-secondary);
  background: var(--surface-subtle);
}
.app-reel__swipe-hint {
  display: none;
}
@media (max-width: 760px) {
  .app-reel {
    margin: 0 -24px 42px;
  }
  .app-reel__stage {
    padding: 24px 24px 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    overscroll-behavior-x: contain;
    perspective: none;
  }
  .app-reel__track {
    justify-content: flex-start;
    gap: 28px;
    width: max-content;
    padding-right: 24px;
    transform: none;
  }
  .app-reel__card {
    flex: 0 0 auto;
    width: min(66vw, 270px);
    transform: none;
    scroll-snap-align: start;
  }
  .app-reel__plane {
    border-radius: 22px;
    box-shadow: 0 12px 26px rgb(13 15 20 / 7%);
  }
  .app-reel__footer {
    padding-inline: 24px;
  }
  .app-reel__desktop-hint {
    display: none;
  }
  .app-reel__swipe-hint {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce), (max-height: 600px) {
  .app-reel__track,
  .app-reel__card {
    transform: none;
  }
  .app-reel__stage {
    perspective: none;
  }
}
@media (max-width: 380px) {
  .app-reel {
    margin-inline: -20px;
  }
  .app-reel__stage {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .app-reel__footer {
    padding-inline: 20px;
  }
}
.try-trinity h2 {
  font: 500 44px var(--font-body);
  margin: 0;
  max-width: 650px;
}
.trinity-film {
  --film-progress: 0;
  min-width: 0;
}
.try-trinity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 100px;
  margin-top: 30px;
  padding-bottom: 10px;
}
.try-trinity__copy {
  padding-top: 35px;
}
.try-trinity__copy > p {
  max-width: 350px;
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin: 24px 0;
}
.try-trinity__demo .demo__shell {
  box-shadow: 0 15px 60px -40px #18273d45;
  border: 1px solid #dce0e7;
  border-radius: 18px;
  overflow: hidden;
}
.try-trinity__demo .demo__bar {
  background: #fff;
  border-bottom: 1px solid #e4e7ec;
}
.try-trinity__demo .demo__body {
  padding: 23px;
}
.try-trinity__demo .demo__prompt {
  font-size: 16px;
}
.try-trinity__demo .demo__reply {
  font-size: 13px;
}
.try-trinity__demo .demo__context {
  background: #f7f8fa;
  color: #0d0f14;
}
.try-trinity__demo .demo__context-detail {
  color: #727b88;
}
.try-trinity__demo .demo__proposal {
  border-color: #dde2e9;
  background: #fff;
}
.try-trinity__demo .demo__scenarios {
  justify-content: center;
}
.try-trinity__demo .demo__scenario {
  background: #f3f4f6;
  border: 0;
  color: #555e6d;
}
.try-trinity__demo .demo__scenario[aria-pressed='true'] {
  background: #0d0f14;
  color: #fff;
}
.try-trinity__demo .demo__disclosure {
  text-align: center;
}
.try-trinity__demo .demo__status {
  font-size: 11px;
}
.try-trinity__demo .trinity-wordmark {
  font-family: var(--font-display);
  font-size: 32px;
  background: linear-gradient(90deg, #a929a4, #ff2a43, #ff7c2a);
  /* impeccable-disable-next-line gradient-text -- the Trinity wordmark is a brand mark, not heading copy */
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.try-trinity__demo .tag {
  background: #f5f6f8;
  border: 1px solid #e4e7eb;
  color: #6a7280;
}
.site-home .marketing-wrap {
  max-width: 1280px;
}
.site-home .product-feature {
  padding-block: 140px 100px;
}
.site-home .marketing-heading {
  align-items: flex-end;
}
.site-home .marketing-heading h2 {
  font: 500 44px var(--font-body);
  max-width: 620px;
}
.site-home .marketing-heading > p {
  font-size: 16px;
  max-width: 360px;
}
.site-home .team-invitation {
  padding-block: 100px;
}
.team-invitation .welcome-mark {
  width: 180px;
  margin: 0 0 35px;
  padding-bottom: 0;
}
.team-invitation .welcome-mark__tagline {
  font-size: 8px;
  margin-top: -10px;
}
.team-invitation .welcome-mark__replay {
  font-size: 9px;
  bottom: -19px;
}
.team-invitation h2 {
  font: 500 38px var(--font-body);
}
.site-home .foot {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .try-trinity {
    gap: 50px;
  }
  .try-trinity h2 {
    font-size: 40px;
  }
}
@media (max-width: 800px) {
  .try-trinity h2 {
    font-size: 34px;
  }
  .try-trinity {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .try-trinity__copy {
    padding: 0;
  }
  .try-trinity__copy > p {
    max-width: 500px;
    margin: 20px 0 0;
  }
  .site-home .product-feature {
    padding-block: 90px 70px;
  }
  .site-home .marketing-heading h2 {
    font-size: 34px;
  }
  .team-invitation .welcome-mark {
    margin-bottom: 35px;
  }
}
@media (max-width: 520px) {
  .try-trinity h2 {
    font-size: 32px;
  }
  .try-trinity {
    gap: 28px;
    margin-top: 0;
  }
  .try-trinity__demo .demo__body {
    padding: 18px;
  }
  .try-trinity__demo .demo__bar {
    padding: 15px 18px;
  }
  .try-trinity__demo .demo__scenarios {
    flex-wrap: wrap;
  }
  .try-trinity__demo .demo__status {
    font-size: 10px;
  }
  .site-home .marketing-heading h2 {
    font-size: 32px;
  }
  .site-home .marketing-heading > p {
    font-size: 15px;
  }
  .site-home .team-invitation {
    padding-top: 70px;
  }
  .team-invitation h2 {
    font-size: 32px;
  }
}
