:root {
  color-scheme: light dark;
  --text: light-dark(#1d1d1f, #f5f5f7);
  --muted: light-dark(#5e5e63, #a1a1a6);
  --background: light-dark(#fbfbfd, #161617);
  --line: light-dark(#d2d2d7, #424245);
  --accent: light-dark(#0066cc, #4da3ff);
  font:
    17px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 60rem;
  min-height: 100vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--background);
}

main {
  flex: 1;
}

a {
  color: var(--accent);
}

h1 {
  margin: 0.5rem 0 0;
  font-size: 2.5rem;
  line-height: 1.1;
}

.home {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
  padding-block: 2rem;
}

.intro {
  width: 100%;
  max-width: 26rem;
}

.icon {
  width: 6rem;
  height: auto;
}

.lede {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
}

.muted {
  margin: 0.25rem 0 2rem;
  color: var(--muted);
}

.screenshot {
  width: 100%;
  max-width: 22.5rem;
  height: auto;
  filter: drop-shadow(0 1rem 2rem rgb(0 0 0 / 0.2));
}

@media (min-width: 48rem) {
  .home {
    grid-template-columns: 1fr auto;
    justify-items: start;
    gap: 4rem;
  }
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.field {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

input,
button {
  font: inherit;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
}

button {
  border: 0;
  color: #fff;
  background: light-dark(#0066cc, #0071e3);
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
}

.status:empty {
  display: none;
}

header a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.document {
  max-width: 42rem;
  padding-block: 1rem 2rem;
}

.document h1 {
  font-size: 2rem;
}

table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.4rem 0.75rem 0.4rem 0;
  border-bottom: 1px solid var(--line);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
