/* Catsup - landing y politica de privacidad.
   Tokens tomados de ui.css de la propia extension. */

:root {
  color-scheme: light;

  --bg: #faf6f4;
  --bg-tint: #f3ebe8;
  --surface: #ffffff;
  --text: #1d1b1a;
  --text-2: #6f6764;
  --text-3: #9b928e;
  --line: rgba(29, 27, 26, 0.09);
  --line-strong: rgba(29, 27, 26, 0.14);

  --red: #d03a24;
  --red-press: #b02f1c;
  --red-tint: #fdf1ee;
  --green: #4c8a3f;
  --green-tint: #f0f5ed;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 9px;
  --shadow-card: 0 1px 2px rgba(64, 26, 15, 0.05), 0 10px 28px -16px rgba(64, 26, 15, 0.22);

  --measure: 720px;

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text",
    "Segoe UI", system-ui, sans-serif;
  font-synthesis-weight: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 16px;
}

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-press); }

/* ------------------------------------------------------------------ hero */

header.hero {
  padding: 72px 0 8px;
  text-align: center;
}

header.hero img.logo {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 16px 30px rgba(64, 26, 15, 0.22));
}

h1 {
  margin: 20px 0 0;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
}

p.tagline {
  margin: 14px auto 0;
  max-width: 34rem;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: balance;
}

p.tagline strong { color: var(--text); font-weight: 600; }

.cta {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-press); color: #fff; }
.btn.ghost { border-color: var(--line-strong); color: var(--text); background: var(--surface); }
.btn.ghost:hover { background: var(--bg-tint); color: var(--text); }

/* --------------------------------------------------------------- secciones */

section { padding: 44px 0 0; }

h2 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 620;
}

p { margin: 0 0 14px; }
p.lead { font-size: 17px; color: var(--text-2); }

/* ------------------------------------------------------------------ fases */

.fases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.fase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.fase .pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.fase.foco .pill { background: var(--red-tint); color: var(--red-press); }
.fase.descanso .pill { background: var(--green-tint); color: var(--green); }
.fase.libre .pill { background: var(--bg-tint); color: var(--text-2); }

.fase h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.fase p { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }

/* ------------------------------------------------------------------ listas */

ul.marcas { margin: 14px 0 0; padding: 0; list-style: none; }

ul.marcas li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--text-2);
}

ul.marcas li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.55;
}

ul.marcas li strong { color: var(--text); font-weight: 600; }

/* ----------------------------------------------------------------- presets */

table.presets {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14.5px;
}

table.presets th,
table.presets td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}

table.presets th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}

table.presets td:first-child { font-weight: 600; }
table.presets tr.destacada td { background: var(--red-tint); }
table.presets tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------- privacidad */

.nota {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.nota p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ footer */

footer {
  margin-top: 64px;
  padding: 28px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14px;
}

footer .fila {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* -------------------------------------------------------------- documento */

body.doc { background: var(--surface); }

.doc main { padding-top: 48px; }

.doc h1 { font-size: 34px; text-align: left; margin: 0; }

.doc .fecha { color: var(--text-3); font-size: 14px; margin: 8px 0 0; }

.doc h2 {
  margin: 38px 0 10px;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--text);
}

.doc ul { padding-left: 20px; color: var(--text-2); }
.doc li { margin-bottom: 8px; }
.doc li strong { color: var(--text); }

.doc code {
  background: var(--bg-tint);
  padding: 1px 5px;
  border-radius: var(--r-sm);
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
}

.volver {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 14px;
  text-decoration: none;
  color: var(--text-2);
}

.volver:hover { color: var(--red); }

/* ------------------------------------------------------------------ movil */

@media (max-width: 680px) {
  header.hero { padding-top: 48px; }
  h1 { font-size: 34px; }
  p.tagline { font-size: 17px; }
  .fases { grid-template-columns: 1fr; }
  .doc h1 { font-size: 28px; }
  table.presets { font-size: 13.5px; }
  table.presets th, table.presets td { padding: 8px 8px; }
}
