:root {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --card: #fffdf9;
  --ink: #1d1b34;
  --ink-soft: #4a4766;
  --muted: #6e6a86;
  --line: #e2d9c9;
  --calma: #3e9c8a;
  --alegria: #e2a03a;
  --tristeza: #4c7bd9;
  --ansiedad: #8a5cd6;
  --ira: #df6656;
  --focus: #8a5cd6;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(29, 27, 52, .04), 0 18px 40px -22px rgba(29, 27, 52, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; } /* anchors land below the sticky nav; smooth scroll is done in JS */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { /* paper grain */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- spectrum motif ---------- */
.spectrum {
  height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--calma), var(--alegria), var(--tristeza), var(--ansiedad), var(--ira), var(--calma));
  background-size: 200% 100%;
  animation: drift 18s linear infinite;
}
@keyframes drift { to { background-position: 200% 0; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 236, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 34px; width: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.nav ul a { text-decoration: none; color: var(--ink-soft); }
.nav ul a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 99px; padding: 14px 24px; font: 700 1rem var(--sans);
  background: var(--ink); color: var(--paper); transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: #2e2a59; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--paper-2); }
.btn.small { padding: 10px 18px; font-size: .92rem; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.kicker::before { content: ""; width: 28px; height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--calma), var(--ansiedad)); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); margin: 18px 0 22px; font-variation-settings: "opsz" 144; }
h1 em { font-style: italic; font-weight: 500; color: var(--ansiedad); }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { margin-top: 22px; font-size: .9rem; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero .note span::before { content: "●"; margin-right: 8px; color: var(--calma); }

/* hero mockups */
.mock-stage { position: relative; min-height: 600px; }
.mock {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 20px 18px; font-size: .92rem;
}
.mock .bar { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 14px; letter-spacing: .02em; }
.mock .bar b { color: var(--ink); font-weight: 700; }
.mock-young { width: 310px; left: 0; top: 0; transform: rotate(-2.2deg); z-index: 1; }
.mock-team { width: 320px; right: 0; bottom: 0; transform: rotate(1.6deg); z-index: 2; }
.mock h4 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0 0 12px; }
.emojis { display: flex; gap: 8px; margin-bottom: 12px; }
.emojis span { width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.35rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.emojis span.on { background: #efe9fb; border-color: var(--ansiedad); box-shadow: 0 0 0 3px rgba(138, 92, 214, .15); }
.emojis img { width: 32px; height: 32px; display: block; }
.emojis span:not(.on) img { opacity: .9; }
.typed { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink-soft); min-height: 64px; }
.pauta { margin-top: 12px; border-radius: 12px; padding: 12px 14px; background: linear-gradient(135deg, #eaf6f2, #f3effc); }
.pauta small { display: block; font-weight: 700; color: var(--calma); letter-spacing: .04em; text-transform: uppercase; font-size: .7rem; margin-bottom: 4px; }
.private { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.private::before { content: "🔒 "; }
.bars { display: grid; gap: 8px; margin: 4px 0 12px; }
.bars div { display: grid; grid-template-columns: 74px 1fr 34px; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); }
.bars i { display: block; height: 9px; border-radius: 9px; background: var(--c); width: var(--w); transform-origin: left; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, .6s); }
.bars em { font-style: normal; text-align: right; color: var(--muted); }
@keyframes grow { from { transform: scaleX(0); } }
.signal { border-top: 1px dashed var(--line); padding-top: 10px; font-size: .82rem; color: var(--ink-soft); }
.signal b { color: var(--ink); }
.tag-example { position: absolute; right: 6px; top: 6px; transform: rotate(3deg); background: var(--ink); color: var(--paper); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; z-index: 3; }

/* ---------- sections ---------- */
section { padding: 92px 0; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ansiedad); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 10px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin: 16px 0 0; }

.pillars { background: var(--ink); color: var(--paper); padding: 38px 0; }
.pillars .wrap { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 28px; align-items: center; }
.pillars strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; max-width: 14ch; }
.pillars div { border-left: 1px solid rgba(247, 243, 236, .2); padding-left: 20px; font-size: .95rem; color: rgba(247, 243, 236, .82); }
.pillars div b { display: block; color: var(--paper); font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--paper-2); position: absolute; right: 18px; top: 14px; font-weight: 600; }
.step .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); margin-bottom: 18px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent); }
.step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aud { border-radius: var(--radius); padding: 36px 34px; border: 1px solid var(--line); background: var(--card); }
.aud.edu { background: linear-gradient(160deg, #f3effc 0%, var(--card) 55%); }
.aud.soc { background: linear-gradient(160deg, #e8f4f0 0%, var(--card) 55%); }
.aud .label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.aud h3 { font-size: 1.8rem; margin: 8px 0 12px; }
.aud p { color: var(--ink-soft); margin: 0 0 16px; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 30px; position: relative; font-size: 1rem; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--c, var(--calma)); opacity: .9; }
ul.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 4px); width: 4px; height: 7px; border: solid var(--card); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.privacy { background: var(--paper-2); border-block: 1px solid var(--line); }
.privacy .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.privacy .points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.point { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 18px; }
.point h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0 0 6px; }
.point p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.privacy blockquote { margin: 26px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--ink); border-left: 4px solid var(--calma); padding-left: 18px; }

.pilot .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.phase { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.phase .when { font-size: .85rem; color: var(--muted); letter-spacing: .03em; }
.phase h3 { font-size: 1.4rem; margin: 6px 0 14px; }
.phase .figs { display: flex; gap: 26px; margin-bottom: 14px; }
.phase .figs div { font-family: var(--serif); font-size: 2.3rem; line-height: 1; font-weight: 600; }
.phase .figs small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 400; margin-top: 6px; }
.phase p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.learned { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.learned > div { border-radius: var(--radius); padding: 26px 28px; }
.learned .ok { background: #e8f4f0; }
.learned .chg { background: #f3effc; }
.learned h4 { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 12px; font-weight: 600; }

.start ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.start li { padding: 28px 24px; border-right: 1px solid var(--line); }
.start li:last-child { border-right: 0; }
.start li span { font-family: var(--serif); font-size: 1rem; color: var(--ansiedad); font-weight: 600; }
.start li h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.start li p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.includes { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.includes span { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 8px 16px; font-size: .92rem; color: var(--ink-soft); }

.team .card { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 22px; align-items: stretch; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.person .ini { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; color: var(--paper); background: var(--c); margin-bottom: 14px; }
.person h3 { font-size: 1.3rem; margin-bottom: 6px; }
.person p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.team .why { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 28px; }
.team .why h3 { font-size: 1.4rem; margin-bottom: 10px; }
.team .why p { margin: 0; color: rgba(247, 243, 236, .85); font-size: 1rem; }

.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--sans); color: var(--ansiedad); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #2e2a59; }
.faq details p { margin: 0 0 22px; max-width: 62ch; color: var(--ink-soft); font-size: 1rem; }

.contact .grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.next-title { font-size: 1.2rem; margin: 30px 0 14px; }
.next { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: n; }
.next li { position: relative; padding-left: 44px; color: var(--ink-soft); font-size: 1rem; }
.next li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); font: 600 .95rem var(--serif); color: var(--ansiedad); }
.next li b { color: var(--ink); }
.downloads { margin: 28px 0 0; padding: 16px 20px; border: 1.5px dashed var(--line); border-radius: 14px; font-size: .95rem; color: var(--ink-soft); }
.downloads a { font-weight: 700; color: var(--ink); text-underline-offset: 3px; }
.downloads small { color: var(--muted); }
label .opt { font-weight: 400; color: var(--muted); }

.sticky-cta { display: none; }
form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 16px;
}
input:focus, select:focus, textarea:focus { border-color: var(--ansiedad); outline: none; box-shadow: 0 0 0 4px rgba(138, 92, 214, .15); }
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin: 4px 0 18px; }
.consent input { width: auto; margin: 4px 0 0; }
.hidden { position: absolute; left: -9999px; }

footer { padding: 40px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); }

/* ---------- reveal on load ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.mock-young.reveal { animation-name: rise-l; }
.mock-team.reveal { animation-name: rise-r; }
@keyframes rise-l { from { opacity: 0; transform: translateY(26px) rotate(-6deg); } to { opacity: 1; transform: rotate(-2.2deg); } }
@keyframes rise-r { from { opacity: 0; transform: translateY(26px) rotate(5deg); } to { opacity: 1; transform: rotate(1.6deg); } }
.in-view { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.in-view.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .in-view { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .privacy .grid, .contact .grid { grid-template-columns: 1fr; }
  .mock-stage { min-height: 560px; max-width: 520px; }
  .steps, .audiences, .pilot .grid, .learned, .team .card { grid-template-columns: 1fr; }
  .start ol { grid-template-columns: 1fr 1fr; }
  .start li:nth-child(2) { border-right: 0; }
  .start li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pillars .wrap { grid-template-columns: 1fr 1fr; }
  .pillars strong { grid-column: 1 / -1; max-width: none; }
  .nav ul { display: none; }
  .faq .wrap { grid-template-columns: 1fr; gap: 0; }
  .faq .section-head { position: static; margin-bottom: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  section { padding: 70px 0; }
  .mock-stage { min-height: 700px; }
  .mock-young, .mock-team { width: min(320px, 92%); }
  .mock-team { right: 2%; }
  .privacy .points, .row, .start ol { grid-template-columns: 1fr; }
  .start li { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillars .wrap { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
  .faq summary { font-size: 1.1rem; }
  /* mobile sticky CTA (shown by JS once the hero is off screen) */
  .sticky-cta, .sticky-cta:hover {
    display: flex; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
    box-shadow: 0 14px 30px -12px rgba(29, 27, 52, .55); transform: translateY(160%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .sticky-cta.show, .sticky-cta.show:hover { transform: none; visibility: visible; }
}
