/* agenda.plantekia.com — solo modo claro. Paleta y fuentes de la app (ui/theme/Theme.kt):
   bloques planos con borde de tinta y sombra dura, titulares con pegatina, etiquetas en Space Mono. */
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url(/fonts/space_grotesk_400.ttf) format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(/fonts/space_grotesk_700.ttf) format("truetype"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-display: swap; src: url(/fonts/space_mono_700.ttf) format("truetype"); }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(/fonts/unbounded_700.ttf) format("truetype"); }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url(/fonts/unbounded_900.ttf) format("truetype"); }

:root {
  --ink: #141210; --paper: #FDF0E1; --sheet: #FFFAF3; --soft: #5A5148; --line: #D9C6AE;
  --yellow: #FFD43B; --red: #FF5D4F; --blue: #6DCFF6; --green: #2DB46A; --peach: #FF9C83; --lilac: #B9A6FF;
  --bw: 2px; --r: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 "Space Grotesk", system-ui, sans-serif; overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: "Unbounded", system-ui, sans-serif; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }

/* Piezas de la app */
.block { background: var(--sheet); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); }
.sticker { background: var(--yellow); padding: 0 .28em .12em; border: var(--bw) solid var(--ink); border-radius: .22em; box-shadow: .09em .09em 0 var(--ink); display: inline-block; transform: rotate(-2deg); }
.sticker.blue { background: var(--blue); transform: rotate(1.5deg); }
.sticker.green { background: var(--green); transform: rotate(-1.5deg); }
.sticker.red { background: var(--red); transform: rotate(1.5deg); }
.tag { justify-self: start; align-self: start; display: inline-block; font: 700 .78rem/1 "Space Mono", monospace; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--sheet); padding: 8px 12px 7px; border-radius: 999px; }
.num { font: 900 1.5rem/1 "Unbounded", sans-serif; width: 64px; height: 56px; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background: var(--sheet); }

.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); padding: 14px 22px; background: var(--sheet); transition: transform .12s, box-shadow .12s; }
a.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn.dark { background: var(--ink); color: var(--sheet); box-shadow: 5px 5px 0 var(--yellow); }
.btn.dark svg { width: 18px; height: 18px; fill: var(--yellow); }

/* iPhone dibujado: marco de tinta con sombra dura, como las capturas de la tienda */
.phone { position: relative; border: 3px solid var(--ink); border-radius: 46px; background: var(--ink); padding: 9px; box-shadow: 12px 12px 0 var(--ink); }
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; object-position: top; background: var(--paper); }

/* Cabecera */
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 900 1.3rem/1 "Unbounded", sans-serif; }
.brand img { width: 46px; height: 46px; border-radius: 12px; border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
nav.main { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; justify-content: flex-end; font-weight: 700; font-size: .95rem; }
nav.main a { text-decoration: none; padding: 6px 2px; }
nav.main a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lang { display: inline-flex; border: var(--bw) solid var(--ink); border-radius: 999px; overflow: hidden; font: 700 .8rem/1 "Space Mono", monospace; }
.lang a, .lang b { padding: 8px 11px 7px !important; text-decoration: none !important; }
.lang b { background: var(--ink); color: var(--sheet); }
@media (max-width: 720px) { nav.main .hide-sm { display: none; } }

/* Hero: Círculo Dorado (creencia → enfoque → qué es) */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 88px; }
.why { display: grid; gap: 22px; }
.why .step { display: grid; gap: 12px; }
.why h1 { font-weight: 700; font-size: clamp(2rem, 3.8vw, 3.05rem); line-height: 1.12; max-width: 15ch; }
.why h1 .sticker { padding: 0 .22em .06em; border-radius: .18em; box-shadow: .07em .07em 0 var(--ink); transform: rotate(-1.5deg); }
.why .how, .why .what { font-size: 1.2rem; max-width: 33ch; }
.why .what strong { font-family: "Unbounded", sans-serif; font-weight: 900; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.cta .note { color: var(--soft); font-size: .95rem; }

.stage { position: relative; isolation: isolate; justify-self: center; width: min(100%, 350px); margin: 24px 0 0; }
.stage::before { content: ""; position: absolute; left: 50%; top: 52%; width: 132%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 50%; z-index: -1; }
.stage .phone { transform: rotate(2deg); }
.chip { position: absolute; z-index: 2; font: 700 .95rem/1 "Space Grotesk", sans-serif; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background: var(--sheet); white-space: nowrap; }
.chip.done { background: var(--green); top: 44%; left: -27%; transform: rotate(-4deg); }
.chip.spark { background: var(--yellow); top: -3%; right: -14%; transform: rotate(5deg); }
.chip.calm { background: var(--blue); bottom: 10%; right: -16%; transform: rotate(-3deg); }
.chip svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; padding-top: 8px; }
  .stage { width: min(78%, 330px); }
  .chip { font-size: .85rem; padding: 10px 12px; }
  .chip.done { left: -14%; } .chip.spark { right: -12%; } .chip.calm { right: -12%; }
}

/* Franja de promesas */
.promises { background: var(--ink); color: var(--sheet); border-block: var(--bw) solid var(--ink); }
.promises ul { list-style: none; margin: 0 auto; padding: 18px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font: 700 .9rem/1.3 "Space Mono", monospace; text-transform: uppercase; letter-spacing: .04em; max-width: 1160px; }
.promises li { display: inline-flex; align-items: center; gap: 10px; }
.promises li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.promises li:nth-child(3n+2)::before { background: var(--blue); }
.promises li:nth-child(3n)::before { background: var(--red); }

/* Secciones */
section.band { padding: 96px 0; }
section.band.close { padding-top: 0; }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.head h2 { font-weight: 900; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.head p { font-size: 1.15rem; color: var(--soft); max-width: 46ch; }

/* Cómo funciona: 01 · 02 · 03 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.steps li { padding: 26px 26px 0; display: grid; gap: 14px; align-content: start; overflow: hidden; }
.steps li:nth-child(1) { background: var(--yellow); }
.steps li:nth-child(2) { background: var(--blue); }
.steps li:nth-child(3) { background: var(--peach); }
.steps h3 { font-weight: 900; font-size: 1.45rem; }
.steps p { font-size: 1.02rem; }
.steps .phone { margin: 14px auto -40%; width: 78%; box-shadow: 8px 8px 0 var(--ink); border-radius: 38px; padding: 7px; }
.steps .phone img { border-radius: 31px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; } .steps .phone { width: 62%; margin-bottom: -30%; } }

/* Funciones: dos teléfonos y tarjetas */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.duo .phone:nth-child(2) { margin-top: 64px; }
.duo .phone { box-shadow: 8px 8px 0 var(--ink); border-radius: 36px; padding: 7px; }
.duo .phone img { border-radius: 29px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; margin: 0; padding: 0; }
.features li { padding: 20px; display: grid; gap: 8px; align-content: start; }
.features .ic { width: 44px; height: 44px; border: var(--bw) solid var(--ink); border-radius: 12px; display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); }
.features .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-weight: 700; font-size: 1.05rem; }
.features p { color: var(--soft); font-size: .98rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .duo { max-width: 460px; margin: 0 auto; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Progreso amable */
.kind { background: var(--green); border-block: var(--bw) solid var(--ink); }
.kind .split { grid-template-columns: 1.1fr .9fr; }
.kind .head p { color: var(--ink); }
.kind .phone { width: min(100%, 320px); justify-self: center; transform: rotate(-2deg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 620px; }
.stats div { padding: 16px; background: var(--sheet); }
.stats b { display: block; font: 900 1.7rem/1 "Unbounded", sans-serif; margin-bottom: 6px; }
.stats span { font-size: .92rem; }
@media (max-width: 900px) { .kind .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Agenda Pro */
.pro { background: var(--ink); color: var(--sheet); border-radius: 26px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; box-shadow: 8px 8px 0 var(--yellow); }
.pro h2 { font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.pro .lead { color: #D9CFC2; margin-top: 14px; font-size: 1.1rem; max-width: 36ch; }
.pro .tag { background: var(--yellow); color: var(--ink); }
.pro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pro li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.pro li::before { content: ""; width: 24px; height: 24px; margin-top: 3px; border-radius: 7px; border: var(--bw) solid var(--sheet); background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.pro .free { margin-top: 22px; color: #D9CFC2; font-size: .98rem; }
@media (max-width: 860px) { .pro { grid-template-columns: 1fr; padding: 30px 24px; } }

/* Privada */
.private { background: var(--yellow); padding: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 36px; align-items: center; }
.private .lock { width: 84px; height: 84px; border: var(--bw) solid var(--ink); border-radius: 22px; background: var(--sheet); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); }
.private .lock svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.private h2 { font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.private p { max-width: 54ch; }
@media (max-width: 820px) { .private { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Soporte */
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: 9px; background: var(--yellow); font: 900 1.05rem/1 "Unbounded", sans-serif; }
.faq details[open] summary::after { content: "–"; background: var(--blue); }
.faq details p { padding: 0 22px 22px; color: var(--soft); }
.contact { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Cierre */
.final { background: var(--red); border-top: var(--bw) solid var(--ink); text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 26px; padding-top: 96px; padding-bottom: 96px; }
.final h2 { font-weight: 900; font-size: clamp(2.6rem, 8vw, 5.6rem); }
.final p { font-size: 1.2rem; max-width: 38ch; }

footer { background: var(--sheet); border-top: var(--bw) solid var(--ink); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 28px; padding-bottom: 36px; font-size: .92rem; }
.by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--soft); }
.by img { height: 22px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--soft); }

/* Política de privacidad (agenda.plantekia.com/privacidad) */
.doc { max-width: 740px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-left)) 80px; display: grid; gap: 26px; }
.doc h1 { font-weight: 900; font-size: clamp(2.1rem, 6vw, 3.2rem); }
.doc .updated { color: var(--soft); }
.doc section { padding: 22px; display: grid; gap: 10px; }
.doc section:first-of-type { background: var(--yellow); }
.doc h2 { font-weight: 700; font-size: 1.15rem; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.features li:nth-child(6n+1) .ic { background: var(--yellow); }
.features li:nth-child(6n+2) .ic { background: var(--blue); }
.features li:nth-child(6n+3) .ic { background: var(--green); }
.features li:nth-child(6n+4) .ic { background: var(--peach); }
.features li:nth-child(6n+5) .ic { background: var(--lilac); }
.features li:nth-child(6n) .ic { background: var(--red); }
