:root {
  --bg: rgb(254, 254, 254);
  --ink: rgb(50, 50, 50);
  --ink-soft: rgb(70, 70, 70);
  --muted: #727586;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 32px rgba(0, 0, 0, 0.14);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ---- Hero (una sola fila: logo + título lado a lado) ---- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 24px;
  width: 100%;
}

.logo-wrap {
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
}

.logo {
  width: 240px;
  height: auto;
  max-width: 100%;
  display: block;
}

.title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  text-align: left;
}

/* ---- Tool buttons (single column, like original) ---- */
.tools {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 328px;
  margin: 0 auto;
}

.tool-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--ink);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  min-height: 50px;
  box-shadow: var(--shadow);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
  user-select: none;
}

.tool-btn:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.tool-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.tool-btn:focus-visible {
  outline: 3px solid #357df9;
  outline-offset: 3px;
}

/* ---- Mobile (apila logo arriba y título debajo, centrados) ---- */
@media (max-width: 640px) {
  .page { gap: 32px; padding: 32px 18px 60px; }
  .hero {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .logo { width: 200px; }
  .title { text-align: center; font-size: 28px; }
  .tools { gap: 14px; }
}
