/* The hero: the headline, the captions and progress bars, the stage with
 * the 'You' card and the three people, the cards Copus finishes, and the
 * flying bird. */

h1 {
  font-size: 74px;
  line-height: 1.06;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
h1 span {
  display: block;
}
.left .btn--lg {
  margin-top: 56px;
  padding: 17px 32px;
  font-size: 17px;
}
.cap {
  position: relative;
  min-height: 62px;
  text-wrap: balance;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.cap em {
  font-style: normal;
  color: var(--accent);
}
.cap span {
  position: absolute;
  inset: 0 0 auto 0;
  text-wrap: balance;
}
.stage {
  position: relative;
  height: 410px;
  margin-top: 14px;
}
.scene {
  position: absolute;
  inset: 0;
}
.av {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--bone);
  color: var(--ink-2);
}
.av--you {
  background: color-mix(in srgb, var(--accent) 16%, var(--bone));
  color: var(--accent);
  font-size: 12px;
}
.card {
  position: absolute;
  width: 380px;
  zoom: 0.94;
}
.c1 {
  left: 0;
  top: 34px;
  rotate: -1.5deg;
}
.c2 {
  left: 137px;
  top: 146px;
  rotate: 1deg;
  z-index: 2;
}
.c3 {
  left: 273px;
  top: 258px;
  rotate: -0.8deg;
  z-index: 3;
}
.card .preview-card {
  box-shadow:
    0 2px 6px -2px rgb(var(--shadow) / 0.12),
    0 26px 50px -28px rgb(var(--shadow) / 0.5);
}
.card .splash__deck {
  margin: auto 0;
}
.card .splash__points {
  margin-bottom: auto;
}
.att {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--surface);
  width: max-content;
}
.att img {
  width: 15px;
  height: 15px;
}
.att__name {
  font-weight: 500;
  font-size: var(--t-xs);
}
.splash__caret {
  display: none;
}
.preview-card__body {
  font-size: var(--t-sm);
}
.who {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--bone);
  font-size: var(--t-xs);
  color: var(--ink-2);
}
.who b {
  font-weight: 600;
  color: var(--ink);
}
.prog {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  width: max-content;
}
.prog i {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--rule);
  overflow: hidden;
  cursor: pointer;
}
.prog b {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
canvas#sky {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 19;
}
#flyer {
  position: fixed;
  left: 0;
  top: 0;
  width: 66px;
  height: 66px;
  overflow: visible;
  pointer-events: none;
  z-index: 20;
}
.src {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, var(--rule));
  box-shadow:
    0 2px 6px -2px rgb(var(--shadow) / 0.12),
    0 22px 44px -26px rgb(var(--shadow) / 0.5);
  z-index: 3;
  transform-origin: 50% 0;
}
.src__icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--icon-tile);
  border: 1px solid var(--rule-soft);
  display: grid;
  place-items: center;
}
.src__icon img {
  width: 20px;
  height: 20px;
}
.src__who {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.src__what {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.35;
}
.src__note {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.src__note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent);
}
.you {
  position: absolute;
  left: 0;
  top: 0;
  width: 357px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, var(--rule));
  box-shadow:
    0 2px 6px -2px rgb(var(--shadow) / 0.12),
    0 22px 44px -26px rgb(var(--shadow) / 0.5);
}
.you .av {
  width: 40px;
  height: 40px;
  font-size: 12px;
  flex: 0 0 auto;
}
.you__t {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.you__t b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.you__t span {
  font-size: 13px;
  color: var(--ink-2);
}
.person {
  grid-template-rows: auto auto;
}
.person .src__icon.av {
  border-radius: 50%;
  background: var(--bone);
  border: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.person .src__who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.person .src__who i {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent);
}
.person .src__note {
  margin-top: 4px;
}
.tree {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.tree path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 40%, var(--rule));
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
}
.person .src__who i.r-cust {
  background: color-mix(in srgb, var(--viz-3) 13%, var(--surface));
  color: var(--viz-3);
}
.person .src__who i.r-team {
  background: color-mix(in srgb, var(--viz-5) 14%, var(--surface));
  color: var(--viz-5);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 44px 40px;
  min-height: min(calc(100vh - 100px), 690px) !important;
  padding-bottom: 8px !important;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: 0 !important;
    padding: 28px 22px 24px !important;
  }
  .left .btn--lg {
    margin-top: 28px;
  }
}
@media (max-width: 680px) {
  .hero {
    padding: 0 22px 28px !important;
    gap: 0;
  }
  .left {
    min-height: calc(80svh - 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 4vh;
  }
  h1 {
    letter-spacing: -0.025em;
    font-size: 44px;
    line-height: 1.08;
  }
  .left .btn--lg {
    margin-top: 32px;
    padding: 15px 26px;
    font-size: 16.5px;
    align-self: flex-start;
  }
  .right {
    margin-top: 8px;
  }
  .prog {
    margin-bottom: 8px;
  }
  .cap {
    font-size: 16.5px;
    min-height: 46px;
  }
  .stage {
    height: 300px;
    margin-top: 10px;
  }
  .card {
    width: calc(100% - 56px);
    zoom: 1;
    rotate: 0deg !important;
  }
  .c1,
  .c2,
  .c3 {
    left: 0;
    top: 0;
  }
  .you {
    width: 100%;
    padding: 9px 12px;
    gap: 10px;
  }
  .you .av {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }
  .you__t b {
    font-size: 13.5px;
  }
  .you__t span {
    font-size: 12.5px;
    line-height: 1.35;
  }
  .you__t {
    min-width: 0;
  }
  .src {
    padding: 8px 12px;
    gap: 0 10px;
    grid-template-columns: 30px 1fr;
    border-radius: 14px;
  }
  .src__icon {
    width: 30px;
    height: 30px;
  }
  .src__icon img {
    width: 17px;
    height: 17px;
  }
  .src__who,
  .person .src__who {
    font-size: 13px;
  }
  .src__what {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .src__note {
    margin-top: 3px;
    padding-top: 4px;
    font-size: 12.5px;
    line-height: 1.3;
  }
  .person .src__note {
    margin-top: 2px;
  }
  .card .preview-card {
    padding: 9px 12px;
    gap: 5px;
    border-radius: 14px;
    min-height: 0;
  }
  .card .preview-card__from,
  .card .who,
  .card .splash__compose-foot,
  .card .splash__points,
  .card .att,
  .card .splash__slide,
  .card .datetile {
    display: none !important;
  }
  .card .preview-card__icon {
    width: 22px;
    height: 22px;
  }
  .card .preview-card__body {
    gap: 2px;
    font-size: 13px;
  }
  .card .splash__typed,
  .card .splash__meeting-when,
  .card .splash__deck-note {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
  }
  .card .splash__typed {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .card .splash__meeting,
  .card .splash__deck {
    display: block;
    margin: 0;
  }
  .card .splash__meeting-title,
  .card .splash__deck-title {
    display: block;
    font-size: 13.5px;
  }
}
