/* Hoja compartida por arrepentimiento.html y baja.html.
   Mismo lenguaje visual que terminos.html / privacidad.html / cookies.html. */
:root {
  --bg: #080c14; --bg2: #0d1420; --card: #111827;
  --border: rgba(255,255,255,.07); --blue: #4f7cff;
  --text: #e2e8f0; --muted: #64748b; --accent: #93b4ff;
  --ok: #4ade80; --err: #f87171;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text);
  min-height: 100vh; line-height: 1.7;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 20% 10%, rgba(79,124,255,.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 60% at 80% 90%, rgba(79,124,255,.05) 0%, transparent 60%);
}
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
  background: rgba(8,12,20,.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { font-weight: 700; font-size: 18px; color: #fff; text-decoration: none; letter-spacing: -.3px; }
.nav-brand span { color: var(--blue); }
.nav-back { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-back:hover { color: var(--text); }

.container { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 52px 24px 90px; }
.doc-badge {
  display: inline-block; background: rgba(79,124,255,.12); border: 1px solid rgba(79,124,255,.25);
  color: var(--accent); font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
h1 { font-size: clamp(28px, 6vw, 38px); font-weight: 700; letter-spacing: -.5px; color: #fff; margin-bottom: 12px; line-height: 1.1; }
h2 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 8px; }
p { font-size: 14.5px; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.mb0 { margin-bottom: 0; }
a { color: var(--accent); }

.highlight {
  background: rgba(79,124,255,.07); border: 1px solid rgba(79,124,255,.18);
  border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 0 0 24px; font-size: 14px;
}
.shortcut {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px; margin: 0 0 24px; font-size: 14px;
}

form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }

label { font-size: 13px; font-weight: 600; color: var(--text); }
.req { color: var(--blue); }
input, textarea {
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,124,255,.18);
}
textarea { resize: vertical; min-height: 76px; }
.hint { font-size: 12.5px; color: var(--muted); }

.ts-widget { min-height: 0; }

.btn-primary {
  font-family: inherit; font-size: 15px; font-weight: 600;
  background: var(--blue); color: #fff; border: 0; border-radius: 10px;
  padding: 13px 22px; cursor: pointer; transition: filter .15s, opacity .15s;
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.form-error {
  background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3);
  color: var(--err); border-radius: 10px; padding: 11px 15px; font-size: 13.5px; margin: 0;
}

.ok-box {
  background: var(--card); border: 1px solid rgba(74,222,128,.28);
  border-radius: 14px; padding: 28px 26px; text-align: center;
}
.ok-icon {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  background: rgba(74,222,128,.14); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.ok-box p { color: var(--muted); }
.code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 22px; font-weight: 700; letter-spacing: .06em; color: #fff;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px; margin: 12px 0 16px;
  user-select: all; word-break: break-all;
}

.footer-note {
  border-top: 1px solid var(--border); padding-top: 22px; margin-top: 36px;
  font-size: 13px; color: var(--muted);
}
.footer-note p { font-size: 13px; margin-bottom: 8px; }
.footer-note .ident { margin-top: 14px; font-size: 12px; }

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