/* getpickedapp.com: one stylesheet for every page. System fonts, no external requests. */

:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1a1c21;
  --muted: #4a4f5a;
  --border: #d9dce2;
  --accent: #0b6b4f;
  --accent-hover: #08563f;
  --on-accent: #ffffff;
  --link: #0b5fa5;
  --focus: #1a73e8;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --surface: #1d2026;
    --text: #eceef2;
    --muted: #b4b9c4;
    --border: #353a44;
    --accent: #3ccf9b;
    --accent-hover: #63dcb0;
    --on-accent: #08261b;
    --link: #8cc4ff;
    --focus: #8cc4ff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header and footer */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: underline;
}

main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-footer ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-footer li,
.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

/* Text */

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}

h1 {
  font-size: 2rem;
  margin-top: 0;
}

h2 {
  font-size: 1.375rem;
}

h3 {
  font-size: 1.125rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.35rem;
}

.updated {
  color: var(--muted);
  margin-top: -0.25rem;
}

/* Landing */

.hero h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 38rem;
}

.button {
  display: inline-block;
  margin: 0.75rem 0 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.button:hover {
  background: var(--accent-hover);
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefits li {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.benefits h2 {
  font-size: 1.0625rem;
  margin: 0 0 0.35rem;
}

.benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

/* Tables: scroll inside their own box on narrow screens, never the page. */

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
}

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

thead th {
  background: var(--surface);
}

.providers {
  min-width: 36rem;
}

.details th {
  width: 9rem;
  background: var(--surface);
}
