/* Keep the hero product UI in sync with the feature demos, without covering
   the annotation canvas or the native toolbar with the companion windows. */
.hero-stage {
  height: auto;
  width: 100%;
  padding-inline: 12px;
}
.hero-artwork {
  position: relative;
  inset: auto;
  padding-bottom: 225px;
}
.hero .editor-window {
  width: 82%;
}
.hero .editor-desktop {
  padding: 24px 34px 78px;
}
.hero-edit-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 14px #28446916;
}
.hero .selection-border {
  inset: 23px 33px 77px;
}
.hero .selection-border i:nth-child(5) {
  left: 50%;
  top: 0;
}
.hero .selection-border i:nth-child(6) {
  left: 0;
  top: 50%;
}
.hero .selection-border i:nth-child(7) {
  left: 100%;
  top: 50%;
}
.hero .selection-border i:nth-child(8) {
  left: 50%;
  top: 100%;
}
.hero-native-toolbar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 88%;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 10px #203b5d29);
}
.hero-native-toolbar svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-history {
  width: 32%;
  left: 7%;
  bottom: 0;
  transform: rotate(-4deg);
}
.hero-history-content {
  display: flex;
  aspect-ratio: 1.95;
  min-height: 0;
  background: #fff;
  text-align: left;
}
.hero-history-list {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border-right: 1px solid #dae2ee;
  background: #fbfcff;
}
.hero-history-list > div {
  min-height: 0;
  flex: 1;
  border: 1px solid transparent;
  padding: 3px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}
.hero-history-list > div.selected {
  border-color: #1677f8;
  background: #e5efff;
}
.hero-history-list img {
  min-height: 0;
  width: 100%;
  flex: 1;
  object-fit: contain;
  background: #f3f6fa;
}
.hero-history-list > div > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 5px;
  color: #8f9fb4;
  margin-top: 2px;
}
.hero-history-list i {
  font-style: normal;
  color: #1677f8;
}
.hero-history-preview {
  width: 75%;
  display: flex;
  flex-direction: column;
  padding: 0 8px 8px;
}
.hero-history-preview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 6px;
  color: #61758f;
  padding: 9px 0;
  border-bottom: 1px solid #e6ebf2;
}
.hero-history-preview > div > span {
  color: #97a4b7;
  font-size: 5px;
}
.hero-history-preview > img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  padding-top: 6px;
}
.hero-history-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 6px;
  color: #92a1b7;
  padding: 7px 10px;
  border-top: 1px solid #e5eaf2;
}
.hero-pin {
  width: 27%;
  right: 8%;
  bottom: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  transform: rotate(4deg);
}
.hero-pin-window {
  position: relative;
  border: 1px solid #bbc9da;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px #314a7029;
}
.hero-pin-window > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
}
.hero-pin-handle {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 23px;
  height: 23px;
  border: 1px solid #d5deea;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8fbe8;
  color: #657c99;
}
.hero-pin-handle svg {
  width: 13px;
  height: 13px;
}
.hero-pin-actions {
  position: absolute;
  top: 7px;
  right: 7px;
  display: flex;
  gap: 5px;
  color: #6f849f;
}
.hero-pin-actions > [data-icon] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #f5f8fbd9;
  border-radius: 5px;
}
.hero-pin-actions svg {
  width: 11px;
  height: 11px;
}
.hero-pin .pin-caption {
  padding-top: 12px;
}
.hero .shortcut-float {
  top: 9%;
  right: 0;
}
.hero-after {
  padding-top: 60px;
}
@media (max-width: 1100px) {
  .hero-artwork {
    padding-bottom: 205px;
  }
  .hero .editor-desktop {
    padding: 24px 28px 70px;
  }
  .hero .selection-border {
    inset: 23px 27px 69px;
  }
  .hero-history {
    width: 34%;
    left: 5%;
  }
  .hero-pin {
    width: 29%;
    right: 6%;
  }
}
@media (max-width: 767px) {
  .hero-artwork {
    padding-bottom: 180px;
  }
  .hero .editor-window {
    width: 92%;
    margin-inline: auto;
  }
  .hero .editor-desktop {
    padding: 20px 24px 60px;
  }
  .hero .selection-border {
    inset: 19px 23px 59px;
  }
  .hero-native-toolbar {
    width: 91%;
    bottom: 15px;
  }
  .hero-history {
    width: 39%;
    left: 3%;
    bottom: 0;
  }
  .hero-pin {
    width: 34%;
    right: 4%;
    bottom: 5px;
  }
  .hero-after {
    padding-top: 42px;
  }
}
@media (max-width: 600px) {
  .hero-stage {
    padding-inline: 5px;
    margin-top: 30px;
  }
  .hero-artwork {
    padding-bottom: 135px;
  }
  .hero .editor-window {
    width: 96%;
    margin-inline: auto;
    border-radius: 11px;
  }
  .hero .editor-desktop {
    padding: 14px 13px 40px;
  }
  .hero .selection-border {
    inset: 13px 12px 39px;
  }
  .hero-native-toolbar {
    width: 94%;
    bottom: 10px;
  }
  .hero-history {
    width: 46%;
    left: 1%;
    bottom: 1px;
    border-radius: 8px;
  }
  .hero-history-list {
    padding: 3px;
    gap: 2px;
  }
  .hero-history-list > div {
    padding: 1px;
    border-radius: 2px;
  }
  .hero-history-list > div > span {
    font-size: 3px;
  }
  .hero-history-preview {
    padding-inline: 4px;
    padding-bottom: 4px;
  }
  .hero-history-preview > div {
    font-size: 4px;
    padding-block: 5px;
  }
  .hero-history-preview > div > span {
    font-size: 3px;
  }
  .hero-history-footer {
    font-size: 4px;
    padding: 5px;
  }
  .hero-pin {
    width: 39%;
    right: 2%;
    bottom: 9px;
  }
  .hero-pin-window {
    border-radius: 5px;
  }
  .hero-pin-handle {
    left: 4px;
    top: 4px;
    width: 17px;
    height: 17px;
    border-radius: 4px;
  }
  .hero-pin-handle svg {
    width: 10px;
    height: 10px;
  }
  .hero-pin-actions {
    top: 4px;
    right: 4px;
    gap: 3px;
  }
  .hero-pin-actions > [data-icon] {
    width: 14px;
    height: 14px;
    border-radius: 3px;
  }
  .hero-pin-actions svg {
    width: 9px;
    height: 9px;
  }
  .hero-pin .pin-caption {
    font-size: 6px;
    padding-top: 8px;
  }
  .hero-after {
    padding-top: 34px;
  }
}
/* Product-first composition: actual editor + actual settings, then capabilities. */
.hero-artwork {
  padding-bottom: 70px;
}
.hero .editor-window {
  width: 74%;
  margin-left: 3%;
  margin-right: auto;
}
.hero-edit-image {
  aspect-ratio: 1460/740;
}
.hero-settings {
  position: absolute;
  right: 1.5%;
  top: 45px;
  width: 19%;
  text-align: center;
}
.hero-settings > svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 3px 8px #213b5d24,
    0 16px 32px #29496f30;
}
.hero-settings-label {
  font-size: 10px;
  color: #8396b0;
  margin-bottom: 14px;
}
.hero-capabilities {
  position: absolute;
  bottom: 0;
  left: 3%;
  right: 1.5%;
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
  color: #607b9e;
  font-size: 12px;
}
.hero-capabilities > span {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-capabilities svg {
  width: 17px;
  height: 17px;
  color: #5b8ed0;
}
.hero .shortcut-float {
  top: 5%;
  right: 19%;
  font-size: 9px;
}
.hero-after {
  padding-top: 42px;
}
@media (max-width: 1100px) {
  .hero-artwork {
    padding-bottom: 65px;
  }
  .hero-capabilities {
    gap: 20px;
    font-size: 10px;
  }
  .hero-settings {
    top: 40px;
  }
  .hero-settings-label {
    font-size: 8px;
  }
}
@media (max-width: 767px) {
  .hero .editor-window {
    width: 75%;
    margin-left: 1%;
  }
  .hero .editor-desktop {
    padding: 18px 19px 52px;
  }
  .hero .selection-border {
    inset: 17px 18px 51px;
  }
  .hero-settings {
    width: 21%;
    right: 0;
    top: 31px;
  }
  .hero-capabilities {
    gap: 16px;
    font-size: 8px;
    left: 0;
    right: 0;
  }
  .hero-capabilities svg {
    width: 13px;
    height: 13px;
  }
  .hero .shortcut-float {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero .editor-window {
    width: 96%;
    margin-inline: auto;
  }
  .hero .editor-desktop {
    padding: 14px 13px 40px;
  }
  .hero .selection-border {
    inset: 13px 12px 39px;
  }
  .hero-settings {
    display: none;
  }
  .hero-artwork {
    padding-bottom: 78px;
  }
  .hero-capabilities {
    display: grid;
    grid-template-columns: auto auto;
    gap: 13px 22px;
    bottom: 4px;
    font-size: 9px;
  }
  .hero-capabilities svg {
    width: 14px;
    height: 14px;
  }
  .hero-after {
    padding-top: 30px;
  }
}
/* A fuller work context without letting an illustrative picture dominate. */
.hero .editor-desktop {
  background:
    radial-gradient(ellipse at 8% 5%, #c4d8f4, transparent 60%),
    radial-gradient(ellipse at 100% 90%, #d8e9e8, transparent 55%),
    linear-gradient(130deg, #e9edf4, #cfdaea);
}
.hero-work-document {
  position: relative;
  background: #fafcfe;
  border-radius: 5px;
  text-align: left;
  box-shadow: 0 4px 20px #2844691c;
  color: #425773;
}
.hero-doc-header {
  height: 43px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 0 21px;
  border-bottom: 1px solid #e1e8f1;
  background: linear-gradient(#fff, #f4f7fb);
  font-size: 10px;
}
.hero-doc-header > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 550;
}
.hero-doc-header svg {
  width: 14px;
  height: 14px;
  color: #6c98d2;
}
.hero-doc-header > small {
  font-size: 7px;
  color: #9aa9bc;
}
.hero-doc-date {
  margin-left: auto;
  color: #8c9eb5;
  font-size: 7px;
}
.hero-doc-body {
  display: grid;
  grid-template-columns: 1fr 0.39fr;
  min-height: 300px;
}
.hero-doc-main {
  padding: 28px 26px 24px;
  min-width: 0;
}
.hero-doc-eyebrow {
  font-size: 8px;
  color: #88a0be;
  letter-spacing: 0.6px;
}
.hero-doc-main h2 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin-top: 10px;
}
.hero-doc-summary {
  font-size: 10px;
  color: #899aaf;
  line-height: 1.8;
  margin-top: 8px;
}
.hero-check-list {
  display: grid;
  gap: 0;
  margin-top: 25px;
}
.hero-check-list > div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #e6ecf3;
  font-size: 11px;
  white-space: nowrap;
}
.hero-doc-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c96b7;
  background: #eaf0f8;
  font-size: 9px;
  flex-shrink: 0;
}
.hero-check-list > div:first-child .hero-doc-check {
  color: #4d8d7d;
  background: #e3f0e9;
}
.hero-check-list small {
  margin-left: auto;
  color: #9aaabd;
  font-size: 7px;
}
.hero-doc-target {
  color: #3f526c;
}
.hero-doc-outline {
  position: absolute;
  inset: 4px -8px;
  border: 2px solid #fc5962;
  border-radius: 5px;
  pointer-events: none;
}
.hero-doc-arrow {
  position: absolute;
  width: 65px;
  height: 48px;
  top: -38px;
  right: -36px;
  fill: none;
  stroke: #fc5962;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 2;
}
.hero-doc-footnote {
  font-size: 9px;
  color: #889ab3;
  margin-top: 22px;
}
.hero-doc-footnote mark {
  background: #ffedb3;
  color: #6f6a4e;
  padding: 2px 3px;
}
.hero-doc-aside {
  padding: 24px 15px;
  border-left: 1px solid #e5ebf4;
  background: linear-gradient(160deg, #f0f5fc, #f7f9fd);
  border-radius: 0 0 5px 0;
}
.hero-doc-aside > span:first-child {
  font-size: 8px;
  color: #8195b0;
}
.hero-doc-note {
  padding: 15px 12px;
  background: #ffffffa8;
  border: 1px solid #e1e9f5;
  border-radius: 8px;
  margin-top: 14px;
}
.hero-doc-note > [data-icon] {
  color: #6e9ed8;
}
.hero-doc-note svg {
  width: 16px;
  height: 16px;
}
.hero-doc-note h3 {
  font-size: 10px;
  font-weight: 500;
  margin-top: 9px;
}
.hero-doc-note p {
  font-size: 8px;
  line-height: 1.8;
  margin-top: 7px;
  color: #8a9db8;
}
.hero-doc-note-bottom {
  display: block;
  font-size: 7px;
  color: #91a2b8;
  margin-top: 15px;
}
.hero-native-selection {
  position: absolute;
  inset: -1px;
  border: 1px solid #2dcc96;
  pointer-events: none;
}
.hero-native-selection > i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #2dcc96;
  transform: translate(-50%, -50%);
}
.hero-native-selection > i:nth-child(1) {
  left: 0;
  top: 0;
}
.hero-native-selection > i:nth-child(2) {
  left: 50%;
  top: 0;
}
.hero-native-selection > i:nth-child(3) {
  left: 100%;
  top: 0;
}
.hero-native-selection > i:nth-child(4) {
  left: 0;
  top: 50%;
}
.hero-native-selection > i:nth-child(5) {
  left: 100%;
  top: 50%;
}
.hero-native-selection > i:nth-child(6) {
  left: 0;
  top: 100%;
}
.hero-native-selection > i:nth-child(7) {
  left: 50%;
  top: 100%;
}
.hero-native-selection > i:nth-child(8) {
  left: 100%;
  top: 100%;
}
.hero-support-windows {
  width: 92%;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 38px;
  align-items: start;
}
.hero-support-windows figure {
  margin: 0;
  min-width: 0;
  text-align: left;
}
.hero-support-windows figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5c7595;
  margin-bottom: 13px;
  padding-inline: 7px;
}
.hero-support-windows figcaption svg {
  width: 17px;
  height: 17px;
  color: #6e99d1;
}
.hero-support-windows figcaption > span:last-child {
  margin-left: auto;
  font-size: 9px;
  color: #91a2b8;
}
.hero-history-overview > img {
  width: 100%;
  height: auto;
  border: 1px solid #b7c6da;
  border-radius: 11px;
  box-shadow:
    0 3px 8px #25436812,
    0 14px 26px #2543681c;
}
.hero-pin-context {
  position: relative;
  aspect-ratio: 1.6;
  isolation: isolate;
}
.hero-pin-backdrop {
  position: absolute;
  inset: 0 0 8% 4%;
  padding: 22px;
  border-radius: 12px;
  background: #ffffff9c;
  border: 1px solid white;
  color: #95a7be;
}
.hero-pin-backdrop > span {
  font-size: 10px;
}
.hero-pin-backdrop > i {
  display: block;
  margin-top: 15px;
  height: 5px;
  border-radius: 3px;
  background: #dce6f3;
  width: 80%;
}
.hero-pin-backdrop > i:nth-child(3) {
  width: 60%;
}
.hero-pin-backdrop > p {
  position: absolute;
  bottom: 15px;
  left: 22px;
  font-size: 9px;
}
.hero-reference-window {
  position: absolute;
  inset: 19% 5% 18% 0;
  border: 1px solid #b6c6db;
  border-radius: 8px;
  background: #f9fbff;
  box-shadow:
    0 3px 8px #25436814,
    0 15px 28px #25436826;
  transform: rotate(3deg);
}
.hero-reference-handle {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #edf2f8;
  color: #7d91ac;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-reference-handle svg {
  width: 14px;
  height: 14px;
}
.hero-reference-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 17px 14px;
  height: 100%;
}
.hero-reference-content > img {
  width: 34%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.hero-reference-content small {
  font-size: 7px;
  color: #91a4be;
  letter-spacing: 1px;
}
.hero-reference-content h3 {
  font-size: 20px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -0.5px;
  margin-top: 7px;
}
.hero-reference-content p {
  font-size: 8px;
  color: #859ab6;
  line-height: 1.9;
  margin-top: 7px;
}
.hero-overview-note {
  text-align: center;
  font-size: 10px;
  color: #7d95b4;
  line-height: 1.8;
  margin-top: 16px;
}
.hero-overview-note kbd {
  font-size: 9px;
  border: 1px solid #dae4f2;
  background: #fff8;
  border-radius: 4px;
  padding: 3px 7px;
  margin-right: 5px;
}
.hero-artwork {
  padding-bottom: 65px;
}
.hero .shortcut-float {
  top: 3%;
}
@media (max-width: 1100px) {
  .hero-doc-main {
    padding: 22px 20px;
  }
  .hero-doc-main h2 {
    font-size: 21px;
  }
  .hero-doc-body {
    grid-template-columns: 1fr 0.38fr;
  }
  .hero-check-list > div {
    font-size: 9px;
    gap: 7px;
  }
  .hero-doc-aside {
    padding: 18px 10px;
  }
  .hero-doc-note {
    padding: 12px 8px;
  }
  .hero-support-windows {
    gap: 28px;
  }
  .hero-reference-content h3 {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .hero-doc-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-doc-aside {
    display: none;
  }
  .hero-doc-main {
    padding: 20px;
  }
  .hero-doc-main h2 {
    font-size: 20px;
  }
  .hero-doc-summary {
    font-size: 9px;
  }
  .hero-doc-header {
    height: 33px;
    padding-inline: 15px;
    font-size: 8px;
  }
  .hero-doc-date {
    font-size: 6px;
  }
  .hero-doc-header > small {
    display: none;
  }
  .hero-check-list {
    margin-top: 17px;
  }
  .hero-check-list > div {
    font-size: 10px;
    padding-block: 10px;
  }
  .hero-doc-arrow {
    right: 0;
    top: -26px;
    width: 45px;
    height: 32px;
  }
  .hero-doc-footnote {
    font-size: 8px;
    margin-top: 17px;
  }
  .hero-support-windows {
    width: 96%;
    gap: 22px;
    margin-top: 30px;
  }
  .hero-support-windows figcaption {
    font-size: 10px;
  }
  .hero-support-windows figcaption > span:last-child {
    font-size: 7px;
  }
  .hero-reference-content {
    gap: 12px;
    padding: 28px 12px 10px;
  }
  .hero-reference-content h3 {
    font-size: 15px;
  }
  .hero-reference-content p {
    font-size: 7px;
    margin-top: 4px;
  }
  .hero-pin-backdrop {
    padding: 15px;
  }
  .hero-pin-backdrop > i {
    margin-top: 10px;
  }
  .hero-overview-note {
    font-size: 8px;
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
  .hero-doc-main {
    padding: 19px 15px;
  }
  .hero-doc-main h2 {
    font-size: 18px;
  }
  .hero-doc-eyebrow {
    font-size: 6px;
  }
  .hero-doc-summary {
    font-size: 8px;
  }
  .hero-doc-header {
    font-size: 7px;
    height: 30px;
    padding-inline: 12px;
  }
  .hero-doc-header svg {
    width: 11px;
    height: 11px;
  }
  .hero-check-list > div {
    font-size: 8px;
    gap: 6px;
    padding-block: 10px;
  }
  .hero-check-list small {
    font-size: 6px;
  }
  .hero-doc-check {
    font-size: 7px;
    width: 17px;
    height: 17px;
  }
  .hero-doc-outline {
    inset: 4px -5px;
    border-width: 1.5px;
  }
  .hero-doc-footnote {
    font-size: 7px;
  }
  .hero-support-windows {
    grid-template-columns: 1fr;
    width: 88%;
    gap: 22px;
    margin-top: 28px;
  }
  .hero-support-windows figcaption {
    font-size: 11px;
  }
  .hero-support-windows figcaption > span:last-child {
    font-size: 8px;
  }
  .hero-history-overview > img {
    border-radius: 8px;
  }
  .hero-reference-content {
    gap: 17px;
    padding: 29px 16px 13px;
  }
  .hero-reference-content h3 {
    font-size: 19px;
  }
  .hero-reference-content p {
    font-size: 8px;
  }
  .hero-pin-backdrop > p {
    font-size: 8px;
  }
  .hero-overview-note {
    font-size: 9px;
  }
  .hero-artwork {
    padding-bottom: 85px;
  }
}
