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

html {
  background: #000;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #f4f7fa;
  font-family: "Segoe UI Variable Display", "Segoe UI", "SF Pro Display", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.top,
.page,
footer {
  position: relative;
  z-index: 2;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.85rem 1rem 0.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: auto;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  max-width: 100%;
}

.nav a {
  color: rgba(244, 247, 250, 0.86);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.nav a:hover,
.nav a:focus-visible,
.page a:hover,
.page a:focus-visible,
.brand:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.85rem 1rem 2.5rem;
  overflow-wrap: anywhere;
  text-shadow: 0 0 12px #000, 0 1px 2px #000;
}

.page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.page h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.page p,
.page li {
  margin: 0.4rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(244, 247, 250, 0.92);
}

.page a {
  color: #fff;
}

.page ul,
.page ol {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.15rem;
}

.tier,
.case,
.tool {
  margin: 1.15rem 0;
}

.draft,
.soon {
  color: rgba(226, 234, 242, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.placeholder {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
  margin-top: 1rem;
  text-shadow: none;
}

.placeholder label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.placeholder input,
.placeholder textarea,
.placeholder button {
  width: 100%;
  padding: 0.6rem 0.7rem;
  color: #f4f7fa;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font: inherit;
  text-shadow: none;
}

.placeholder textarea {
  min-height: 7rem;
  resize: vertical;
}

.placeholder button {
  width: auto;
  justify-self: start;
  letter-spacing: 0.06em;
  color: rgba(244, 247, 250, 0.55);
}

footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
  color: rgba(226, 234, 242, 0.62);
  font-size: 0.85rem;
}


.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 1rem;
  text-shadow: none;
}

.page th,
.page td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  line-height: 1.4;
}

.page th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 234, 242, 0.7);
}

.sources {
  padding-left: 1.15rem;
}

.sources a {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .page table,
  .page thead,
  .page tbody,
  .page tr,
  .page th,
  .page td {
    display: block;
    width: 100%;
  }

  .page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .page tr {
    margin: 0 0 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .page td {
    border-bottom: 0;
    padding: 0.3rem 0;
  }

  .page td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.12rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 234, 242, 0.62);
  }
}

:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

::selection {
  background: rgba(226, 236, 244, 0.22);
  color: #fff;
}

.walkthrough {
  margin: 1.6rem 0 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 10, 14, 0.42);
}
.walkthrough h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.walkthrough p {
  margin: 0;
}
