:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #555;
  --accent: #0f5c8e;
  --accent-dark: #0a4a73;
  --surface: #f7f8fa;
  --border: #e3e6ea;
  --max: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  text-decoration: none;
}
.site-nav a {
  margin-left: 18px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 36px 20px 8px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 8px;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 19px;
  margin: 26px 0 10px;
}

p { margin: 0 0 16px; }

a { color: var(--accent); }

ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; }

/* Quick answer */
.quick-answer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 8px 0 0;
}
.quick-answer h2 { margin-top: 0; }
.quick-answer ul { margin-bottom: 0; }

/* Service cards */
.service-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 20px 0;
  background: #fff;
}
.rank-1 { border-left: 5px solid #e0a800; }
.rank-2 { border-left: 5px solid #9aa0a6; }
.rank-3 { border-left: 5px solid #b87333; }
.service-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-head h3 { margin: 0; }
.medal { font-weight: 700; font-size: 16px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 24px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 520px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { background: var(--surface); font-weight: 700; }

/* Checklists */
.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 4px; }

/* Callouts */
.callout {
  border-radius: 8px;
  padding: 18px 22px;
  margin: 18px 0;
  border: 1px solid var(--border);
}
.callout.mistake { background: #fdf6f6; border-left: 4px solid #c0392b; }
.callout.expert { background: #f4f9f6; border-left: 4px solid #1e8449; }
.callout h3 { margin-top: 0; font-size: 17px; }

/* CTA */
.cta {
  background: var(--accent);
  color: #fff;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  margin-top: 8px;
}
.cta a { color: #fff; text-decoration: none; font-weight: 700; }

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
}
.faq p:last-child { margin-bottom: 0; }

main { padding-bottom: 60px; }

/* Responsive */
@media (max-width: 640px) {
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 17px; }
  body { font-size: 16px; }
  .site-nav a { margin-left: 12px; }
  .header-inner { height: 54px; }
}
