/* ipgeo-compare — minimal reader-first CSS. System stack, max content width, print-friendly. */
:root {
  --fg: #1a1a1a;
  --fg-muted: #555;
  --bg: #fff;
  --bg-soft: #f6f7f9;
  --accent: #0b5cff;
  --accent-dark: #0847c7;
  --border: #e3e6ea;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--fg); background: var(--bg); line-height: 1.6; font-size: 17px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--border); max-width: 920px; margin: 0 auto; }
.site-header .brand { font-weight: 700; font-size: 18px; color: var(--fg); }
.site-header nav a { margin-left: 20px; color: var(--fg-muted); font-size: 15px; }
.site-header nav a:hover { color: var(--accent); }

main.article, main.home { max-width: 760px; margin: 0 auto; padding: 32px 24px 64px; }
main.home { max-width: 920px; }

h1 { font-size: 32px; line-height: 1.25; margin: 0 0 16px; }
h2 { font-size: 24px; margin: 40px 0 12px; }
h3 { font-size: 19px; margin: 28px 0 8px; }
p { margin: 0 0 14px; }

blockquote { margin: 20px 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; }
blockquote > p:last-child { margin-bottom: 0; }

code { font-family: var(--font-mono); background: var(--bg-soft); padding: 2px 5px; border-radius: 4px; font-size: 0.93em; }
pre { background: #0e1117; color: #e6edf3; padding: 16px; border-radius: var(--radius); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.55; }
pre code { background: transparent; padding: 0; color: inherit; }

table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

.cta-box { padding: 22px 24px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--border); margin: 32px 0 0; }
.cta-box h3 { margin-top: 0; }

.btn { display: inline-block; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; }
.btn:hover { background: var(--accent-dark); text-decoration: none; }

.hero { padding: 16px 0 8px; }
.hero .lede { color: var(--fg-muted); font-size: 19px; max-width: 620px; }
.hero .muted { color: var(--fg-muted); font-size: 14px; margin-left: 8px; }

.cards { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cards .card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.cards .card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(11,92,255,0.08); }
.cards .card a { display: block; padding: 18px 20px; color: var(--fg); }
.cards .card h2 { margin: 0 0 8px; font-size: 17px; color: var(--fg); }
.cards .card p { font-size: 14px; color: var(--fg-muted); margin: 0 0 12px; }
.cards .card .cta { color: var(--accent); font-size: 14px; font-weight: 600; }

.pillars ul { padding-left: 0; list-style: none; }
.pillars li { margin: 10px 0; padding-left: 20px; position: relative; }
.pillars li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 700; }

.site-footer { border-top: 1px solid var(--border); padding: 20px 24px; max-width: 920px; margin: 0 auto; color: var(--fg-muted); font-size: 14px; text-align: center; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  .site-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .site-header nav a:first-child { margin-left: 0; }
  main.article, main.home { padding: 20px 16px 48px; }
  table { font-size: 14px; }
  th, td { padding: 8px; }
}


/* Waitlist capture */
.waitlist { margin: 32px 0 0; padding: 24px 24px 22px; background: linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%); border: 1px solid #c9d7f8; border-radius: var(--radius); }
.waitlist h3 { margin-top: 0; font-size: 19px; }
.waitlist p { color: var(--fg-muted); margin-bottom: 14px; }
.waitlist form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.waitlist input[type="email"] { flex: 1 1 240px; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: #fff; }
.waitlist input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.waitlist button { background: var(--accent); color: #fff; border: 0; padding: 10px 18px; border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer; }
.waitlist button:hover:not([disabled]) { background: var(--accent-dark); }
.waitlist button[disabled] { opacity: 0.6; cursor: wait; }
.waitlist-status { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--fg-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  .waitlist form { flex-direction: column; }
  .waitlist input[type="email"], .waitlist button { width: 100%; }
}
