/*
 * Zone pages and the zones hub. Loaded after home.css, which supplies the tokens
 * (--bg, --panel, --line, --text, --sub, --blue ...) and shared pieces (.sec, .in, .faq, .btn).
 * Mobile first: the base rules are the phone layout.
 */

.zone .in {
  max-width: 760px;
  gap: 28px;
}
.crumbs {
  font-size: 13px;
  color: var(--sub);
}
.crumbs a {
  color: var(--sub);
  text-underline-offset: 3px;
}
.crumbs [aria-current] {
  color: var(--text);
}

.zhead {
  display: grid;
  gap: 14px;
}
.zhead h1 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}
.zcta {
  margin: 0;
}
.zcta .btn {
  width: 100%;
}

.zsec {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.zsec h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}
.zsec p,
.zdirs li {
  color: var(--sub);
  text-wrap: pretty;
}
.zsec a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.znote {
  font-size: 14px;
}

.zfacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}
.zfacts div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
}
.zfacts dt {
  font-size: 12px;
  color: var(--sub);
}
.zfacts dd {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.zfacts dd.mono {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.zdirs {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.zdirs strong {
  color: var(--text);
}
.zdirs .mono {
  color: var(--text);
}

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.ztable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ztable th,
.ztable td {
  padding: 12px 14px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.ztable thead th {
  border-top: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--sub);
}
.ztable tbody th {
  font-weight: 600;
}
.ztable td {
  color: var(--text);
}
.ztable a {
  color: var(--text);
  font-weight: 700;
  text-underline-offset: 3px;
}
.zroad {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--sub);
  margin-top: 2px;
}
.ztable--hub td:nth-child(n + 2) {
  white-space: nowrap;
}
.ztable--hub th,
.ztable--hub td {
  padding-inline: 10px;
}

.zlinks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.zlinks li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.zlinks .mono {
  color: var(--sub);
  font-size: 13px;
}

.zsource {
  font-size: 13px;
  color: var(--sub);
}
.zsource a {
  text-underline-offset: 3px;
}

@media (min-width: 720px) {
  .zhead h1 {
    font-size: 48px;
  }
  .zcta .btn {
    width: auto;
  }
  .zfacts {
    grid-template-columns: repeat(4, 1fr);
  }
  .ztable--hub th,
  .ztable--hub td {
    padding-inline: 14px;
  }
}
