:root {
  color-scheme: dark;
  --background: #050607;
  --panel: #0b0f10;
  --panel-raised: #101516;
  --text: #f1eee7;
  --brand: #d7b56d;
  --muted: #899294;
  --line: #263033;
  --interaction: #36d9e8;
  --display: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgb(54 217 232 / 8%), transparent 24rem),
    linear-gradient(180deg, var(--background), var(--panel) 65%, var(--background));
  color: var(--text);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--interaction);
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.product-header:focus-visible,
.release-details > summary:focus-visible {
  outline: 0.1875rem solid var(--interaction);
  outline-offset: 0.1875rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.5rem 0.75rem;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--background);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.page-shell,
.site-footer {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 7.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--brand);
}

.brand-mark {
  width: 3.25rem;
  height: 3.25rem;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
}

.site-label,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-shell {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.page-intro {
  max-width: 49rem;
  margin-bottom: 2rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 1.25rem;
}

p {
  margin-block: 0 1rem;
}

.page-message {
  max-width: 62ch;
  color: var(--muted);
}

.page-content {
  max-width: 49rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0.5rem 0.5rem 0 rgb(215 181 109 / 8%);
}

.kind-account .page-content {
  display: grid;
  max-width: none;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.kind-account .product-card,
.kind-account .empty-products,
.kind-account .page-content > .logout-form {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel-raised);
}

.product-header,
.empty-products,
.kind-account .page-content > .logout-form {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.product-header::-webkit-details-marker {
  display: none;
}

.product-header::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--interaction);
  font-size: 1.75rem;
  line-height: 1;
}

.product-card[open] > .product-header::after {
  content: "\2212";
}

.product-header:hover {
  background: rgb(54 217 232 / 4%);
}

.product-header:focus-visible {
  outline: 0.1875rem solid var(--interaction);
  outline-offset: -0.1875rem;
}

.product-header h2::before {
  content: "MY PRODUCT";
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-header h2 {
  margin-bottom: 0;
}

.product-content {
  border-top: 1px solid var(--line);
}

.product-content > .candidate-note {
  margin: clamp(1.25rem, 3vw, 2rem);
}

.release-check {
  margin: clamp(1.25rem, 3vw, 2rem);
  padding: 1rem;
  border-left: 0.25rem solid var(--interaction);
  background: rgb(54 217 232 / 8%);
}

.release-check > :last-child {
  margin-bottom: 0;
}

.release-check strong {
  color: var(--text);
}

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

.product-content > .candidate-note + .product-sections {
  border-top: 1px solid var(--line);
}

.product-section {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.product-section-wide {
  grid-column: 1 / -1;
}

.product-section:not(:first-child) {
  border-top: 1px solid var(--line);
}

.product-installations {
  border-left: 1px solid var(--line);
}

.kind-account .page-content > .logout-form {
  align-self: start;
}

.candidate-note {
  padding: 1rem;
  border-left: 0.25rem solid var(--brand);
  background: rgb(215 181 109 / 8%);
}

.release-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: 1rem;
}

.release-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.release-card > :last-child {
  margin-bottom: 0;
}

.release-card h4 {
  margin-block: 0 0.5rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}

.release-status,
.release-security {
  color: var(--muted);
  font-size: 0.875rem;
}

.release-version strong {
  color: var(--brand);
}

.download-action {
  display: inline-flex;
  min-height: 3.625rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--interaction);
  background: rgb(54 217 232 / 8%);
  color: var(--text);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.download-action:hover {
  background: rgb(54 217 232 / 16%);
}

.release-details {
  margin-top: 1.25rem;
}

.release-details > summary {
  width: fit-content;
  color: var(--interaction);
  cursor: pointer;
}

.release-details > summary:hover {
  color: var(--text);
}

.release-details[open] > summary {
  margin-bottom: 1rem;
}

.release-metadata {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.release-details > :last-child {
  margin-bottom: 0;
}

form {
  display: grid;
  gap: 0.875rem;
  margin-block: 1rem 0;
}

label,
dt {
  color: var(--brand);
  font-weight: 600;
}

input,
textarea,
button {
  min-height: 3rem;
  border-radius: 0;
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--muted);
  background: var(--background);
  color: var(--text);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.entitlement-value {
  min-height: 12rem;
}

.entitlement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

[hidden] {
  display: none;
}

button {
  min-height: 3.625rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--interaction);
  background: rgb(54 217 232 / 8%);
  color: var(--text);
  cursor: pointer;
}

button:hover {
  background: rgb(54 217 232 / 16%);
}

button:disabled {
  border-color: var(--muted);
  color: var(--muted);
  cursor: not-allowed;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 1.5rem;
}

dl {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.5rem;
}

dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

code,
pre {
  font: inherit;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.site-footer {
  padding-block: 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 48rem) {
  .site-header {
    min-height: 6rem;
  }

  .site-label {
    display: none;
  }

  .kind-account .page-content {
    grid-template-columns: 1fr;
  }

  .product-sections {
    grid-template-columns: 1fr;
  }

  .product-installations {
    border-left: 0;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  dd + dt {
    margin-top: 0.75rem;
  }
}

@media (prefers-contrast: more) {
  .page-content,
  .kind-account .product-card,
  .kind-account .empty-products,
  .kind-account .page-content > .logout-form {
    border-color: var(--muted);
  }
}
