/* ── Front page · builds on styles.css tokens + status bar ───────── */

body.page-home {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
}

.page-home .statusbar {
  position: sticky;
  top: 0;
  z-index: 10;
}

.home {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 28px 40px;
}

/* ── Hero ── */
.home-hero {
  max-width: 680px;
}

.home-title {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.home-lede {
  margin-top: 16px;
  color: var(--textDim);
  line-height: 1.6;
  font-size: 15px;
  max-width: 560px;
}

/* ── Plans ── */
.plans {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 160ms, transform 160ms;
}

.plan:hover {
  border-color: var(--borderH);
}

.plan-head {
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--panel2);
}

.plan-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-code {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--borderH);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}

.plan-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.plan-kind {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--textOff);
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-top: 2px;
}


.plan-tagline {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.plan-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--textDim);
  line-height: 1.55;
}

.plan-specs {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-specs > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  align-items: baseline;
}

.plan-specs dt {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--textOff);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.plan-specs dd {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
}

.plan-features {
  list-style: none;
  padding: 18px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.plan-cta {
  margin: 18px 22px 22px;
  padding: 13px 16px;
  background: var(--amber);
  color: var(--bg);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 120ms, transform 120ms;
}

.plan-cta:hover {
  filter: brightness(1.1);
}

.plan-cta:active {
  transform: translateY(1px);
}

.plan-cta:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.home-foot {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--textOff);
  letter-spacing: 0.06em;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .home {
    padding: 36px 16px 32px;
  }

  .home-title {
    font-size: 34px;
  }

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

}
