/* PlainPick — plain, fast, mobile-first. */

:root {
  --ink: #16191d;
  --ink-soft: #4a5158;
  --ink-faint: #767d85;
  --line: #e3e6ea;
  --line-soft: #eef0f3;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --accent: #1f5f4f;
  --accent-soft: #eaf2ef;
  --warn-bg: #fdf8ec;
  --warn-line: #ecdcb4;
  --radius: 10px;
  --wrap: 720px;
  --wrap-wide: 1040px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: var(--wrap-wide); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  max-width: var(--wrap-wide);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 18px; height: 18px;
  border: 2.5px solid var(--accent);
  border-radius: 5px;
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 3px; top: 5px;
  width: 7px; height: 3.5px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.brand-name { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.brand-name strong { font-weight: 700; }

.nav {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Disclosure bar ---------- */

.disclosure-bar {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.disclosure-bar p { margin: 0; padding: 9px 0; }

/* ---------- Typography ---------- */

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 12px; }
h1 { font-size: 33px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 700; margin-top: 40px; }
h3 { font-size: 19px; font-weight: 600; margin-top: 28px; }

p, ul, ol, table { margin: 0 0 18px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 7px; }

.lede { font-size: 19px; color: var(--ink-soft); }

.meta {
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

/* ---------- Sections ---------- */

.section { padding: 40px 0; }
.section-tight { padding: 28px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.hero { padding: 52px 0 40px; }
.hero h1 { font-size: 38px; max-width: 16em; }
.hero .lede { max-width: 34em; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg);
  margin: 0;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.card p { margin: 0 0 10px; font-size: 15.5px; color: var(--ink-soft); }
.card .card-tag {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

/* ---------- Callout ---------- */

.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 16px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 22px;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--accent); }

/* ---------- Tables ---------- */

.table-scroll { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 460px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; background: var(--bg-soft); }

/* ---------- Checklist ---------- */

.checklist { list-style: none; padding-left: 0; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 32px 0 28px;
  font-size: 15px;
}
.footer-inner {
  max-width: var(--wrap-wide);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand p { color: var(--ink-faint); margin: 6px 0 0; font-size: 14.5px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal {
  max-width: var(--wrap-wide);
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13.5px;
}
.footer-legal p { margin: 0 0 6px; }

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .header-inner { min-height: 54px; padding-top: 8px; padding-bottom: 8px; }
  .nav { gap: 16px; font-size: 14.5px; width: 100%; }
  h1 { font-size: 27px; }
  .hero { padding: 32px 0 26px; }
  .hero h1 { font-size: 29px; }
  h2 { font-size: 21px; margin-top: 32px; }
  .lede { font-size: 17.5px; }
  .section { padding: 30px 0; }
  .disclosure-bar { font-size: 12.5px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
