/* Page styles for the Zana invite. Tokens only, no raw colour values.
   Flat blocks, no shadows, left-aligned, one column. */

.block { padding: 64px 0; }
.block-alt { background: var(--alt-row); }
.block-ink { background: var(--deep-ink); color: var(--parchment); }
.block-head { padding-top: 32px; padding-bottom: 64px; }

.mark { height: 33px; width: auto; align-self: flex-start; }

.block-head h1 { max-width: 20ch; }
.lede { font-size: 20px; line-height: 1.45; max-width: 36ch; }

h2 { max-width: 28ch; }
.wrap p { max-width: 62ch; }

.caption { font-weight: 600; max-width: none; }

/* Video and calculator stand-ins. A clear box, never a broken embed. */
.video-slot { width: 100%; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--deep-ink);
}
.video-frame iframe,
.video-frame stream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.slot-placeholder {
  display: flex;
  align-items: center;
  min-height: 160px;
  padding: 20px;
  border: 1px dashed var(--rule-gray);
  color: var(--rule-gray);
  font-size: var(--t-small);
}
/* An unfilled video looks like a video that is coming: dark frame, play mark, plain label. */
.video-slot .slot-placeholder {
  aspect-ratio: 16 / 9;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 0;
  background: var(--deep-ink);
  color: var(--subtle-gray);
  text-align: center;
}
.video-slot .slot-placeholder::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--parchment);
}

.demos { display: flex; flex-direction: column; gap: 56px; padding: 0; margin: 0; list-style: none; }
.demos > li { min-width: 0; }

/* Block 4 */
.calc-frame { display: block; width: 100%; height: 1100px; border: 0; background: var(--parchment); }

/* Block 8 */
.block-ink a { color: var(--parchment); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-call {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid var(--parchment);
  background: var(--parchment);
  color: var(--deep-ink);
  font-weight: 600;
  text-decoration: none;
}
.btn-call { transition: background-color 160ms ease, color 160ms ease, transform 160ms ease; }
.btn-call:hover { background: var(--deep-ink); color: var(--parchment); transform: translateY(-2px); }
.btn-call:active { transform: translateY(0); }
.btn-call[aria-disabled="true"] { background: transparent; color: var(--subtle-gray); border-color: var(--rule-gray); cursor: not-allowed; }
.btn-call[aria-disabled="true"]:hover { color: var(--subtle-gray); }
.block-ink .t-small { color: var(--subtle-gray); }

@media (max-width: 479px) {
  .block { padding: 48px 0; }
  .actions { flex-direction: column; }
  .btn-call { text-align: center; }
}
