resetea.net/public/index.css
hacklab d64da63bd8 Título RESETEA negro, tagline ácido, hover ácido en chips y nav
- h1 cambiado a "RESETEA" en negro, tagline a "Reduce tu huella digital." en --acid (#c8ff00)
- Tagline con text-shadow sutil verde ácido
- Botones de nav: hover con borde y fondo verde ácido
- Botón Plantillas GDPR: fondo ácido con texto negro como CTA diferenciado
- Chips de redes: hover en verde ácido (borde + fondo + texto)
- Chips acceso rápido: texto negro (no verde), mismos hovers ácidos
- Italiana: tamaño mayor + subpixel-antialiased para verla más gruesa

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:36:00 +02:00

885 lines
22 KiB
CSS

/* ═══════════════════════════════════════════
RESETEA.NET — Design System
Paleta: blanco / negro / gris / caoba / verde salvia
═══════════════════════════════════════════ */
@font-face {
font-family: 'Recion';
src: url('fonts/RECION.otf') format('opentype'),
url('fonts/RECION.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Italiana';
src: url('fonts/Italiana-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
/* ── Variables ── */
:root {
--bg: #f8f7f4; /* blanco cálido */
--surface: #ffffff;
--surface2: #f0ede8; /* gris cálido claro */
--border: #d8d2c8; /* gris arena */
--border-dark: #b0a898;
--text: #1a1714; /* casi negro */
--muted: #6b635a; /* gris caoba apagado */
--subtle: #9e9589;
--caoba: #7b3f2e; /* caoba */
--caoba-mid: #a0522d; /* siena */
--caoba-lt: #f0e6df; /* caoba muy claro */
--sage: #4a7c59; /* verde salvia */
--sage-lt: #e8f2eb; /* verde salvia muy claro */
--lime: #96c21a; /* verde lima */
--lime-lt: #f4fae0; /* verde lima muy claro */
--acid: #c8ff00; /* verde ácido */
--acid-dark: #7aaa00; /* verde ácido oscuro (texto sobre blanco) */
--acid-lt: #f2ffe0; /* verde ácido muy clarito (fondos) */
--shadow-sm: 0 1px 3px rgba(26,23,20,0.08), 0 1px 2px rgba(26,23,20,0.06);
--shadow-md: 0 4px 12px rgba(26,23,20,0.10), 0 2px 4px rgba(26,23,20,0.06);
--shadow-lg: 0 8px 30px rgba(26,23,20,0.12), 0 4px 8px rgba(26,23,20,0.06);
/* Botón 3D */
--btn-shadow: 0 4px 0 0 #b0a898, 0 6px 16px rgba(26,23,20,0.12);
--btn-shadow-hover:0 6px 0 0 #9e9589, 0 10px 24px rgba(26,23,20,0.16);
--btn-shadow-active:0 1px 0 0 #b0a898, 0 2px 6px rgba(26,23,20,0.10);
--caoba-shadow: 0 4px 0 0 #5c2d1e, 0 6px 16px rgba(123,63,46,0.25);
--caoba-shadow-hover:0 6px 0 0 #4a2318, 0 10px 24px rgba(123,63,46,0.30);
--caoba-shadow-active:0 1px 0 0 #5c2d1e, 0 2px 6px rgba(123,63,46,0.15);
}
/* ── Reset ── */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html { scroll-behavior: smooth; }
body {
font-family: 'Italiana', 'Georgia', serif;
background: var(--bg);
color: var(--text);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
/* ── Títulos con Recion ── */
h1, h2, h3 {
font-family: 'Recion', 'Georgia', serif;
font-weight: normal;
letter-spacing: 0.02em;
line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
a {
color: var(--caoba);
text-decoration: none;
transition: color 140ms ease;
}
a:hover { color: var(--caoba-mid); text-decoration: underline; }
.container {
width: 100%;
max-width: 1200px;
padding: 0 1.5rem;
margin: 0 auto;
}
/* ═══════════════════════════════════════════
HEADER / TOPBAR
═══════════════════════════════════════════ */
.topbar {
background: var(--surface);
border-bottom: 1px solid var(--border);
box-shadow: var(--shadow-sm);
}
.topbar-inner {
display: flex;
justify-content: space-between;
align-items: center;
min-height: 68px;
gap: 1rem;
}
.brand {
display: flex;
gap: 0.75rem;
align-items: center;
min-width: 200px;
}
.brand-logo {
width: 40px;
height: 40px;
background: var(--caoba);
color: #fff;
font-family: 'Recion', serif;
font-size: 1.2rem;
display: grid;
place-items: center;
border-radius: 10px;
box-shadow: 0 3px 0 0 #5c2d1e, 0 4px 12px rgba(123,63,46,0.2);
letter-spacing: 0.05em;
}
.brand-name {
font-family: 'Recion', serif;
font-size: 1.15rem;
letter-spacing: 0.06em;
color: var(--text);
}
.brand-name span { color: var(--caoba); }
.brand-tag {
font-size: 0.72rem;
color: var(--muted);
letter-spacing: 0.03em;
}
/* ═══════════════════════════════════════════
NAV — BOTONES 3D
═══════════════════════════════════════════ */
.nav {
display: flex;
gap: 0.5rem;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
}
.nav-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.5rem 0.95rem;
border-radius: 10px;
font-size: 0.82rem;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--text);
background: var(--surface);
border: 1px solid var(--border);
box-shadow: var(--btn-shadow);
cursor: pointer;
text-decoration: none;
transition:
transform 120ms ease,
box-shadow 120ms ease,
background 120ms ease,
border-color 120ms ease;
user-select: none;
}
.nav-btn:hover {
background: var(--surface2);
border-color: var(--border-dark);
box-shadow: var(--btn-shadow-hover);
transform: translateY(-2px);
text-decoration: none;
color: var(--text);
}
.nav-btn:active {
box-shadow: var(--btn-shadow-active);
transform: translateY(3px);
}
/* Botón activo/primario */
.nav-btn--primary {
background: var(--caoba);
color: #fff;
border-color: #5c2d1e;
box-shadow: var(--caoba-shadow);
}
.nav-btn--primary:hover {
background: var(--caoba-mid);
border-color: #4a2318;
box-shadow: var(--caoba-shadow-hover);
color: #fff;
}
.nav-btn--primary:active {
box-shadow: var(--caoba-shadow-active);
transform: translateY(3px);
}
/* ═══════════════════════════════════════════
BOTONES GENERALES
═══════════════════════════════════════════ */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.7rem 1.4rem;
border-radius: 10px;
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 0.02em;
cursor: pointer;
text-decoration: none;
border: 1px solid transparent;
transition:
transform 120ms ease,
box-shadow 120ms ease,
background 120ms ease,
border-color 120ms ease;
user-select: none;
}
.btn:active { transform: translateY(3px); }
/* Primario — caoba */
.btn.primary {
background: var(--caoba);
color: #fff;
border-color: #5c2d1e;
box-shadow: var(--caoba-shadow);
}
.btn.primary:hover {
background: var(--caoba-mid);
border-color: #4a2318;
box-shadow: var(--caoba-shadow-hover);
transform: translateY(-2px);
text-decoration: none;
color: #fff;
}
.btn.primary:active { box-shadow: var(--caoba-shadow-active); }
/* Ghost */
.btn.ghost {
background: var(--surface);
color: var(--text);
border-color: var(--border);
box-shadow: var(--btn-shadow);
}
.btn.ghost:hover {
background: var(--surface2);
border-color: var(--border-dark);
box-shadow: var(--btn-shadow-hover);
transform: translateY(-2px);
text-decoration: none;
color: var(--text);
}
/* ═══════════════════════════════════════════
HERO
═══════════════════════════════════════════ */
.hero {
padding: 4rem 0;
background: var(--bg);
}
.hero-inner {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 3rem;
align-items: start;
}
.hero h1 { color: var(--text); }
.hero p {
margin-top: 1.2rem;
color: var(--muted);
font-size: 1.02rem;
}
.hero-actions {
margin-top: 2rem;
display: flex;
gap: 0.85rem;
flex-wrap: wrap;
}
/* Notice / callout */
.notice {
margin-top: 1.8rem;
padding: 1rem 1.1rem;
background: var(--caoba-lt);
border-left: 3px solid var(--caoba);
border-radius: 0 10px 10px 0;
font-size: 0.85rem;
color: var(--muted);
line-height: 1.6;
}
.notice strong { color: var(--caoba); }
/* ── Hero card ── */
.hero-card {
background: var(--surface);
border: 1px solid var(--border);
padding: 1.6rem;
border-radius: 16px;
box-shadow: var(--shadow-md);
}
.stats {
display: flex;
justify-content: space-between;
margin-bottom: 1.5rem;
gap: 0.75rem;
}
.stat-num {
font-family: 'Recion', serif;
font-size: 1.8rem;
color: var(--caoba);
line-height: 1;
}
.stat-label {
font-size: 0.72rem;
color: var(--muted);
margin-top: 0.25rem;
line-height: 1.3;
}
.steps { list-style: none; }
.steps li {
display: flex;
gap: 0.75rem;
margin-bottom: 0.65rem;
color: var(--text);
font-size: 0.9rem;
align-items: center;
}
.steps span {
background: var(--caoba);
color: #fff;
width: 22px;
height: 22px;
display: grid;
place-items: center;
font-size: 0.72rem;
font-weight: 700;
border-radius: 6px;
flex-shrink: 0;
box-shadow: 0 2px 0 0 #5c2d1e;
}
/* ═══════════════════════════════════════════
PANEL (checklist grid)
═══════════════════════════════════════════ */
.panel {
padding: 4rem 0;
background: var(--bg);
}
.section-desc {
color: var(--muted);
margin-bottom: 2rem;
font-size: 0.95rem;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.group {
background: var(--surface);
border: 1px solid var(--border);
padding: 1.4rem;
border-radius: 14px;
box-shadow: var(--shadow-sm);
transition: box-shadow 200ms ease, transform 200ms ease;
}
.group:hover {
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}
.item {
margin-bottom: 1.1rem;
padding-bottom: 0.9rem;
border-bottom: 1px solid var(--surface2);
}
.item:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.item label {
display: flex;
gap: 0.5rem;
font-size: 0.88rem;
align-items: center;
cursor: pointer;
color: var(--text);
}
.item label input[type="checkbox"] {
accent-color: var(--caoba);
width: 15px;
height: 15px;
flex-shrink: 0;
cursor: pointer;
}
/* Tachado al marcar */
.item label:has(input:checked) {
text-decoration: line-through;
color: var(--subtle);
}
.actions {
margin-left: 1.5rem;
margin-top: 0.4rem;
display: flex;
flex-wrap: wrap;
gap: 0.3rem;
}
.actions a {
display: inline-block;
padding: 0.18rem 0.55rem;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.03em;
border-radius: 5px;
background: var(--surface2);
color: var(--caoba);
border: 1px solid var(--border);
transition: background 120ms ease, border-color 120ms ease, transform 100ms ease, box-shadow 100ms ease;
text-decoration: none;
box-shadow: 0 2px 0 0 var(--border-dark);
}
.actions a:hover {
background: var(--caoba-lt);
border-color: var(--caoba);
color: var(--caoba);
transform: translateY(-1px);
box-shadow: 0 3px 0 0 var(--border-dark);
text-decoration: none;
}
.actions a:active {
transform: translateY(1px);
box-shadow: 0 1px 0 0 var(--border-dark);
}
/* ── Variante verde salvia para links "descarga" ── */
.actions a[href*="download"],
.actions a[href*="data-and-privacy"],
.actions a[href*="dyi"],
.actions a[href*="data-export"],
.actions a[href*="downloadmydata"],
.actions a[href*="download_your_data"],
.actions a[href*="data-request"],
.actions a[href*="privacy.apple"] {
background: var(--sage-lt);
color: var(--sage);
border-color: #c0d9c8;
box-shadow: 0 2px 0 0 #c0d9c8;
}
.actions a[href*="download"]:hover,
.actions a[href*="data-and-privacy"]:hover,
.actions a[href*="dyi"]:hover,
.actions a[href*="data-export"]:hover,
.actions a[href*="downloadmydata"]:hover,
.actions a[href*="download_your_data"]:hover,
.actions a[href*="data-request"]:hover,
.actions a[href*="privacy.apple"]:hover {
background: #d6edde;
border-color: var(--sage);
color: var(--sage);
}
/* ═══════════════════════════════════════════
SECCIONES INFO
═══════════════════════════════════════════ */
.info {
padding: 3.5rem 0;
border-top: 1px solid var(--border);
background: var(--bg);
}
.info.alt {
background: var(--surface2);
}
.info h2 { margin-bottom: 1rem; }
.info p {
color: var(--muted);
max-width: 72ch;
font-size: 0.97rem;
}
/* ═══════════════════════════════════════════
BARRA DE PROGRESO
═══════════════════════════════════════════ */
.progress-bar {
width: 100%;
height: 5px;
background: var(--surface2);
border-radius: 3px;
margin: 1.2rem 0 0.3rem;
overflow: hidden;
border: 1px solid var(--border);
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--caoba), var(--sage));
border-radius: 3px;
transition: width 400ms cubic-bezier(.4,0,.2,1);
}
.progress-label {
font-size: 0.72rem;
color: var(--muted);
text-align: right;
letter-spacing: 0.02em;
}
/* ═══════════════════════════════════════════
FOOTER
═══════════════════════════════════════════ */
.footer {
border-top: 1px solid var(--border);
padding: 1.5rem 0;
text-align: center;
font-size: 0.78rem;
color: var(--subtle);
background: var(--surface);
}
/* ═══════════════════════════════════════════
RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1000px) {
.grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
.hero-inner { grid-template-columns: 1fr; }
.grid { grid-template-columns: 1fr; }
.main-title { font-size: 2.4rem; }
.main-tagline { font-size: 1rem; }
.email-input { font-size: 1rem; }
.btn--lg { width: 100%; justify-content: center; }
.topbar-inner {
flex-direction: column;
align-items: flex-start;
padding: 0.75rem 0;
}
.brand { min-width: unset; }
.nav {
width: 100%;
justify-content: flex-start;
}
.nav-btn { flex: 1 1 auto; text-align: center; font-size: 0.78rem; }
h1 { font-size: 1.85rem; }
}
/* ═══════════════════════════════════════════
HERO LANDING — título + lema + nav buttons
═══════════════════════════════════════════ */
.hero-landing {
padding: 3.5rem 0 2.5rem;
background: var(--bg);
text-align: center;
}
.hero-landing-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 0;
}
.main-title {
font-family: 'Recion', 'Georgia', serif;
font-size: clamp(3.2rem, 9vw, 6.5rem);
color: var(--text);
letter-spacing: 0.04em;
line-height: 1;
margin-bottom: 0.5rem;
}
.main-tagline {
font-family: 'Recion', 'Georgia', serif;
font-size: clamp(1.1rem, 2.8vw, 1.7rem);
color: var(--acid);
letter-spacing: 0.06em;
font-weight: normal;
margin-bottom: 2.2rem;
text-shadow: 0 0 20px rgba(200,255,0,0.25);
}
.landing-nav {
display: flex;
justify-content: center;
gap: 0.65rem;
flex-wrap: wrap;
}
.landing-nav-btn {
display: inline-flex;
align-items: center;
padding: 0.6rem 1.2rem;
border-radius: 10px;
font-size: 0.88rem;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--text);
background: var(--surface);
border: 1px solid var(--border);
box-shadow: var(--btn-shadow);
text-decoration: none;
transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
user-select: none;
}
.landing-nav-btn:hover {
background: var(--acid-lt);
border-color: var(--acid);
box-shadow: 0 4px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.18);
transform: translateY(-2px);
text-decoration: none;
color: var(--acid-dark);
}
.landing-nav-btn:active {
box-shadow: 0 1px 0 0 #9dcc00;
transform: translateY(2px);
}
.landing-nav-btn--highlight {
background: var(--acid);
color: var(--text);
border-color: #9dcc00;
box-shadow: 0 4px 0 0 #7aaa00, 0 6px 16px rgba(200,255,0,0.25);
font-weight: 700;
}
.landing-nav-btn--highlight:hover {
background: #d4ff1a;
border-color: var(--acid-dark);
box-shadow: 0 6px 0 0 #6a9800, 0 10px 24px rgba(200,255,0,0.35);
color: var(--text);
}
/* ═══════════════════════════════════════════
SECCIÓN FORMULARIO — email + redes
═══════════════════════════════════════════ */
.erase-form-section {
padding: 3rem 0 4rem;
background: var(--surface2);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.erase-form-wrap {
max-width: 780px;
margin: 0 auto;
}
.form-header {
text-align: center;
margin-bottom: 1.8rem;
}
.form-header h2 { margin-bottom: 0.4rem; }
.form-header p { color: var(--muted); font-size: 0.95rem; }
.email-row {
display: flex;
justify-content: center;
margin-bottom: 2rem;
}
.email-input {
width: 100%;
max-width: 500px;
padding: 0.9rem 1.2rem;
font-size: 1.1rem;
border: 2px solid var(--border);
border-radius: 12px;
background: var(--surface);
color: var(--text);
outline: none;
box-shadow: var(--shadow-sm);
transition: border-color 150ms ease, box-shadow 150ms ease;
font-family: 'Italiana', 'Georgia', serif;
letter-spacing: 0.03em;
}
.email-input:focus {
border-color: var(--caoba);
box-shadow: 0 0 0 3px rgba(123,63,46,0.12);
}
.email-input::placeholder { color: var(--subtle); }
.networks-label {
font-size: 0.9rem;
font-weight: 700;
color: var(--text);
margin-bottom: 0.9rem;
letter-spacing: 0.02em;
}
.networks-section { margin-bottom: 2rem; }
.networks-sublabel {
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 0.55rem;
margin-top: 1.2rem;
}
.networks-sublabel:first-child { margin-top: 0; }
.networks-sublabel--manual { color: var(--text); }
.networks-grid {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
margin-bottom: 0.25rem;
}
/* Chip base — estilo botón con Italiana */
.net-chip {
font-family: 'Italiana', 'Georgia', serif;
font-size: 1.08rem;
letter-spacing: 0.05em;
padding: 0.6rem 1.2rem;
border-radius: 10px;
cursor: pointer;
background: var(--surface);
color: var(--text);
border: 1.5px solid var(--border);
box-shadow: 0 3px 0 0 var(--border-dark), 0 4px 10px rgba(26,23,20,0.07);
transition:
transform 130ms cubic-bezier(.2,.8,.4,1),
box-shadow 130ms ease,
background 130ms ease,
border-color 130ms ease,
color 130ms ease;
user-select: none;
line-height: 1.2;
-webkit-font-smoothing: subpixel-antialiased;
}
.net-chip:hover {
border-color: var(--acid);
color: var(--acid-dark);
background: var(--acid-lt);
transform: translateY(-3px);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.20);
}
.net-chip:active {
transform: translateY(1px);
box-shadow: 0 1px 0 0 var(--border-dark);
}
.net-chip.selected {
background: var(--caoba);
color: #fff;
border-color: #5c2d1e;
box-shadow: 0 3px 0 0 #5c2d1e, 0 4px 12px rgba(123,63,46,0.25);
}
.net-chip.selected:hover {
background: var(--caoba-mid);
color: #fff;
border-color: var(--acid);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.25);
transform: translateY(-3px);
}
/* Chips manuales — texto negro, hover ácido */
.net-chip--manual {
background: var(--surface);
color: var(--text);
border-color: var(--border);
box-shadow: 0 3px 0 0 var(--border-dark), 0 4px 10px rgba(26,23,20,0.06);
}
.net-chip--manual:hover {
background: var(--acid-lt);
border-color: var(--acid);
color: var(--acid-dark);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.20);
transform: translateY(-3px);
}
.net-chip--manual.selected {
background: var(--text);
color: var(--acid);
border-color: var(--text);
box-shadow: 0 3px 0 0 #000, 0 4px 12px rgba(26,23,20,0.25);
}
.net-chip--manual.selected:hover {
border-color: var(--acid);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.25);
transform: translateY(-3px);
}
/* Footer del form */
.form-footer-row {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.8rem;
}
.btn--lg {
padding: 0.85rem 2rem;
font-size: 1rem;
}
.form-note {
font-size: 0.77rem;
color: var(--subtle);
text-align: center;
max-width: 48ch;
line-height: 1.55;
}
/* Resultados */
.results-wrap {
margin-top: 1.5rem;
display: flex;
flex-direction: column;
gap: 0.45rem;
}
.result-item {
padding: 0.6rem 0.95rem;
border-radius: 8px;
font-size: 0.84rem;
line-height: 1.4;
}
.result-item code {
font-family: 'Courier New', monospace;
font-size: 0.82em;
background: rgba(0,0,0,0.06);
padding: 0.1em 0.3em;
border-radius: 3px;
}
.result-ok { background: var(--sage-lt); color: var(--sage); border: 1px solid #c0d9c8; }
.result-form,
.result-manual { background: var(--caoba-lt); color: var(--caoba); border: 1px solid #e0c4b8; }
.result-error { background: #fef2f2; color: #c0392b; border: 1px solid #f5c6c6; }
/* ═══════════════════════════════════════════
UTILIDADES
═══════════════════════════════════════════ */
.text-caoba { color: var(--caoba); }
.text-sage { color: var(--sage); }
.text-muted { color: var(--muted); }