:root {
  color-scheme: light;
  background: #fff;
  color: #171717;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
}

.skip-link {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 2;
  padding: 0.75rem;
  background: white;
  color: inherit;
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: none;
}

.cover-nav {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 4vw, 2rem);
  min-height: 3.5rem;
  padding: 1rem;
  font-size: 0.9375rem;
  font-weight: 650;
}

.cover-nav a {
  color: inherit;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

.cover-nav a:hover,
.cover-nav a:focus-visible {
  text-decoration-color: currentColor;
}

.cover {
  box-sizing: border-box;
  display: grid;
  min-block-size: calc(100svh - 3.5rem);
  align-content: center;
  justify-items: center;
  gap: clamp(0.875rem, 2.4svh, 1.5rem);
  padding: clamp(1.5rem, 4svh, 3rem) clamp(0.75rem, 4vw, 3.5rem);
  text-align: center;
}

.wordmark {
  display: grid;
  justify-items: center;
  row-gap: clamp(0.875rem, 2.75svh, 1.75rem);
}

.wordmark > * {
  margin: 0;
}

.wordmark-name {
  font-family: "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.05;
  transform: scaleX(0.76);
}

.wordmark-service {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, min(10vw, 14svh), 8.75rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.wordmark-intro {
  max-width: 57ch;
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  line-height: 1.45;
  text-wrap: balance;
}

.portrait {
  display: block;
  inline-size: min(100%, 90rem);
}

.portrait img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  max-block-size: 63svh;
  object-fit: contain;
}

.domain-picker {
  display: grid;
  justify-items: center;
  gap: 0.625rem;
  width: min(100%, 30rem);
}

.domain-picker p {
  margin: 0;
  color: #515151;
  font-size: 0.875rem;
}

.domain-controls,
.domain-field {
  display: flex;
  gap: 0.5rem;
}

.domain-controls {
  width: 100%;
}

.domain-field {
  box-sizing: border-box;
  flex: 1;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid #848484;
  border-radius: 0.35rem;
  font: 1rem ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.domain-field input {
  width: 8ch;
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0.25rem 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: right;
}

.domain-controls .button {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .domain-controls {
    flex-direction: column;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.25rem 1.3rem;
  border-radius: 0.35rem;
  background: #171717;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #a1321b;
}

:focus-visible {
  outline: 3px solid #00694f;
  outline-offset: 4px;
}

.section-inner {
  box-sizing: border-box;
  width: min(100%, 76rem);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 5vw, 4rem);
}

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

.section h2 {
  max-width: 18ch;
  margin: 0 0 1rem;
  font: 400 clamp(2.25rem, 5vw, 4.25rem)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}

.section p {
  max-width: 59ch;
  line-height: 1.65;
}

.label {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.footer-inner p:last-child {
  margin-bottom: 0;
}

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style-position: inside;
}

.steps li {
  padding-block-start: 1rem;
  border-block-start: 2px solid #171717;
}

.steps li::marker {
  color: #a1321b;
  font-weight: 800;
}

.steps h3 {
  display: inline;
  font-size: 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details {
  border-block-start: 1px solid #8a9691;
  padding-block: 1rem;
}

footer {
  border-block-start: 1px solid #c7cbc7;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-block: 2rem;
}

@media (max-width: 46rem) {
  .faq,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dashboard {
  box-sizing: border-box;
  width: min(100%, 32rem);
  margin-inline: auto;
  padding: 2rem 1rem;
}

.dashboard form,
.dashboard #new-token:not([hidden]) {
  display: grid;
  gap: 0.65rem;
  margin-block: 1.25rem;
}

.dashboard [hidden] {
  display: none;
}

.dashboard input,
.dashboard select,
.dashboard button {
  box-sizing: border-box;
  font: inherit;
  padding: 0.5rem;
}

.dashboard button {
  justify-self: start;
  cursor: pointer;
}

.auth-cover {
  min-block-size: 100svh;
  gap: clamp(1rem, 3svh, 2rem);
}

.auth-cover .wordmark-name {
  color: inherit;
  text-decoration: none;
}

.auth-cover .wordmark-service {
  font-size: clamp(3rem, 10vw, 7rem);
}

.auth-form {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 31rem);
}

.auth-form label {
  justify-self: start;
  font-weight: 650;
}

.auth-form p {
  margin: 0;
  font-size: 0.9375rem;
}

.auth-form a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.auth-form input {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #848484;
  border-radius: 0.35rem;
  font: inherit;
}

#auth-status {
  color: #515151;
}

.auth-form [hidden],
#auth-status:empty {
  display: none;
}

.auth-art {
  display: block;
  width: min(100%, 23rem);
  height: auto;
}

.hostname-input {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hostname-input input {
  flex: 1;
  min-width: 0;
}
