:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent-bg: #eff6ff;
  --green: #16a34a;
  --green-bg: #f0fdf4;
}

* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 24px;
  display: flex;
  justify-content: center;
}

.container {
  background: var(--card);
  max-width: 720px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 28px;
  border: 1px solid var(--border);
}

h1 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 8px;
}

p.subtitle {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.grid-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

input:focus {
  border-color: var(--primary);
}

button {
  width: 100%;
  padding: 14px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: var(--primary-hover);
}

.results {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.result-card {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--bg);
}

.result-card.highlight {
  background-color: var(--accent-bg);
  border-color: #bfdbfe;
}

.result-card.real {
  background-color: var(--green-bg);
  border-color: #bbf7d0;
}

.result-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.result-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
}

.result-card.highlight .result-value {
  color: var(--primary);
}

.result-card.real .result-value {
  color: var(--green);
}

.result-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.info-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.info-box h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--text);
}

ul.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

ul.info-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

ul.info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

ul.info-list li strong {
  color: var(--text);
}
