*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --f1: #e10600;
  --f1dark: #180404;
  --surface: #f8f9fa;
  --text: #1a1a2e;
  --muted: #666;
  --border: #e8e8e8;
  --white: #fff;
  --ok: #16a34a;
  --warn: #b45309;
  --r: 10px;
}

html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #ecedf2;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #1769d6; }

.page {
  max-width: 420px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--white);
}

.header {
  background: #12121e;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.logo-wrap { display: flex; flex-direction: column; gap: 2px; }
.logo-top { display: flex; align-items: center; gap: 7px; }
.logo-badge {
  background: var(--f1);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: .6px;
}
.logo-name { color: #fff; font-size: 13px; font-weight: 600; }
.logo-domain { color: rgba(255,255,255,.45); font-size: 9px; }
.logo-domain a { color: rgba(255,255,255,.72); text-decoration: none; }
.head-link {
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  padding: 6px 8px;
}

.meta-nav {
  border-bottom: .5px solid var(--border);
  background: #fff;
  padding: 9px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.meta-nav a {
  white-space: nowrap;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  color: #3d4763;
  background: #f2f4f9;
  border: 1px solid #dfe5f2;
  border-radius: 20px;
  padding: 5px 10px;
}

.education-header,
.tool-header {
  background: var(--f1dark);
  color: #fff;
  padding: 16px;
  border-bottom: .5px solid rgba(255,255,255,.08);
}
.education-header h1,
.tool-header h1 {
  margin: 0 0 5px 0;
  font-size: 22px;
  line-height: 1.2;
}
.subtitle,
.tool-header p {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.5;
}

section { padding: 14px 16px; border-bottom: .5px solid #f0f0f0; }
.container { width: 100%; margin: 0; }
h2 {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.3;
}
h3 { margin: 0 0 7px 0; font-size: 14px; line-height: 1.4; }
h4 { margin: 0 0 6px 0; font-size: 12px; }
p { margin: 0 0 10px 0; font-size: 12px; color: #333; line-height: 1.55; }
ul, ol { margin: 0 0 0 16px; padding: 0; }
li { font-size: 12px; color: #2b3247; margin-bottom: 4px; line-height: 1.5; }

.verification-steps,
.education-content,
.steps-flow,
.trust-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-card,
.topic-card,
.trust-feature,
.check-category,
.input-section,
.results-section,
.warning-patterns,
.legal-requirements {
  background: var(--surface);
  border: .5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 13px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--f1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-list,
.price-indicators,
.check-items,
.requirements-grid { display: grid; gap: 8px; }

.check-item,
.indicator,
.requirement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #333;
}

.check-item .icon,
.indicator .icon { font-weight: 700; min-width: 34px; }
.check-item.positive .icon,
.indicator.positive .icon { color: var(--ok); }
.check-item.negative .icon,
.indicator.negative .icon { color: var(--warn); }

.comparison { display: flex; flex-direction: column; gap: 10px; }
.comparison-side {
  border-radius: var(--r);
  padding: 11px 12px;
  border: .5px solid #e4e8f3;
  background: #fff;
}
.comparison-side.established { border-left: 2.5px solid var(--ok); }
.comparison-side.questionable { border-left: 2.5px solid var(--warn); }

.trust-feature { border-top: 2.5px solid var(--f1); text-align: left; }
.feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #ffe7e7;
  color: #a80000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.action-step {
  background: #fff7e8;
  border: 1px solid #e7c882;
  border-radius: var(--r);
  padding: 12px 13px;
}

.action-button,
.verify-button,
.calculate-button,
.recommendation-link {
  display: inline-block;
  border: none;
  border-radius: 9px;
  background: var(--f1);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  padding: 9px 12px;
}
.action-button.external { background: #1a2a6a; }

.tool-interface { width: 100%; }

.input-section input {
  width: 100%;
  margin: 8px 0 10px;
  border: 1px solid #cfd6e8;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  color: #111;
}

label.check-item {
  cursor: pointer;
  background: #fff;
  border: .5px solid #e4e8f3;
  border-radius: 8px;
  padding: 8px 9px;
}
label.check-item:hover { background: #f4f7fd; }
label.check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.score-display { text-align: center; }
.score-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.score-circle.high-trust { background: linear-gradient(135deg, #28a745, #20c997); }
.score-circle.medium-trust { background: linear-gradient(135deg, #d97706, #ea580c); }
.score-circle.low-trust { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.score-number { font-size: 24px; line-height: 1; }
.score-label { font-size: 11px; opacity: .95; }
.status.high { color: #15803d; font-weight: 700; }
.status.medium { color: #b45309; font-weight: 700; }
.status.low { color: #b91c1c; font-weight: 700; }

.site-note {
  background: #f5f7fb;
  border: .5px solid #dbe2ef;
  border-radius: var(--r);
  padding: 10px 11px;
  font-size: 10px;
  line-height: 1.55;
  color: #4a5674;
}

.footer {
  background: var(--surface);
  padding: 12px 16px;
  border-top: .5px solid var(--border);
}
.ft {
  font-size: 9px;
  color: #888;
  text-align: center;
  line-height: 1.75;
}
.ft a { color: #378add; text-decoration: none; }
