:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --soft: #eff6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

header {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
  padding: 40px 20px;
}

.header-inner,
main,
footer {
  max-width: 960px;
  margin: 0 auto;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

nav a {
  color: #dbeafe;
  text-decoration: none;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}

.subtitle {
  max-width: 720px;
  margin-top: 14px;
  color: #dbeafe;
  font-size: 18px;
}

main {
  padding: 32px 20px 56px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 24px;
}

h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 18px;
}

p {
  margin: 10px 0;
}

ul {
  margin-top: 8px;
  padding-left: 24px;
}

li {
  margin: 6px 0;
}

a {
  color: var(--primary);
}

.notice {
  background: var(--soft);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 16px;
  margin: 20px 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: white;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.15);
}

.price {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  margin: 14px 0 4px;
}

.price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.badge {
  display: inline-block;
  background: var(--soft);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 12px;
}

.table th,
.table td {
  border-bottom: 1px solid var(--border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: #f1f5f9;
}

footer {
  color: var(--muted);
  font-size: 14px;
  padding: 24px 20px 40px;
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }
}