:root {
  --ink: #202124;
  --mute: #5f6368;
  --line: #e8eaed;
  --bg: #f8f9fa;
  --surface: #fff;
  --accent: #0b57d0;
  --safe: #0d8a5b;
  --warn: #b06000;
  --danger: #c5221f;
  --font: "Roboto", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.top {
  height: 56px; display: flex; align-items: center; gap: 16px;
  padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 18px; }
.mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.top nav { display: flex; gap: 14px; font-size: 13px; color: var(--mute); }
.top nav a:hover { color: var(--ink); }
.right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.who { font-size: 13px; color: var(--mute); }
.btn {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border: 0; border-radius: 18px; background: var(--accent); color: #fff;
  font: inherit; font-weight: 500; font-size: 13px; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.05); }

.hero {
  background: linear-gradient(145deg, #0b57d0 0%, #174ea6 55%, #0f2f6b 100%);
  color: #fff; padding: 48px 20px 40px;
}
.hero-inner { width: min(880px, 100%); margin: 0 auto; }
.badge {
  display: inline-flex; padding: 4px 10px; border-radius: 12px;
  background: rgba(255,255,255,.18); font-size: 12px; font-weight: 500; margin-bottom: 12px;
}
.hero h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; letter-spacing: -.03em; }
.hero p { margin: 0 0 18px; max-width: 46ch; opacity: .92; line-height: 1.5; font-size: 15px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.hero .btn { background: #fff; color: #0b57d0; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.fine { font-size: 12px; opacity: .75; margin: 0; }

.main { width: min(880px, calc(100% - 32px)); margin: 24px auto 64px; display: grid; gap: 16px; }
.panel {
  background: var(--surface); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(60,64,67,.12);
}
.panel h2 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.sub { margin: 0 0 16px; color: var(--mute); font-size: 14px; line-height: 1.45; }
.drop {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 18px; border: 1px dashed #c4c7c5; border-radius: 12px; background: #f8f9fa;
}
.drop-btn {
  height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-weight: 500; cursor: pointer;
}
.mute { color: var(--mute); font-size: 13px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row input {
  flex: 1; min-width: 200px; height: 42px; border: 1px solid var(--line);
  border-radius: 21px; padding: 0 16px; font: inherit; outline: none;
}
.row input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,87,208,.15); }

.result {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.45;
}
.result.safe { background: #e6f4ea; color: #137333; }
.result.warn { background: #fef7e0; color: #b06000; }
.result.danger { background: #fce8e6; color: #c5221f; }
.result.info { background: #e8f0fe; color: #174ea6; }

.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.card {
  display: grid; gap: 4px; padding: 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; transition: box-shadow .15s, border-color .15s;
}
.card:hover { border-color: #aecbfa; box-shadow: 0 2px 8px rgba(26,115,232,.12); }
.card strong { font-size: 16px; font-weight: 500; }
.card span { font-size: 13px; color: var(--mute); }

.bullets { margin: 0; padding-left: 18px; color: var(--mute); font-size: 14px; line-height: 1.55; }
.bullets li { margin-bottom: 8px; }
.bullets strong { color: var(--ink); }
.muted-panel { background: #f1f3f4; box-shadow: none; }

.foot {
  text-align: center; padding: 24px; color: var(--mute); font-size: 13px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.foot a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .top nav { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 16px 28px; }
}
