* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #172033;
  background: #eef4fb;
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #d8e0ea;
  background: #ffffff;
}

.brand {
  margin-right: auto;
  font-weight: 800;
}

.topbar a {
  padding: 7px 10px;
  border-radius: 6px;
  color: #405064;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.topbar a[aria-current="page"],
.topbar a:hover {
  background: #e8f1ff;
  color: #0f4b8f;
}

.app-shell {
  display: grid;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.hero,
.panel,
.metric,
.plan,
.checkout-card {
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #ffffff;
}

.hero {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.eyebrow {
  margin: 0;
  color: #58677a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
}

h2 {
  font-size: 1.25rem;
}

.lede {
  max-width: 760px;
  color: #405064;
  font-size: 1.05rem;
  line-height: 1.55;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  align-items: start;
}

.metric,
.plan,
.checkout-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.metric strong {
  color: #0f4b8f;
  font-size: 1.45rem;
}

.status-list,
.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.status-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5ebf2;
}

.status-row:last-child {
  border-bottom: 0;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #0f4b8f;
  font-size: 0.78rem;
  font-weight: 800;
}

button {
  width: fit-content;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: #0969da;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button.secondary {
  border: 1px solid #b8c3d1;
  background: #fff;
  color: #27364a;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #e5ebf2;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 820px) {
  .grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .brand {
    flex-basis: 100%;
  }
}
