:root {
  --bg: #07090d;
  --panel: rgba(18, 22, 30, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --ink: #f4f1ea;
  --muted: #a7adb8;
  --gold: #d8a75e;
  --gold-soft: rgba(216, 167, 94, 0.14);
  --green: #63d6a4;
  --red: #ff7a7a;
  --amber: #ffc46b;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 15% -10%, rgba(216, 167, 94, 0.13), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(73, 108, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #080a0f 0%, #07090d 55%, #05070a 100%);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--gold); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: #1a1206;
  background: linear-gradient(145deg, #f1cf96, var(--gold));
  font-weight: 900;
  font-size: 15px;
}
.brand.small { font-size: 14px; }
.nav-cta {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}
.nav-cta:hover { color: var(--ink); border-color: rgba(216,167,94,0.5); }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero { padding: 70px 0 32px; max-width: 900px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(216,167,94,0.8);
}
h1 {
  font-size: clamp(44px, 6.6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
  font-weight: 650;
}
.grad {
  background: linear-gradient(100deg, #f6e4c4 0%, var(--gold) 45%, #b87d38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.scan {
  max-width: 760px;
  background: linear-gradient(180deg, rgba(28, 33, 43, 0.8), rgba(16, 20, 27, 0.9));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.scan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 7, 11, 0.72);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 4px 4px 4px 14px;
}
.protocol { color: #6f7682; font-size: 15px; font-family: ui-monospace, monospace; }
#url {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ink);
  font-size: 17px;
  padding: 12px 0;
  font-family: inherit;
}
#url::placeholder { color: #7c8492; }
#scan-btn {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #f0cd92, var(--gold));
  color: #1a1206;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease;
}
#scan-btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
#scan-btn:disabled { opacity: 0.55; cursor: wait; transform: none; }
.fine { margin: 12px 8px 4px; color: #747b87; font-size: 12px; }
.error {
  max-width: 760px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255,122,122,0.35);
  background: rgba(255,122,122,0.08);
  color: #ffb3b3;
  border-radius: 12px;
  font-size: 14px;
}

.results {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(12px);
  animation: rise 0.5s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.score-card { display: flex; gap: 26px; align-items: center; }
.score-ring {
  --score: 0;
  width: 132px; height: 132px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: conic-gradient(var(--gold) calc(var(--score) * 1%), rgba(255,255,255,0.08) 0);
  display: grid; place-items: center;
  position: relative;
}
.score-ring::after {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 50%;
  background: #0c1017;
  border: 1px solid rgba(255,255,255,0.06);
}
.score-inner { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 2px; }
#score-value { font-size: 38px; font-weight: 800; letter-spacing: -0.05em; }
.score-den { color: #737b88; font-size: 13px; }
.score-label { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.score-copy p { color: var(--muted); margin: 0; max-width: 580px; }
.score-meta { margin-top: 10px; color: #737b88; font-size: 12px; word-break: break-all; }
.checks { margin-top: 22px; display: grid; gap: 8px; }
.check {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  background: rgba(255,255,255,0.018);
}
.check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900;
}
.check.pass .check-icon { background: rgba(99,214,164,0.14); color: var(--green); }
.check.warn .check-icon { background: rgba(255,196,107,0.14); color: var(--amber); }
.check.fail .check-icon { background: rgba(255,122,122,0.14); color: var(--red); }
.check-name { font-weight: 650; font-size: 14px; }
.check-detail { color: #8b929e; font-size: 13px; margin-top: 2px; }
.check-points { color: #737b88; font-size: 12px; white-space: nowrap; }
.result-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.result-cta strong { font-size: 15px; }
.result-cta p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.button {
  display: inline-block;
  text-decoration: none;
  background: var(--ink);
  color: #0a0d12;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  white-space: nowrap;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 70px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.proof-item { background: rgba(10, 13, 18, 0.9); padding: 24px; }
.proof-item span { color: var(--gold); font-family: ui-monospace, monospace; font-size: 12px; }
.proof-item strong { display: block; margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.proof-item p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing { padding: 110px 0 20px; }
.section-head { max-width: 720px; margin-bottom: 34px; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.045em; margin: 0; font-weight: 650; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(12, 16, 22, 0.8);
}
.plan.featured { border-color: rgba(216,167,94,0.45); background: linear-gradient(180deg, rgba(216,167,94,0.09), rgba(12,16,22,0.9)); }
.tag {
  position: absolute; top: -11px; left: 22px;
  background: var(--gold); color: #1a1206;
  font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
}
.plan h3 { margin: 0 0 14px; font-size: 15px; color: var(--muted); font-weight: 600; }
.price { font-size: 34px; font-weight: 750; letter-spacing: -0.04em; margin-bottom: 12px; }
.plan p { color: var(--muted); font-size: 14px; min-height: 66px; margin: 0 0 18px; }
.plan-link { color: var(--gold); text-decoration: none; font-size: 14px; font-weight: 700; }

.faq { max-width: 760px; padding: 100px 0 40px; }
.faq h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: 14px; max-width: 680px; margin: 12px 0 0; }

footer {
  max-width: var(--max);
  margin: 60px auto 0;
  padding: 28px 24px 46px;
  border-top: 1px solid var(--line);
  color: #737b88;
  font-size: 12px;
}
footer p { margin: 10px 0 0; max-width: 620px; }
.copyright { color: #555c68; }

@media (max-width: 820px) {
  .hero { padding-top: 62px; }
  .scan-row { flex-wrap: wrap; padding: 10px; }
  .protocol { display: none; }
  #url { flex: 1 1 100%; padding: 10px 4px; }
  #scan-btn { width: 100%; }
  .score-card { flex-direction: column; align-items: flex-start; }
  .proof, .plans { grid-template-columns: 1fr; }
  .result-cta { flex-direction: column; align-items: flex-start; }
  .check { grid-template-columns: 24px 1fr; }
  .check-points { grid-column: 2; }
}
