:root {
  color-scheme: light;
  --ink: #171512;
  --muted: #70695f;
  --paper: #f8f5ee;
  --panel: rgba(255, 255, 255, 0.88);
  --line: #e5ddd0;
  --green: #0d513d;
  --teal: #2f8ca3;
  --gold: #c48924;
  --shadow: 0 24px 70px rgba(37, 30, 19, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(105deg, rgba(248, 245, 238, 0.98), rgba(248, 245, 238, 0.74)),
    url("assets/clubinvestir-hero.png") center / cover;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.maintenance-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(24px, 6vw, 72px);
}

.hero-card {
  width: min(760px, 100%);
  padding: clamp(26px, 6vw, 56px);
  border: 1px solid rgba(229, 221, 208, 0.9);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(38px, 8vw, 72px);
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.92rem;
}

.status {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 8vw, 5.9rem);
  line-height: 0.94;
}

.intro {
  max-width: 620px;
  margin: 0;
  color: #3f3931;
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
  line-height: 1.55;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.auth-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 820;
  text-decoration: none;
}

.auth-button.primary {
  background: var(--green);
  color: #fff;
}

.auth-button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
}

.progress {
  margin-top: clamp(34px, 7vw, 54px);
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe3d7;
}

.progress-bar span {
  display: block;
  width: 32%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--gold));
}

.progress p {
  margin: 10px 0 0;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 12px;
  color: #514a40;
  font-size: 0.92rem;
  font-weight: 750;
}

.visit-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 13px;
  color: var(--muted);
}

.visit-counter strong {
  color: var(--green);
  font-size: 1.1rem;
}

.disclaimer {
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  body {
    background-position: 60% center;
  }

  .maintenance-page {
    align-items: end;
    padding: 18px;
  }

  .brand {
    margin-bottom: 44px;
  }
}
