:root {
  --bg: #0e1726;
  --bg-soft: #16213a;
  --card: #ffffff;
  --text: #1c2333;
  --text-soft: #5b6478;
  --accent: #16a34a;
  --accent-dark: #128a3f;
  --danger: #dc2626;
  --warn: #d97706;
  --line: #e5e8ef;
  --radius: 12px;
  font-size: 16px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #f6f8fb;
  line-height: 1.6;
}

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

/* Header */
.site-header { background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-size: 1.35rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.logo .tld { color: #8b95ab; font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a { color: #cdd5e4; text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-ghost { background: transparent; border: 2px solid var(--line); color: var(--text) !important; }
.btn-ghost:hover { background: #eef1f6; }

/* Hero */
.hero { background: var(--bg); color: #fff; padding: 72px 0 84px; }
.hero .container { max-width: 860px; text-align: center; }
.hero h1 { font-size: 2.7rem; line-height: 1.15; letter-spacing: -1px; margin-bottom: 18px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.sub { font-size: 1.2rem; color: #b9c2d4; margin-bottom: 30px; }
.hero .trust-line { margin-top: 18px; color: #8b95ab; font-size: 0.9rem; }

/* Sections */
section.block { padding: 64px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.block h2 { font-size: 1.9rem; letter-spacing: -0.5px; margin-bottom: 12px; }
section.block p.lead { color: var(--text-soft); max-width: 640px; margin-bottom: 34px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { color: var(--text-soft); font-size: 0.95rem; }
.card .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.card .emoji { font-size: 1.6rem; display: block; margin-bottom: 10px; }

/* Source category badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.badge.green { background: #dcfce7; color: #15803d; }
.badge.yellow { background: #fef3c7; color: #b45309; }
.badge.red { background: #fee2e2; color: #b91c1c; }

/* Forms */
.form-card { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card p.hint { color: var(--text-soft); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field label .optional { color: var(--text-soft); font-weight: 400; }
.field input {
  width: 100%; padding: 12px 14px; border: 1px solid #cbd2de; border-radius: 8px;
  font-size: 1rem; background: #fbfcfe;
}
.field input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form-error { background: #fee2e2; color: #b91c1c; border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: 0.95rem; }

/* Quality bar */
.quality { position: sticky; top: 0; background: #fff; padding: 14px 0 10px; z-index: 5; }
.quality .quality-label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.quality .quality-label #quality-pct { color: var(--accent); }
.quality-track { height: 10px; background: #e8ecf3; border-radius: 6px; overflow: hidden; }
.quality-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #f59e0b, #16a34a); border-radius: 6px; transition: width 0.4s; }
.quality .quality-hint { font-size: 0.8rem; color: var(--text-soft); margin-top: 6px; }

/* Analyse / progress page */
.analyse-card { max-width: 620px; margin: 0 auto; text-align: center; }
.progress-track { height: 14px; background: #e8ecf3; border-radius: 8px; overflow: hidden; margin: 26px 0 10px; }
.progress-fill { height: 100%; width: 2%; background: var(--accent); border-radius: 8px; transition: width 0.8s; }
.analyse-steps { text-align: left; margin: 26px auto; max-width: 420px; }
.analyse-steps li { list-style: none; padding: 7px 0; color: var(--text-soft); }
.analyse-steps li.done::before { content: "✔ "; color: var(--accent); font-weight: 700; }
.analyse-steps li.active { color: var(--text); font-weight: 600; }
.analyse-steps li.active::before { content: "⏳ "; }
.analyse-steps li.pending::before { content: "· "; }
.email-gate { margin-top: 30px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 26px; }
.email-gate h2 { font-size: 1.25rem; margin-bottom: 8px; }
.email-gate form { display: flex; gap: 10px; margin-top: 16px; }
.email-gate input { flex: 1; padding: 12px 14px; border: 1px solid #cbd2de; border-radius: 8px; font-size: 1rem; }
.email-gate .small { font-size: 0.8rem; color: var(--text-soft); margin-top: 10px; }

/* Report example */
.report { max-width: 780px; margin: 0 auto; }
.report-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; }
.report-item .report-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.report-item h3 { font-size: 1.05rem; }
.report-item .src { color: var(--text-soft); font-size: 0.88rem; margin-top: 4px; }
.report-item .action { margin-top: 12px; font-size: 0.92rem; }
.blurred { filter: blur(5px); user-select: none; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); position: relative; }
.price-card .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 3px 14px; border-radius: 20px; }
.price-card .price { font-size: 2.1rem; font-weight: 800; margin: 10px 0 2px; }
.price-card .per { color: var(--text-soft); font-size: 0.88rem; margin-bottom: 18px; }
.price-card ul { margin: 0 0 24px 18px; color: var(--text-soft); font-size: 0.94rem; flex: 1; }
.price-card ul li { margin-bottom: 8px; }

/* Articles */
.article { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.article h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.5px; }
.article h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.article h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.article p, .article li { margin-bottom: 12px; color: #333a4c; }
.article ul, .article ol { margin-left: 22px; margin-bottom: 16px; }
.article table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 0.92rem; }
.article th, .article td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article th { background: #f2f5f9; }
.article-list .card { margin-bottom: 16px; }
.article-list a { text-decoration: none; color: inherit; }
.article-list h3 { color: var(--bg); }
.article .cta-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 24px; margin: 30px 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--text-soft); }

/* Footer */
.site-footer { background: var(--bg); color: #b9c2d4; margin-top: 80px; padding: 44px 0 24px; font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer a { color: #cdd5e4; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; }
.footer-trust { color: #8b95ab; }
.copyright { margin-top: 26px; color: #6b7690; font-size: 0.8rem; }

/* Utility */
.center { text-align: center; }
.mt-30 { margin-top: 30px; }
.section-cta { text-align: center; margin-top: 40px; }

@media (max-width: 820px) {
  .grid-3, .grid-2, .pricing { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .site-header nav { gap: 12px; font-size: 0.85rem; }
  .site-header nav a:not(.btn) { display: none; }
  .article { padding: 26px; }
  .footer-inner { flex-direction: column; }
}
