:root {
  color-scheme: dark;
  --background: #132525;
  --panel: #1c3432;
  --text: #fbf3e5;
  --muted: #bacdc4;
  --line: #47605b;
  --accent: #f2d8a4;
  --button: #bedccf;
  --button-hover: #d5ede2;
  --shadow: #07171555;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --background: #f5eee1;
    --panel: #fffcf5;
    --text: #20342c;
    --muted: #4f6459;
    --line: #ced3c4;
    --button: #234b3c;
    --button-hover: #325b4b;
    --shadow: #4c49331c;
  }
}

* { box-sizing: border-box; }

body {
  display: grid;
  place-items: center;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1rem, 5vw, 3rem);
  background: var(--background);
  color: var(--text);
}

.table {
  width: min(100%, 58rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
  box-shadow: 0 1.5rem 5rem var(--shadow);
}

.table-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1.05rem clamp(1.25rem, 5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  font: 700 1.1rem var(--serif);
}

.mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.table-content {
  display: grid;
  grid-template-columns: 1fr .85fr;
}

.welcome, .sign-in { padding: clamp(1.25rem, 5.5vw, 4rem); }

h1 {
  font: 400 clamp(3.2rem, 8vw, 6rem) / .93 var(--serif);
  letter-spacing: -.06em;
  margin: 0;
}

.welcome p { margin: 1.25rem 0 0; color: var(--muted); }

.sign-in {
  align-content: center;
  border-inline-start: 1px solid var(--line);
}

.sign-in h2 {
  margin: 0 0 1rem;
  font: 400 2rem / 1.1 var(--serif);
}

.sign-in h2 span {
  margin-inline-start: .35rem;
  color: var(--muted);
  font: 500 .95rem system-ui, sans-serif;
}

.sign-in p {
  margin: 0 0 .65rem;
  color: var(--muted);
  line-height: 1.55;
}

.button {
  display: inline-grid;
  place-items: center;
  min-height: 3rem;
  margin-top: .65rem;
  padding: .7rem 1rem;
  border-radius: .65rem;
  background: var(--button);
  color: var(--background);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--button-hover); }
.button:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }

@media (max-width: 39rem) {
  .table-content { grid-template-columns: 1fr; }
  .sign-in { border-inline-start: 0; border-top: 1px solid var(--line); }
  .button { width: 100%; }
}
