:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #14181f;
  --muted: #5c6673;
  --border: #d9dee6;
  --accent: #3f5f8a;
  --radius: 12px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101318;
    --surface: #191d24;
    --text: #e9edf3;
    --muted: #98a3b2;
    --border: #2b323c;
    --accent: #7ba1d6;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.center-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 8px 24px rgb(0 0 0 / 6%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.brand h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.ask {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--muted);
}

/* One bordered group, a hairline between rows: two links that read as a choice. */
.sites {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}

.sites li + li {
  border-top: 1px solid var(--border);
}

.sites a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px 10px 14px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.sites a:hover {
  background: var(--bg);
}

.sites svg {
  flex: none;
  color: var(--muted);
}

.btn {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: var(--bg);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Inside the rounded group, a ring outside the row would be clipped. */
.sites a:focus-visible {
  outline-offset: -2px;
}
