:root {
  --paper: #f4ead3;
  --paper-dark: #e7d8b0;
  --gold: #f2c14d;
  --gold-deep: #be8910;
  --mercury: #9ea5b5;
  --ink: #2d2418;
  --panel: rgba(255, 253, 246, 0.72);
  --line: rgba(110, 81, 20, 0.18);
  --violet: #4b2d8f;
  --blue: #173d8a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(200, 155, 45, 0.25), transparent 35%),
    linear-gradient(135deg, #f8f1df, #eadcc0 55%, #dbc894);
  color: var(--ink);
  position: relative;
  overflow-x: hidden;
}

.backdrop-glow {
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(164, 168, 173, 0.45), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(244, 234, 211, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(71, 50, 12, 0.18);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

h1, h2, h3 {
  font-family: "Cinzel", serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  color: var(--violet);
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--blue);
}

.subtitulo-hero {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--violet);
}

.historia-bloco {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 250, 236, 0.62);
  border: 1px solid rgba(159, 118, 21, 0.18);
}

.historia-titulo {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-shadow: 0 0 10px rgba(242, 193, 77, 0.45);
}

.historia-texto {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: #8a6410;
  text-shadow: 0 0 8px rgba(242, 193, 77, 0.18);
}

.status-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(159, 118, 21, 0.22);
  color: #5e512c;
  font-size: 0.92rem;
}

.btn-login {
  background: linear-gradient(135deg, rgba(75, 45, 143, 0.14), rgba(23, 61, 138, 0.16));
  color: var(--violet);
  border: 1px solid rgba(75, 45, 143, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.signin-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.signin-note {
  font-size: 0.84rem;
  color: #7e6116;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #f9f0b1, #b78a1c);
  box-shadow: 0 0 0 6px rgba(200, 155, 45, 0.15);
}

.dashboard {
  display: grid;
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(115, 86, 32, 0.18);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  padding: 26px;
}

.hero-copy h2 {
  margin: 0 0 12px;
}

.lead-copy,
.mini-copy,
.panel-card p,
.metric-card small,
.panel-card li,
.panel-card ul {
  color: #7b5b12;
}

.lead-copy {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 66ch;
}

.mini-copy {
  font-size: 0.86rem;
  line-height: 1.7;
}

.download-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.download-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 252, 244, 0.78);
  border: 1px solid rgba(115, 86, 32, 0.24);
}

.download-pill span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.download-pill strong {
  font-size: 1.02rem;
  color: var(--violet);
}

.download-pill.pc {
  box-shadow: inset 0 0 0 1px rgba(75, 45, 143, 0.1), 0 10px 22px rgba(75, 45, 143, 0.1);
}

.download-pill.android {
  box-shadow: inset 0 0 0 1px rgba(23, 61, 138, 0.12), 0 10px 22px rgba(23, 61, 138, 0.1);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions.compact {
  margin-top: 14px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 10px 22px rgba(159, 118, 21, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #d8dce2, #a4a8ad);
  color: #2d2418;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(229, 221, 195, 0.7));
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(116, 95, 46, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.panel-signin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(75, 45, 143, 0.2);
  color: var(--blue);
  font-weight: 700;
}

.google-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d562, #d8a41a);
  color: var(--violet);
  font-weight: 900;
}

.panel-label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.panel-status {
  font-size: 1.25rem;
  font-weight: 700;
}

.panel-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.panel-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(164, 168, 173, 0.25);
  font-size: 0.78rem;
}

.metrics-grid,
.compare-grid,
.bottom-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.metrics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.editorial-card {
  padding: 20px;
}

.metric-title {
  display: block;
  color: #75613e;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  font-family: "Cinzel", serif;
}

.bottom-grid {
  grid-template-columns: 1fr 1fr 1.4fr;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
}

.resource-link:hover {
  color: var(--violet);
}

.panel-card {
  padding: 20px;
}

.panel-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.panel-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.85;
}

.wide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.timeline span {
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(200, 155, 45, 0.16), rgba(164, 168, 173, 0.3));
  font-size: 0.8rem;
}

@media (max-width: 920px) {
  .hero-card,
  .bottom-grid,
  .metrics-grid,
  .compare-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .download-highlight {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
  }
}
