/* Pompón web: «Web · Landing (móvil)» y «Web · Landing (escritorio)» de design/pompon.pen.
   Mismos colores, letras y banda con borde de algodón que la app (src/ui/soft.tsx). */
:root {
  --paper: #fff7ec;
  --paper2: #f7ebda;
  --ink: #3b2a22;
  --ink-soft: #7a6556;
  --pompon: #f2955f;
  --pompon-deep: #d9693a;
  --tummy: #cfe5c8;
  --giros: #e2d8f5;
  --sentarse: #f8e2a8;
  --manos: #fbd3c4;
  --moverse: #cfe3f4;
  --display: 'Young Serif', Georgia, serif;
  --body: 'M PLUS Rounded 1c', system-ui, sans-serif;
  --voice: 'Shantell Sans', 'Comic Sans MS', cursive;
  --gutter: 20px;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font: 500 16px/1.45 var(--body); }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.voice { font-family: var(--voice); color: var(--pompon-deep); }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: var(--ink-soft); }
.soft { color: var(--ink-soft); }

/* Banda de color con el borde de algodón: círculos de 34 que cuelgan 16 (como Scallop en la app). */
.band { --band: var(--sentarse); position: relative; background: var(--band); padding: 18px 0 26px; margin-bottom: 16px; }
.band::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px;
  background: radial-gradient(circle at 17px -1px, var(--band) 16.5px, transparent 17px) -6px 0 / 31px 16px repeat-x;
}

nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--display); font-size: 21px; }
.links { display: none; gap: 28px; }
.links a { text-decoration: none; font-weight: 700; font-size: 15px; }

.hero { padding-top: 34px; }
.hero .voice { font-size: 19px; }
.hero h1 { font-size: 44px; line-height: 1.02; margin: 10px 0; }
.hero .lead { font-size: 17px; max-width: 250px; }
.cta-row { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 18px; }
.cta { display: flex; flex-direction: column; gap: 8px; padding-bottom: 10px; }
.cta small { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none;
  background: var(--ink); color: var(--paper); border-radius: 99px; padding: 15px 22px; font-weight: 800; font-size: 16px;
  transition: transform 120ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; }
.btn.orange { background: var(--pompon); color: var(--ink); padding: 14px 22px; }
.hero .pompon { width: 140px; height: 140px; }
.parade { display: none; }

.circle { display: grid; place-items: center; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.circle img { width: 116%; height: 116%; object-fit: contain; }

.friends { display: flex; justify-content: space-between; padding-top: 22px; }
.friend { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.friend .circle { width: 62px; height: 62px; }

section { padding-top: 40px; }
section h2 { font-size: 30px; }
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 14px; }
.rail { width: 58px; display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.rail .circle { width: 58px; height: 58px; }
.rail .circle img { width: 86%; height: 86%; }
.rail .circle img.pompon-s { width: 110%; height: 110%; }
.dots { display: flex; flex-direction: column; gap: 6px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.step-text { padding-top: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.step-text h3 { margin: 0; font-size: 17px; font-weight: 800; }
.step-text p { font-size: 15px; line-height: 1.4; color: var(--ink-soft); }

.family { display: flex; flex-direction: column; gap: 12px; }
.family p { font-size: 16px; }
.code-card { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.code-card .kicker { display: none; }
.code { display: flex; gap: 8px; }
.code span {
  flex: 1; min-width: 0; height: 56px; border-radius: 16px; background: var(--paper2);
  display: grid; place-items: center; font-family: var(--display); font-size: 26px;
}
.code-card small { font-size: 13px; font-weight: 700; color: var(--ink-soft); }

.beta { display: flex; flex-direction: column; gap: 12px; }
.beta-card { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.beta-card .kicker { color: var(--sentarse); }
.beta-card h2 { font-size: 24px; line-height: 1.15; }
.beta-card p { font-size: 15px; color: #fff7eccc; }
.beta-card .btn { align-self: flex-start; }
.disclaimer { font-size: 13px; color: var(--ink-soft); }

.signup { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.signup .field { display: flex; flex-direction: column; gap: 10px; }
.signup .email {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px;
  background: var(--paper); color: var(--ink-soft); border-radius: 99px; outline: 2px solid transparent;
  transition: outline-color 150ms ease-out;
}
.signup .email:focus-within { outline-color: var(--pompon); }
.signup.error .email { outline-color: #e2643a; }
.signup .email svg { width: 18px; height: 18px; flex-shrink: 0; }
.signup input[type='email'] { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 16px var(--body); color: var(--ink); }
.signup input::placeholder { color: var(--ink-soft); }
.beta-card .signup .btn { align-self: stretch; }
.signup .btn { justify-content: center; height: 52px; padding: 0 24px; border: 0; cursor: pointer; font-family: var(--body); }
.signup .btn:disabled { opacity: 0.7; cursor: default; }
.signup .fine { font-size: 12px; font-weight: 700; color: #fff7ec99; }
.signup.error .fine { color: var(--manos); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.done[hidden], .signup[hidden] { display: none; }
.done img { width: 64px; height: 64px; animation: hop 520ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.done div { display: flex; flex-direction: column; gap: 2px; }
.done strong { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--sentarse); }
.done span { font-size: 15px; color: #fff7eccc; }
.done b { color: var(--paper); overflow-wrap: anywhere; }
@keyframes hop { from { transform: scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .done img { animation: none; } }

footer { padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a, footer span { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-decoration: none; }

/* Páginas de texto (privacidad, ayuda) */
.page-head h1 { font-size: 44px; line-height: 1.05; margin: 26px 0 6px; }
.prose { padding-top: 24px; padding-bottom: 20px; max-width: 720px; }
.prose h3 { font-size: 18px; font-weight: 800; margin: 26px 0 6px; }
.prose p, .prose li { font-size: 16px; line-height: 1.55; }
.prose ul { padding-left: 22px; margin: 0; }
.prose a:not(.btn) { color: var(--pompon-deep); font-weight: 800; }
.contact { background: var(--paper2); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 8px; }

@media (min-width: 900px) {
  :root { --gutter: 120px; }
  .wrap { max-width: 1280px; }
  .band { padding: 26px 0 40px; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .brand span { font-size: 23px; }
  .links { display: flex; }
  .hero { display: flex; align-items: center; gap: 40px; padding: 56px 0 10px; }
  .hero > div:first-child { flex: 1; min-width: 0; }
  .hero .voice { font-size: 22px; }
  .hero h1 { font-size: 68px; margin: 14px 0; }
  .hero .lead { font-size: 20px; max-width: 470px; }
  .cta-row { padding-top: 28px; justify-content: flex-start; }
  .cta { flex-direction: row; align-items: center; gap: 18px; padding: 0; }
  .cta small { font-size: 14px; }
  .btn { padding: 17px 26px; font-size: 17px; }
  .btn.orange { padding: 17px 28px; }
  .cta-row .pompon, .friends { display: none; }
  .parade { display: block; position: relative; width: 440px; height: 400px; flex-shrink: 0; }
  .parade .circle { position: absolute; width: 88px; height: 88px; }
  .parade .circle img { width: 82%; height: 82%; }
  .parade > img { position: absolute; left: 140px; top: 140px; width: 160px; height: 160px; }

  section { padding-top: 80px; }
  section h2 { font-size: 40px; }
  section.day { padding-top: 64px; }
  .steps { flex-direction: row; gap: 24px; margin-top: 26px; }
  .step { flex: 1; flex-direction: column; gap: 8px; }
  .rail { width: auto; flex-direction: row; gap: 10px; padding-bottom: 8px; }
  .rail .circle { width: 64px; height: 64px; }
  .dots { flex: 1; flex-direction: row; justify-content: center; gap: 7px; }
  .step-text { padding: 0; gap: 8px; }
  .step-text .kicker { font-size: 12px; }
  .step-text h3 { font-size: 20px; }
  .step-text p { font-size: 16px; line-height: 1.45; }

  .family { flex-direction: row; align-items: center; gap: 60px; }
  .family > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 14px; }
  .family p { font-size: 18px; line-height: 1.5; }
  .code-card { flex: 1; background: var(--paper2); border-radius: 28px; padding: 28px; gap: 14px; }
  .code-card .kicker { display: block; font-size: 12px; }
  .code { gap: 10px; }
  .code span { height: 64px; border-radius: 18px; background: var(--paper); font-size: 30px; }
  .code-card small { font-size: 14px; }

  .beta { gap: 16px; }
  .beta-card { flex-direction: row; align-items: center; gap: 40px; padding: 40px 48px; border-radius: 32px; }
  .beta-card > div { flex: 1; display: flex; flex-direction: column; gap: 10px; }
  .beta-card .kicker { font-size: 12px; }
  .beta-card h2 { font-size: 34px; }
  .beta-card p { font-size: 17px; }
  .beta-card > .signup, .beta-card > .done { flex: none; width: 400px; padding: 0; }
  .beta-card > .done { flex-direction: row; gap: 14px; }
  .signup .field { flex-direction: row; gap: 8px; background: var(--paper); border-radius: 99px; padding: 6px; }
  .signup .email { flex: 1; height: auto; padding: 0 10px 0 16px; outline: none; }
  .signup .field:focus-within { outline: 2px solid var(--pompon); }
  .signup.error .field { outline: 2px solid #e2643a; }
  .signup input[type='email'] { font-size: 17px; }
  .signup .btn { height: auto; padding: 15px 24px; }
  .signup .fine { font-size: 13px; padding-left: 16px; }
  .disclaimer { font-size: 14px; }
  footer { padding: 48px 0; }
  footer .wrap { gap: 24px; }
  footer a, footer span { font-size: 14px; }
  .page-head h1 { font-size: 56px; margin-top: 48px; }
}
