.license-hero {
  height: 82svh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111816;
}

.license-hero > img,
.license-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.license-hero > img {
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.04);
}

.license-hero-shade {
  background: linear-gradient(90deg, #0d1512e8 0%, #0d1512a8 48%, #0d15123d 100%),
    linear-gradient(0deg, #0d1512a8 0%, transparent 50%);
}

.license-hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 132px var(--side) 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.license-hero-copy h1 {
  max-width: 900px;
  margin: 0;
  font-size: 96px;
  line-height: .92;
  font-weight: 750;
}

.license-hero-copy > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.license-hero-copy > div > p {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
}

.license-hero-status {
  position: absolute;
  left: var(--side);
  right: var(--side);
  bottom: 0;
  z-index: 3;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff52;
  font-size: 12px;
}

.license-hero-status span:first-child,
.catalog-live {
  display: flex;
  align-items: center;
  gap: 9px;
}

.license-hero-status i,
.catalog-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #88d4a7;
  box-shadow: 0 0 0 4px #88d4a71f;
}

.license-products {
  padding: 92px var(--side) 128px;
  background: #f1f3f0;
}

.catalog-head {
  margin: 78px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .44fr);
  gap: 8vw;
  align-items: end;
}

.catalog-head h2,
.process-head h2,
.control-proof-copy h2 {
  margin: 22px 0 0;
  font-family: Arial, "Malgun Gothic", sans-serif;
  font-size: 64px;
  line-height: 1.12;
  font-weight: 650;
}

.catalog-intro > p {
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.85;
  color: #405048;
}

.catalog-live {
  font-size: 12px;
  font-weight: 700;
  color: #2e5d48;
}

.catalog-toolbar {
  min-height: 66px;
  margin-bottom: 22px;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  border-top: 1px solid #c6cdc7;
  border-bottom: 1px solid #c6cdc7;
}

.catalog-filters {
  display: flex;
  padding: 4px;
  gap: 3px;
  background: #e1e5e1;
  border-radius: 5px;
}

.catalog-filters button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.catalog-filters button:hover {
  background: #ffffff8c;
}

.catalog-filters button.active {
  background: #fff;
  color: #15221c;
  box-shadow: 0 1px 4px #15221c12;
  font-weight: 700;
}

.catalog-toolbar > span {
  font-size: 13px;
  color: #536159;
}

.license-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.license-product {
  --product-accent: #38634f;
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d3d9d4;
  border-radius: 6px;
  background: #fbfcfa;
  box-shadow: 0 18px 48px #17231d0a;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.license-product[data-brand="VELORA"] {
  --product-accent: #245b86;
}

.license-product[data-category="Creator"] {
  --product-accent: #b44d45;
}

.license-product:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--product-accent) 45%, #d3d9d4);
  box-shadow: 0 24px 62px #17231d12;
}

.license-product[hidden] {
  display: none;
}

.license-product header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--product-accent);
}

.license-product header span {
  font-size: 12px;
  font-weight: 700;
}

.license-product header i {
  width: 24px;
  height: 24px;
}

.license-product h3 {
  margin: 54px 0 17px;
  font-size: 30px;
  line-height: 1.12;
}

.license-product > p {
  max-width: 590px;
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: #526159;
}

.license-product dl {
  margin: auto 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f0f3ef;
  border-top: 2px solid var(--product-accent);
}

.license-product dl div {
  min-width: 0;
  min-height: 76px;
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  border-right: 1px solid #d5dbd6;
}

.license-product dl div:last-child {
  border-right: 0;
}

.license-product dt {
  font-size: 12px;
  color: #68756e;
}

.license-product dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.license-product button {
  min-height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--product-accent);
  border-radius: 3px;
  background: var(--product-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s;
}

.license-product button:hover {
  filter: brightness(.88);
}

.catalog-loading {
  min-height: 430px;
  border: 1px solid #d3d9d4;
  border-radius: 6px;
  background: linear-gradient(105deg, #e1e5e1 30%, #f7f8f5 45%, #e1e5e1 60%);
  background-size: 250% 100%;
  animation: catalog-loading 1.3s infinite;
}

@keyframes catalog-loading {
  to { background-position-x: -250%; }
}

.catalog-error {
  padding: 70px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.catalog-error[hidden] {
  display: none;
}

.catalog-error button {
  padding: 9px 12px;
  border: 1px solid;
  border-radius: 3px;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.license-process {
  padding: 92px var(--side) 118px;
  background: #111816;
  color: #fff;
}

.process-head {
  margin: 78px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .44fr);
  gap: 8vw;
  align-items: end;
}

.process-head h2 {
  margin: 0;
}

.process-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #ffffffb0;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ffffff42;
  border-bottom: 1px solid #ffffff42;
}

.process-rail article {
  min-height: 310px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ffffff42;
}

.process-rail article:last-child {
  border-right: 0;
}

.process-rail span {
  font-size: 12px;
  color: #9ad5b0;
}

.process-rail svg {
  width: 25px;
  height: 25px;
  margin: 34px 0 auto;
}

.process-rail h3 {
  margin: 0 0 14px;
  font-size: 21px;
}

.process-rail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #ffffffa7;
}

.license-control-proof {
  padding: 112px var(--side);
  display: grid;
  grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr);
  gap: 10vw;
  background: #e8ece8;
}

.control-proof-copy h2 {
  font-size: 60px;
}

.control-proof-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 30px 0 45px;
  font-size: 16px;
  line-height: 1.85;
}

.control-proof-ledger {
  border-top: 1px solid #aeb8b0;
}

.control-proof-ledger div {
  min-height: 94px;
  padding: 17px 0;
  display: grid;
  grid-template-columns: minmax(110px, .34fr) minmax(170px, .5fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #aeb8b0;
}

.control-proof-ledger span {
  font-size: 10px;
  color: #536159;
}

.control-proof-ledger strong {
  font-size: 17px;
}

.control-proof-ledger small {
  font-size: 10px;
  color: #647069;
}

.order-dialog {
  width: min(720px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 7px;
  background: #fbfcfa;
  color: var(--ink);
  box-shadow: 0 30px 90px #07100b66;
}

.order-dialog::backdrop {
  background: #08100bbf;
  backdrop-filter: blur(5px);
}

.order-dialog form {
  padding: 0;
}

.order-dialog header {
  padding: 28px 30px 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d5dbd6;
}

.order-dialog h2 {
  margin: 8px 0 0;
  font-size: 26px;
}

.dialog-close {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #c9d0ca;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}

.dialog-close:hover {
  background: #edf1ed;
}

.order-product {
  min-height: 74px;
  margin: 0 30px;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #d5dbd6;
}

.order-product span {
  font-size: 12px;
  color: #5e6c64;
}

.order-product strong {
  font-size: 18px;
  text-align: right;
}

.order-fields {
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.order-fields label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.order-fields input,
.order-fields select,
.order-fields textarea {
  width: 100%;
  border: 1px solid #c7cec8;
  border-radius: 3px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.order-fields input,
.order-fields select {
  height: 50px;
}

.order-fields input:focus,
.order-fields select:focus,
.order-fields textarea:focus {
  border-color: #2e5d48;
  box-shadow: 0 0 0 3px #2e5d4815;
}

.order-fields .wide {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.order-policy,
.order-message {
  margin-left: 30px;
  margin-right: 30px;
  font-size: 13px;
  line-height: 1.65;
}

.order-policy {
  margin-top: 0;
  margin-bottom: 0;
  padding: 13px 15px;
  border-left: 3px solid #38634f;
  background: #edf1ed;
}

.order-message {
  min-height: 18px;
  margin-top: 10px;
  margin-bottom: 0;
  color: #a52d25;
}

.order-dialog footer {
  margin-top: 18px;
  padding: 20px 30px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #d5dbd6;
  background: #fbfcfa;
  color: #111816;
}

.order-dialog .button {
  min-width: 138px;
  height: 45px;
  border-radius: 3px;
}

.line-dark {
  border-color: #aeb8b0;
  background: #fff;
  color: #111816;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 380px;
  padding: 15px 18px;
  border: 1px solid #ffffff4a;
  border-radius: 4px;
  background: #111816;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .2s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .license-hero-copy h1 {
    font-size: 76px;
  }

  .catalog-head h2,
  .process-head h2,
  .control-proof-copy h2 {
    font-size: 54px;
  }

  .catalog-head,
  .process-head,
  .license-control-proof {
    grid-template-columns: 1fr;
  }

  .catalog-head,
  .process-head {
    gap: 34px;
  }

  .process-rail {
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    overflow-x: auto;
  }

  .license-control-proof {
    gap: 60px;
  }
}

@media (max-width: 720px) {
  .license-hero {
    height: 84svh;
    min-height: 620px;
  }

  .license-hero-copy {
    padding-top: 108px;
    padding-bottom: 70px;
  }

  .license-hero-copy h1 {
    font-size: 56px;
    line-height: 1;
  }

  .license-hero-copy > div {
    display: block;
  }

  .license-hero-copy > div > p {
    font-size: 16px;
  }

  .license-hero-copy .button {
    margin-top: 24px;
  }

  .license-hero-status span:last-child {
    display: none;
  }

  .license-products,
  .license-process,
  .license-control-proof {
    padding-top: 68px;
    padding-bottom: 78px;
  }

  .catalog-head,
  .process-head {
    margin: 52px 0 38px;
  }

  .catalog-head h2,
  .process-head h2,
  .control-proof-copy h2 {
    font-size: 42px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 0;
  }

  .catalog-filters {
    width: 100%;
    overflow-x: auto;
  }

  .catalog-filters button {
    flex: 0 0 auto;
  }

  .license-catalog {
    grid-template-columns: 1fr;
  }

  .license-product {
    min-height: 405px;
    padding: 24px 20px;
  }

  .license-product h3 {
    margin-top: 42px;
  }

  .license-product dl div {
    padding-left: 9px;
    padding-right: 9px;
  }

  .control-proof-ledger div {
    grid-template-columns: 1fr 1fr;
  }

  .control-proof-ledger small {
    grid-column: 1 / -1;
  }

  .order-dialog {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
  }

  .order-dialog header {
    padding: 22px 20px 18px;
  }

  .order-product {
    margin: 0 20px;
  }

  .order-fields {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .order-fields .wide {
    grid-column: auto;
  }

  .order-policy,
  .order-message {
    margin-left: 20px;
    margin-right: 20px;
  }

  .order-dialog footer {
    padding: 18px 20px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .order-dialog .button {
    min-width: 0;
    width: 100%;
    padding: 0 12px;
    gap: 10px;
  }
}

/* License center readability baseline. */
.license-hero-status,
.catalog-live {
  font-size: 13px;
  font-weight: 700;
}

.catalog-intro > p,
.process-head p,
.control-proof-copy > p:not(.eyebrow) {
  font-size: 17px;
}

.catalog-filters button,
.catalog-toolbar > span {
  font-size: 14px;
}

.catalog-filters button {
  min-height: 40px;
}

.license-product header span,
.license-product dt,
.process-rail span,
.control-proof-ledger span,
.control-proof-ledger small,
.order-product span {
  font-size: 13px;
}

.license-product > p,
.process-rail p {
  font-size: 16px;
}

.license-product dd,
.catalog-error button {
  font-size: 14px;
}

.license-product button {
  min-height: 50px;
  font-size: 15px;
}

.process-rail h3 {
  font-size: 24px;
}

.control-proof-ledger strong {
  font-size: 19px;
}

.order-product strong {
  font-size: 19px;
}

.order-fields label {
  font-size: 14px;
}

.order-policy,
.order-message,
.toast {
  font-size: 14px;
}

@media (max-width: 720px) {
  .license-hero-status,
  .catalog-live,
  .license-product header span,
  .license-product dt,
  .process-rail span,
  .control-proof-ledger span,
  .control-proof-ledger small,
  .order-product span {
    font-size: 13px;
  }

  .catalog-intro > p,
  .process-head p,
  .control-proof-copy > p:not(.eyebrow),
  .license-product > p,
  .process-rail p {
    font-size: 16px;
  }
}
