/* try it: a dark panel that opens the live demo, with the welcome screen and three hints around it */
.try {
  background: var(--cream-2);
  padding-top: 0;
}
.try-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 64px 64px 0;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(50% 70% at 20% 90%, rgba(214, 166, 80, 0.22), transparent 70%),
    radial-gradient(55% 80% at 85% 10%, rgba(37, 99, 235, 0.4), transparent 70%), linear-gradient(160deg, var(--navy), var(--night-2));
  box-shadow: 0 40px 90px rgba(11, 31, 68, 0.25);
}
.try-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-bottom: 64px;
}
.try-copy .kicker {
  color: var(--sky);
}
.try-copy h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
}
.try-copy > p {
  color: var(--on-night-soft);
  font-size: 18px;
  max-width: 46ch;
}
.try-steps {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.try-steps li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 16px;
  border: 1px solid var(--line-night);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-night);
  font-size: 15px;
}
.try-steps b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.try-btn svg {
  width: 20px;
  height: 20px;
}
.try-note {
  font-size: 13.5px;
  color: var(--on-night-soft);
}
.try-stage {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
}
.try-phone {
  width: 260px;
  margin-bottom: -150px; /* the phone rises out of the bottom edge of the panel */
}
.try-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(3, 10, 25, 0.35);
}
.try-chip b {
  font-family: var(--f-head);
  font-size: 14.5px;
  font-weight: 600;
}
.try-chip small {
  display: block;
  font-size: 12px;
  color: var(--soft);
}
.tc-name {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 150px;
  top: 10%;
  inset-inline-start: 0;
}
.tc-name b {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
}
.caret {
  width: 2px;
  height: 18px;
  background: var(--blue);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.tc-logo {
  top: 38%;
  inset-inline-end: 0;
}
.tc-logo .f-ic {
  width: 32px;
  height: 32px;
}
.tc-look {
  top: 62%;
  inset-inline-start: 4%;
}
.tc-look .sw {
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 2px #fff;
}
.tc-look .sw.on {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #d6a650;
}
@media (max-width: 900px) {
  .try-panel {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 48px 24px 0;
    border-radius: 28px;
  }
  .try-copy {
    padding-bottom: 0;
  }
  .try-stage {
    height: 330px;
    overflow: hidden;
    margin-inline: -24px;
  }
  .try-phone {
    width: 190px;
    margin: 28px 0 0;
    transform: none;
    align-self: flex-start;
  }
  .tc-name {
    top: 56px;
    inset-inline-start: 16px;
    min-width: 0;
  }
  .tc-logo {
    top: 150px;
    inset-inline-end: 16px;
  }
  .tc-look {
    top: 232px;
    inset-inline-start: 24px;
  }
}
@media (max-width: 420px) {
  .try-btn {
    width: 100%;
  }
}
