:root {
  color-scheme: light;
  --bg: #f5f4f1;
  --panel: #fff;
  --text: #25242b;
  --muted: #65616d;
  --line: #dedbe2;
  --accent: #3b3355;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui;
}
main {
  max-width: 1040px;
  margin: auto;
  padding: 40px 24px 80px;
}
header,
.section-heading,
.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
h1 {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
h2 {
  font-size: 22px;
}
h3 {
  margin-bottom: 4px;
}
p,
small {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
}
section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  margin: 22px 0;
}
label {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  font-weight: 600;
}
small {
  font-weight: 400;
  font-size: 13px;
}
input,
textarea,
button {
  font: inherit;
}
input:not([type="checkbox"]),
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
  padding: 11px;
}
textarea {
  resize: vertical;
}
input[type="color"] {
  min-height: 48px;
}
button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 600;
}
button.secondary {
  background: var(--bg);
  color: var(--text);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #917abe;
  outline-offset: 3px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: 20px;
  height: 20px;
}
.provider {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 16px;
  margin: 14px 0;
}
.provider img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.provider summary {
  cursor: pointer;
  color: var(--muted);
}
.provider code {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.app-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.app-row p {
  margin: 2px 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--bg);
  padding: 20px;
  border-radius: 12px;
  font-size: 13px;
}
#status:not(:empty) {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
#secret {
  font-family: monospace;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  main {
    padding: 24px 16px;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  header,
  .section-heading {
    align-items: flex-start;
  }
  section {
    padding: 20px;
  }
  .app-row {
    align-items: flex-start;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #151419;
    --panel: #211f27;
    --text: #f3eff9;
    --muted: #c3bacf;
    --line: #484151;
    --accent: #685485;
  }
  .provider img {
    background: #fff;
    border-radius: 4px;
    padding: 2px;
  }
}

.provider img[src$="twitter.svg"] {
  background: #111;
  padding: 3px;
  border-radius: 4px;
}
