@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/__hex_shield/assets/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/__hex_shield/assets/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --hx-bg: #111113;
  --hx-surface: #18191b;
  --hx-field: #212225;
  --hx-raised: #2e3135;
  --hx-tag: #363a3f;
  --hx-accent: #0090ff;
  --hx-accent-deep: #0b74d0;
  --hx-accent-hover: #3b9eff;
  --hx-link: #70b8ff;
  --hx-link-hover: #c2e6ff;
  --hx-ink: #ffffff;
  --hx-text: #edeef0;
  --hx-dim: #cfd1d6;
  --hx-soft: #b0b4ba;
  --hx-muted: #9ea3ab;
  --hx-danger: #ff6b6b;
  --hx-danger-bg: #3a2426;
  --hx-danger-fg: #f2a7a7;
  --hx-success: #8fe3b0;
  --hx-success-bg: #1f3329;
  --hx-success-fg: #a7e8c4;
}

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

html {
  color-scheme: dark;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--hx-bg);
  color: var(--hx-text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

*:focus-visible {
  outline: 2px solid var(--hx-accent);
  outline-offset: 3px;
}

.hx-head {
  padding: 32px clamp(20px, 5vw, 56px) 0;
  display: flex;
  align-items: center;
}

.hx-logo {
  width: 38px;
  height: 38px;
  display: block;
}

.hx-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(20px, 5vw, 56px);
}

.hx-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: hxIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes hxIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hx-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hx-domain {
  font-size: 13px;
  font-weight: 700;
  color: var(--hx-accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hx-domain-danger {
  color: var(--hx-danger-fg);
}

.hx-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--hx-text);
}

.hx-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--hx-muted);
}

.hx-lead {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--hx-dim);
}

.hx-panel {
  background: var(--hx-surface);
  border-radius: 22px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hx-panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hx-spin {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--hx-accent);
  animation: hxSpin 0.9s linear infinite;
}

@keyframes hxSpin {
  to {
    transform: rotate(360deg);
  }
}

.hx-ok {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--hx-accent);
}

.hx-status {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hx-status-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hx-text);
}

.hx-status-sub {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hx-muted);
}

.hx-btn {
  flex: none;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--hx-accent);
  color: var(--hx-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, transform 120ms ease, opacity 140ms ease;
}

.hx-btn:hover {
  background: var(--hx-accent-hover);
}

.hx-btn:active {
  transform: scale(0.98);
}

.hx-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hx-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--hx-field);
  overflow: hidden;
}

.hx-bar {
  height: 100%;
  width: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hx-accent-deep), var(--hx-accent));
  transition: width 240ms ease;
}

.hx-panel[data-state='verifying'] .hx-bar {
  width: 76%;
}

.hx-panel[data-state='ok'] .hx-bar {
  width: 100%;
}

.hx-meta {
  gap: 10px;
}

.hx-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.hx-meta-key {
  color: var(--hx-muted);
  font-weight: 600;
}

.hx-meta-val {
  color: var(--hx-text);
  font-weight: 700;
  text-align: right;
}

.hx-meta-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--hx-text);
}

.hx-foot-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hx-muted);
}

.hx-foot-note a {
  color: var(--hx-link);
  font-weight: 700;
  text-decoration: none;
}

.hx-foot-note a:hover {
  color: var(--hx-link-hover);
}

.hx-noscript {
  margin: 0;
  border-radius: 22px;
  background: var(--hx-danger-bg);
  color: var(--hx-danger-fg);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.hx-foot {
  padding: 0 clamp(20px, 5vw, 56px) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.hx-foot a {
  color: var(--hx-muted);
  text-decoration: none;
}

.hx-foot a:hover {
  color: var(--hx-text);
}

.hx-hp-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hx-hidden {
  display: none !important;
}

@media (max-width: 480px) {
  .hx-title {
    font-size: 27px;
  }

  .hx-panel-row {
    flex-wrap: wrap;
  }

  .hx-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
