/* Election × fuel — minimal Google-adjacent UI */
:root {
  --bg: #ffffff;
  --page: #f8f9fa;
  --text: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --primary: #1a73e8;
  --primary-dark: #174ea6;
  --primary-soft: #e8f0fe;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-brand a {
  color: inherit;
  text-decoration: none;
}
.site-brand a:hover {
  color: var(--primary);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--muted);
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* About / methodology */
.prose-page {
  max-width: 40rem;
}
.prose-page h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.prose-page h2:first-of-type {
  margin-top: 0.5rem;
}
.prose-page p,
.prose-page li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 0.85rem;
}
.prose-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.prose-page li {
  margin-bottom: 0.4rem;
}
.attribution-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
  margin-top: 2rem;
  box-shadow: var(--shadow);
}
.attribution-box p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--text);
}
.attribution-box p:last-child {
  margin-bottom: 0;
}
.attribution-box strong {
  font-weight: 500;
  color: var(--text);
}

.hero {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.25;
}

.hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: #bdc1c6;
}

.card h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.path-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.path-block h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.path-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.path-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f3f4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.path-list li:last-child {
  border-bottom: none;
}

.path-list code {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  word-break: break-all;
}

.path-list a {
  font-weight: 500;
}

.process {
  max-width: 44rem;
  margin-bottom: 2.75rem;
}

.process-intro {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 40rem;
}

.process-flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid #f1f3f4;
  align-items: start;
}

.process-step:first-of-type {
  padding-top: 0;
}

.process-step:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.process-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.process-body h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.process-body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.58;
}

.process-body a {
  font-weight: 500;
}

.process-body code {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 42rem;
}

.site-footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.site-footer code {
  font-size: 0.72rem;
  background: #f1f3f4;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Wrong document root: user served only election_fuel_web */
.serve-warning {
  background: #fce8e6;
  color: #5f2120;
  padding: 0.9rem 1.25rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  border-bottom: 1px solid #f9ab9e;
}
.serve-warning strong {
  color: #202124;
}
.serve-warning code {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
