:root {
  color-scheme: dark;
  --ink: #f2efe6;
  --muted: #999b98;
  --panel: #151918;
  --line: #2d3330;
  --acid: #b9f227;
  --amber: #f2a93b;
  --red: #ff6b5f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #090b0a;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 75% 25%, rgba(185, 242, 39, 0.09), transparent 29%),
    #090b0a;
  background-size: 56px 56px, 56px 56px, auto, auto;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
}

.masthead,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #090b0a;
  background: var(--acid);
  font-size: 0.68rem;
  font-weight: 900;
}

.secure-label {
  color: var(--muted);
}

.secure-label span {
  margin-right: 7px;
  color: var(--acid);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 430px;
  padding: 80px 0 64px;
}

.eyebrow,
.status-label {
  margin: 0 0 18px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.downloads {
  padding: 96px 0 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-heading > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(21, 25, 24, 0.72);
}

.file-type {
  display: grid;
  width: 62px;
  height: 74px;
  place-items: center;
  color: #090b0a;
  background: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 72% 0, 100% 23%, 100% 100%, 0 100%);
}

.file-type.neutral {
  color: var(--ink);
  background: #343a37;
}

.download-card h3 {
  margin: 4px 0 8px;
  font-size: 1.24rem;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.download-card a {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.download-card a span {
  color: var(--acid);
  font-size: 1.1rem;
}

.download-card a:hover,
.download-card a:focus-visible {
  color: var(--acid);
}

.download-warning {
  margin: 18px 0 0;
  color: #6f7471;
  font-size: 0.76rem;
}

h1 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(3.7rem, 9vw, 8.7rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.intro {
  grid-column: 2;
  max-width: 540px;
  margin: -52px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.status-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 300px;
  border: 1px solid var(--line);
  background: rgba(21, 25, 24, 0.92);
}

.status-icon {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}

.status-icon span {
  display: block;
  width: 58px;
  height: 58px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--amber);
  box-shadow: 0 0 30px rgba(242, 169, 59, 0.15);
}

.status-icon span::after {
  display: block;
  width: 8px;
  height: 8px;
  margin: 23px auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.trusted .status-icon span {
  color: var(--acid);
}

.untrusted .status-icon span {
  color: var(--red);
}

.status-copy {
  padding: 48px 54px;
}

.status-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.detail,
.hint {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hint {
  margin-top: 28px;
}

code {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  margin: 36px 0 0;
}

.facts div {
  min-width: 0;
}

.facts dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.facts dd {
  overflow: hidden;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

footer {
  margin-top: 30px;
  color: #666b68;
}

@media (max-width: 720px) {
  main {
    width: min(100% - 28px, 1120px);
    padding-top: 18px;
  }

  .secure-label {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 72px 0 54px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .intro {
    margin: 38px 0 0;
  }

  .status-card {
    grid-template-columns: 1fr;
  }

  .status-icon {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-copy {
    padding: 34px 28px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .downloads {
    padding: 72px 0 54px;
  }

  .section-heading,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    margin-top: 24px;
  }

  footer {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
}
