:root {
  color-scheme: dark;
  --page: #0b1520;
  --panel: #142233;
  --field: #0c1826;
  --border: #344c61;
  --text: #f1f6fb;
  --green: #91e64e;
  --action: var(--green);
  --action-hover: #adf276;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: clamp(1rem, 9vh, 5rem) 1rem 2rem;
  background: radial-gradient(ellipse at top, #1b3247, var(--page) 38rem) fixed;
  color: var(--text);
  font: 1rem/1.5 system-ui, sans-serif;
}

main {
  max-width: 29rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 5vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: 0 1rem 3rem #0004;
  overflow-wrap: anywhere;
}

main[data-product="launch"] {
  --action: #74e5bd;
  --action-hover: #9af1d1;
  --product-panel: #142e31;
}

main[data-product="intercom"] {
  --action: #72ffd0;
  --action-hover: #a0ffdf;
  --product-panel: #103331;
}

main[data-product="sports-hub"] {
  --product-panel: #233222;
}

.account-brand {
  display: grid;
  justify-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.account-brand img {
  display: block;
  width: min(10rem, 100%);
  height: auto;
}

main[data-product] .account-brand {
  margin-bottom: .875rem;
  padding-bottom: 0;
  border-bottom: 0;
}

main[data-product] .account-brand img {
  width: min(8rem, 100%);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.2;
}

label, input:not([type="hidden"], [type="checkbox"]) {
  display: block;
  width: 100%;
}

label {
  margin-top: 1rem;
  font-weight: 600;
}

input:not([type="hidden"], [type="checkbox"]) {
  min-height: 2.75rem;
  margin-top: .35rem;
  padding: .6rem .75rem;
  border: 1px solid #7b91a6;
  border-radius: .5rem;
  background: var(--field);
  color: inherit;
  font: inherit;
}

button, .account-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: .65rem 1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--action);
  color: #14220c;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover, .account-action:hover {
  background: var(--action-hover);
}

.account-action {
  margin-top: .625rem;
}

main > a:not(.account-action), .account-signup a {
  display: inline-block;
  margin-top: 1rem;
  color: #c6f59f;
  text-underline-offset: .2em;
}

.account-signup {
  margin: 0;
}

.account-product {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.25rem;
  padding: .875rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: linear-gradient(110deg, var(--product-panel), var(--field));
  font-size: .8125rem;
}

.account-product img {
  display: block;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.account-product strong {
  display: block;
  color: var(--action);
  font-size: clamp(1.375rem, 5vw, 1.75rem);
  line-height: 1.1;
}

.account-product-owner {
  color: #b8cbd9;
}

.account-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.account-footer nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
}

.account-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #c6f59f;
  font-size: .875rem;
  text-underline-offset: .2em;
}

[role="alert"], [role="status"] {
  padding: .65rem .8rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--field);
}

[role="alert"] {
  border-color: #d29f57;
  color: #ffdc9e;
}

:focus-visible {
  outline: 2px solid #d2ffb1;
  outline-offset: 3px;
}
