/* tuaula.lat — landing
   Concepto: cuaderno cuadriculado + resaltador aguamarina + tinta azul marino. */

:root {
  --paper: #f7f5ef;
  --paper-2: #efece3;
  --card: #ffffff;
  --ink: #0b2545;
  --ink-2: #3c4f6b;
  --ink-3: #6b7a90;
  --grid: rgba(11, 37, 69, 0.055);
  --line: rgba(11, 37, 69, 0.12);
  --teal: #0fa3a3;
  --teal-ink: #0a7c7c;
  --aqua: #5eead4;
  --mint: #b9f5e6;
  --green: #1e9e5a;
  --red: #d64545;
  --gold: #f2a516;
  --shadow: 0 1px 0 rgba(11, 37, 69, .08), 0 18px 40px -22px rgba(11, 37, 69, .35);
  --on-ink: #fff;
  --tag-live-bg: #e3f6ea;
  --founder-bg: #fff7e3;
  --btn-shadow: #04142a;
  color-scheme: light;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --paper: #0b1a2c;
  --paper-2: #10233a;
  --card: #132a44;
  --ink: #eef4fa;
  --ink-2: #b9c7d8;
  --ink-3: #8597ad;
  --grid: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.13);
  --teal: #2dd4bf;
  --teal-ink: #5eead4;
  --mint: rgba(45, 212, 191, 0.2);
  --green: #34d399;
  --red: #f87171;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -22px rgba(0, 0, 0, .8);
  --on-ink: #0b2545;
  --tag-live-bg: rgba(52, 211, 153, .15);
  --founder-bg: rgba(242, 165, 22, .1);
  --btn-shadow: #a9b8ca;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); line-height: 1.55;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--head); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .45em; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
section { padding: 88px 0; position: relative; }
.eyebrow { font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 12px; display: inline-flex; gap: 8px; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::before { display: none; }

/* resaltador: trazo irregular */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -4px; right: -6px; bottom: .06em; height: .42em; z-index: -1;
  background: var(--aqua); opacity: .75; border-radius: 3px 10px 4px 12px;
  transform: rotate(-1.2deg) scaleX(0); transform-origin: left; animation: mark .7s .5s cubic-bezier(.6,.1,.2,1) forwards;
}
@keyframes mark { to { transform: rotate(-1.2deg) scaleX(1); } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 14px; border: 0; font-family: var(--head); font-weight: 600; font-size: 1.02rem; text-decoration: none; cursor: pointer; background: var(--ink); color: var(--on-ink); box-shadow: 0 4px 0 var(--btn-shadow); transition: transform .1s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-shadow); }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 4px 0 #087575; }
:root[data-theme="dark"] .btn.primary, :root[data-theme="dark"] .nav-links a.btn.primary { color: #04223a; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.light { background: #fff; color: #0b2545; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.btn svg { width: 20px; height: 20px; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }
.logo .on-dark, .brand-foot .on-dark { display: none; }
:root[data-theme="dark"] .on-light { display: none; }
:root[data-theme="dark"] .logo .on-dark, :root[data-theme="dark"] .brand-foot .on-dark { display: block; }
.brand-foot img { width: 220px; max-width: 100%; height: auto; display: block; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; flex: none; }
.theme-btn svg { width: 19px; height: 19px; grid-area: 1 / 1; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.theme-btn:hover { border-color: var(--teal); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: .93rem; }
.nav-links a.btn { color: #fff; white-space: nowrap; }
@media (max-width: 420px) { .nav .btn { padding: 9px 12px; font-size: .85rem; } .nav-links { gap: 10px; } .logo img { height: 26px; } .theme-btn { width: 36px; height: 36px; } }
@media (max-width: 860px) { .nav-links .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); margin-bottom: .35em; }
.hero .lead { font-size: 1.22rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.platforms { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-3); font-size: .9rem; }
.platforms span { display: inline-flex; align-items: center; gap: 6px; }
.platforms svg { width: 16px; height: 16px; color: var(--teal); }
.annot { font-family: "Caveat", cursive; font-size: 1.5rem; color: var(--teal-ink); transform: rotate(-4deg); display: inline-block; }
.reveal { opacity: 0; transform: translateY(14px); animation: in .7s ease forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
@keyframes in { to { opacity: 1; transform: none; } }

/* Teléfono con demo */
.phone-wrap { position: relative; justify-self: center; }
.phone { width: 330px; max-width: 100%; border-radius: 42px; padding: 12px; background: #0b2545; box-shadow: 0 40px 80px -30px rgba(11, 37, 69, .55), inset 0 0 0 2px #1e3a5f; transform: rotate(2.5deg); }
.screen { background: var(--paper); border-radius: 32px; overflow: hidden; min-height: 600px; padding: 20px 18px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 20px 20px; display: flex; flex-direction: column; }
.screen .notch { width: 96px; height: 22px; border-radius: 99px; background: #0b2545; margin: -8px auto 14px; }
.screen .pbar { height: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-bottom: 18px; }
.screen .pbar i { display: block; height: 100%; width: 45%; background: linear-gradient(90deg, var(--teal), var(--aqua)); border-radius: 99px; transition: width .5s ease; }
.screen .qt { font-family: var(--head); font-size: .7rem; letter-spacing: .12em; font-weight: 600; color: var(--teal-ink); text-transform: uppercase; }
.screen h3 { font-size: 1.15rem; margin: 6px 0 14px; }
.demo-opt { display: block; width: 100%; text-align: left; padding: 12px 14px; margin-bottom: 9px; border-radius: 13px; border: 2px solid var(--line); background: var(--card); box-shadow: 0 2px 0 var(--line); font: inherit; font-size: .92rem; color: var(--ink); cursor: pointer; transition: border-color .12s; }
.demo-opt:hover:not(:disabled) { border-color: var(--teal); }
.demo-opt.ok { border-color: var(--green); background: #e3f6ea; }
.demo-opt.bad { border-color: var(--red); background: #fde8e6; }
.demo-fb { margin-top: auto; border-radius: 16px; padding: 14px; font-size: .88rem; display: none; }
.demo-fb.show { display: block; animation: in .3s ease forwards; }
.demo-fb.ok { background: #e3f6ea; border: 2px solid var(--green); }
.demo-fb.bad { background: #fde8e6; border: 2px solid var(--red); }
.demo-fb b { font-family: var(--head); font-size: 1rem; display: block; margin-bottom: 4px; }
.tutor-bubble { margin-top: 10px; background: var(--card); border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line); }
.tutor-bubble small { font-family: var(--head); font-weight: 700; color: var(--teal-ink); display: block; margin-bottom: 2px; }
.sticker { position: absolute; font-family: var(--head); font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 12px; box-shadow: var(--shadow); background: var(--card); display: flex; gap: 8px; align-items: center; }
.sticker svg { width: 18px; height: 18px; }
.sticker.s1 { top: 30px; left: -78px; transform: rotate(-6deg); color: #e8590c; }
.sticker.s2 { bottom: 70px; right: -44px; transform: rotate(5deg); color: var(--teal-ink); }
.try-hint { position: absolute; top: -34px; right: 0; }
.sticker { transition: opacity .3s ease; }
.phone-wrap.answered .sticker { opacity: 0; pointer-events: none; }
@media (max-width: 520px) { .sticker { display: none; } }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .sticker.s1 { left: -6px; } .sticker.s2 { right: -6px; }
}

/* ---------- Franja de confianza ---------- */
.strip { padding: 22px 0; border-block: 1px solid var(--line); background: var(--card); }
.strip .wrap { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; font-family: var(--head); font-weight: 600; color: var(--ink-2); }
.strip span { display: inline-flex; gap: 8px; align-items: center; }
.strip svg { width: 20px; height: 20px; color: var(--teal); }

/* ---------- Comparación ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.page { background: var(--card); border-radius: 18px; padding: 30px 30px 26px 54px; box-shadow: var(--shadow); position: relative; border: 1px solid var(--line); }
.page::before { content: ""; position: absolute; left: 34px; top: 0; bottom: 0; width: 2px; background: rgba(214, 69, 69, .35); }
.page h3 { font-size: 1.35rem; }
.page ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.page li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.04rem; }
.page li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.page.old { transform: rotate(-1deg); background: #fbfaf6; }
.page.old li { color: var(--ink-3); }
.page.old li span { text-decoration: line-through; text-decoration-color: rgba(214, 69, 69, .6); text-decoration-thickness: 2px; }
.page.old svg { color: var(--red); }
.page.new { transform: rotate(.8deg); border: 2px solid var(--teal); }
.page.new svg { color: var(--green); }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.pillar .num { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--mint); -webkit-text-stroke: 1.5px var(--teal); line-height: 1; }
.pillar h3 { font-size: 1.25rem; margin-top: 14px; }
.pillar p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; counter-reset: s; }
.step { padding: 0 26px; border-left: 2px dashed var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--head); font-weight: 700; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--on-ink); margin-bottom: 16px; font-size: 1.2rem; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 26px; } .step { border-left: 0; padding: 0; } }

/* ---------- Catálogo ---------- */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.catalog > [hidden], .catalog.collapsed > .subj:nth-child(n+9) { display: none !important; }
.catalog-more { text-align: center; margin-top: 22px; }
.anchor-alias { position: relative; top: -80px; display: block; height: 0; }
.filters { display: flex; gap: 8px; overflow-x: auto; margin-top: 28px; padding: 2px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .filters { flex-wrap: wrap; overflow: visible; } }
.filter { flex: none; font: inherit; font-weight: 600; font-size: .9rem; line-height: 1; padding: 10px 16px; min-height: 40px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.filter:hover { border-color: var(--teal, #0fa3a3); }
.filter:focus-visible { outline: 2px solid var(--teal, #0fa3a3); outline-offset: 2px; }
.filter.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.subj { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; transition: transform .15s ease; }
.subj:hover { transform: translateY(-4px) rotate(-.4deg); }
.subj .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.subj .ico svg { width: 24px; height: 24px; }
.subj h3 { font-size: 1.12rem; margin: 6px 0 0; }
.subj p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.subj .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; gap: 8px; }
.tag { font-family: var(--head); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); }
.tag.live { background: var(--tag-live-bg); color: var(--green); }
.vote { font: inherit; font-family: var(--head); font-weight: 600; font-size: .85rem; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 7px 12px; border-radius: 10px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.vote.on { background: var(--mint); border-color: var(--teal); color: var(--teal-ink); }
.vote svg { width: 16px; height: 16px; }
.subj a.go { font-family: var(--head); font-weight: 600; font-size: .9rem; text-decoration: none; }

/* ---------- Certificado ---------- */
.cert-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cert { background: var(--card); border-radius: 10px; padding: 34px; box-shadow: var(--shadow); border: 10px solid var(--paper-2); outline: 1px solid var(--line); position: relative; transform: rotate(-1.5deg); }
.cert .seal { position: absolute; top: 24px; right: 24px; width: 70px; height: 70px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: .7rem; text-align: center; line-height: 1.1; box-shadow: 0 0 0 5px var(--mint); }
.cert .small { font-size: .8rem; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; font-family: var(--head); }
.cert .who { font-family: var(--head); font-size: 2rem; font-weight: 700; margin: 10px 0 4px; border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.cert .what { font-size: 1.05rem; color: var(--ink-2); }
.cert .foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 26px; gap: 16px; }
.cert .qr { width: 74px; height: 74px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; }
.checks svg { width: 22px; height: 22px; color: var(--green); flex: none; }
@media (max-width: 860px) { .cert-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.price-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price-card .amount { font-family: var(--head); font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; }
.price-card .amount small { font-size: .9rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.price-card .note { font-size: .88rem; color: var(--ink-3); min-height: 2.6em; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; font-size: .95rem; }
.price-card li { display: flex; gap: 8px; }
.price-card li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { border: 2px solid var(--teal); transform: translateY(-10px); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-family: var(--head); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.founder { margin-top: 26px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--founder-bg); border: 2px dashed var(--gold); border-radius: 18px; padding: 20px 24px; }
.founder b { font-family: var(--head); font-size: 1.15rem; }
@media (max-width: 1000px) { .prices { grid-template-columns: 1fr 1fr; } .price-card.featured { transform: none; } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } }

/* ---------- Empresas (tablero) ---------- */
.board { background: #0b2545; color: #eef4fa; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 26px 26px; }
.board .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.board .eyebrow { color: var(--aqua); }
.board .eyebrow::before { background: var(--aqua); }
.board .lead { color: #b9c7d8; }
.board ul { list-style: none; padding: 0; display: grid; gap: 14px; margin: 24px 0 30px; }
.board li { display: flex; gap: 12px; }
.board li svg { width: 22px; height: 22px; color: var(--aqua); flex: none; }
.dash { background: #132a44; border-radius: 18px; padding: 22px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -30px #000; }
.dash h4 { font-family: var(--head); margin: 0 0 14px; font-size: 1rem; }
.dash .r { display: grid; grid-template-columns: 90px 1fr 42px; gap: 10px; align-items: center; font-size: .85rem; margin-bottom: 10px; color: #b9c7d8; }
.dash .b { height: 9px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.dash .b i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--aqua)); border-radius: 99px; }
.dash .note { font-size: .78rem; color: #8597ad; margin: 12px 0 0; }
@media (max-width: 860px) { .board .wrap { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.08rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }

/* ---------- Lista de espera ---------- */
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.form { background: var(--card); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form label { display: block; font-weight: 600; font-size: .9rem; margin: 16px 0 6px; }
.form input[type=text], .form input[type=email], .form select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font: inherit; color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--mint); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks label { margin: 0; font-weight: 500; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 99px; cursor: pointer; user-select: none; background: var(--card); }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks label:has(input:checked) { background: var(--mint); border-color: var(--teal); color: var(--teal-ink); }
.consent { display: flex !important; gap: 10px; font-weight: 400 !important; font-size: .85rem !important; color: var(--ink-2); align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -9999px; }
.form .msg { min-height: 1.4em; font-weight: 600; margin: 12px 0; }
.form .msg.err { color: var(--red); }
.done { text-align: center; padding: 30px 10px; }
.done svg { width: 64px; height: 64px; color: var(--green); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0 34px; background: var(--card); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { font-family: var(--head); margin: 0 0 12px; font-size: .95rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--teal-ink); }
footer .legal { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 10px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* Aparición al hacer scroll */
.io { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.io.vis { opacity: 1; transform: none; }

/* Páginas legales */
.doc { max-width: 780px; margin: 0 auto; padding: 50px 0 80px; }
.doc h1 { font-size: 2.3rem; }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc .card { background: var(--card); border-radius: 20px; padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.doc li { margin-bottom: .4em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .io { opacity: 1; transform: none; }
}

:root[data-theme="dark"] .phone { background: #1a3556; box-shadow: 0 40px 80px -30px #000, inset 0 0 0 2px #2c5282; }
:root[data-theme="dark"] .screen .notch { background: #1a3556; }
