/* A centred opening built around the physical card. */
.card-hero {
  overflow: clip;
  position: relative;
  max-width: 1800px;
  margin: auto;
  padding: 52px 0 35px;
}
.card-hero-copy {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 0 24px;
}
.card-hero h1 {
  font-size: clamp(60px, 7.7vw, 116px);
  font-weight: 600;
  letter-spacing: -0.071em;
  line-height: 0.99;
}
.card-hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.card-hero-copy > p {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  margin: 25px auto 0;
}
.card-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 25px;
}
.hero-text-link {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  padding: 15px 0;
}
.hero-text-link span {
  font-size: 22px;
  transition: transform 0.4s var(--ease);
}
.hero-text-link:hover span {
  transform: translate(3px, 3px);
}
.card-hero-deck {
  height: calc(var(--card-w) * 1.165);
  margin-top: 45px;
  position: relative;
  perspective: 1400px;
  --card-w: 400px;
  --fan-spread: 205px;
  --fan-outer: 390px;
  --fan-inner-y: calc(var(--card-w) * 0.1);
  --fan-outer-y: calc(var(--card-w) * 0.24);
  --fan-front-y: 0px;
  --deck-progress: 0;
}
.fan-card {
  width: var(--card-w);
  aspect-ratio: 85.6/54;
  border-radius: 20px;
  position: absolute;
  left: 50%;
  top: calc(var(--card-w) * 0.42);
  padding: 27px;
  color: var(--plum);
  text-align: left;
  box-shadow:
    0 34px 35px -29px #30192e60,
    0 8px 14px -12px #30192e60;
  border: 1px solid #30192e12;
  transform-origin: 50% 85%;
  will-change: transform;
}
.fan-back {
  background: #f2e6d7;
  transform: translate(
      calc(-50% - var(--fan-spread) - var(--deck-progress) * 34px),
      calc(-50% + var(--fan-inner-y))
    )
    rotate(calc(-13deg - var(--deck-progress) * 4deg));
  z-index: 2;
}
.fan-back-mark {
  width: 31px;
  height: 31px;
}
.fan-back > strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin-top: 14px;
}
.fan-back > img {
  position: absolute;
  width: 96px;
  height: 96px;
  right: 28px;
  top: 29px;
  mix-blend-mode: multiply;
}
.fan-small-wordmark {
  position: absolute;
  bottom: 24px;
  left: 27px;
  display: grid;
}
.fan-small-wordmark small {
  font-size: 9px;
}
.fan-small-wordmark b {
  font-size: 27px;
  letter-spacing: -0.065em;
  line-height: 0.95;
}
.fan-connection {
  background: #fffefa;
  transform: translate(
      calc(-50% + var(--fan-spread) + var(--deck-progress) * 34px),
      calc(-50% + var(--fan-inner-y))
    )
    rotate(calc(13deg + var(--deck-progress) * 4deg));
  z-index: 3;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.fan-person {
  display: flex;
  gap: 12px;
  align-items: center;
}
.fan-person > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 30%;
  overflow: hidden;
  background: #f4d5bc;
  color: #75442e;
  font-size: 13px;
  font-weight: 600;
}
.fan-person > span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fan-person > div {
  display: grid;
  gap: 4px;
}
.fan-person strong {
  font-size: 19px;
  letter-spacing: -0.045em;
}
.fan-person small {
  font-size: 10px;
  color: #8b8688;
}
.fan-meeting {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 17px 0 13px;
  border-bottom: 1px solid #30192e16;
  color: #7f777c;
}
.fan-meeting svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.fan-meeting b {
  font-weight: 500;
  color: #30192e;
}
.fan-field {
  padding-top: 14px;
}
.fan-field small {
  font-size: 10px;
  color: #81767e;
}
.fan-field p {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-top: 5px;
}
.fan-front {
  background: linear-gradient(125deg, #ff6039, #ef4925 90%);
  z-index: 4;
  transform: translate(-50%, calc(-50% + var(--fan-front-y) - var(--deck-progress) * 10px))
    rotate(-2deg);
  box-shadow:
    0 30px 45px -25px #672e2a70,
    inset 0 1px 1px #ffbe9f99;
  transition:
    box-shadow 0.5s,
    rotate 0.7s var(--ease);
}
.fan-front:hover {
  rotate: 3deg;
  box-shadow:
    0 40px 50px -27px #672e2a85,
    inset 0 1px 1px #ffbe9f99;
}
.fan-front-mark {
  width: 43px;
  height: 43px;
}
.fan-wordmark {
  display: grid;
  position: absolute;
  bottom: 32px;
  left: 28px;
}
.fan-wordmark small {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.fan-wordmark strong {
  font-size: 68px;
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.075em;
}
.fan-card-edge {
  position: absolute;
  bottom: 32px;
  right: 25px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 7px;
  letter-spacing: 0.13em;
}
.fan-hint {
  position: absolute;
  right: 24px;
  top: 25px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.fan-hint svg {
  width: 14px;
  height: 14px;
}
.fan-front:hover .fan-hint,
.fan-front:focus-visible .fan-hint {
  opacity: 1;
  transform: none;
}
.card-hero.is-ready .fan-card {
  animation: fan-arrive 1.5s var(--ease) both;
}
.card-hero.is-ready .fan-back {
  animation-delay: 0.12s;
}
.card-hero.is-ready .fan-connection {
  animation-delay: 0.2s;
}
@keyframes fan-arrive {
  from {
    opacity: 0;
    translate: 0 65px;
    rotate: 0deg;
    scale: 0.94;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
/* Two app details complete the five-card fan; the orange card stays in front. */
.fan-context,
.fan-next-action {
  z-index: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.fan-context {
  background: #d8e3da;
  transform: translate(
      calc(-50% - var(--fan-outer) - var(--deck-progress) * 48px),
      calc(-50% + var(--fan-outer-y))
    )
    rotate(calc(-27deg - var(--deck-progress) * 3deg)) scale(0.9);
}
.fan-next-action {
  background: #e8d5c8;
  text-align: right;
  transform: translate(
      calc(-50% + var(--fan-outer) + var(--deck-progress) * 48px),
      calc(-50% + var(--fan-outer-y))
    )
    rotate(calc(27deg + var(--deck-progress) * 3deg)) scale(0.9);
}
.fan-context-label,
.fan-next-label {
  display: block;
  font-size: 12px;
  color: #657268;
}
.fan-date {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 14px;
}
.fan-date strong {
  font-size: 65px;
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}
.fan-date > span {
  font-size: 10px;
  letter-spacing: 0.06em;
}
.fan-event {
  display: block;
  margin-top: 12px;
  font-size: 31px;
  line-height: 1.01;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.fan-context-location {
  position: absolute;
  right: 28px;
  bottom: 28px;
  font-size: 11px;
  color: #657268;
}
.fan-context-symbol {
  position: absolute;
  right: 27px;
  top: 27px;
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #657268;
  stroke-width: 1.4;
}
.fan-private {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #827269;
}
.fan-private svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.fan-next-label {
  margin-top: 30px;
  color: #827269;
}
.fan-next-action > strong {
  display: block;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-top: 9px;
  font-weight: 550;
}
.fan-next-person {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  color: #827269;
}
.fan-next-check {
  position: absolute;
  bottom: 26px;
  left: 27px;
  width: 34px;
  height: 34px;
  border: 1px solid #c5aa98;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.fan-next-check svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #9a7863;
  stroke-width: 1.5;
}
.card-hero.is-ready .fan-context,
.card-hero.is-ready .fan-next-action {
  animation-delay: 0.28s;
}
@media (max-width: 1000px) {
  .fan-context-label,
  .fan-next-label {
    font-size: 10px;
  }
  .fan-date {
    margin-top: 11px;
    gap: 7px;
  }
  .fan-date strong {
    font-size: 45px;
  }
  .fan-date > span {
    font-size: 8px;
  }
  .fan-event {
    font-size: 24px;
    margin-top: 10px;
  }
  .fan-context-location {
    right: 23px;
    bottom: 23px;
    font-size: 9px;
  }
  .fan-context-symbol {
    width: 23px;
    height: 23px;
    right: 22px;
    top: 22px;
  }
  .fan-private {
    font-size: 8px;
  }
  .fan-private svg {
    width: 11px;
    height: 11px;
  }
  .fan-next-label {
    margin-top: 20px;
  }
  .fan-next-action > strong {
    font-size: 26px;
    margin-top: 6px;
  }
  .fan-next-person {
    font-size: 9px;
    margin-top: 12px;
  }
  .fan-next-check {
    width: 27px;
    height: 27px;
    left: 22px;
    bottom: 22px;
  }
}
@media (max-width: 700px) {
  .fan-context-label,
  .fan-next-label {
    font-size: 8px;
  }
  .fan-date {
    margin-top: 9px;
  }
  .fan-date strong {
    font-size: 37px;
  }
  .fan-event {
    font-size: 19px;
    margin-top: 8px;
  }
  .fan-context-location {
    right: 19px;
    bottom: 18px;
    font-size: 8px;
  }
  .fan-context-symbol {
    width: 19px;
    height: 19px;
    right: 18px;
    top: 18px;
  }
  .fan-private {
    font-size: 7px;
  }
  .fan-next-label {
    margin-top: 17px;
  }
  .fan-next-action > strong {
    font-size: 22px;
  }
  .fan-next-person {
    font-size: 8px;
    margin-top: 9px;
  }
  .fan-next-check {
    width: 22px;
    height: 22px;
    left: 18px;
    bottom: 18px;
  }
  .fan-next-check svg {
    width: 13px;
    height: 13px;
  }
}
.intro-scene {
  padding-top: 80px;
  padding-bottom: 0;
}
.intro-copy h2 {
  font-size: clamp(60px, 6.8vw, 96px);
}
.intro-copy > p {
  max-width: 355px;
}
@media (min-width: 1001px) {
  .intro-grid {
    max-width: 1120px;
    margin-inline: auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 32px;
  }
  .intro-phone {
    left: 28%;
  }
}
.tap-capabilities {
  display: grid;
  gap: 13px;
  font-size: 14px;
  margin-top: 26px;
}
.tap-capabilities > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tap-capabilities svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
}
@media (min-width: 1600px) {
  .card-hero {
    padding-top: 60px;
  }
  .card-hero-deck {
    --card-w: 440px;
    --fan-spread: 225px;
    --fan-outer: 430px;
  }
}
@media (max-width: 1000px) {
  .card-hero {
    padding-top: 40px;
  }
  .card-hero h1 {
    font-size: clamp(50px, 7.9vw, 78px);
  }
  .card-hero-deck {
    --card-w: 300px;
    --fan-spread: 145px;
    --fan-outer: 285px;
    margin-top: 54px;
  }
  .fan-card {
    padding: 22px;
    border-radius: 17px;
  }
  .fan-wordmark {
    left: 23px;
    bottom: 26px;
  }
  .fan-wordmark strong {
    font-size: 55px;
  }
  .fan-wordmark small {
    font-size: 11px;
  }
  .fan-front-mark {
    width: 36px;
    height: 36px;
  }
  .fan-card-edge {
    font-size: 6px;
    right: 20px;
    bottom: 26px;
  }
  .fan-back > strong {
    font-size: 23px;
  }
  .fan-back > img {
    width: 75px;
    height: 75px;
    right: 23px;
    top: 25px;
  }
  .fan-small-wordmark {
    left: 23px;
    bottom: 20px;
  }
  .fan-person > span {
    width: 35px;
    height: 35px;
  }
  .fan-person strong {
    font-size: 16px;
  }
  .fan-person small {
    font-size: 8px;
  }
  .fan-meeting {
    padding: 12px 0 9px;
    font-size: 9px;
  }
  .fan-field {
    padding-top: 9px;
  }
  .fan-field p {
    font-size: 17px;
  }
  .intro-copy h2 {
    font-size: 64px;
  }
  .intro-scene {
    padding-top: 65px;
  }
}
@media (max-width: 700px) {
  .card-hero {
    padding-top: 34px;
    padding-bottom: 20px;
  }
  .card-hero h1 {
    font-size: clamp(39px, 8.6vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.065em;
  }
  .card-hero-copy {
    padding: 0 17px;
  }
  .card-hero-copy > p {
    font-size: 15px;
    margin-top: 22px;
  }
  .card-hero-actions {
    flex-direction: column;
    gap: 3px;
    margin-top: 23px;
  }
  .card-hero-actions .button {
    padding: 18px 24px;
    font-size: 13px;
  }
  .hero-text-link {
    font-size: 12px;
    gap: 14px;
  }
  .card-hero-deck {
    --card-w: 250px;
    --fan-spread: 63px;
    --fan-outer: 118px;
    margin-top: 26px;
  }
  .fan-card {
    border-radius: 15px;
    padding: 18px;
  }
  .fan-front-mark {
    width: 29px;
    height: 29px;
  }
  .fan-wordmark {
    left: 19px;
    bottom: 23px;
  }
  .fan-wordmark strong {
    font-size: 43px;
  }
  .fan-wordmark small {
    font-size: 9px;
  }
  .fan-card-edge {
    font-size: 5px;
    right: 17px;
    bottom: 25px;
  }
  .fan-back-mark {
    width: 23px;
    height: 23px;
  }
  .fan-back > strong {
    font-size: 18px;
    margin-top: 10px;
  }
  .fan-back > img {
    width: 57px;
    height: 57px;
    right: 17px;
    top: 20px;
  }
  .fan-small-wordmark {
    left: 19px;
    bottom: 16px;
  }
  .fan-small-wordmark b {
    font-size: 20px;
  }
  .fan-small-wordmark small {
    font-size: 7px;
  }
  .fan-person {
    gap: 8px;
  }
  .fan-person > span {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  .fan-person strong {
    font-size: 13px;
  }
  .fan-person small {
    font-size: 7px;
  }
  .fan-meeting {
    font-size: 8px;
    padding: 9px 0 8px;
    gap: 6px;
  }
  .fan-meeting svg {
    width: 12px;
    height: 12px;
  }
  .fan-field {
    padding-top: 8px;
  }
  .fan-field small {
    font-size: 8px;
  }
  .fan-field p {
    font-size: 13px;
  }
  .fan-hint {
    display: none;
  }
  .intro-scene {
    padding-top: 70px;
  }
  .intro-copy h2 {
    font-size: 58px;
  }
  .intro-copy > p {
    max-width: 340px;
  }
  .tap-capabilities {
    font-size: 13px;
    gap: 10px;
    margin-top: 20px;
  }
  .intro-grid {
    gap: 30px;
  }
}
@media (max-width: 380px) {
  .card-hero h1 {
    font-size: 34px;
  }
  .card-hero-copy > p {
    font-size: 14px;
  }
  .card-hero-deck {
    --card-w: 225px;
    --fan-spread: 52px;
    --fan-outer: 100px;
  }
  .fan-wordmark strong {
    font-size: 38px;
  }
  .fan-wordmark {
    bottom: 20px;
  }
  .fan-front-mark {
    width: 26px;
    height: 26px;
  }
  .fan-person small {
    font-size: 6px;
  }
  .fan-field p {
    font-size: 12px;
  }
  .intro-copy h2 {
    font-size: 49px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-hero.is-ready .fan-card {
    animation: none;
  }
  .fan-card,
  .fan-front,
  .fan-hint,
  .hero-text-link span {
    transition: none;
  }
}
.motion-paused .card-hero.is-ready .fan-card {
  animation: none;
}
.motion-paused .fan-card {
  transition: none;
}
