:root {
  --primary: #1273ea;
  --text: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Inter, Arial, sans-serif;
}
.topbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  max-width: 1170px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
}
.brand svg {
  width: 26px;
  height: 26px;
}
.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.menu a {
  font-weight: 600;
  color: var(--text);
  opacity: 0.9;
  text-decoration: none;
}
.menu .cta {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}
.maintenance-banner {
  background: #f97316;
  color: #fff;
  text-align: center;
  padding: 12px 14px;
  font-weight: 800;
}
.notice {
  background: #0b5fff;
  color: #fff;
  text-align: center;
  padding: 10px 14px;
  font-weight: 700;
}
.notice a {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}
.card > h1 {
  text-align: center;
}
main.calculator-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
}
@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu {
    width: 100%;
    gap: 12px;
    justify-content: center;
  }
  .menu .cta {
    align-self: stretch;
    text-align: center;
  }
  main.calculator-container {
    padding: 24px 18px;
  }
}
