:root {
  --license-blue: #2563eb;
  --license-blue-dark: #1749b8;
  --license-ink: #13213a;
  --license-muted: #65718a;
  --license-line: #dfe6f1;
  --license-soft: #f4f7fc;
}

.license-page {
  min-height: 100vh;
  background: #fff;
  color: var(--license-ink);
}

.license-hero,
.license-product,
.license-help {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.license-hero {
  padding: 146px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr);
  gap: 76px;
  align-items: center;
}

.license-kicker,
.license-section-label {
  margin: 0 0 16px;
  color: var(--license-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.license-intro h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.license-lead {
  max-width: 650px;
  margin: 26px 0 30px;
  color: var(--license-muted);
  font-size: 19px;
  line-height: 1.78;
}

.license-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.license-points span {
  padding: 9px 12px;
  border: 1px solid #dce5f4;
  border-radius: 8px;
  background: #f8faff;
  color: #344663;
  font-size: 13px;
  font-weight: 700;
}

.license-trust {
  margin: 22px 0 0;
  color: #8490a3;
  font-size: 13px;
}

.license-trust strong {
  color: #45536a;
}

.license-checkout {
  min-height: 475px;
  padding: 30px;
  border: 1px solid var(--license-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 63, 116, .14);
}

.license-plan {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8edf5;
}

.license-plan p {
  margin: 0 0 7px;
  color: #7b879b;
  font-size: 13px;
  font-weight: 700;
}

.license-plan h2 {
  margin: 0;
  font-size: 21px;
}

.license-price {
  display: flex;
  align-items: flex-start;
  color: var(--license-blue);
}

.license-price small {
  padding-top: 7px;
  font-size: 18px;
  font-weight: 800;
}

.license-price strong {
  font-size: 50px;
  line-height: 1;
  letter-spacing: -.055em;
}

.license-state {
  padding-top: 42px;
  text-align: center;
}

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

.license-state > p {
  color: var(--license-muted);
  line-height: 1.7;
}

.license-email-field {
  display: block;
  text-align: left;
}

.license-email-field > span {
  display: block;
  margin-bottom: 9px;
  color: #34415a;
  font-size: 14px;
  font-weight: 750;
}

.license-email-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid #cfd8e7;
  border-radius: 10px;
  background: #fff;
  color: var(--license-ink);
  font: inherit;
  outline: none;
}

.license-email-field input:focus {
  border-color: var(--license-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .13);
}

.license-email-field input[aria-invalid="true"] {
  border-color: #cf3948;
}

.license-email-field small,
.license-state > small {
  display: block;
  margin-top: 8px;
  color: #8a94a6;
  font-size: 12px;
}

.license-buy-button,
.license-secondary-button,
.license-serial-row button {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background-color .18s ease, transform .18s ease;
}

.license-buy-button {
  width: 100%;
  margin: 22px 0 14px;
  padding: 15px 22px;
  background: var(--license-blue);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .22);
}

.license-buy-button:hover {
  background: var(--license-blue-dark);
  transform: translateY(-1px);
}

.license-buy-button:disabled {
  cursor: wait;
  opacity: .58;
}

.license-pay-state {
  padding-top: 22px;
}

.license-qr {
  width: 248px;
  height: 248px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.license-qr svg {
  width: 226px;
  height: 226px;
}

.license-pay-state > p {
  margin: 8px 0 14px;
  font-size: 13px;
}

.license-secondary-button {
  padding: 10px 18px;
  background: #edf2fa;
  color: #4b5a72;
}

.license-success-state {
  padding-top: 26px;
}

.license-success-state h2 {
  margin: 0 0 22px;
  font-size: 22px;
}

.license-success-state label {
  display: block;
  margin-bottom: 8px;
  color: #707b8e;
  font-size: 13px;
}

.license-email-delivery {
  margin: 14px 0 0;
  color: #397057 !important;
  font-size: 13px;
}

.license-serial-row {
  display: flex;
  gap: 8px;
}

.license-serial-row input {
  min-width: 0;
  flex: 1;
  padding: 13px 12px;
  border: 1px solid #d7dfeb;
  border-radius: 9px;
  background: #f7f9fc;
  color: var(--license-ink);
  font: 700 15px/1.2 Consolas, monospace;
  text-align: center;
}

.license-serial-row button {
  padding: 0 18px;
  background: var(--license-ink);
  color: #fff;
}

.license-message {
  min-height: 24px;
  margin: 18px 0 0;
  color: #bb2d3b;
  text-align: center;
  font-size: 14px;
}

.license-product {
  margin-bottom: 96px;
  padding: 56px;
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--license-line);
  border-radius: 22px;
  background: var(--license-soft);
}

.license-product h2,
.license-help h2 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.license-product-copy > p:not(.license-section-label) {
  margin: 20px 0 26px;
  color: var(--license-muted);
  line-height: 1.78;
}

.license-product dl {
  margin: 0;
}

.license-product dl div {
  padding: 14px 0;
  border-top: 1px solid #dce4ef;
}

.license-product dt {
  font-weight: 800;
}

.license-product dd {
  margin: 5px 0 0;
  color: var(--license-muted);
  font-size: 13px;
}

.license-preview {
  aspect-ratio: 1.58;
  border: 1px solid #cbd6e5;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(24, 54, 104, .14);
  overflow: hidden;
}

.license-preview img {
  width: 100%;
  height: 104%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.license-help {
  margin-bottom: 100px;
}

.license-help > div {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--license-line);
}

.license-help article {
  min-height: 150px;
  padding: 26px 28px 0 0;
}

.license-help article + article {
  padding-left: 28px;
  border-left: 1px solid var(--license-line);
}

.license-help article b {
  color: var(--license-blue);
  font-size: 12px;
}

.license-help h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.license-help article p {
  margin: 0;
  color: var(--license-muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: no-preference) {
  .license-intro,
  .license-checkout {
    animation: license-enter .5s ease both;
  }
  .license-checkout { animation-delay: .08s; }
}

@keyframes license-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .license-hero,
  .license-product {
    grid-template-columns: 1fr;
  }
  .license-hero {
    padding-top: 118px;
    gap: 44px;
  }
  .license-product {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .license-hero,
  .license-product,
  .license-help {
    width: min(100% - 24px, 1160px);
  }
  .license-intro h1 {
    font-size: clamp(42px, 13vw, 60px);
  }
  .license-checkout {
    min-height: 0;
    padding: 23px 18px;
    border-radius: 16px;
  }
  .license-product {
    padding: 25px 20px;
    border-radius: 16px;
  }
  .license-help > div {
    grid-template-columns: 1fr;
  }
  .license-help article,
  .license-help article + article {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--license-line);
  }
  .license-qr {
    width: 228px;
    height: 228px;
  }
  .license-qr svg {
    width: 208px;
    height: 208px;
  }
}
