:root {
  color-scheme: dark;
  --bg: #111510;
  --panel: #1a1f19;
  --line: #394036;
  --text: #f4f5ed;
  --muted: #b4bcae;
  --lime: #c0fa6b;
  font:
    16px/1.55 Inter,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body,
figure,
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1160px, calc(100% - 72px));
  margin: auto;
}
header,
footer {
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 74px;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-weight: 720;
  letter-spacing: -0.035em;
}
.brand i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 34px;
  line-height: 1;
  color: var(--bg);
  background: var(--lime);
  font: 900 28px/1 monospace;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}
nav {
  margin-left: auto;
  display: flex;
  gap: 25px;
}
nav a,
footer a {
  font-size: 0.93rem;
  color: var(--muted);
}
.lang {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 12px;
  background: transparent;
  font: 600 0.85rem monospace;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 36px 0;
}
.intro {
  padding: 16px 0 18px;
}
.network,
.eyebrow,
label,
dt,
.meta {
  color: var(--muted);
  font:
    500 0.77rem/1.6 "IBM Plex Mono",
    ui-monospace,
    monospace;
  letter-spacing: 0.045em;
}
.network {
  display: flex;
  gap: 9px;
  align-items: center;
}
.network span {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--lime);
}
h1 {
  font-size: clamp(56px, 6.8vw, 99px);
  font-weight: 580;
  line-height: 0.95;
  letter-spacing: -0.075em;
  margin: 22px 0;
}
h1 em {
  font-style: normal;
  color: var(--lime);
}
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  line-height: 1.45;
  max-width: 41ch;
  margin: 0 0 24px;
}
.hero figure {
  height: clamp(295px, 30vw, 395px);
  overflow: hidden;
  border-radius: 12px;
  background: #161a16;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #151b11;
  border: 0;
  border-radius: 6px;
  min-height: 45px;
  padding: 10px 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta:hover {
  background: #d3ff95;
}
.cta:disabled {
  opacity: 0.55;
}
.panel {
  padding: clamp(20px, 3.1vw, 42px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  scroll-margin-top: 12px;
}
.sectionhead,
.formfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.sectionhead {
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(25px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.text {
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid #758066;
  background: transparent;
  color: var(--lime);
  font-size: 0.92rem;
}
.formfoot p,
.demo p,
.token p,
footer {
  color: var(--muted);
}
label {
  display: block;
  margin-bottom: 6px;
}
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 86px;
  max-height: 320px;
  border-radius: 6px;
  border: 1px solid #485042;
  background: #10150f;
  color: var(--text);
  padding: 12px;
  font:
    14px/1.55 ui-monospace,
    monospace;
}
.formfoot {
  margin-top: 15px;
}
.formfoot p {
  font-size: 0.87rem;
}
.demo,
.result {
  padding: 17px 20px;
  background: #22291f;
  border-left: 3px solid var(--lime);
  margin-bottom: 18px;
}
.demo p {
  margin-top: 6px;
  max-width: 80ch;
}
#status:empty {
  display: none;
}
#status {
  margin-top: 15px;
  color: #f3d59b;
}
#report {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  overflow-wrap: anywhere;
}
.result {
  border-radius: 4px;
  margin: 13px 0;
}
.result.high,
.result.critical {
  border-color: #ff9b85;
}
.result.undetermined,
.result.medium {
  border-color: #e3c571;
}
h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin: 15px 0 7px;
}
dt,
dd {
  overflow-wrap: anywhere;
}
dl {
  display: grid;
  grid-template-columns: minmax(105px, 0.32fr) 1fr;
  gap: 4px 12px;
  margin: 9px 0;
}
dd {
  font:
    0.86rem/1.6 ui-monospace,
    monospace;
}
ul {
  padding-left: 22px;
}
.token {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 50px 0 58px;
}
.token p {
  overflow-wrap: anywhere;
}
.token .eyebrow {
  margin-bottom: 5px;
}
.token .text {
  margin: 7px 15px 0 0;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
footer a {
  margin-left: auto;
}
.meta {
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .bar {
    min-height: 58px;
    gap: 12px;
  }
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 0.8rem;
  }
  .brand {
    font-size: 0.93rem;
    gap: 6px;
  }
  .brand i {
    width: 23px;
    height: 25px;
    font-size: 21px;
  }
  .lang {
    padding: 4px 7px;
  }
  .hero {
    grid-template-columns: 1fr 0.62fr;
    gap: 5px;
    padding: 24px 0;
  }
  .hero figure {
    height: 180px;
  }
  .intro {
    padding: 0;
  }
  .network {
    font-size: 10px;
  }
  h1 {
    font-size: clamp(37px, 8.5vw, 57px);
    margin: 12px 0;
  }
  .lead {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .cta {
    font-size: 0.9rem;
    padding: 8px 11px;
    min-height: 42px;
  }
  .sectionhead,
  .formfoot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .sectionhead {
    margin-bottom: 17px;
  }
  .token {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 0;
  }
  .panel {
    padding: 18px 14px;
  }
  .result {
    padding: 13px;
  }
  .formfoot button {
    width: 100%;
  }
  dl {
    display: block;
  }
  dd {
    margin: 0 0 6px;
  }
}
@media (max-width: 400px) {
  nav a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 0.55fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
