Refine landing: mobile signature, clearer form, closing the 2π turn

- Fix 320px overflow; nav switches to the menu below 1024px; per-stage
  mini cycles below lg where the sticky cycle is hidden.
- Form placeholders become hints (dimmer, not fake values).
- Bring the cycle to the contact close ("Escribirnos te pone en el 0°")
  and to the thank-you page (Relevamiento lit, "tu vuelta empezó").
- Sticky cycle: ring fills with the stage being read and closes at
  360° on the closing line, with a single pulse at 0°; iteration
  counter loops 1–3 and clears when inactive.
- Nav order matches the page; check marks for hero promises; email
  link on the thank-you page; unified "1 día hábil" and "turn" copy.
- Record critique snapshots and update DESIGN.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jose Selesan
2026-11-05 21:19:00 -03:00
parent 0c18c6c834
commit 93bc7688c3
9 changed files with 268 additions and 57 deletions

File diff suppressed because one or more lines are too long

View File

@@ -107,7 +107,7 @@
@apply border-line;
}
.nav-link {
@apply rounded-md px-3 py-2 text-[0.9375rem] font-medium text-ink-2 transition-colors hover:text-ink;
@apply whitespace-nowrap rounded-md px-3 py-2 text-[0.9375rem] font-medium text-ink-2 transition-colors hover:text-ink;
}
.lang-link {
@apply rounded-md px-2.5 py-2 text-sm font-medium text-muted transition-colors hover:text-ink;
@@ -214,6 +214,27 @@
font-variant-numeric: tabular-nums;
transition: opacity 0.3s ease;
}
/* Sticky cycle: the ring is a faint track that fills as the reader advances */
.cycle .track {
opacity: 0.2;
}
.cycle .progress {
stroke-dasharray: 1;
}
.cycle .progress-a {
stroke-dashoffset: calc(1 - var(--pa, 1));
}
.cycle .progress-b {
stroke-dashoffset: calc(1 - var(--pb, 1));
}
@media (prefers-reduced-motion: no-preference) {
.cycle .progress {
transition: stroke-dashoffset 0.6s var(--ease-out);
}
.cycle[data-complete] .stage-0 .node {
animation: node-pulse 0.9s var(--ease-out) 0.45s;
}
}
.cycle .loop-arc {
stroke-width: 7;
}
@@ -238,6 +259,30 @@
animation-delay: 0.95s;
}
}
/* "Writing to us is your 0°": hidden only while JS waits for it to scroll in; drawn once */
@media (prefers-reduced-motion: no-preference) {
.start-turn.is-waiting .st-arc {
stroke-dasharray: 1;
stroke-dashoffset: 1;
}
.start-turn.is-waiting .st-node {
transform: scale(0);
}
.start-turn .st-node {
transform-box: fill-box;
transform-origin: center;
}
.start-turn.is-drawn .st-arc {
stroke-dasharray: 1;
animation: cycle-draw 0.9s var(--ease-out) both;
}
.start-turn.is-drawn .st-arc-b {
animation-delay: 0.3s;
}
.start-turn.is-drawn .st-node {
animation: cycle-node 0.5s var(--ease-out) 0.7s both;
}
}
.iter-steps > li {
@apply border-t border-dashed border-line;
}
@@ -262,7 +307,7 @@
animation-delay: 0.45s;
}
.cycle-draw .node {
animation: cycle-node 0.5s var(--ease-out) both;
animation: cycle-node 0.5s var(--ease-out) backwards;
}
.cycle-draw .stage-0 .node {
animation-delay: 0.05s;
@@ -276,13 +321,10 @@
.cycle-draw .stage-3 .node {
animation-delay: 0.8s;
}
.cycle-draw .stage-4 .node {
animation-delay: 1.05s;
}
}
/* Sticky cycle in "How we work": the node of the stage being read comes forward */
/* Inactive nodes keep an opaque white fill (the arc never shows through); only the outline dims */
/* Active stage (sticky cycle in "How we work", thanks page): its node comes forward.
Inactive nodes keep an opaque white fill (the arc never shows through); only the outline dims. */
.cycle[data-active] .stage .node-a circle {
stroke: #ffcaa5;
}
@@ -294,8 +336,7 @@
.cycle[data-active="2"] .stage-2 .node-a circle {
stroke: #ff7f2a;
}
.cycle[data-active="3"] .stage-3 .node-b circle,
.cycle[data-active="4"] .stage-4 .node-b circle {
.cycle[data-active="3"] .stage-3 .node-b circle {
stroke: #0079ff;
}
.cycle[data-active] .stage .label {
@@ -307,15 +348,13 @@
.cycle[data-active="0"] .stage-0 :is(.node, .label, .deg),
.cycle[data-active="1"] .stage-1 :is(.node, .label, .deg),
.cycle[data-active="2"] .stage-2 :is(.node, .label, .deg),
.cycle[data-active="3"] .stage-3 :is(.node, .label, .deg),
.cycle[data-active="4"] .stage-4 :is(.node, .label, .deg) {
.cycle[data-active="3"] .stage-3 :is(.node, .label, .deg) {
opacity: 1;
}
.cycle[data-active="0"] .stage-0 .node,
.cycle[data-active="1"] .stage-1 .node,
.cycle[data-active="2"] .stage-2 .node,
.cycle[data-active="3"] .stage-3 .node,
.cycle[data-active="4"] .stage-4 .node {
.cycle[data-active="3"] .stage-3 .node {
transform: scale(1.45);
}
.cycle[data-active="0"] .stage-0 .node-a circle,
@@ -323,8 +362,7 @@
.cycle[data-active="2"] .stage-2 .node-a circle {
fill: #ff7f2a;
}
.cycle[data-active="3"] .stage-3 .node-b circle,
.cycle[data-active="4"] .stage-4 .node-b circle {
.cycle[data-active="3"] .stage-3 .node-b circle {
fill: #0079ff;
}
@@ -335,6 +373,10 @@
.stage-deg {
@apply tnum text-base font-medium;
}
/* Below lg there is no sticky cycle: each stage carries a mini cycle with its own node marked */
.mini-cycle {
@apply mb-1 block h-6 w-6 lg:hidden;
}
/* Mobile menu */
.menu-btn {
@@ -416,8 +458,10 @@
.field {
@apply mt-2 block w-full rounded-lg border border-night-edge bg-night-field px-4 py-3 text-base text-white transition-colors duration-150;
}
/* Placeholders are hints, never values: dimmer than typed text (#7a849d ≈ 4.6:1 on the field) */
.field::placeholder {
color: #8e98ad;
color: #7a849d;
opacity: 1;
}
.field:hover {
border-color: #74809d;
@@ -471,11 +515,14 @@
}
}
@keyframes node-pulse {
40% {
transform: scale(1.9);
}
}
@keyframes cycle-node {
from {
transform: scale(0);
}
to {
transform: scale(1);
}
}