:root {
  --brand: #f26522;
  --brand-dark: #d45214;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent-bg: #fff7ed;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1rem;
}
.wrap { max-width: 920px; margin: 0 auto; }
.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--brand);
  display: inline-block;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1rem;
}
.nav-links a:hover { color: var(--brand); }
main { padding: 2rem 1rem 3rem; }
h1 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.subtitle { color: var(--muted); margin: 0 0 1.75rem; max-width: 68ch; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.98rem;
  background: #fff;
  color: var(--text);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}
.stat {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.95rem 1rem;
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}
.stat-value { font-size: 1.35rem; font-weight: 800; margin-top: 0.25rem; color: var(--text); }
.stat-value.brand { color: var(--brand-dark); }
.detail-list { margin-top: 1rem; font-size: 0.95rem; }
.detail-list p { margin: 0.35rem 0; }
.badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.45rem 0.75rem;
  background: var(--accent-bg);
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 8px;
  font-size: 0.88rem;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.tier { border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; }
.tier.recommended { border-color: var(--brand); background: var(--accent-bg); }
.tier h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.tier-limit { font-size: 1.3rem; font-weight: 800; color: var(--brand-dark); margin-bottom: 0.5rem; }
.tier p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #0f172a;
  color: #f8fafc;
  border-radius: 14px;
  padding: 1.5rem;
}
.cta-box h2 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.cta-box p { margin: 0; color: #cbd5e1; font-size: 0.95rem; }
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); }
footer { text-align: center; color: var(--muted); font-size: 0.84rem; padding: 1.5rem 1rem 2.5rem; }
footer a { color: var(--brand-dark); }
