/* pide.now bare-domain landing: La bolsita. Ported from the approved prototype. */

/* Shared bits for the three pide.now landing directions. */
*, *::before, *::after { box-sizing: border-box; }
html { text-size-adjust: 100%; scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Phone frame around a real product capture */
.device-phone {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  padding: 9px;
  background: #15120f;
  box-shadow: 0 30px 60px -20px rgb(40 20 0 / 45%), inset 0 0 0 2px #2c2622;
}

.device-phone img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  border-radius: 30px;
}

/* Laptop-ish frame for desktop captures */
.device-screen {
  border-radius: 16px;
  padding: 8px;
  background: #15120f;
  box-shadow: 0 30px 60px -24px rgb(40 20 0 / 45%);
}
.device-screen img { border-radius: 10px; width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

:root {
  --theme-primary: #EF7C2D;
  --theme-primary-dark: #D9661A;
  --theme-accent: #FAC954;
  --theme-cream: #FEF1D1;
  --theme-ink: #1E1A17;
  --theme-muted: #6D6057;
  --theme-night: #1F1B3A;
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}
body { margin: 0; font-family: var(--body); color: var(--theme-ink); background: var(--theme-cream); line-height: 1.55; overflow-x: hidden; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 17px/1 var(--display); text-decoration: none; border-radius: 20px; padding: 17px 24px; border: 3px solid var(--theme-ink); box-shadow: 0 5px 0 var(--theme-ink); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--theme-ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--theme-ink); }
.btn-ink { background: var(--theme-ink); color: #fff; }
.btn-white { background: #fff; color: var(--theme-ink); }
.btn-yellow { background: var(--theme-accent); color: var(--theme-ink); }
.btn-orange { background: var(--theme-primary); color: #fff; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .icon { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 0 0 3px #fff; }
.brand .word { height: 24px; width: auto; }
.top nav a { font: 600 15px/1 var(--display); color: #fff; text-decoration: none; padding: 11px 16px; border-radius: 14px; background: rgb(0 0 0 / 14%); }
.top nav a:hover { background: rgb(0 0 0 / 24%); }

/* Hero */
.hero { background: var(--theme-primary); color: #fff; padding: 110px 0 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 12px; align-items: end; position: relative; z-index: 1; }
.hero .wrap > div:first-child { padding-bottom: 24px; }

@media (width >= 900px) { .hero .wrap > div:first-child { padding-bottom: 72px; } }
.hero h1 { font-size: clamp(44px, 11vw, 92px); line-height: .95; margin: 0 0 18px; }
.hero h1 span { color: var(--theme-ink); }
.hero p { font-size: clamp(18px, 2.5vw, 21px); max-width: 30em; margin: 0 0 26px; color: #FFF1E2; font-weight: 500; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .fine { margin: 18px 0 0; font-size: 15px; font-weight: 700; color: #FFE6CE; }
.hero-bag { position: relative; display: grid; justify-items: center; padding-top: 30px; }
.hero-bag img { width: min(360px, 78vw); animation: wiggle 3.2s ease-in-out infinite; transform-origin: 50% 100%; }

@keyframes wiggle { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
.bubble { position: relative; background: #fff; color: var(--theme-ink); border: 3px solid var(--theme-ink); border-radius: 24px; padding: 14px 18px; font: 600 18px/1.3 var(--display); box-shadow: 0 5px 0 var(--theme-ink); max-width: 300px; }
.bubble::after { content: ""; position: absolute; width: 22px; height: 22px; background: #fff; border-right: 3px solid var(--theme-ink); border-bottom: 3px solid var(--theme-ink); bottom: -14px; left: 40px; transform: rotate(45deg); }
.hero-bag .bubble { position: absolute; top: 0; right: 4%; transform: rotate(3deg); }
.hero-ground { height: 70px; background: var(--theme-cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; margin-top: -40px; position: relative; }

@media (width >= 900px) {
  .hero { padding-top: 130px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero-bag .bubble { top: -10px; right: auto; left: -40px; }
}

/* What I do */
.section { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(34px, 6.5vw, 56px); line-height: 1; margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--theme-muted); margin: 0; }
.kicker { display: inline-block; font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--theme-primary-dark); margin-bottom: 12px; }
.jobs { display: grid; gap: 22px; }
.job { background: #fff; border: 3px solid var(--theme-ink); border-radius: 32px; box-shadow: 0 8px 0 var(--theme-ink); padding: 26px 24px 28px; display: grid; gap: 14px; position: relative; }
.job img { width: 150px; justify-self: center; margin-top: -4px; }
.job .num { position: absolute; top: 18px; left: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--theme-accent); border: 3px solid var(--theme-ink); display: grid; place-items: center; font: 700 17px/1 var(--display); }
.job h3 { font-size: 28px; line-height: 1.05; margin: 0; }
.job p { margin: 0; color: var(--theme-muted); font-size: 17px; }
.job ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.job li { background: var(--theme-cream); border-radius: 12px; padding: 7px 11px; font-weight: 700; font-size: 14px; display: inline-flex; gap: 7px; align-items: center; }
.job li i { color: var(--theme-primary); }
.job:nth-child(2) { background: #FFF6E1; }
.job:nth-child(3) { background: #FFE9D6; }

@media (width >= 760px) { .jobs { grid-template-columns: 1fr 1fr; } }

@media (width >= 1040px) {
  .job:nth-child(odd) { transform: rotate(-1deg); }
  .job:nth-child(even) { transform: rotate(1deg) translateY(30px); }
}

/* Peek: real screens carousel */
.peek { background: var(--theme-ink); color: #fff; padding: 70px 0 60px; border-radius: 40px 40px 0 0; }
.peek .section-head p { color: #CFC4BA; }
.peek .kicker { color: var(--theme-accent); }
.rail { display: flex; align-items: center; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 16px 26px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { scroll-snap-align: center; flex: 0 0 auto; margin: 0; display: grid; justify-items: center; gap: 14px; }
.rail .device-screen { width: min(560px, 84vw); background: #000; }
.rail .device-phone { width: min(230px, 62vw); background: #000; }
.rail figcaption { font: 600 16px/1.2 var(--display); text-align: center; }
.rail figcaption small { display: block; font: 500 14px/1.4 var(--body); color: #BFB4A9; margin-top: 4px; }

@media (width >= 1120px) { .rail { padding-inline: calc((100vw - 1120px) / 2); } }
.rail-hint { text-align: center; font-size: 14px; color: #A99E94; }
.rail-hint i { animation: nudge 1.4s ease-in-out infinite; }

@keyframes nudge { 50% { translate: 6px 0; } }

/* Demo at night */
.night { background: var(--theme-night); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.night .stars { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 10% 20%, #fff8 50%, transparent 51%), radial-gradient(2px 2px at 80% 12%, #fff9 50%, transparent 51%), radial-gradient(1.5px 1.5px at 60% 70%, #fff7 50%, transparent 51%), radial-gradient(2px 2px at 30% 80%, #fff6 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 60%, #fff8 50%, transparent 51%), radial-gradient(2px 2px at 45% 35%, #fff5 50%, transparent 51%); }
.night .wrap { position: relative; display: grid; gap: 32px; align-items: center; }
.night h2 { font-size: clamp(36px, 7vw, 60px); line-height: 1; margin: 0 0 16px; }
.night h2 span { color: var(--theme-accent); }
.night p.lead { font-size: 18px; color: #D9D5F0; margin: 0 0 24px; max-width: 32em; }
.night .kicker { color: var(--theme-accent); }
.try { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.try li { display: flex; gap: 14px; align-items: flex-start; background: rgb(255 255 255 / 7%); border-radius: 18px; padding: 14px 16px; }
.try li i { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; background: var(--theme-primary); color: #fff; font-size: 17px; }
.try b { font-family: var(--display); font-size: 18px; font-weight: 600; display: block; }
.try span { color: #C9C4E4; font-size: 15px; }
.night .sleeper { display: grid; justify-items: center; gap: 18px; }
.night .sleeper img { width: min(300px, 70vw); animation: breathe 3.6s ease-in-out infinite; }

@keyframes breathe { 50% { scale: 1.035; } }
.night .sleeper .bubble { transform: rotate(-2deg); }
.night .sleeper .bubble::after { left: auto; right: 50px; }
.url { margin-top: 14px; font-weight: 700; color: var(--theme-accent); font-size: 15px; }

@media (width >= 900px) { .night .wrap { grid-template-columns: 1.1fr .9fr; } }

/* Money */
.money { padding: 80px 0 40px; }
.money-card { background: var(--theme-accent); border: 3px solid var(--theme-ink); border-radius: 36px; box-shadow: 0 8px 0 var(--theme-ink); padding: 34px 24px; display: grid; gap: 22px; align-items: center; }
.money-card h2 { font-size: clamp(34px, 6vw, 54px); line-height: 1; margin: 0 0 10px; }
.money-card p { margin: 0; font-size: 18px; }
.money-card img { width: 170px; justify-self: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills span { background: #fff; border: 2px solid var(--theme-ink); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; }

@media (width >= 800px) { .money-card { grid-template-columns: 180px 1fr; padding: 44px; } }

/* FAQ */
.faq { padding: 50px 0 80px; }
.faq .list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: #fff; border: 3px solid var(--theme-ink); border-radius: 22px; padding: 0 20px; }
summary { list-style: none; cursor: pointer; padding: 18px 0; font: 600 19px/1.25 var(--display); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary i { transition: rotate .2s; color: var(--theme-primary); }
details[open] summary i { rotate: 45deg; }
details p { margin: 0 0 18px; color: var(--theme-muted); font-size: 16px; }

/* Final */
.final { background: var(--theme-primary); color: #fff; text-align: center; padding: 70px 0 0; overflow: hidden; }
.final h2 { font-size: clamp(38px, 8vw, 70px); line-height: .98; margin: 0 0 16px; }
.final p { font-size: 18px; margin: 0 auto 26px; max-width: 30em; color: #FFF1E2; }
.final .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.final img { width: 220px; margin: 40px auto -30px; animation: wiggle 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
footer { background: var(--theme-ink); color: #BDB2A8; font-size: 14px; padding: 28px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
footer img { height: 22px; width: auto; }

.pop.is-armed { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .5s ease, transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.pop.is-armed.in { opacity: 1; transform: none; }

@media (width >= 1040px) {
  .job.pop.is-armed.in:nth-child(odd) { transform: rotate(-1deg); }
  .job.pop.is-armed.in:nth-child(even) { transform: rotate(1deg) translateY(30px); }
}

/* Sign-up page (/unirme): same layout and tokens as the landing, form card on top. */
.hero--signup h1 { font-size: clamp(38px, 9.5vw, 72px); }

.hero--signup .hero-bag img,
.hero--signup .hero-mascot img { width: min(230px, 50vw); }

@media (width >= 900px) {
  .hero--signup .hero-bag img,
  .hero--signup .hero-mascot img { width: min(330px, 100%); }
}

.su { padding: 10px 0 70px; }
.su .hidden { display: none; }
.su-card { max-width: 640px; margin-inline: auto; background: #fff; border: 3px solid var(--theme-ink); border-radius: 32px; box-shadow: 0 8px 0 var(--theme-ink); padding: 28px 22px 30px; }
.su-card h2 { font-size: clamp(30px, 6vw, 42px); line-height: 1; margin: 0 0 20px; }
.su-card a { color: var(--theme-ink); font-weight: 800; text-underline-offset: 3px; }
.su-form { display: grid; gap: 16px; }
.su-rule { margin: 6px 0 -2px; padding-top: 16px; border-top: 3px dashed var(--theme-ink); font: 700 14px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--theme-muted); }
.su-field { display: grid; gap: 7px; min-width: 0; }

.su-field > span:first-child,
.su-field > label { font: 600 16px/1.2 var(--display); }
.su-field em { font: 600 14px/1 var(--body); color: var(--theme-muted); font-style: normal; }

.su-field input[type="text"],
.su-field input[type="email"],
.su-field input[type="password"] { width: 100%; min-width: 0; min-height: 52px; padding: 12px 16px; font: 600 16px/1.3 var(--body); color: var(--theme-ink); background: var(--theme-cream); border: 3px solid var(--theme-ink); border-radius: 16px; }
.su-field input::placeholder { color: var(--theme-muted); opacity: .8; }
.su-field input:focus-visible { outline: 3px solid var(--theme-accent); outline-offset: 2px; background: #fff; }
.su-field__row { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.su-field__row input { flex: 1 1 auto; }
.su-suffix { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 0 12px; font: 700 15px/1 var(--display); background: var(--theme-accent); border: 3px solid var(--theme-ink); border-radius: 16px; }
.su-eye { flex: 0 0 52px; border: 3px solid var(--theme-ink); border-radius: 16px; background: #fff; color: var(--theme-ink); font-size: 17px; cursor: pointer; }
.su-eye:focus-visible { outline: 3px solid var(--theme-accent); outline-offset: 2px; }
.su-hint { list-style: none; margin: 0; padding: 0; font: 600 13px/1.4 var(--body); }
.su-hint:empty { display: none; }
.su-hint li { padding: 2px 0; }
.su-card .text-green-600 { color: #166534; }
.su-card .text-red-600 { color: #B42318; }
.su-card .text-xs { font-size: 13px; }
.su-url { font: 700 14px/1.3 var(--body); color: var(--theme-muted); overflow-wrap: anywhere; }

.su-clip__well { position: relative; display: grid; place-items: center; min-height: 128px; background: var(--theme-cream); border: 3px dashed var(--theme-ink); border-radius: 20px; cursor: pointer; overflow: hidden; }
.su-clip__well:focus-within { outline: 3px solid var(--theme-accent); outline-offset: 2px; }
.su-clip__well.is-dragging { background: var(--theme-accent); border-style: solid; }
.su-clip__well.is-bad { border-color: #B42318; }
.su-clip.is-clipped .su-clip__well { border-style: solid; }
.su-clip__input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; font-size: 0; }
.su-clip__empty { display: grid; justify-items: center; gap: 4px; padding: 16px; text-align: center; }
.su-clip__pin { font-size: 22px; color: var(--theme-accent-dark, var(--theme-primary-dark)); }
.su-clip__cta { font: 600 17px/1.2 var(--display); }
.su-clip__hint { font: 600 14px/1.3 var(--body); color: var(--theme-muted); }
.su-clip__well.is-bad .su-clip__hint { color: #B42318; }
.su-clip__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.su-clip__doc { display: grid; justify-items: center; gap: 6px; padding: 16px; font: 700 15px/1.3 var(--body); text-align: center; overflow-wrap: anywhere; }
.su-clip__doc i { font-size: 26px; color: var(--theme-accent-dark, var(--theme-primary-dark)); }
.su-clip__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.su-clip__caption { margin: 0; min-width: 0; font: 600 14px/1.3 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-clip__clear { flex: none; min-height: 44px; padding: 0 4px; border: 0; background: none; font: 700 15px/1 var(--display); color: var(--theme-ink); text-decoration: underline; cursor: pointer; }

.su-check { display: flex; gap: 12px; align-items: flex-start; font: 600 14px/1.45 var(--body); min-height: 44px; }
.su-check input { flex: 0 0 24px; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--theme-ink); }
.su-submit { width: 100%; font-size: 19px; cursor: pointer; }
.su-submit:disabled { opacity: .7; cursor: progress; }
.su-fine { margin: 0; text-align: center; font: 600 14px/1.45 var(--body); color: var(--theme-muted); }

.su-errors { margin: 0; padding: 14px 16px; border: 3px solid var(--theme-ink); border-radius: 18px; font: 700 15px/1.4 var(--body); background: #FFE4DE; border-color: #B42318; color: #7A1A10; }
.su-errors p { margin: 0 0 6px; font-family: var(--display); font-size: 17px; }
.su-errors ul { margin: 0; padding-left: 20px; }
.su-errors li + li { margin-top: 4px; }

.su-demo { margin: 22px 0 0; padding: 16px; display: grid; gap: 6px; justify-items: start; background: var(--theme-accent); border: 3px solid var(--theme-ink); border-radius: 20px; font: 700 16px/1.3 var(--display); }
.su-card .su-demo__link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.su-demo__note { font: 600 14px/1.3 var(--body); }

.job .su-list { display: grid; gap: 8px; }
.job .su-list li { display: block; background: none; border-radius: 0; padding: 0 0 0 26px; position: relative; font-size: 16px; font-weight: 700; }
.job .su-list li::before { content: "\f00c"; position: absolute; left: 0; top: 1px; font: 900 14px/1.6 "Font Awesome 6 Free", sans-serif; color: var(--theme-primary-dark); }
.job p a { font-weight: 800; color: var(--theme-ink); }
.su-lede { font-size: clamp(18px, 2.5vw, 21px); }

@media (width >= 700px) { .su-card { padding: 38px 40px 40px; } }
