/* Reference-locked product tryout: editorial copy on the left, tangible Word UI on the right. */
.product-tryout {
  padding: 94px 0;
  background: #f5f9fe;
  border-top: 1px solid #d9e6f3;
}

.tryout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  align-items: center;
  gap: 74px;
}

.tryout-copy h2 {
  max-width: 520px;
  margin: 0 0 22px;
  color: #15243a;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.tryout-copy > p:not(.eyebrow) {
  max-width: 445px;
  margin: 0;
  color: #52657a;
  font-size: 17px;
  line-height: 1.62;
}

.tryout-actions {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 30px;
}

.tryout-actions .button,
.tryout-secondary {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: 14px;
}

.tryout-actions .button {
  min-width: 214px;
  background: #185abd;
  border-color: #185abd;
}

.tryout-actions svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tryout-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 205px;
  border: 1px solid #cbdced;
  background: #fff;
  color: #185abd;
  font-weight: 650;
}

.tryout-secondary span {
  font-size: 21px;
  font-weight: 400;
}

.tryout-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: #185abd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.tryout-formats li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tryout-formats li:not(:last-child)::after {
  width: 1px;
  height: 22px;
  margin: 0 13px;
  background: #b9cfe6;
  content: "";
}

.tryout-preview {
  position: relative;
  min-height: 455px;
  padding: 24px;
  overflow: visible;
  border: 1px solid #cfe0f1;
  border-radius: 18px;
  background: #e6f1fc;
  box-shadow: 0 14px 28px rgba(35, 86, 139, 0.1);
}

.tryout-editor {
  overflow: hidden;
  border: 1px solid #d1ddea;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(36, 72, 109, 0.09);
}

.tryout-editor-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 55px;
  padding: 0 15px;
  color: #52657a;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.tryout-editor-tabs .tryout-w {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  background: #185abd;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.tryout-editor-ribbon {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 43px;
  padding: 0 17px;
  border-top: 1px solid #e3ebf3;
  border-bottom: 1px solid #dce7f1;
  color: #566a7f;
  font-size: 16px;
}

.tryout-editor-ribbon b {
  font-size: 19px;
  font-weight: 400;
}
.tryout-editor-ribbon i {
  min-width: 54px;
  padding: 4px 7px;
  border: 1px solid #e0e9f1;
  color: #52657a;
  font-size: 11px;
  font-style: normal;
}
.tryout-editor-ribbon strong,
.tryout-editor-ribbon em,
.tryout-editor-ribbon u {
  font-size: 15px;
  text-decoration: none;
}
.tryout-editor-ribbon span {
  margin-left: auto;
  font-size: 15px;
}
.tryout-editor-ribbon span + span {
  margin-left: 0;
}

.tryout-editor-canvas {
  min-height: 330px;
  padding: 28px 16%;
  background: #edf4fb;
}

.tryout-sheet {
  min-height: 274px;
  padding: 38px 42px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(50, 74, 99, 0.08);
}

.tryout-sheet-kicker {
  margin: 0 0 13px;
  color: #185abd;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.tryout-sheet h3 {
  margin: 0 0 18px;
  color: #172a40;
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.12;
}
.tryout-sheet p:not(.tryout-sheet-kicker) {
  margin: 0 0 11px;
  color: #8291a1;
  font-family: Georgia, serif;
  font-size: 11px;
  line-height: 1.45;
}

.tryout-status {
  position: absolute;
  right: -19px;
  bottom: 42px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 220px;
  padding: 19px 18px;
  border: 1px solid #cedfed;
  border-radius: 8px;
  background: #fff;
  color: #63758a;
  box-shadow: 0 11px 22px rgba(35, 80, 127, 0.12);
}

.tryout-status-mark {
  color: #185abd;
  font-size: 23px;
  line-height: 1;
}
.tryout-status div {
  display: grid;
  gap: 5px;
}
.tryout-status b {
  color: #1f3045;
  font-size: 14px;
}
.tryout-status div span {
  font-size: 12px;
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .tryout-secondary {
    transition:
      border-color 160ms ease,
      background-color 160ms ease;
  }
  .tryout-secondary:hover {
    border-color: #185abd;
    background: #f7fbff;
  }
}

@media (max-width: 1000px) {
  .tryout-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .tryout-preview {
    width: min(100%, 680px);
  }
}

@media (max-width: 680px) {
  .product-tryout {
    padding: 58px 0;
  }
  .tryout-copy h2 {
    font-size: 40px;
  }
  .tryout-actions {
    flex-direction: column;
  }
  .tryout-actions .button,
  .tryout-secondary {
    width: 100%;
  }
  .tryout-formats {
    font-size: 10px;
  }
  .tryout-formats li:not(:last-child)::after {
    margin: 0 9px;
  }
  .tryout-preview {
    min-height: 348px;
    padding: 12px;
    border-radius: 10px;
  }
  .tryout-editor-tabs {
    gap: 9px;
    height: 43px;
    padding: 0 9px;
    font-size: 8px;
  }
  .tryout-editor-tabs span:nth-last-child(-n + 3) {
    display: none;
  }
  .tryout-editor-ribbon {
    gap: 7px;
    height: 36px;
    padding: 0 10px;
  }
  .tryout-editor-ribbon span {
    display: none;
  }
  .tryout-editor-canvas {
    min-height: 245px;
    padding: 18px 14%;
  }
  .tryout-sheet {
    min-height: 215px;
    padding: 27px 23px;
  }
  .tryout-sheet h3 {
    font-size: 20px;
  }
  .tryout-status {
    right: -1px;
    bottom: 20px;
    width: 198px;
    padding: 13px;
  }
}
