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

:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-deep: #060606;
  --ink: #f0f0f0;
  --ink-2: #a0a0a0;
  --ink-3: #666;
  --ink-4: #333;
  --green: #3d9b6f;
  --green-bright: #5ec496;
  --green-soft: rgba(61,155,111,0.12);
  --red: #b04141;
  --red-soft: rgba(176,65,65,0.12);
  --amber: #c49a3c;
  --rule: #1e1e1e;
  --rule-strong: #2a2a2a;
  --radius: 6px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

html { background: var(--bg); color: var(--ink); font-family: var(--font); }
body { min-height: 100vh; display: flex; flex-direction: column; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 0 24px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.nav-inner {
  width: 100%; max-width: 960px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
}
.nav-right {
  display: flex; align-items: center; gap: 20px;
}
.nav-right a {
  color: var(--ink-2); text-decoration: none; font-size: 13px;
  transition: color 0.15s;
}
.nav-right a:hover { color: var(--ink); }
.nav-enterprise {
  font-size: 12px !important; font-family: var(--mono);
  color: var(--green) !important; letter-spacing: 0.05em;
  padding: 5px 14px; border: 1px solid var(--green);
  border-radius: 3px; text-transform: uppercase;
}
.nav-enterprise:hover { background: var(--green-soft); }

/* Main content area */
.main {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 24px 40px;
  max-width: 640px; margin: 0 auto; width: 100%;
}

/* Heading */
.title {
  font-size: 32px; font-weight: 700; letter-spacing: -0.03em;
  text-align: center; margin-bottom: 8px;
}
.subtitle {
  font-size: 15px; color: var(--ink-2); text-align: center;
  line-height: 1.6; margin-bottom: 40px; max-width: 480px;
}

/* Scope box */
.scope-box {
  width: 100%; margin-bottom: 32px; padding: 24px;
  background: var(--bg-elev); border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.scope-title {
  font-size: 13px; font-weight: 600; margin-bottom: 10px;
  color: var(--ink);
}
.scope-body {
  font-size: 13px; color: var(--ink-2); line-height: 1.6;
  margin-bottom: 20px;
}
.scope-body strong { color: var(--ink); font-weight: 600; }
.scope-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.scope-col ul {
  list-style: none; padding: 0;
}
.scope-col li {
  font-size: 12px; color: var(--ink-3); line-height: 1.5;
  padding: 4px 0 4px 16px; position: relative;
}
.scope-col li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
}
.scope-label {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 10px; font-weight: 600;
}
.scope-label.yes { color: var(--green); }
.scope-label.no { color: var(--ink-4); }
.scope-col:first-child li::before { background: var(--green); }
.scope-col:last-child li::before { background: var(--ink-4); }

/* Upload / search area */
.verify-box {
  width: 100%; background: var(--bg-elev);
  border: 2px dashed var(--rule-strong); border-radius: var(--radius);
  padding: 48px 32px; text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer; position: relative;
}
.verify-box:hover, .verify-box.dragover {
  border-color: var(--green); background: var(--green-soft);
}
.verify-box-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--bg-deep);
  border: 1px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center;
}
.verify-box-label {
  font-size: 16px; font-weight: 600; margin-bottom: 6px;
}
.verify-box-hint {
  font-size: 13px; color: var(--ink-3); line-height: 1.5;
}
.verify-box input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}

/* Divider */
.or-divider {
  display: flex; align-items: center; gap: 16px;
  width: 100%; margin: 24px 0; color: var(--ink-4);
  font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em;
}
.or-divider::before, .or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}

/* Search input */
.search-wrap {
  width: 100%; position: relative;
}
.search-input {
  width: 100%; padding: 14px 16px 14px 44px;
  background: var(--bg-elev); border: 1px solid var(--rule-strong);
  border-radius: var(--radius); color: var(--ink);
  font-family: var(--mono); font-size: 14px;
  outline: none; transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--ink-4); }
.search-input:focus { border-color: var(--green); }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-4); pointer-events: none;
}

/* Verify button */
.verify-btn {
  width: 100%; margin-top: 16px; padding: 14px;
  background: var(--green); color: #fff; border: none;
  border-radius: var(--radius); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
  font-family: var(--font);
}
.verify-btn:hover { opacity: 0.9; }
.verify-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
}

/* Result card */
.result {
  width: 100%; margin-top: 32px; padding: 28px;
  background: var(--bg-elev); border-radius: var(--radius);
  border: 1px solid var(--rule-strong);
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.result-verdict {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.result-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 3px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.result-badge.pass { background: var(--green-soft); color: var(--green-bright); border: 1px solid var(--green); }
.result-badge.fail { background: var(--red-soft); color: var(--red); border: 1px solid var(--red); }

.result-summary {
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
  margin-bottom: 20px;
}
.result-disclaimer {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; margin-bottom: 16px;
  background: rgba(196,154,60,0.06); border: 1px solid rgba(196,154,60,0.2);
  border-radius: 3px; font-size: 12px; color: var(--ink-2); line-height: 1.6;
}
.result-disclaimer-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(196,154,60,0.15);
  color: var(--amber); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
}
.result-share {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--bg-deep);
  border-radius: 3px;
}
.result-share-label {
  font-size: 11px; color: var(--ink-3); font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em; flex-shrink: 0;
}
.result-share-link {
  font-size: 13px; color: var(--green-bright); font-family: var(--mono);
  word-break: break-all;
}

/* Rate limit notice */
.rate-notice {
  width: 100%; margin-top: 24px;
  padding: 12px 16px; text-align: center;
  font-size: 12px; color: var(--ink-4);
  font-family: var(--mono); letter-spacing: 0.02em;
  border-top: 1px solid var(--rule);
}

/* Cooldown bar */
.cooldown {
  width: 100%; margin-top: 12px; height: 3px;
  background: var(--rule); border-radius: 2px; overflow: hidden;
}
.cooldown-fill {
  height: 100%; background: var(--green);
  transition: width 1s linear;
}

/* Footer */
.footer {
  padding: 32px 24px; border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
}
.footer-inner {
  width: 100%; max-width: 960px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-left {
  font-size: 12px; color: var(--ink-4);
}
.footer-links {
  display: flex; gap: 20px;
}
.footer-links a {
  font-size: 12px; color: var(--ink-3); text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }
.footer-cta {
  font-size: 12px; color: var(--green); text-decoration: none;
  font-family: var(--mono); letter-spacing: 0.03em;
}
.footer-cta:hover { color: var(--green-bright); }

/* How it works (collapsed) */
.how-section {
  width: 100%; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.how-title {
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
  color: var(--ink-2);
}
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.how-step {
  padding: 16px; background: var(--bg-elev);
  border: 1px solid var(--rule); border-radius: var(--radius);
}
.how-step-num {
  font-family: var(--mono); font-size: 10px; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px;
}
.how-step-title {
  font-size: 13px; font-weight: 600; margin-bottom: 4px;
}
.how-step-desc {
  font-size: 12px; color: var(--ink-3); line-height: 1.5;
}

/* Enterprise banner */
.enterprise-banner {
  width: 100%; margin-top: 40px; padding: 20px 24px;
  background: var(--bg-elev); border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.enterprise-banner-text {
  font-size: 13px; color: var(--ink-2); line-height: 1.5;
}
.enterprise-banner-text strong {
  color: var(--ink); font-weight: 600;
}
.enterprise-banner a {
  flex-shrink: 0; padding: 8px 18px;
  font-size: 12px; font-family: var(--mono);
  color: var(--green); border: 1px solid var(--green);
  border-radius: 3px; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: background 0.15s;
}
.enterprise-banner a:hover { background: var(--green-soft); }

/* Responsive */
@media (max-width: 640px) {
  .title { font-size: 24px; }
  .verify-box { padding: 32px 20px; }
  .how-steps { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .enterprise-banner { flex-direction: column; text-align: center; }
  .nav-right { gap: 12px; }
}
