:root {
  --bg: #0e1117;
  --bg-box: #1a2030;
  --border: #2d3748;
  --text: #e5e7eb;
  --accent: #21c55d;
  --link: #3b82f6;
  --tip: #fbbf24;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 2rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

main {
  max-width: 900px;
  margin: 5vh auto;
  text-align: center;
}

h1 {
  font-size: 2rem;
  color: var(--accent);
}

.nav-principal {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.nav-principal a {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-box);
  border: 1px solid var(--border);
}

.nav-principal a:hover,
.nav-principal a:focus-visible {
  text-decoration: none;
  border-color: var(--accent);
}

.nav-principal a[aria-current="page"] {
  color: #06230f;
  background: var(--accent);
  border-color: var(--accent);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.callout {
  margin-top: 2rem;
  padding: 1.5rem 1.8rem;
  background: rgba(33, 197, 93, 0.08);
  border: 2px solid var(--accent);
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 0 24px rgba(33, 197, 93, 0.15);
}

.callout p {
  margin: 0.6rem 0;
}

.callout-title {
  margin-top: 0 !important;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.info-box {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-box);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
  font-size: 0.95rem;
}

.info-box p {
  margin: 0.5rem 0;
}

.tip {
  margin-top: 0.8rem;
  color: var(--tip);
  font-size: 0.9rem;
}

.logos {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.logos img {
  height: 3rem;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.logos a:hover img,
.logos a:focus-visible img {
  opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  border: 2px solid var(--border);
  background: var(--bg-box);
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

input[type="checkbox"] {
  border-radius: 4px;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: var(--accent);
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -1px;
  width: 4px;
  height: 8px;
  border: solid #06230f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  background: #06230f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
