/* HB9HBY licence purchase page, aligned with the public 2026 identity. */
:root {
  color-scheme: light;
  --bg: #edf0ee;
  --panel: #fbfcfa;
  --line: #bec8c2;
  --text: #111615;
  --muted: #4a5650;
  --accent: #bd352a;
  --warn: #745600;
  --danger: #d43d34;
}

body {
  background: #edf0ee;
  color: #111615;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

[hidden] {
  display: none !important;
}

main {
  width: min(100% - 40px, 1180px);
  padding: 0 0 70px;
}

.topline {
  width: 100vw;
  min-height: 82px;
  margin: 0 0 42px calc(50% - 50vw);
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: #101413;
}

.logo {
  display: block;
  width: 154px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.topline .eyebrow {
  color: #aeb6b2;
}

.topline h1 {
  color: #fff;
  font-size: 28px;
}

.lang button {
  min-height: 34px;
  border-color: rgba(255, 255, 255, .18);
  border-radius: 4px;
  background: #0a0d0c;
  color: #c7cdca;
}

.lang button.active {
  border-color: #bd352a;
  background: #bd352a;
  color: #fff;
}

.hero {
  grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
  gap: 28px;
}

h1,
h2,
p,
label {
  color: #111615;
}

h2 {
  font-size: 22px;
}

p {
  color: #4a5650;
}

.eyebrow {
  color: #bd352a;
}

.card {
  border-color: #bec8c2;
  border-radius: 6px;
  background: #fbfcfa;
  box-shadow: 0 18px 50px rgba(11, 20, 17, .08);
  padding: 24px;
}

.card:first-child {
  border-top: 4px solid #101413;
}

form.card {
  border-top: 4px solid #bd352a;
}

.selected-offer {
  border-color: #101413;
  border-radius: 5px;
  background: #101413;
}

.selected-offer-title strong,
.selected-offer-title span,
.selected-offer p {
  color: #fff;
}

.selected-offer-title span {
  color: #f2c34f;
}

.id-pill {
  border-color: #3a403e;
  border-radius: 4px;
  background: #1b211f;
  color: #dce2df;
}

.id-pill b {
  color: #fff;
}

.flow-row {
  color: #3f4844;
}

.flow-row span:first-child {
  border-radius: 50%;
  background: #bd352a;
  color: #fff;
}

.account-delivery {
  border-color: #aac4e3;
  border-radius: 5px;
  background: #eef4fb;
}

.account-delivery strong {
  color: #24568e;
}

.account-delivery p {
  color: #36546f;
}

.web-account-choice {
  border-color: #aac4e3;
  background: #eef4fb;
}

.web-account-choice legend {
  color: #24568e;
}

.web-account-choice > p {
  color: #36546f;
}

.account-confirmed {
  border-color: #b4c0b9;
  border-left: 4px solid #bd352a;
  background: #fbfcfa;
  color: #4a5650;
}

.account-confirmed strong {
  color: #111615;
}

.account-confirmed span {
  display: block;
  color: #4a5650;
  overflow-wrap: anywhere;
}

.account-mode-option {
  border-color: #aac4e3;
  background: #fbfcfa;
}

.account-mode-option:has(input:checked) {
  border-color: #24568e;
  background: #dfeafb;
  box-shadow: inset 0 0 0 1px #24568e;
}

.account-mode-option strong {
  color: #111615;
}

.account-mode-option span {
  color: #4a5650;
}

.web-account-choice > .web-approval-note {
  border-left-color: #b28722;
  background: #fff7df;
  color: #66521d;
}

.plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
  min-height: 120px;
  border-color: #bec8c2;
  border-radius: 5px;
  background: #eef1ee;
}

.plan-card strong {
  color: #111615;
}

.plan-card b {
  color: #8f261e;
}

.plan-card span,
.field-hint,
.small {
  color: #4a5650;
}

.plan-card:has(input:checked) {
  border-color: #bd352a;
  background: #f7e9e7;
  box-shadow: inset 0 0 0 1px #bd352a;
}

.plan-card input,
.terms-acceptance input {
  accent-color: #bd352a;
}

.features li {
  color: #353b38;
}

.features li::before {
  background: #087064;
}

.activation-hot {
  color: #8f261e !important;
  text-shadow: none;
}

.id-guide {
  border-color: #d8a5bf;
  border-radius: 5px;
  background: #fff5fa;
}

.id-guide strong {
  color: #9b2b62;
}

.id-guide p,
.id-guide figcaption {
  color: #754058;
}

.id-guide img {
  border-color: #bec8c2;
  background: #101413;
}

input,
textarea,
select {
  border-color: #b4c0b9;
  border-radius: 4px;
  background: #fbfcfa;
  color: #111615;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #24568e;
  outline: 3px solid rgba(36, 86, 142, .14);
  outline-offset: 1px;
}

button {
  border-color: #bd352a;
  border-radius: 4px;
  background: #bd352a;
  color: #fff;
}

.account-required-gate {
  border-top: 4px solid #bd352a;
}

.account-required-gate .button-row a {
  border-color: #bd352a;
  border-radius: 4px;
  background: #bd352a;
  color: #fff;
}

.account-required-gate .button-row a:hover,
.account-required-gate .button-row a:focus-visible {
  border-color: #8f261e;
  background: #8f261e;
  color: #fff;
}

.account-required-gate .button-row a.secondary-submit {
  border-color: #b4c0b9;
  background: #fbfcfa;
  color: #111615;
}

.account-required-gate .button-row a.secondary-submit:hover,
.account-required-gate .button-row a.secondary-submit:focus-visible {
  border-color: #8b9891;
  background: #eef1ee;
  color: #111615;
}

.secondary-submit {
  border-color: #b4c0b9;
  background: #fbfcfa;
  color: #111615;
}

.notice {
  border-color: #88bca8;
  background: #edf8f3;
  color: #235b49;
}

.error,
.order-warning {
  border-color: #e4b0ac;
  background: #fff1f0;
  color: #8b2e29;
}

.order-warning.final-before-paypal {
  border-color: #d43d34;
  background: #fff1f0;
  color: #a72e27;
}

.form-note {
  border-color: #dfc98f;
  background: #fff8e4;
  color: #66521d;
}

.terms-acceptance {
  border-color: #b8c9c2;
  background: #f3f6f4;
  color: #353b38;
}

.terms-acceptance a {
  color: #24568e;
}

.note-box {
  border-color: #b4c0b9;
  background: #eef1ee;
  color: #353b38;
}

@media (max-width: 820px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .topline {
    margin-bottom: 28px;
  }

  .logo {
    width: 132px;
  }

  .hero,
  .grid,
  .plans,
  .id-guide-grid {
    grid-template-columns: 1fr;
  }

  .topline h1 {
    font-size: 24px;
  }
}
