:root {
  --ink: #0e1a2b;
  --paper: #ffffff;
  --accent: #0f4c81;
  --muted: #5a6b7c;
  --line: #dbe3ec;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #f6f8fb;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; color: var(--accent); text-decoration: none; font-size: 1.1rem; }
.top nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; }
main { max-width: 960px; margin: 2rem auto; padding: 0 1.5rem; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem;
}
.card.featured { border-color: var(--accent); box-shadow: 0 4px 16px rgba(15, 76, 129, 0.12); }
.price { font-size: 1.15rem; font-weight: 700; }
.tier { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.note { color: var(--muted); font-size: 0.9rem; }
code { background: #eef2f7; padding: 0.1rem 0.35rem; border-radius: 4px; }

.btn {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn[disabled] { opacity: 0.5; cursor: default; }

.actions { display: flex; gap: 1rem; margin-top: 1.5rem; align-items: center; }
footer { text-align: center; color: var(--muted); font-size: 0.8rem; padding: 2rem 1rem; }