/* alter.tuisku.ai, «muy pronto». Los colores y la letra son los de la carcasa del núcleo
   (zlecitool_core/ui/static/css/shell.css, docs/familia/MARCA.md), como la portada de
   tuisku.ai. Las letras, del propio servidor (la CSP de nginx no deja cargar nada de fuera). */

@font-face {
  font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/Ubuntu-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/Ubuntu-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/Ubuntu-700-latin.woff2") format("woff2");
}

:root {
  --pri: #0950e3;
  --bg: #f4f8fb;
  --surface: #ffffff;
  --line: #e2e9f0;
  --ink: #16263a;
  --muted: #5a6b80;
  --brand-a: #47f9e5;
  --brand-b: #0950e3;
  --on-pri: #ffffff;
  --pri-tint: #eaf0fd;
  --shadow: 0 1px 2px rgba(22, 38, 58, .06), 0 8px 24px rgba(22, 38, 58, .06);
  --font: "Ubuntu", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pri: #86a8ff;
    --bg: #0f1620;
    --surface: #17212d;
    --line: #2c3a4b;
    --ink: #e6edf5;
    --muted: #a3b2c4;
    --on-pri: #17212d;
    --pri-tint: #1d2c45;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
}

a { color: var(--pri); }
:focus-visible { outline: 3px solid var(--pri); outline-offset: 3px; border-radius: 6px; }

.width { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.bar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
}
.bar-inner { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 8px; }
.word { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.tool {
  color: var(--muted);
  font-size: 15px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

main { flex: 1; display: flex; align-items: center; justify-content: center; padding-top: 48px; padding-bottom: 48px; }

.card {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 44px 40px;
  text-align: center;
}

.chip {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--pri-tint);
  color: var(--pri);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .02em;
}

h1 {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.promise {
  margin: 0 0 14px;
  font-weight: 500;
  font-size: clamp(19px, 3.6vw, 23px);
  line-height: 1.35;
}

.lead { margin: 0 0 28px; color: var(--muted); }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--pri);
  color: var(--on-pri);
  font-weight: 500;
  text-decoration: none;
}
.button:hover { filter: brightness(1.08); }

.foot { padding-top: 18px; padding-bottom: 28px; text-align: center; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }

@media (max-width: 520px) {
  .card { padding: 32px 22px; border-radius: 16px; }
  main { padding-top: 28px; padding-bottom: 28px; }
}
