/* Frutiger Aero, como la app: cielo profundo, vidrio y botones con brillo. */
:root {
  --sky-top: #0B2440;
  --sky-bottom: #0E4A6B;
  --text: #F2F8FF;
  --muted: #B8CDE3;
  --sky-500: #29A8F0;
  --sky-700: #1076C9;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(120% 80% at 20% 0%, #2B5C86 0%, transparent 60%),
              linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  min-height: 100%;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}

.bubble {
  width: 96px; height: 96px; margin: 0 auto 12px;
  display: grid; place-items: center; font-size: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.15) 40%, rgba(41,168,240,0.25) 70%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

h1 { font-size: 1.5rem; line-height: 1.25; margin: 8px 0 10px; }

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.glossy {
  display: block;
  margin: 14px 0 0;
  padding: 16px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.glossy::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 4px; height: 45%;
  border-radius: 999px; background: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.1));
}
.sky { background: linear-gradient(var(--sky-500), var(--sky-700)); box-shadow: 0 8px 20px rgba(16, 118, 201, 0.45); }
.glass { background: linear-gradient(rgba(255,255,255,0.22), rgba(255,255,255,0.06)); border: 1px solid rgba(255,255,255,0.4); }

.code-box { margin-top: 22px; }
.code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 2rem; letter-spacing: 0.25em; font-weight: 800;
  margin: 6px 0 0; user-select: all;
}

footer { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Páginas de texto (privacidad, borrar cuenta). */
body:has(.doc) { justify-content: flex-start; }
.doc { max-width: 720px; text-align: left; line-height: 1.55; }
.doc h1 { text-align: center; }
.doc .bubble + h1 + p { text-align: center; }
.doc h2 { font-size: 1.1rem; margin: 26px 0 6px; color: #DDF0FF; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 6px 0; }
.doc li { margin: 4px 0; }
a { color: #8FD3FF; }
footer a { color: var(--muted); }
