/* aimeetingnotes.online — clean, readable, mobile-first */
:root {
  --bg: #fafbfc;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #5c6570;
  --border: #e4e7ec;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --success: #059669;
  --success-soft: #ecfdf5;
  --warn: #d97706;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --max: 720px;
  --max-wide: 960px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2rem, var(--max-wide)); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}
.logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: .75rem;
}
.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 750;
}
.hero .lede {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 38em;
}
.meta-line {
  font-size: .875rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}
.meta-line time { font-variant-numeric: tabular-nums; }

/* Disclosure */
.disclosure {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  font-size: .9rem;
  color: #78350f;
  margin: 1.5rem 0;
  line-height: 1.55;
}
.disclosure strong { font-weight: 650; }

/* Content */
.article { padding: 2rem 0 3.5rem; }
.article h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 .85rem;
  line-height: 1.3;
  scroll-margin-top: 4rem;
}
.article h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 .6rem;
  letter-spacing: -0.015em;
}
.article p { margin: 0 0 1.1rem; }
.article ul, .article ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--muted); }

.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout.green {
  background: var(--success-soft);
  border-left-color: var(--success);
}
.callout p:last-child { margin-bottom: 0; }

/* Decision tree cards */
.tree {
  display: grid;
  gap: .85rem;
  margin: 1.5rem 0 2rem;
}
.tree-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.tree-card .if {
  font-size: .8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: .35rem;
}
.tree-card .then {
  font-weight: 650;
  margin-bottom: .35rem;
}
.tree-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.tree-card.primary {
  border-color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 60%);
}

/* Comparison table */
.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 640px;
}
table.compare th,
table.compare td {
  padding: .75rem .9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.compare th {
  background: #f3f4f6;
  font-weight: 650;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  white-space: nowrap;
}
table.compare tr:last-child td { border-bottom: none; }
table.compare td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}
.price-note {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}

/* Checklist */
.checklist-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}
.checklist-block h3 { margin-top: 0; }
.check-group { margin-bottom: 1.25rem; }
.check-group:last-child { margin-bottom: 0; }
.check-group label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .4rem 0;
  cursor: pointer;
  font-size: .95rem;
}
.check-group input[type="checkbox"],
.check-group input[type="radio"] {
  margin-top: .35rem;
  accent-color: var(--accent);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}
.scorecard {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin-top: .75rem;
}
.scorecard th, .scorecard td {
  border: 1px solid var(--border);
  padding: .55rem .65rem;
  text-align: left;
}
.scorecard th { background: #f3f4f6; font-size: .8rem; }
.scorecard input[type="text"] {
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  padding: .2rem 0;
  outline: none;
}
.scorecard input[type="text"]::placeholder { color: #9ca3af; }

/* CTA */
.cta-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem 1.6rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.cta-box h3 { margin: 0 0 .5rem; color: #fff; font-size: 1.2rem; }
.cta-box p { margin: 0 0 1rem; color: #dbeafe; font-size: .95rem; }
.btn {
  display: inline-block;
  background: #fff;
  color: #1e40af;
  font-weight: 650;
  padding: .7rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.btn:hover {
  transform: translateY(-1px);
  color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
}
.btn-outline:hover { background: var(--accent-soft); }

/* Verdict cards */
.verdicts {
  display: grid;
  gap: .85rem;
  margin: 1.25rem 0 2rem;
}
@media (min-width: 640px) {
  .verdicts { grid-template-columns: 1fr 1fr; }
}
.verdict {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.verdict strong { display: block; margin-bottom: .3rem; }
.verdict p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
  font-size: .875rem;
  color: var(--muted);
}
.site-footer .inner {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Checklist page hero tweak */
.page-checklist .hero h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); }

/* Print / a11y */
@media print {
  .site-header, .cta-box, .site-footer { display: none; }
  body { background: #fff; }
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
