body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
  background: #f6f7f9;
  color: #222;
}

header {
  background: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
}

nav a, nav span {
  margin-left: 16px;
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
}

nav .soon {
  opacity: 0.4;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.card.primary {
  border: 2px solid #3b82f6;
}

.card.disabled {
  opacity: 0.5;
}

.calculator {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: grid;
  gap: 16px;
  max-width: 400px;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

input, select {
  padding: 10px;
  font-size: 1rem;
  margin-top: 4px;
}

button {
  padding: 12px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
}

.results {
  margin-top: 30px;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.hidden {
  display: none;
}

footer {
  text-align: center;
  padding: 30px;
  font-size: 0.85rem;
  color: #777;
}