:root {
  --bg: #F6F4EF;
  --card: #FFFFFF;
  --ink: #192522;
  --soft: #55504A;
  --line: #E6E1D7;
  --cream: #F6F4EF;
  --on-dark-soft: #B9C2BD;
  --paso: #3D6FE0;
  --suave: #1FA0B8;
  --trote: #D99A12;
  --galope: #E2632A;
  --carrera: #C42850;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--suave); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }

/* Cabecera */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 600; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }

/* Portada */
.hero { background: var(--ink); color: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding: 48px 0 96px; }
.hero h1 { font-size: clamp(46px, 7.2vw, 88px); font-weight: 800; }
.hero .lead { margin-top: 26px; font-size: clamp(19px, 2vw, 22px); color: var(--on-dark-soft); max-width: 30em; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero-note { font-size: 16px; color: var(--on-dark-soft); }

.route { width: 100%; height: auto; }
.route path { fill: none; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--d) linear forwards; animation-delay: var(--w); }
.route .end { opacity: 0; animation: pop .3s ease forwards 3.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }

/* Secciones */
section { padding: 96px 0; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.section-lead { margin-top: 18px; font-size: 20px; color: var(--soft); max-width: 34em; }

/* Aires */
.gaits { margin: 52px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.gait { flex: var(--g) 1 150px; padding-top: 16px; border-top: 12px solid var(--c); }
.gait strong { display: block; font-size: 21px; }
.gait span { font-size: 16px; color: var(--soft); }
.fine { margin-top: 22px; font-size: 16px; color: var(--soft); }

/* Grabar */
.record { background: var(--card); border-block: 1px solid var(--line); }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.points { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.points b { display: block; font-size: 19px; }
.points span { color: var(--soft); }

.demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lock { width: min(100%, 400px); background: var(--ink); color: var(--cream); border-radius: 34px; padding: 44px 18px 22px; }
.lock-time { text-align: center; font-size: 66px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.lock-date { text-align: center; font-size: 16px; color: var(--on-dark-soft); margin: 8px 0 34px; }
.notif { background: #26332F; border-radius: 22px; padding: 16px 18px 8px; }
.notif-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--on-dark-soft); }
.notif-title { margin-top: 8px; font-weight: 700; font-size: 18px; }
.notif-title i { color: var(--trote); font-style: normal; }
.notif-text { font-size: 16px; color: var(--on-dark-soft); }
.notif-actions { display: flex; gap: 8px; margin-top: 6px; }
.notif-actions span { padding: 10px 12px 10px 0; margin-right: 12px; font-weight: 700; font-size: 16px; }
figcaption { font-size: 15px; color: var(--soft); text-align: center; }

/* Todo lo demás */
.more-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.more-grid h3 { font-size: 22px; margin-bottom: 8px; }
.more-grid p { color: var(--soft); }

/* Privacidad */
.private { background: var(--ink); color: var(--cream); }
.private .eyebrow, .private .section-lead { color: var(--on-dark-soft); }
.private-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.private ul { margin: 0; padding: 0; list-style: none; font-size: 21px; font-weight: 600; }
.private li { padding: 14px 0; border-top: 1px solid #3A4843; }
.private a { text-underline-offset: 4px; }

/* Probadores y preguntas */
.join { text-align: center; }
.join .section-lead { margin-inline: auto; }
.join .btn { margin-top: 32px; }
.faq { background: var(--card); border-top: 1px solid var(--line); }
.faq-list { margin-top: 40px; max-width: 780px; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
summary { font-weight: 700; font-size: 20px; cursor: pointer; }
details p { margin-top: 10px; color: var(--soft); }

/* Pie */
footer { background: var(--ink); color: var(--on-dark-soft); padding: 40px 0; font-size: 16px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--cream); }

/* Páginas legales */
.legal-head { background: var(--ink); color: var(--cream); }
.legal { max-width: 760px; padding: 56px 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
.legal h2 { font-size: 25px; margin-top: 40px; margin-bottom: 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: #3A3631; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 8px; }
.updated { margin-top: 14px; color: var(--soft); }
mark { background: #FFE9A8; color: var(--ink); padding: 0 5px; border-radius: 4px; font-weight: 600; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero-grid, .record-grid, .private-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-grid { padding: 24px 0 64px; }
  .route { max-width: 460px; margin-inline: auto; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 68px 0; }
  .hide-sm { display: none; }
}
@media (max-width: 540px) {
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .gaits { row-gap: 22px; }
  .gait { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route path { animation: none; stroke-dashoffset: 0; }
  .route .end { animation: none; opacity: 1; }
  .btn { transition: none; }
}

/* Por qué existe */
.why { background: var(--galope); color: var(--ink); }
.why .eyebrow { color: var(--ink); }
.why h2 { font-size: clamp(44px, 7vw, 84px); }
.why-lead { margin-top: 22px; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.3; font-weight: 600; max-width: 26em; }
.why-list { margin: 52px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.why-list li { border-top: 3px solid var(--ink); padding-top: 16px; }
.why-list strong { display: block; font-size: 23px; line-height: 1.2; margin-bottom: 6px; }
@media (max-width: 760px) { .why-list { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Participa */
.part { background: var(--card); border-top: 1px solid var(--line); }
.part-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
.part-grid article { border-top: 8px solid var(--c); padding-top: 18px; scroll-margin-top: 24px; }
.part-grid h3 { font-size: 28px; margin-bottom: 10px; }
.part-grid p { color: var(--soft); }
.part-grid a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 700; text-underline-offset: 4px; }

/* Apoya */
.support { background: var(--suave); color: var(--ink); }
.support .eyebrow { color: var(--ink); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.support-lead { margin-top: 18px; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.3; font-weight: 600; }
.support ul { margin: 0; padding: 0; list-style: none; }
.support li { padding: 14px 0; border-top: 2px solid var(--ink); }
.support strong { display: block; font-size: 21px; line-height: 1.25; }
@media (max-width: 860px) { .support-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 640px) { .part-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Fundadores */
.founders { background: var(--trote); color: var(--ink); }
.founders .eyebrow { color: var(--ink); }
.founders-lead { margin-top: 18px; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.3; font-weight: 600; max-width: 30em; }
.founders-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
.founders-grid article { border-top: 3px solid var(--ink); padding-top: 22px; }
.founders-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 16px; font-weight: 700; }
.founders-badge img { width: 20px; height: auto; }
.founders-grid h3 { margin-top: 18px; font-size: 28px; }
.founders-grid p { margin-top: 10px; }
.founders-grid .btn { margin-top: 22px; }
.founders .fine { margin-top: 36px; color: var(--ink); }
.founders .fine a { text-underline-offset: 4px; }
@media (max-width: 640px) { .founders-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Red social (próximamente) */
.btn-ghost { border: 2px solid var(--on-dark-soft); color: var(--cream); }
.social { background: #24479E; color: var(--cream); }
.social .eyebrow { color: var(--cream); display: flex; align-items: center; gap: 12px; }
.social .section-lead { color: #D9E2F7; }
.soon { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--cream); color: #24479E; letter-spacing: .04em; }
.social-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.social-grid article { border-top: 8px solid var(--c); padding-top: 18px; }
.social-grid h3 { font-size: 23px; margin-bottom: 8px; }
.social-grid p { color: #D9E2F7; }
.social-note { margin: 48px 0 28px; font-size: 19px; font-weight: 600; max-width: 38em; }
@media (max-width: 860px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .social-grid { grid-template-columns: minmax(0, 1fr); } }

/* Para compartir */
.share { background: var(--card); border-block: 1px solid var(--line); overflow: hidden; }
.ig-row { margin-top: 48px; display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.ig { flex: 0 0 200px; scroll-snap-align: start; margin: 0; }
.ig-card { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; box-shadow: 0 10px 30px rgba(25, 37, 34, .18); }
.ig-card svg { width: 100%; height: auto; }
.ig-card .t { font-weight: 800; font-size: 18px; line-height: 1.15; }
.ig-card .s { font-size: 13px; font-weight: 600; opacity: .9; }
.ig-card .big { font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.ig-card .big small { font-size: 18px; }
.ig figcaption { margin-top: 10px; text-align: left; font-weight: 700; font-size: 16px; color: var(--ink); }
.ig figcaption span { display: block; font-weight: 400; font-size: 14px; color: var(--soft); }
.ig-photo { background: linear-gradient(180deg, #9CC3D9 0%, #D8C9A3 46%, #6E7F4A 47%, #3B4530 100%); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.ig-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 100%); }
.ig-photo > * { position: relative; }
.ig-track { background: var(--cream); color: var(--ink); justify-content: space-between; }
.ig-gaits { background: var(--ink); color: var(--cream); justify-content: space-between; }
.ig-gaits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13px; font-weight: 600; }
.ig-gaits li { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; }
.ig-gaits li i { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: var(--c); width: var(--w); }
.ig-sticker { background-color: #4A4F4D; background-image: conic-gradient(#5E6361 25%, transparent 0 50%, #5E6361 0 75%, transparent 0); background-size: 18px 18px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.55); justify-content: center; }
.ig-month { background: var(--galope); color: var(--ink); justify-content: space-between; }
.ig-month .weeks { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.ig-month .weeks b { flex: 1; background: var(--ink); border-radius: 4px 4px 0 0; height: var(--h); }
.share-list { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.share-list b { display: block; font-size: 19px; }
.share-list span { color: var(--soft); }
@media (max-width: 860px) { .share-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .share-list { grid-template-columns: minmax(0, 1fr); } .ig { flex-basis: 170px; } }

/* Guías */
.guia .migas { font-size: 14px; color: #6B665F; margin-bottom: 8px; }
.guia .migas a { color: inherit; }
.tabla { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.tabla th, .tabla td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E6E1D7; vertical-align: top; }
.tabla th { font-weight: 700; color: #192522; background: #EFEBE3; }
.cta-guia { margin-top: 48px; padding: 24px; border-radius: 18px; background: #EFEBE3; }
.cta-guia h2 { margin-top: 0; }
.cta-guia .btn { margin-top: 8px; }
.lista-guias { list-style: none; padding-left: 0 !important; }
.lista-guias li { margin-top: 20px; }
.lista-guias span { color: #6B665F; font-size: 15px; }
@media (max-width: 560px) { .tabla { font-size: 14px; } .tabla th, .tabla td { padding: 8px 6px; } }
