:root {
  --bg-0: #0b1220;
  --bg-1: #121c2f;
  --ink: #e8eef8;
  --muted: #9aabbf;
  --accent: #3ecf8e;
  --accent-2: #5b8def;
  --line: rgba(232, 238, 248, 0.12);
  --card: rgba(18, 28, 47, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(91, 141, 239, 0.22), transparent 55%),
    radial-gradient(900px 500px at 88% 8%, rgba(62, 207, 142, 0.14), transparent 50%),
    linear-gradient(165deg, var(--bg-0), var(--bg-1) 55%, #0a101a);
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent);
}

.lead {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.block {
  margin-top: 2.75rem;
}

.section-title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1.1rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.section-lead + .section-lead {
  margin-top: -0.55rem;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

@media (max-width: 760px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.method-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.method-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.method-list a {
  color: var(--ink);
  font-weight: 600;
}

.method-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.method-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .method-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

#methods,
#license {
  scroll-margin-top: 1.25rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.pill {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.15rem 1.2rem 1.2rem;
  min-height: 12.5rem;
}

.card.soon {
  opacity: 0.82;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  color: var(--accent);
}

.price.muted {
  color: var(--muted);
}

.card h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.card h2 a {
  color: var(--ink);
}

.card h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.abstract {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.card-foot {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

.rules {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.rules strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.article {
  width: min(42rem, 100%);
}

.article.wide {
  width: min(56rem, 100%);
}

.table-scroll {
  overflow-x: auto;
  margin: 0.9rem 0 1.2rem;
}

.back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.article h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.article .lead {
  font-size: 1.02rem;
}

.article h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.15rem;
}

.article h3 {
  margin: 1.45rem 0 0.45rem;
  font-size: 1.02rem;
}

.article p,
.article li {
  color: var(--ink);
  line-height: 1.7;
}

.article p {
  margin: 0.7rem 0;
}

.article ol,
.article ul {
  padding-left: 1.2rem;
}

.article li + li {
  margin-top: 0.45rem;
}

.note {
  margin: 1.1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

table.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.9rem 0 1.2rem;
}

table.sheet th,
table.sheet td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem;
}

table.sheet th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sources {
  color: var(--muted);
  font-size: 0.92rem;
}

.soon-box {
  margin-top: 1.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px dashed var(--line);
  border-radius: 0.75rem;
}

.soon-box h2 {
  margin-top: 0;
}

.article pre {
  overflow-x: auto;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(11, 18, 32, 0.65);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.article code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86em;
}

.tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--accent);
  white-space: nowrap;
}
