@import url("https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:wght@400;500;700&family=JetBrains+Mono:wght@400;700&display=swap");
:root {
  --surface: var(--sheet);
  --blue: var(--before);
  --orange: var(--after);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.55 "Atkinson Hyperlegible Next",
    sans-serif;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  font:
    800 27px/1 "Cabinet Grotesk",
    sans-serif;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.top > a:last-child {
  font-size: 16px;
  padding: 10px 0;
}
main {
  padding: 48px 20px 64px;
}
.center {
  min-height: calc(100svh - 94px);
  display: grid;
  align-content: center;
  justify-items: center;
}
.panel {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: "Cabinet Grotesk", sans-serif;
  line-height: 1.1;
}
h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}
h1:focus {
  outline: none;
}
p {
  margin: 0 0 20px;
}
.muted {
  color: var(--muted);
  font-size: 16px;
}
.context {
  border-bottom: 1px solid var(--rule);
  margin: 0 0 24px;
  padding: 0 0 20px;
}
.context strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
}
.context a {
  display: inline-block;
  font-size: 16px;
  padding-top: 8px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}
.primary {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 3px 3px 0 var(--orange);
}
.secondary {
  box-shadow: 3px 3px 0 var(--blue);
}
.btn:hover {
  transform: translate(-1px, -1px);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--orange);
}
.btn:disabled {
  opacity: 0.5;
  box-shadow: none;
  transform: none;
  cursor: wait;
}
.full {
  width: 100%;
}
.google {
  gap: 12px;
}
.google svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 16px;
  margin: 24px 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.field {
  margin-bottom: 20px;
}
label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--muted);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
}
input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--ink);
}
input[aria-invalid="true"] {
  border-color: var(--error);
}
.password {
  position: relative;
}
.password input {
  padding-right: 72px;
}
.reveal {
  position: absolute;
  right: 2px;
  top: 2px;
  min-height: 44px;
  min-width: 60px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.field-error {
  color: var(--error);
  font-size: 16px;
  margin: 8px 0 0;
}
.alert {
  border: 1px solid var(--error);
  padding: 16px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.alert:empty {
  display: none;
}
.alert:focus {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.switch {
  text-align: center;
  padding-top: 24px;
  margin-bottom: 0;
  font-size: 16px;
}
.account {
  overflow-wrap: anywhere;
  padding: 16px 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.account strong {
  display: block;
  font-weight: 700;
}
.link-button {
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.actions {
  display: grid;
  gap: 16px;
}
.links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
}
.links a {
  padding: 12px 0;
  min-height: 44px;
  font-size: 16px;
}
.wide {
  width: 100%;
  max-width: 1100px;
  margin: 16px auto;
}
.wide h1 {
  font-size: clamp(32px, 4vw, 48px);
}
.ledger {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  border-top: 1.5px solid var(--ink);
}
.ledger li {
  display: grid;
  grid-template-columns: 1fr 2fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 32px 24px;
  border-bottom: 1px solid var(--rule);
}
.ledger .featured {
  background: var(--after-tint);
}
.ledger h2 {
  margin: 0;
  font-size: 28px;
}
.ledger p {
  margin: 0;
}
.ledger small {
  display: block;
  font:
    14px/1.6 "JetBrains Mono",
    monospace;
  color: var(--muted);
}
.price {
  font:
    700 24px/1.4 "JetBrains Mono",
    monospace;
  white-space: nowrap;
}
.price small {
  display: inline;
  font-size: 16px;
}
.checking {
  padding: 48px 20px;
  color: var(--muted);
  text-align: center;
}
.request-id {
  font:
    12px/1.6 "JetBrains Mono",
    monospace;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 24px;
}
@media (max-width: 760px) {
  .ledger li {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 24px 16px;
  }
  .ledger li > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .ledger .btn {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .panel {
    padding: 24px;
  }
  main {
    padding-top: 32px;
  }
  .center {
    align-content: start;
  }
  .top {
    padding: 20px;
  }
  .top > a:last-child {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:active {
    transform: none;
  }
}
.btn {
  overflow-wrap: anywhere;
}
.google[aria-disabled="true"] {
  opacity: 0.65;
  box-shadow: none;
  cursor: default;
}
.switch a {
  white-space: nowrap;
}
