:root {
  --bg: #fbf4ea;
  --card: #ffffff;
  --ink: #123f36;
  --ink-deep: #0b2a24;
  --muted: #6e6a60;
  --line: #ede3d6;
  --mint: #3fd48a;
  --mint-soft: #8be5b6;
  --yellow: #ffd43b;
  --coral: #ff7a59;
  --radius: 26px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1d1a;
    --card: #182b26;
    --ink: #e6f2ec;
    --muted: #9ab0a8;
    --line: #29403a;
  }
}

* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.55 "Nunito", ui-rounded, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Encabezado */
header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo { font-weight: 900; font-size: 30px; text-decoration: none; letter-spacing: -0.5px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--card); border: 1.5px solid var(--line);
}

/* Piezas del estilo Kuki */
.hl {
  display: inline-block; line-height: 1.1; /* evita que el fondo tape la línea de arriba */
  background: var(--yellow); color: var(--ink-deep); padding: .02em .25em .06em; border-radius: .3em;
}
.card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--line); padding: 26px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--ink-deep); color: #fff; font-weight: 800; font-size: 18px;
  padding: 18px 30px; border-radius: 999px; box-shadow: 0 4px 0 #000;
  transition: transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 #000; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background: var(--mint); color: var(--ink-deep); border-radius: 36px; padding: 56px 48px;
  position: relative; overflow: hidden; margin-top: 8px;
}
.hero::after {
  content: ""; position: absolute; right: -90px; top: 50%; translate: 0 -50%;
  width: 420px; height: 420px; border-radius: 50%; background: var(--mint-soft); z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.15; font-weight: 900; letter-spacing: -1.5px; }
.hero p { font-size: 19px; margin: 18px 0 28px; max-width: 30ch; opacity: .85; font-weight: 600; }
.pig { font-size: clamp(110px, 16vw, 190px); text-align: center; line-height: 1; filter: drop-shadow(0 12px 0 rgba(0,0,0,.08)); }
.soon { display: block; margin-top: 12px; font-size: 14px; font-weight: 700; opacity: .7; }

/* Secciones */
section { padding: 64px 0 0; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 14px; color: var(--ink-deep);
}
.feature h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.feature p { color: var(--muted); }

.privacy { display: flex; gap: 22px; align-items: center; }
.privacy .icon { font-size: 54px; }

/* Páginas de texto (privacidad, soporte) */
.doc { max-width: 720px; padding: 24px 0 40px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 900; letter-spacing: -1px; line-height: 1.05; margin-bottom: 8px; }
.doc .date { color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 24px; margin: 32px 0 10px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul { padding-left: 22px; }

footer {
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  color: var(--muted); font-size: 15px; padding: 56px 0 40px;
}
footer nav { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 40px 24px; text-align: left; }
  .hero::after { width: 300px; height: 300px; right: -120px; top: auto; bottom: -120px; translate: none; }
  .pig { order: -1; text-align: left; }
  .grid { grid-template-columns: 1fr; }
  .privacy { flex-direction: column; align-items: flex-start; }
  .pill span { display: none; }
}
