:root {
  color-scheme: dark;
  --bg: #07111b;
  --surface: #111d29;
  --surface-2: #182534;
  --line: #40506a;
  --text: #ffffff;
  --muted: #b2bbc5;
  --cyan: #00e0ff;
  --blue: #7056ff;
  --green: #35d2a3;
  --yellow: #ffc857;
  --red: #ff6b81;
  --radius: 22px;
  --shadow: 0 22px 70px rgb(0 0 0 / 28%);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 280px;
  margin: 0;
  background:
    radial-gradient(circle at 80% -10%, rgb(112 86 255 / 24%), transparent 38rem),
    radial-gradient(circle at -10% 30%, rgb(0 224 255 / 10%), transparent 30rem),
    var(--bg);
  color: var(--text);
}
a { color: #63e9f8; text-underline-offset: .2em; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; }
button, summary, .button { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: #fff;
  color: #000;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(104 114 128 / 55%);
  background: rgb(7 17 27 / 92%);
  backdrop-filter: blur(16px);
}
.site-header nav, .site-footer, .site-main {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand-logo { width: 132px; height: auto; object-fit: contain; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #00e0ff;
  border-radius: 11px;
  background: #1f3540;
  color: var(--cyan);
  box-shadow: 0 0 22px rgb(0 224 255 / 22%);
}
.store-primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.store-primary-nav a { color: inherit; text-decoration: none; transition: color .2s ease; }
.store-primary-nav a:hover, .store-primary-nav a.active { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.nav-links > a, .link-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding-inline: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.nav-links > a:hover, .link-button:hover { color: #fff; }
.nav-links .nav-register {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 12px;
  border-color: #7056ff;
  background: linear-gradient(135deg, #7056ff, #4a8df6 68%, #42c7eb);
  color: #fff;
}
.nav-links .nav-register:hover { background: linear-gradient(135deg, #7d66ff, #53a5f7 68%, #4bd4f2); }
.nav-links form { margin: 0; }
.language-menu { position: relative; }
.language-menu summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 3.5%);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111b2c;
  box-shadow: var(--shadow);
}
.language-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: #fff; text-decoration: none; }
.language-menu a:hover { background: #1a2940; }

.site-main { min-height: calc(100vh - 230px); padding-block: 64px 100px; }
.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
}
.hero h1, .page-heading h1, .account-head h1, .legal h1, .result h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.page-heading h1, .account-head h1, .legal h1, .result h1 { font-size: clamp(2rem, 5vw, 3.7rem); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .18em;
}
.lead { max-width: 780px; color: #d8dfec; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.price { margin: 30px 0 0; font-size: clamp(1.4rem, 3vw, 2.15rem); font-weight: 800; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.feature-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.feature-list li {
  position: relative;
  padding: 22px 22px 22px 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(21 31 49 / 95%), rgb(11 20 34 / 75%));
  color: #e9effb;
  box-shadow: 0 14px 38px rgb(0 0 0 / 14%);
}
.feature-list li::before { position: absolute; left: 22px; color: var(--green); content: "✓"; font-weight: 900; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: linear-gradient(135deg, #7056ff, #4a8df6 68%, #42c7eb); color: #fff; box-shadow: 0 14px 30px rgb(112 86 255 / 28%); }
.button-primary:hover { background: linear-gradient(135deg, #7d66ff, #53a5f7 68%, #4bd4f2); color: #fff; }
.button-secondary { border-color: #4b5b73; background: #182337; color: #fff; }
.button-secondary:hover { border-color: #71849e; background: #202f48; }
.button-large { min-height: 58px; padding-inline: 30px; font-size: 1.05rem; }
.button-small { min-height: 38px; padding: 7px 12px; border-radius: 10px; font-size: .86rem; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgb(18 28 45 / 97%), rgb(11 19 32 / 97%));
  box-shadow: var(--shadow);
}
.page-heading { max-width: 900px; margin-bottom: 36px; }
.page-heading p { color: var(--muted); font-size: 1.08rem; }
.page-heading.narrow { max-width: 720px; }
.form-grid { max-width: 850px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: clamp(22px, 4vw, 42px); }
.form-stack { display: grid; gap: 20px; padding: 28px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; color: #e9eef8; font-weight: 700; }
.field > span small, .field > small { color: var(--muted); font-weight: 450; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid #3a4961;
  border-radius: 13px;
  outline: 0;
  background: #09111f;
  color: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgb(0 224 255 / 13%); }
input:invalid:not(:placeholder-shown) { border-color: var(--red); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 52px; }
.password-toggle { position: absolute; inset: 6px 6px 6px auto; width: 40px; border: 0; border-radius: 9px; background: #1a2940; color: #d9e5f7; cursor: pointer; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; font-weight: 800; }
.buyer-type { display: flex; flex-wrap: wrap; gap: 12px; }
.buyer-type legend { width: 100%; }
.choice {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid #3a4961;
  border-radius: 14px;
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--cyan); background: rgb(0 224 255 / 9%); }
.choice input, .check input { width: 21px; height: 21px; min-height: 0; flex: 0 0 auto; accent-color: var(--cyan); }
.choice span { display: grid; }
.choice small { color: var(--muted); }
.choice.compact { min-height: 48px; padding: 10px 15px; }
.company-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 20px; border: 1px solid #2f4058; border-radius: 16px; background: #0d1726; }
.company-fields[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 6px; }
.register-consent { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.register-consent a { color: var(--cyan); }

.auth-shell { width: min(520px, 100%); margin-inline: auto; }
.auth-shell .page-heading { text-align: center; }
.auth-alt { color: var(--muted); text-align: center; }
.notice { padding: 14px 17px; border: 1px solid; border-radius: 14px; }
.notice p:last-child { margin-bottom: 0; }
.notice-neutral { border-color: #36506d; background: #101f32; color: #d5e4f5; }
.notice-success { border-color: #257e69; background: #102b29; color: #bff8e6; }
.notice-warning { border-color: #7e6230; background: #292212; color: #ffe2a1; }
.notice-error { border-color: #8b3c50; background: #321621; color: #ffd6df; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 8px 12px; border: 1px solid; border-radius: 999px; font-weight: 750; }
.status.success { border-color: #277963; color: #9ff0d4; background: #0d2c28; }

.public-test-banner {
  width: min(1280px, calc(100% - 40px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid #9a7330;
  border-radius: 16px;
  background: linear-gradient(110deg, rgb(62 43 14 / 96%), rgb(31 27 21 / 96%));
  color: #fff4d4;
  box-shadow: 0 16px 38px rgb(0 0 0 / 18%);
}
.public-test-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffc857;
  color: #241904;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
  white-space: nowrap;
}
.public-test-banner__content { min-width: 0; }
.public-test-banner strong { display: block; font-size: .96rem; }
.public-test-banner p { margin: 2px 0 0; color: #eadbb7; font-size: .86rem; }

.result { width: min(720px, 100%); margin-inline: auto; padding: clamp(28px, 6vw, 58px); text-align: center; }
.result h1 { margin-top: 20px; }
.result p { color: #c7d0df; }
.result-icon { width: 72px; height: 72px; display: grid; place-items: center; margin-inline: auto; border: 1px solid #45657f; border-radius: 50%; background: #15263b; color: var(--cyan); font-size: 2rem; font-weight: 850; }
.result-icon.success { border-color: #287f69; background: #12332d; color: var(--green); }
.result-icon.warning { border-color: #86662d; background: #352810; color: var(--yellow); }
.result form { margin-top: 22px; }
.error-reference { font: .78rem ui-monospace, monospace; opacity: .55; }

.account-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.account-head h1 { font-weight: 600; }
.account-head .eyebrow { font-weight: 600; }
.account-head-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.account-head .button,
.account-section .button,
.account-preview .button,
.invoice-register .button,
.profile-card .button,
.feedback-card .button,
.signout-card .button { font-weight: 500; }
.account-head p:last-child { max-width: 720px; margin: 12px 0 0; color: var(--muted); }
.account-tabs { display: flex; gap: 9px; margin: -8px 0 28px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; }
.account-tabs a { position: relative; min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-weight: 600; text-decoration: none; white-space: nowrap; }
.account-tabs a.active { border-color: var(--cyan); background: #113142; color: #eaffff; }
.account-tabs a:hover { border-color: #4d6484; color: #fff; }
.account-tabs a:focus-visible,
.summary-card:focus-visible,
.list-card:focus-visible,
.invoice-list-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.account-tabs b { min-width: 18px; color: #63e9f8; font-size: 1.15rem; font-weight: 500; line-height: 1; text-align: center; }
.account-tabs em { font-style: normal; }
.account-tabs span { display: inline-grid; min-width: 24px; height: 24px; padding: 0 6px; place-items: center; border-radius: 999px; background: #26364d; font-size: .78rem; font-weight: 600; }
.account-tabs + .notice { margin-bottom: 24px; }
.account-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 30px 0 42px; }
.summary-card { min-width: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 22px; color: #fff; text-decoration: none; box-shadow: 0 14px 38px rgb(0 0 0 / 16%); }
.summary-card:hover { border-color: #4b718a; background: #14253a; }
.summary-card > span { width: 48px; height: 48px; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 14px; background: #123644; color: var(--cyan); font-size: 1.5rem; }
.summary-card strong { align-self: end; font-size: 1.65rem; font-weight: 600; line-height: 1.05; }
.summary-card small { min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 36px; }
.account-grid h2 { font-size: 1.5rem; font-weight: 600; }
.account-preview { margin-top: 0; }
.section-title { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-title h2 { margin: 0; }
.section-title a { font-weight: 500; white-space: nowrap; }
.account-section { max-width: 900px; }
.stack-list { display: grid; gap: 12px; }
.list-card { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 16px; background: #101a2a; color: #fff; text-decoration: none; }
.list-card:hover { border-color: #4a617f; background: #142238; }
.list-card > span { min-width: 0; display: grid; gap: 4px; }
.list-card > span:last-child { justify-items: end; text-align: right; }
.list-card strong { font-weight: 600; overflow-wrap: anywhere; }
.list-card b { font-weight: 600; }
.list-card small { color: var(--muted); }
.license-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.license-actions form { margin: 0; }
.empty { padding: 22px; color: var(--muted); }
.empty-state { min-height: 148px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px; box-shadow: none; }
.empty-state > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #36506b; border-radius: 14px; background: #0c1a2a; color: var(--cyan); font-size: 1.35rem; }
.empty-state strong { font-size: 1.05rem; font-weight: 600; }
.empty-state p { margin: 4px 0 0; color: var(--muted); }
.invoice-register { display: grid; gap: 12px; }
.invoice-list-card { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(220px, 1.4fr) minmax(120px, .65fr); gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #101a2a; color: #fff; text-decoration: none; }
.invoice-list-card:hover { border-color: var(--cyan); background: #142238; }
.invoice-list-card > span { min-width: 0; display: grid; gap: 4px; }
.invoice-list-card > span:last-child { justify-items: end; text-align: right; }
.invoice-list-card strong { font-weight: 600; overflow-wrap: anywhere; }
.invoice-list-card b { font-weight: 600; }
.invoice-list-card small { color: var(--muted); }
.profile-details { margin-top: 44px; overflow: hidden; }
.profile-details summary { padding: 22px 28px; font-size: 1.25rem; font-weight: 600; cursor: pointer; }
.profile-details[open] summary { border-bottom: 1px solid var(--line); }
.profile-details .form-grid { max-width: none; box-shadow: none; border: 0; background: transparent; }
.profile-card { max-width: 900px; overflow: hidden; }
.profile-card .form-grid { max-width: none; }
.profile-card .field,
.profile-card legend,
.feedback-card .field { font-weight: 600; }
.account-tabs ~ .status,
.account-tabs ~ .notice strong { font-weight: 600; }
.signout-card { max-width: 900px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 22px 26px; box-shadow: none; }
.signout-card h2 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.signout-card p { margin: 5px 0 0; color: var(--muted); }
.signout-card form { flex: 0 0 auto; }
.feedback-card { max-width: 900px; margin-top: 24px; padding: clamp(20px, 4vw, 30px); }
.feedback-card h2 { margin-top: 0; font-weight: 600; }
.feedback-card > p { color: var(--muted); }
.feedback-card textarea { width: 100%; min-height: 150px; resize: vertical; }

.download-callout { max-width: 900px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 22px; padding: 20px 22px; box-shadow: none; }
.download-callout > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #123644; color: var(--cyan); font-size: 1.45rem; }
.download-callout h2 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.download-callout p { margin: 5px 0 0; color: var(--muted); }
.release-card { padding: clamp(22px, 5vw, 40px); }
.release-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.release-card__head h2 { margin: 4px 0 8px; font-size: clamp(1.65rem, 4vw, 2.3rem); font-weight: 600; }
.release-card__head p { max-width: 700px; margin: 0; color: var(--muted); }
.release-card__head .status { flex: 0 0 auto; font-weight: 500; }
.release-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 30px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.release-facts > div { min-width: 0; padding: 17px 19px; background: #0e1828; }
.release-facts > div:last-child { grid-column: 1 / -1; }
.release-facts dt { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.release-facts dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.release-facts code { color: #ccefff; font-size: .82rem; }
.release-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.release-security-note { margin: 22px 0 0; color: var(--muted); font-size: .86rem; }
.install-hero { max-width: 880px; margin: 0 auto 42px; text-align: center; }
.install-hero h1 { margin: 8px 0 14px; font-size: clamp(2.35rem, 7vw, 4.5rem); font-weight: 600; line-height: 1.02; }
.install-hero > p:last-of-type { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.install-requirements { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }
.install-requirements span { padding: 8px 12px; border: 1px solid #34526d; border-radius: 999px; background: #0f2032; color: #d7e8f4; font-size: .84rem; }
.install-steps { max-width: 900px; display: grid; gap: 14px; margin: 0 auto 26px; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #101a2a; }
.install-steps li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #123644; color: var(--cyan); font-size: 1.1rem; font-weight: 600; }
.install-steps h2 { margin: 0 0 7px; font-size: 1.18rem; font-weight: 600; }
.install-steps p { margin: 0; color: var(--muted); line-height: 1.65; }
.install-after { max-width: 900px; margin: 0 auto 18px; padding: clamp(22px, 5vw, 34px); }
.install-after h2 { margin-top: 0; font-weight: 600; }
.install-after > p { color: var(--muted); }
.install-after code { display: inline-block; padding: 9px 12px; border-radius: 9px; background: #07111f; color: #bff6ff; }

.checkout-grid { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(360px, 1.18fr); align-items: start; gap: 28px; }
.order-summary, .checkout-form { padding: clamp(22px, 4vw, 34px); }
.order-summary { position: sticky; top: 100px; }
.order-summary h2 { margin-top: 0; font-size: 1.6rem; }
.quantity-update { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; margin-top: 24px; }
.quantity-update .button { width: 100%; min-height: 52px; padding: 11px 20px; border-radius: 13px; }
.quantity-update .button:disabled,
.checkout-form [data-checkout-submit]:disabled { opacity: .58; cursor: wait; }
.quantity-status { min-height: 1.35em; grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .84rem; }
.quantity-status.success { color: var(--green); }
.quantity-status.error { color: #ffb3c1; }
.quantity-status.pending { color: var(--yellow); }
dl { display: grid; gap: 0; margin: 24px 0; }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #28364a; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 750; text-align: right; }
.checkout-form fieldset { display: grid; gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; color: #dbe3f0; cursor: pointer; }
.check input { margin-top: 3px; }
.check.important { padding: 17px; border: 1px solid #846429; border-radius: 14px; background: #271f10; }
.total-row { font-size: 1.2rem; }
.order-detail { width: min(760px, 100%); padding: 30px; }
.back-link { display: inline-block; margin-bottom: 24px; text-decoration: none; }
.payment-review { width: min(680px, 100%); padding: clamp(24px, 5vw, 42px); }
@keyframes paddle-spin { to { transform: rotate(360deg); } }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 26px; }
.payment-completion { position: relative; width: min(760px, 100%); min-height: 620px; display: grid; justify-items: center; align-content: center; gap: 14px; margin: 12px auto 30px; padding: clamp(32px, 7vw, 70px); overflow: hidden; border: 1px solid rgb(0 224 255 / 25%); border-radius: 30px; background: linear-gradient(150deg, rgb(18 31 47 / 98%), rgb(8 18 29 / 99%)); text-align: center; box-shadow: 0 32px 100px rgb(0 0 0 / 36%); isolation: isolate; }
.payment-completion__glow { position: absolute; z-index: -1; top: -240px; left: 50%; width: 520px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgb(0 224 255 / 22%), rgb(112 86 255 / 10%) 42%, transparent 70%); filter: blur(4px); }
.payment-completion__icon { width: 104px; height: 104px; display: grid; place-items: center; margin-bottom: 8px; border: 1px solid rgb(0 224 255 / 44%); border-radius: 50%; background: rgb(9 39 51 / 88%); color: var(--cyan); font-size: 2.8rem; font-weight: 800; box-shadow: 0 0 0 12px rgb(0 224 255 / 5%), 0 0 60px rgb(0 224 255 / 18%); transition: .35s ease; }
.payment-completion__icon span { width: 34px; height: 34px; border: 4px solid rgb(0 224 255 / 18%); border-top-color: var(--cyan); border-radius: 50%; animation: paddle-spin .8s linear infinite; }
.payment-completion h1 { max-width: 620px; margin: 0; font-size: clamp(2.2rem, 7vw, 4.25rem); line-height: 1.04; letter-spacing: -.045em; }
.payment-completion > p:not(.eyebrow) { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.02rem; }
.payment-completion.is-ready { border-color: rgb(53 210 163 / 55%); }
.payment-completion.is-ready .payment-completion__glow { background: radial-gradient(circle, rgb(53 210 163 / 26%), rgb(0 224 255 / 8%) 42%, transparent 70%); }
.payment-completion.is-ready .payment-completion__icon { border-color: rgb(53 210 163 / 65%); background: rgb(13 55 48 / 92%); color: #7fffd9; box-shadow: 0 0 0 12px rgb(53 210 163 / 6%), 0 0 70px rgb(53 210 163 / 22%); transform: scale(1.04); }
.payment-progress { width: min(590px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0 4px; padding: 0; list-style: none; }
.payment-progress li { position: relative; display: grid; justify-items: center; gap: 8px; color: #7f8b99; font-size: .76rem; font-weight: 650; }
.payment-progress li:not(:last-child)::after { content: ""; position: absolute; z-index: -1; top: 17px; left: calc(50% + 18px); width: calc(100% - 36px); height: 2px; background: #334257; }
.payment-progress li span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #46566e; border-radius: 50%; background: #101d2c; color: #8f9aaa; }
.payment-progress li.active, .payment-progress li.complete { color: #eafcff; }
.payment-progress li.active span { border-color: rgb(0 224 255 / 58%); background: #123644; color: var(--cyan); box-shadow: 0 0 22px rgb(0 224 255 / 15%); }
.payment-progress li.complete span { border-color: rgb(53 210 163 / 58%); background: #123b36; color: #7fffd9; }
.payment-completion__fallback { margin-top: 16px; }
.purchase-success { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; margin-bottom: 22px; padding: clamp(22px, 4vw, 32px); border: 1px solid rgb(53 210 163 / 48%); border-radius: 22px; background: linear-gradient(120deg, rgb(53 210 163 / 13%), rgb(0 224 255 / 5%)); box-shadow: 0 20px 50px rgb(0 0 0 / 20%); }
.purchase-success__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #1c5b4d; color: #8bffdf; font-size: 1.8rem; box-shadow: 0 0 0 9px rgb(53 210 163 / 7%); }
.purchase-success h2 { margin: 2px 0 5px; font-size: clamp(1.45rem, 3vw, 2rem); }
.purchase-success p { margin: 0; color: var(--muted); }
.new-licenses { margin: 0 0 24px; padding: clamp(22px, 4vw, 30px); scroll-margin-top: 100px; border: 1px solid rgb(0 224 255 / 36%); border-radius: 22px; background: rgb(9 23 36 / 86%); box-shadow: 0 22px 65px rgb(0 0 0 / 24%); }
.new-licenses:target { animation: license-highlight 1.6s ease-out; }
.new-licenses__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.new-licenses__head h2 { margin: 2px 0 4px; font-size: 1.55rem; }
.new-licenses__head p { margin: 0; color: var(--muted); }
.new-licenses__head > span { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 14px; background: #123644; color: var(--cyan); font-size: 1.15rem; font-weight: 800; }
.new-licenses .stack-list { margin: 0; }
@keyframes license-highlight { 0% { box-shadow: 0 0 0 5px rgb(0 224 255 / 24%), 0 22px 65px rgb(0 0 0 / 24%); } 100% { box-shadow: 0 22px 65px rgb(0 0 0 / 24%); } }
.public-test-payment { width: min(760px, 100%); margin-inline: auto; padding: clamp(24px, 5vw, 44px); }
.public-test-payment .page-heading { margin-bottom: 24px; }
.public-test-payment .notice { margin-bottom: 24px; }
.fake-card {
  position: relative;
  width: min(430px, 100%);
  min-height: 242px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  margin: 26px auto;
  padding: clamp(22px, 5vw, 30px);
  overflow: hidden;
  border: 1px solid rgb(0 224 255 / 45%);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgb(0 224 255 / 26%), transparent 36%),
    linear-gradient(135deg, #185b86, #123451 54%, #101e36);
  color: #fff;
  box-shadow: 0 24px 55px rgb(0 0 0 / 32%);
}
.fake-card::after {
  position: absolute;
  right: -58px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  content: "";
}
.fake-card__top, .fake-card__details { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.fake-card__brand { font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.fake-card__chip { width: 44px; height: 33px; border: 1px solid #ead29b; border-radius: 8px; background: linear-gradient(135deg, #f4d98e, #ad8441); box-shadow: inset 0 0 0 5px rgb(255 255 255 / 12%); }
.fake-card__number { position: relative; z-index: 1; font: 700 clamp(1.12rem, 4.6vw, 1.5rem)/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; white-space: nowrap; }
.fake-card__details > span { display: grid; gap: 2px; }
.fake-card__details > span:last-child { text-align: right; }
.fake-card__details small { color: #bcd3e6; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.fake-card__details strong { font-size: .88rem; letter-spacing: .04em; }
.test-license-warning { margin-top: 22px; border-color: #8c6b2f; background: #2b2212; color: #ffe7ad; }
.demo-license-note { display: block; max-width: 42rem; margin-top: 6px; color: #ffe1a1; line-height: 1.4; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.public-test-payment .review-actions { justify-content: center; }
.public-test-payment .review-actions .button { min-width: min(100%, 330px); }

/* Buttons are intentionally medium weight; headings retain their hierarchy. */
button,
.button,
a.button,
.link-button,
[role="button"],
.nav-links > a,
.language-menu summary {
  font-weight: 500 !important;
}
.order-documents { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.document-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; padding: 15px; border: 1px solid #34445d; border-radius: 13px; color: #fff; text-decoration: none; }
.document-link:hover { border-color: var(--cyan); background: #142338; }
.document-link span:first-child { display: grid; }
.document-link small { color: var(--muted); }

.activation-code { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 28px 0; padding: 18px; border: 1px dashed var(--cyan); border-radius: 16px; background: #071522; text-align: left; }
.activation-code code { color: #fff; font: 700 clamp(.9rem, 3vw, 1.2rem)/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.code-label code { overflow-wrap: anywhere; }
.code-result .notice { color: #ffe2a1; }

.legal { max-width: 900px; margin-inline: auto; padding: clamp(26px, 6vw, 60px); }
.legal > section { margin-top: 38px; }
.legal h2 { margin-bottom: 8px; font-size: 1.35rem; }
.legal p { color: #c4cedd; }

.invoice { max-width: 940px; margin-inline: auto; padding: clamp(24px, 5vw, 54px); }
.invoice > header { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.invoice h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.045em; }
.invoice-number { display: grid; align-content: start; justify-items: end; gap: 5px; text-align: right; }
.invoice-number span { color: var(--muted); }
.invoice-number strong { font-size: 1.15rem; }
.invoice-parties { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; padding: 30px 0; }
.invoice-parties h2 { margin: 0; font-size: .8rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.invoice-parties p { margin-bottom: 0; }
.table-scroll { overflow-x: auto; }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th, .invoice td { padding: 15px; border: 1px solid #34435a; text-align: left; }
.invoice th { color: var(--muted); font-size: .82rem; text-transform: uppercase; }
.invoice-totals { width: min(420px, 100%); margin-left: auto; }
.invoice-note { margin-top: 35px; padding: 18px; border: 1px solid #34435a; border-radius: 13px; }
.invoice-note h2 { margin: 0; font-size: .9rem; }
.invoice-note p { margin-bottom: 0; color: var(--muted); }
.invoice-footer { min-height: 0; width: 100%; margin-top: 35px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: .7rem; overflow-wrap: anywhere; }

.site-footer { min-height: 0; padding: 24px 0 30px; color: var(--muted); }
.store-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 20px; border-top: 1px solid #28354a; font-size: .8rem; }
.footer-brand { display: inline-flex; flex: 0 0 auto; }
.footer-brand img { display: block; width: 88px; height: auto; opacity: .78; }
.footer-copy { flex: 0 0 auto; white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.footer-links a, .footer-cookie-link { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-cookie-link:hover { color: var(--text); }
.footer-cookie-link { appearance: none; margin: 0; padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }

@media (max-width: 1040px) {
  .store-primary-nav { display: none; }
}

@media (max-width: 820px) {
  .site-header nav, .site-footer, .site-main { width: min(100% - 28px, 680px); }
  .public-test-banner { width: min(100% - 28px, 680px); }
  .site-header nav { min-height: 62px; }
  .nav-links { gap: 11px; }
  .is-authenticated .nav-links > .nav-buy { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 46px; padding-block: 25px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .site-main { padding-block: 42px 75px; }
  .account-grid, .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .account-head { align-items: flex-start; flex-direction: column; }
  .account-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-list-card { grid-template-columns: 1fr 1fr; }
  .invoice-list-card > span:last-child { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .store-footer-row { flex-wrap: wrap; }
  .footer-links { flex: 1 1 100%; justify-content: flex-start; }
}

@media (max-width: 560px) {
  :root { --radius: 17px; }
  .site-header nav, .site-footer, .site-main { width: min(100% - 20px, 520px); }
  .public-test-banner { width: min(100% - 20px, 520px); grid-template-columns: 1fr; gap: 8px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; }
  .public-test-banner__badge { width: max-content; padding: 5px 8px; font-size: .66rem; }
  .public-test-banner p { font-size: .8rem; }
  .site-header { border-bottom-color: #26364b; background: rgb(7 15 28 / 94%); backdrop-filter: blur(18px); }
  .site-header nav { min-height: 58px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-block: 8px; }
  .brand { font-size: 1rem; }
  .brand-logo { width: 112px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body:not(.is-authenticated) .nav-links { position: fixed; right: 8px; bottom: calc(7px + env(safe-area-inset-bottom)); left: 8px; z-index: 80; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 5px; border: 1px solid #3a4a62; border-radius: 17px; background: rgb(8 16 30 / 96%); box-shadow: 0 16px 45px rgb(0 0 0 / 42%); backdrop-filter: blur(18px); }
  body:not(.is-authenticated) .nav-links > a,
  body:not(.is-authenticated) .nav-links .language-menu summary { min-height: 52px; border: 0; border-radius: 12px; background: transparent; }
  body:not(.is-authenticated) .nav-links .nav-register { background: linear-gradient(135deg, #7056ff, #358de8 70%, #2dbbdc); }
  body:not(.is-authenticated) .nav-links .language-menu { position: relative; top: auto; right: auto; grid-column: auto; grid-row: auto; }
  body:not(.is-authenticated) .language-menu summary { justify-content: center; }
  body:not(.is-authenticated) .language-menu > div { top: auto; right: 0; bottom: calc(100% + 9px); }
  .is-authenticated .nav-links { grid-column: auto; display: flex; justify-content: flex-end; }
  .nav-links > a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; border: 1px solid #35465f; border-radius: 11px; font-size: .86rem; }
  .is-authenticated .nav-links > a { min-height: 40px; border: 0; }
  .is-authenticated .language-menu { order: -1; }
  .nav-links .nav-register { min-height: 42px; padding: 7px 10px; }
  .link-button { display: none; }
  .language-menu { grid-column: 2; grid-row: 1; }
  .nav-links .language-menu { position: absolute; top: 9px; right: 10px; }
  body:not(.is-authenticated) .nav-links .language-menu { position: relative; top: auto; right: auto; }
  .is-authenticated .nav-links .language-menu { position: relative; top: auto; right: auto; }
  .language-menu summary { min-height: 38px; padding: 6px 9px; font-size: .85rem; }
  .site-main { padding-top: 30px; padding-bottom: 96px; }
  .payment-completion { min-height: 560px; padding: 30px 18px; border-radius: 21px; }
  .payment-completion__icon { width: 84px; height: 84px; }
  .payment-progress li { font-size: .66rem; }
  .purchase-success { grid-template-columns: 1fr; text-align: center; }
  .purchase-success__icon { margin-inline: auto; }
  .new-licenses__head { align-items: flex-start; }
  .site-header:has(.nav-register) + .site-main { padding-top: 26px; }
  .hero { gap: 30px; padding-top: 8px; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.3rem); }
  .auth-shell { width: 100%; }
  .auth-shell .page-heading { margin-bottom: 24px; text-align: left; }
  .auth-shell .page-heading .eyebrow { margin-bottom: 8px; font-size: .68rem; }
  .auth-shell .page-heading h1 { font-size: clamp(2.15rem, 11vw, 2.85rem); letter-spacing: -.045em; }
  .auth-shell .page-heading p { margin-top: 12px; font-size: .96rem; line-height: 1.5; }
  .auth-shell .form-stack { gap: 17px; padding: 20px; border-radius: 18px; box-shadow: 0 22px 55px rgb(0 0 0 / 28%); }
  .auth-shell .field { font-size: .9rem; font-weight: 500; }
  .auth-shell input { min-height: 54px; }
  .auth-shell .button { min-height: 54px; }
  .auth-alt { margin-top: 18px; font-size: .9rem; }
  .button { min-height: 48px; }
  .form-grid { grid-template-columns: 1fr; gap: 17px; padding: 20px; }
  .span-2 { grid-column: auto; }
  .company-fields { grid-template-columns: 1fr; padding: 16px; }
  .company-fields .span-2 { grid-column: auto; }
  .buyer-type { display: grid; grid-template-columns: 1fr 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .feature-list li { padding: 17px 17px 17px 48px; }
  .feature-list li::before { left: 18px; }
  .account-head { gap: 18px; margin-bottom: 22px; }
  .account-head h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .account-head-actions { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .account-head .button { width: 100%; }
  .account-tabs { position: fixed; z-index: 35; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); overflow: visible; border-top: 1px solid #33435a; background: rgb(8 16 30 / 96%); box-shadow: 0 -14px 34px rgb(0 0 0 / 32%); backdrop-filter: blur(16px); }
  .account-tabs a { min-width: 0; min-height: 57px; flex-direction: column; justify-content: center; gap: 3px; padding: 5px 2px; border: 0; border-radius: 11px; font-size: .72rem; line-height: 1; }
  .account-tabs a.active { border: 0; background: #12384a; }
  .account-tabs b { font-size: 1.22rem; }
  .account-tabs em { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-tabs span { position: absolute; top: 3px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #08101e; font-size: .6rem; }
  .account-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 22px 0 34px; }
  .summary-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; gap: 5px; padding: 14px 6px; text-align: center; }
  .summary-card > span { width: 38px; height: 38px; grid-row: auto; border-radius: 11px; font-size: 1.2rem; }
  .summary-card strong { font-size: 1.35rem; }
  .summary-card small { width: 100%; font-size: .72rem; }
  .account-grid { gap: 32px; }
  .section-title { align-items: end; }
  .section-title h2 { font-size: 1.25rem; }
  .section-title a { font-size: .85rem; }
  .list-card { align-items: flex-start; flex-direction: column; }
  .list-card > span:last-child { justify-items: start; text-align: left; }
  .license-actions { justify-content: flex-start; }
  .invoice-list-card { grid-template-columns: 1fr; }
  .invoice-list-card > span:last-child { grid-column: auto; }
  .empty-state { min-height: 0; grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .empty-state .button { width: 100%; grid-column: 1 / -1; }
  .download-callout { grid-template-columns: auto minmax(0, 1fr); padding: 17px; }
  .download-callout .button { width: 100%; grid-column: 1 / -1; }
  .release-card__head { flex-direction: column; }
  .release-facts { grid-template-columns: 1fr; }
  .release-facts > div:last-child { grid-column: auto; }
  .release-actions { align-items: stretch; flex-direction: column; }
  .release-actions .button { width: 100%; }
  .install-steps li { gap: 13px; padding: 18px; }
  .signout-card { align-items: stretch; flex-direction: column; padding: 20px; }
  .signout-card .button { width: 100%; }
  body:has(.account-tabs) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .activation-code { align-items: stretch; flex-direction: column; }
  .quantity-update { grid-template-columns: 1fr; }
  .public-test-payment { padding: 20px; }
  .fake-card { min-height: 205px; gap: 18px; margin: 20px auto; border-radius: 19px; }
  .fake-card__number { font-size: clamp(.94rem, 5vw, 1.2rem); letter-spacing: .045em; }
  .fake-card__details { gap: 10px; }
  .public-test-payment .review-actions { align-items: stretch; flex-direction: column; }
  .public-test-payment .review-actions .button { width: 100%; min-width: 0; }
  .invoice > header, .invoice-footer { align-items: flex-start; flex-direction: column; }
  .invoice-number { justify-items: start; text-align: left; }
  .invoice-parties { grid-template-columns: 1fr; }
  .result { padding: 25px 19px; }
  .site-footer { padding-top: 17px; }
  .store-footer-row { align-items: flex-start; flex-direction: column; gap: 11px; padding-top: 17px; }
  .footer-copy { white-space: normal; }
  .footer-links { gap: 9px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #000; }
  .site-header, body > footer, .no-print { display: none !important; }
  .site-main { width: 100%; padding: 0; }
  .invoice { max-width: none; border: 0; background: #fff; color: #000; box-shadow: none; }
  .invoice th, .invoice td, .invoice > header, .invoice-note, .invoice-footer, dl div { border-color: #999; }
  .invoice-number span, .invoice-parties h2, .invoice-note p, dt { color: #333; }
}
