:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #0f1b2d;
  --text: #1a2233;
  --text-muted: #5a6577;
  --border: #e4e8ef;
  --primary: #1d6cff;
  --primary-dark: #1554cc;
  --accent: #ffb800;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15,27,45,0.06), 0 8px 24px rgba(15,27,45,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand span { color: var(--primary); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 500; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  padding: 54px 0 40px;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  font-weight: 800;
  max-width: 760px;
}
.hero .lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 26px;
}
.hero .updated {
  font-size: 14px;
  color: var(--text-muted);
}

/* Quick answer */
.quick-answer {
  background: #eef4ff;
  border: 1px solid #d6e4ff;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0;
}
.quick-answer h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}
.quick-answer ul { list-style: none; }
.quick-answer li {
  padding: 7px 0 7px 30px;
  position: relative;
}
.quick-answer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Sections */
section { padding: 44px 0; }
h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 10px;
}
p { margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 6px; }

/* Service card */
.service {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.service .rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.service .rank.best { background: linear-gradient(135deg, #ffb800, #ff8a00); }
.service h3 { margin-top: 0; font-size: 24px; }
.service .tagline { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; }
.service .pros { list-style: none; margin-left: 0; }
.service .pros li {
  padding-left: 26px;
  position: relative;
}
.service .pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.service .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 14px 0;
}
.service .meta span { background: var(--bg-alt); padding: 4px 10px; border-radius: 6px; }

/* CTA */
.cta {
  background: linear-gradient(135deg, #1d6cff, #1554cc);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 18px 0;
  text-align: center;
}
.cta h4 { font-size: 20px; margin-bottom: 8px; }
.cta p { color: #dbe7ff; margin-bottom: 16px; }
.cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.cta-btn:hover { transform: translateY(-2px); text-decoration: none; }
.cta-btn.accent { background: var(--accent); color: #3a2a00; }

.cta-banner {
  background: #fff7e6;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-banner .txt { font-weight: 600; }
.cta-banner .txt small { display: block; color: var(--text-muted); font-weight: 400; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 18px 0 26px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
th { background: var(--bg-alt); font-weight: 700; }
tr:hover td { background: #fafbfd; }

/* Callout boxes */
.callout {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0;
}
.callout.mistake { border-left-color: var(--red); }
.callout.expert { border-left-color: var(--accent); }
.callout strong { display: block; margin-bottom: 4px; }
.callout.mistake strong { color: var(--red); }
.callout.expert strong { color: #b87b00; }

/* Checklist */
.checklist {
  background: #f0fbf3;
  border: 1px solid #c9efd8;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 18px 0;
}
.checklist h3 { margin-top: 0; color: var(--green); }
.checklist ul { list-style: none; margin-left: 0; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item h3 { margin: 0 0 8px; font-size: 18px; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #aeb9cc;
  padding: 40px 0 28px;
  margin-top: 30px;
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer a { color: #cfd8e8; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.disclosure {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #6b5300;
  margin: 24px 0;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 27px; }
  h2 { font-size: 22px; }
  body { font-size: 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
