/* Fredoka (SIL Open Font License 1.1), servida desde este sitio. */
@font-face { font-family: "Fredoka"; src: url("/fonts/Fredoka-Regular.ttf") format("truetype"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/Fredoka-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/Fredoka-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1f1640;
  --muted: #5d567a;
  --bg: #faf8ff;
  --card: #ffffff;
  --line: #e7e2f5;
  --brand: #6a11cb;
  --coral: #ff5f6d;
  --gradient: linear-gradient(135deg, #4a00e0 0%, #8e2de2 50%, #ff4e8a 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2efff;
    --muted: #b5aed3;
    --bg: #130d26;
    --card: #1d1538;
    --line: #2f2552;
    --brand: #b98cff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Fredoka", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--brand); }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

header.site {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.site .logo { font-weight: 700; font-size: 22px; text-decoration: none; color: var(--ink); }
header.site nav a { margin-left: 16px; text-decoration: none; font-weight: 500; }

.hero {
  background: var(--gradient);
  color: #fff;
  padding: 56px 0;
}
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 0 0 12px; }
.hero p { font-size: 19px; margin: 0; opacity: .95; max-width: 560px; }
.hero .app { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero .app img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }

.badge {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-weight: 600;
}

main { padding: 40px 0 56px; }
main h2 { font-size: 28px; margin: 40px 0 8px; }
main h2:first-child { margin-top: 0; }

.card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.card img { width: 88px; height: 88px; border-radius: 20px; flex-shrink: 0; }
.card h3 { margin: 0 0 4px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); }

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.shots img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
@media (max-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); } }

.features { padding-left: 20px; }
.features li { margin: 6px 0; }

.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.links a {
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  font-weight: 600;
}

/* Documentos legales */
.doc h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc h2 { font-size: 23px; margin: 36px 0 8px; }
.doc .summary { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }

footer.site { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 15px; }
footer.site a { margin-right: 14px; }
