/* Toppo · Landing de lanzamiento. Mobile first, modo claro y oscuro. */

:root {
    --orange: #f97316;
    --orange-hover: #ea580c;
    --orange-deep: #c2410c;
    --earth: #78350f;
    --in: #10b981;
    --out: #f43f5e;
    --warn: #f59e0b;
    --info: #0ea5e9;

    --bg: #fafaf9;
    --bg-alt: #f5f5f4;
    --card: #ffffff;
    --text: #1c1917;
    --muted: #78716c;
    --border: #e7e5e4;
    --ring: rgb(249 115 22 / 0.35);
    --shadow: 0 10px 30px -12px rgb(120 53 15 / 0.18);
    --shadow-lg: 0 30px 60px -20px rgb(120 53 15 / 0.28);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme='dark'] {
    --bg: #0c0a09;
    --bg-alt: #151210;
    --card: #1c1917;
    --text: #fafaf9;
    --muted: #a8a29e;
    --border: #292524;
    --ring: rgb(249 115 22 / 0.45);
    --shadow: 0 10px 30px -12px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / 0.7);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* An element with [hidden] is never shown, whatever its class says. */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 200ms ease, color 200ms ease;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 800;
}

p {
    margin: 0;
}

[data-lucide],
svg.lucide {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.container--narrow {
    max-width: 780px;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    background: var(--card);
    padding: 8px 14px;
    border-radius: 12px;
}

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 14px;
    padding: 0.8rem 1.3rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms var(--ease), background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgb(249 115 22 / 0.6);
}

.btn--primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

.btn--ghost {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    border-color: var(--orange);
    color: var(--orange-deep);
}

.btn--white {
    background: #fff;
    color: var(--orange-deep);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgb(0 0 0 / 0.35);
}

.btn--line {
    background: var(--c);
    color: #fff;
    margin-top: 1.5rem;
}

.btn--line:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.btn--sm {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    border-radius: 12px;
}

.btn--lg {
    padding: 1rem 1.6rem;
    font-size: 1.05rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    transition: border-color 150ms ease;
}

.icon-btn:hover {
    border-color: var(--orange);
}

.only-dark,
:root[data-theme='dark'] .only-light {
    display: none;
}

:root[data-theme='dark'] .only-dark {
    display: block;
}

.link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--orange-deep);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

:root[data-theme='dark'] .link {
    color: #fb923c;
}

/* Top bar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.topbar.is-scrolled {
    border-color: var(--border);
    box-shadow: 0 8px 24px -18px rgb(0 0 0 / 0.3);
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand b {
    color: var(--orange);
}

.nav {
    display: none;
    gap: 1.6rem;
    margin-left: 1.5rem;
    font-weight: 600;
    color: var(--muted);
}

.nav a:hover {
    color: var(--text);
}

.topbar__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar__actions .btn {
    display: none;
}

.soon-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgb(249 115 22 / 0.12);
    color: var(--orange-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

:root[data-theme='dark'] .soon-pill {
    color: #fdba74;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: pulse 1.8s infinite;
}

.nav.is-open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem 16px 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.nav.is-open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 4rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: float 14s ease-in-out infinite;
}

.blob--1 {
    width: 420px;
    height: 420px;
    background: #fdba74;
    top: -120px;
    right: -80px;
}

.blob--2 {
    width: 320px;
    height: 320px;
    background: #fecaca;
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

.blob--3 {
    width: 260px;
    height: 260px;
    background: #d9f99d;
    top: 40%;
    left: 45%;
    animation-delay: -8s;
    opacity: 0.35;
}

:root[data-theme='dark'] .blob {
    opacity: 0.18;
}

.grid-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(color-mix(in srgb, var(--muted) 35%, transparent) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    opacity: 0.35;
}

.hero__inner {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange-deep);
}

:root[data-theme='dark'] .badge {
    color: #fdba74;
}

.hero h1 {
    margin-top: 1.1rem;
    font-size: clamp(2.3rem, 7.5vw, 4.3rem);
}

/* The headline keeps its size: the rotating word has its own line, so
   nothing moves around it (neither the text nor the phone). */
.h1-line,
.hl {
    display: block;
}

.rotator {
    position: relative;
    display: block;
    height: 1.14em;
    color: var(--orange);
}

.rotator__word {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(0.18em);
    filter: blur(6px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease);
}

.rotator__word.is-active {
    opacity: 1;
    transform: none;
    filter: none;
}

.rotator__word.is-leaving {
    opacity: 0;
    transform: translateY(-0.18em);
    filter: blur(6px);
}

.hl {
    background: linear-gradient(120deg, var(--orange), #ef4444 60%, var(--earth));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

:root[data-theme='dark'] .hl {
    background: linear-gradient(120deg, #fb923c, #f87171 60%, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
}

.lead {
    margin-top: 1.2rem;
    max-width: 36rem;
    font-size: 1.12rem;
    color: var(--muted);
}

.countdown {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 30rem;
}

.countdown__item {
    padding: 0.8rem 0.4rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.countdown__item b {
    display: block;
    font-size: clamp(1.6rem, 6vw, 2.3rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--orange);
}

.countdown__item b.tick {
    animation: tick 300ms var(--ease);
}

.countdown__item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
}

.countdown__date {
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
}

.hero__ctas {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.proof {
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.proof b {
    color: var(--text);
    font-size: 1.05rem;
}

.proof__avatars {
    display: flex;
}

.proof__avatars span {
    width: 34px;
    height: 34px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    background: var(--c);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.proof__avatars span:first-child {
    margin-left: 0;
}

/* Hero visual: phone */
.hero__visual {
    position: relative;
    justify-self: center;
    width: min(100%, 360px);
    padding: 1rem 0 3rem;
}

.phone {
    position: relative;
    width: 270px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 42px;
    background: #1c1917;
    box-shadow: var(--shadow-lg), inset 0 0 0 2px #44403c;
    transform: rotate(-3deg);
    animation: phone 8s ease-in-out infinite;
    will-change: transform;
}

.phone__notch {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 80px;
    height: 20px;
    margin-left: -40px;
    border-radius: 999px;
    background: #0c0a09;
    z-index: 2;
}

.phone__screen {
    position: relative;
    overflow: hidden;
    height: 520px;
    padding: 46px 14px 14px;
    border-radius: 32px;
    background: #fafaf9;
    color: #1c1917;
}

.app-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
}

.app-top__live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #d1fae5;
    color: #047857;
    font-size: 0.65rem;
    font-weight: 800;
}

.app-hello {
    margin-top: 0.8rem;
    font-weight: 800;
    font-size: 0.95rem;
}

.app-card {
    margin-top: 0.6rem;
    padding: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
    color: #fff;
    box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent);
    transition: background 400ms ease;
}

.app-card span {
    font-size: 0.72rem;
    opacity: 0.9;
}

.app-card b {
    display: block;
    font-size: 1.55rem;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.app-card small {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.95;
}

.bars {
    margin-top: 0.6rem;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 46px;
}

.bars i {
    flex: 1;
    height: var(--h);
    border-radius: 5px;
    background: rgb(255 255 255 / 0.4);
    transform-origin: bottom;
    animation: grow 1.2s var(--ease) both;
}

.bars i.is-today {
    background: #fff;
}

.bars i:nth-child(2) { animation-delay: 80ms; }
.bars i:nth-child(3) { animation-delay: 160ms; }
.bars i:nth-child(4) { animation-delay: 240ms; }
.bars i:nth-child(5) { animation-delay: 320ms; }
.bars i:nth-child(6) { animation-delay: 400ms; }
.bars i:nth-child(7) { animation-delay: 480ms; }

.app-grid {
    margin-top: 0.7rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f5f5f4;
    font-size: 0.6rem;
    font-weight: 700;
}

.app-tile svg {
    width: 30px;
    height: 30px;
    padding: 7px;
    border-radius: 50%;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
}

.app-feed {
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f5f5f4;
    font-size: 0.72rem;
    animation: slide-in 450ms var(--ease) both;
}

.feed-item svg {
    width: 26px;
    height: 26px;
    padding: 6px;
    border-radius: 50%;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
}

.feed-item div {
    flex: 1;
    line-height: 1.25;
}

.feed-item small {
    display: block;
    color: #a8a29e;
    font-size: 0.62rem;
}

.feed-item b {
    font-variant-numeric: tabular-nums;
}

.feed-item b.in {
    color: #059669;
}

.feed-item b.out {
    color: #e11d48;
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    animation: bob 6s ease-in-out infinite;
}

.float-chip--1 {
    top: 0;
    left: -28px;
    color: var(--info);
}

.float-chip--2 {
    top: 46%;
    right: 0;
    color: var(--in);
    animation-delay: -2s;
}

.float-chip--3 {
    bottom: 18%;
    left: -24px;
    color: var(--warn);
    animation-delay: -4s;
}

.float-chip--1,
.float-chip--3 {
    display: none;
}

.mascot {
    position: absolute;
    right: -6px;
    bottom: 84px;
    width: 130px;
    filter: drop-shadow(0 14px 18px rgb(120 53 15 / 0.25));
}

.mascot__body {
    animation: peek 5s ease-in-out infinite;
    transform-origin: 32px 56px;
}

.mascot__pupils {
    transition: transform 120ms linear;
}

.mascot__wave {
    transform-origin: 41px 52px;
    animation: wave 2.6s ease-in-out infinite;
}

/* Marquee */
.marquee {
    overflow: hidden;
    padding: 1.1rem 0;
    background: var(--orange);
    color: #fff;
    transform: rotate(-1.2deg);
    margin: 0 -10px;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee__group {
    display: flex;
    gap: 2.2rem;
    padding-right: 2.2rem;
}

.marquee span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.05rem;
    white-space: nowrap;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section__head {
    max-width: 44rem;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.section__head h2,
.why h2,
.founders h2,
.form-aside h2 {
    font-size: clamp(1.9rem, 4.6vw, 2.9rem);
}

.section__head p {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange-deep);
}

:root[data-theme='dark'] .eyebrow {
    color: #fb923c;
}

.eyebrow--light,
:root[data-theme='dark'] .eyebrow--light {
    color: #fed7aa;
}

/* Lines */
.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 180ms ease;
}

.tab svg {
    color: var(--c);
}

.tab:hover {
    border-color: var(--c);
}

.tab.is-active {
    background: var(--c);
    border-color: var(--c);
    color: #fff;
    box-shadow: 0 12px 24px -10px var(--c);
}

.tab.is-active svg {
    color: #fff;
}

.line-panel {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.line-panel::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: -160px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent);
}

.line-panel[hidden] {
    display: none;
}

.line-panel.is-active {
    animation: fade-up 500ms var(--ease);
}

.line-panel__copy,
.line-panel__mock {
    position: relative;
}

.line-panel__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c) 14%, transparent);
    color: var(--c);
    font-size: 0.85rem;
    font-weight: 800;
}

.line-panel h3 {
    margin-top: 0.9rem;
    font-size: clamp(1.5rem, 3.6vw, 2.1rem);
}

.line-panel p {
    margin-top: 0.7rem;
    color: var(--muted);
}

.checks {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.checks li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-weight: 600;
}

.checks svg {
    margin-top: 0.2rem;
    color: var(--c, var(--in));
}

.ticket {
    max-width: 340px;
    margin: 0 auto;
    padding: 1.2rem;
    border-radius: 22px;
    background: var(--bg);
    border: 1px dashed color-mix(in srgb, var(--c) 45%, var(--border));
    transform: rotate(2deg);
    transition: transform 300ms var(--ease);
}

.line-panel:hover .ticket {
    transform: rotate(0) scale(1.02);
}

.ticket__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.ticket__pill {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    color: var(--c);
    font-size: 0.7rem;
    font-weight: 800;
}

.ticket__row,
.ticket__total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.ticket__row {
    background: var(--card);
    margin-bottom: 0.4rem;
}

.ticket__row b,
.ticket__total b {
    font-variant-numeric: tabular-nums;
}

.ticket__total {
    margin-top: 0.4rem;
    font-weight: 800;
    font-size: 1.05rem;
}

.ticket__btn {
    margin-top: 0.6rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: var(--c);
    color: #fff;
    text-align: center;
    font-weight: 800;
}

/* Modules */
.modules {
    display: grid;
    gap: 1rem;
}

.module {
    position: relative;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 200ms var(--ease), box-shadow 200ms ease, border-color 200ms ease;
    overflow: hidden;
}

.module::after {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c) 12%, transparent);
    transition: transform 300ms var(--ease);
}

.module:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--c) 45%, var(--border));
    box-shadow: var(--shadow-lg);
}

.module:hover::after {
    transform: scale(1.5);
}

.module__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    color: var(--c);
}

.module__icon svg {
    width: 24px;
    height: 24px;
}

.module h3 {
    margin-top: 1rem;
    font-size: 1.12rem;
}

.module p {
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Why */
.why {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.why__copy > p {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.why__list {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
    display: grid;
    gap: 1rem;
}

.why__list li {
    display: flex;
    gap: 0.9rem;
}

.why__list li > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    color: var(--c);
}

.why__list b {
    display: block;
}

.why__list div {
    color: var(--muted);
    font-size: 0.95rem;
}

.why__list div b {
    color: var(--text);
    font-size: 1rem;
}

.why__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.stat b {
    display: block;
    font-size: clamp(2rem, 6vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--orange);
    font-variant-numeric: tabular-nums;
}

.stat span {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.stat--accent {
    background: linear-gradient(135deg, var(--orange), #ea580c);
    border-color: transparent;
}

.stat--accent b,
.stat--accent span {
    color: #fff;
}

/* Steps */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.step > svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    color: var(--orange);
    background: rgb(249 115 22 / 0.12);
}

.step__n {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: color-mix(in srgb, var(--orange) 18%, transparent);
}

.step h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.step p {
    margin-top: 0.4rem;
    color: var(--muted);
}

/* Founders */
.founders {
    display: grid;
    gap: 2rem;
    padding: 2rem 1.5rem;
    border-radius: 2rem;
    background: radial-gradient(circle at 15% 20%, #fb923c, transparent 45%), linear-gradient(135deg, #ea580c, var(--earth));
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.founders::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(255 255 255 / 0.15) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.founders__copy,
.founders__list {
    position: relative;
    z-index: 1;
}

.founders__copy p {
    margin-top: 0.7rem;
    opacity: 0.9;
    font-size: 1.08rem;
}

.founders__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.founders__list li {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgb(255 255 255 / 0.12);
    border: 1px solid rgb(255 255 255 / 0.18);
    backdrop-filter: blur(6px);
}

.founders__list svg {
    width: 26px;
    height: 26px;
    margin-top: 0.1rem;
}

.founders__list b {
    display: block;
}

.founders__list div {
    font-size: 0.95rem;
    opacity: 0.92;
}

/* Form */
.section--form {
    background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.form-wrap {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.form-aside > p {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.form-aside__mascot {
    display: none;
}

.card {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.form-card {
    position: relative;
    overflow: hidden;
}

.progress {
    height: 8px;
    border-radius: 999px;
    background: var(--bg-alt);
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    width: 25%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--orange), #ef4444);
    transition: width 400ms var(--ease);
}

.progress__label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.step-panel {
    display: none;
}

.step-panel.is-active {
    display: block;
    animation: fade-up 400ms var(--ease);
}

legend {
    display: block;
    margin: 1.1rem 0 1rem;
    padding: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hint {
    margin: -0.4rem 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.choice-grid {
    display: grid;
    gap: 0.7rem;
}

.choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    transition: border-color 150ms ease, transform 150ms ease, background-color 150ms ease;
}

.choice:hover {
    border-color: color-mix(in srgb, var(--c) 55%, var(--border));
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    color: var(--c);
}

.choice__text b {
    display: block;
    font-size: 1.05rem;
}

.choice__text small {
    color: var(--muted);
}

.choice__check {
    margin-left: auto;
    color: var(--c);
    opacity: 0;
    transform: scale(0.5);
    transition: all 180ms var(--ease);
}

.choice:has(input:checked) {
    border-color: var(--c);
    background: color-mix(in srgb, var(--c) 7%, var(--card));
    transform: scale(1.01);
}

.choice:has(input:checked) .choice__check {
    opacity: 1;
    transform: scale(1);
}

.choice:has(input:focus-visible) {
    outline: 3px solid var(--ring);
}

.field {
    margin-bottom: 1rem;
}

.field label,
.field__label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.field small,
.field__label small {
    font-weight: 500;
    color: var(--muted);
}

.field-row {
    display: grid;
    gap: 0 1rem;
}

input[type='text'],
input[type='email'],
input[type='tel'],
select {
    width: 100%;
    height: 50px;
    padding: 0 0.95rem;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2378716c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.4rem;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--ring);
}

.is-invalid {
    border-color: var(--out) !important;
}

.phone-input {
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    overflow: hidden;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.phone-input:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--ring);
}

.phone-input span {
    padding: 0 0.7rem 0 0.9rem;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

.phone-input input {
    border: 0;
    box-shadow: none !important;
    padding-left: 0.2rem;
}

.pills,
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill,
.chip {
    position: relative;
    cursor: pointer;
}

.pill input,
.chip input {
    position: absolute;
    opacity: 0;
}

.pill span,
.chip span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 150ms ease;
}

.pill input:checked + span,
.chip input:checked + span {
    border-color: var(--orange);
    background: rgb(249 115 22 / 0.12);
    color: var(--orange-deep);
}

:root[data-theme='dark'] .pill input:checked + span,
:root[data-theme='dark'] .chip input:checked + span {
    color: #fdba74;
}

.pill input:focus-visible + span,
.chip input:focus-visible + span {
    outline: 3px solid var(--ring);
}

.chip input:checked + span::before {
    content: '✓';
    font-weight: 800;
}

.check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0.6rem 0;
    font-size: 0.92rem;
    cursor: pointer;
}

.check input {
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    accent-color: var(--orange);
    flex-shrink: 0;
}

.field-error {
    min-height: 0;
    margin-top: 0.3rem;
    color: var(--out);
    font-size: 0.85rem;
    font-weight: 600;
}

.field-error:empty {
    display: none;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-top: 0.8rem;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    background: rgb(244 63 94 / 0.1);
    color: var(--out);
    font-weight: 600;
    font-size: 0.92rem;
}

.form-message:empty {
    display: none;
}

.form-actions {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.6rem;
}

.form-actions .btn--primary {
    flex: 1;
}

.btn.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.is-loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2.5px solid rgb(255 255 255 / 0.4);
    border-top-color: #fff;
    animation: spin 700ms linear infinite;
}

/* Success */
.success {
    position: relative;
    text-align: center;
    padding: 1rem 0.5rem 0.5rem;
    animation: fade-up 500ms var(--ease);
}

.success canvas {
    position: absolute;
    inset: -1.4rem;
    width: calc(100% + 2.8rem);
    height: calc(100% + 2.8rem);
    pointer-events: none;
}

.success__mascot {
    margin: 0 auto;
    animation: celebrate 1.2s var(--ease) both;
}

.success h3 {
    margin-top: 0.8rem;
    font-size: 1.8rem;
}

.success > p {
    margin-top: 0.5rem;
    color: var(--muted);
}

.success__position {
    margin: 1.2rem auto;
    display: inline-flex;
    flex-direction: column;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--orange), #ef4444);
    color: #fff;
    box-shadow: 0 16px 30px -12px rgb(239 68 68 / 0.6);
}

.success__position span {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
}

.success__position b {
    font-size: 2.8rem;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.success .hint {
    margin: 0.4rem 0 0.8rem;
}

.success__share {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

/* FAQ */
.faq {
    display: grid;
    gap: 0.7rem;
}

.faq__item {
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary svg {
    color: var(--orange);
    transition: transform 200ms var(--ease);
}

.faq__item[open] summary svg {
    transform: rotate(180deg);
}

.faq__item p {
    padding: 0 1.2rem 1.2rem;
    color: var(--muted);
}

/* Final CTA */
.cta-final {
    padding: 4rem 0;
    background: var(--orange);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 10%, rgb(255 255 255 / 0.25), transparent 40%), radial-gradient(circle at 10% 90%, rgb(120 53 15 / 0.35), transparent 45%);
}

.cta-final__inner {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1.4rem;
    text-align: center;
}

.cta-final h2 {
    font-size: clamp(1.8rem, 4.6vw, 2.6rem);
}

.cta-final p {
    margin-top: 0.5rem;
    opacity: 0.92;
    font-size: 1.08rem;
}

.cta-final img {
    animation: bob 4s ease-in-out infinite;
}

/* Footer */
.footer {
    padding: 2.5rem 0 6rem;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: grid;
    gap: 0.8rem;
    justify-items: center;
    text-align: center;
    color: var(--muted);
}

.brand--footer {
    color: var(--text);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    font-weight: 600;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer__links a:hover {
    color: var(--orange);
}

/* Sticky CTA (phone) */
.sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem;
    border-radius: 16px;
    background: var(--orange);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 30px -10px rgb(249 115 22 / 0.7);
    transform: translateY(150%);
    transition: transform 300ms var(--ease);
}

.sticky-cta.is-visible {
    transform: none;
}

/* Modal */
.modal {
    width: min(92vw, 560px);
    padding: 1.6rem;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--card);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.modal::backdrop {
    background: rgb(12 10 9 / 0.55);
    backdrop-filter: blur(4px);
}

.modal h3 {
    font-size: 1.3rem;
    padding-right: 2.5rem;
}

.modal p,
.modal li {
    color: var(--muted);
    font-size: 0.95rem;
}

.modal p {
    margin-top: 0.6rem;
}

.modal ul {
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.modal li b {
    color: var(--text);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); }
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.08); }
}

@keyframes phone {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-8px); }
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes peek {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px) rotate(-2deg); }
}

@keyframes wave {
    0%, 60%, 100% { transform: rotate(0); }
    10%, 30% { transform: translate(2px, -14px) rotate(-18deg); }
    20%, 40% { transform: translate(2px, -14px) rotate(10deg); }
}

@keyframes grow {
    from { transform: scaleY(0.15); }
}

@keyframes slide-in {
    from { opacity: 0; transform: translateY(-12px) scale(0.96); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
}

@keyframes tick {
    from { transform: translateY(-30%); opacity: 0.3; }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes celebrate {
    0% { transform: scale(0.4) rotate(-12deg); opacity: 0; }
    60% { transform: scale(1.12) rotate(4deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); }
}

/* Larger screens */
@media (min-width: 640px) {
    .choice-grid {
        grid-template-columns: 1fr 1fr;
    }

    .field-row {
        grid-template-columns: 1fr 1fr;
    }

    .modules {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .card {
        padding: 2rem;
    }

    .float-chip--1,
    .float-chip--3 {
        display: flex;
    }

    .float-chip--2 {
        right: -18px;
    }
}

@media (min-width: 900px) {
    .nav {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .topbar__actions .btn {
        display: inline-flex;
    }

    .hero {
        padding: 4rem 0 6rem;
    }

    .hero__inner {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .hero__visual {
        width: 400px;
    }

    .phone {
        width: 290px;
    }

    .phone__screen {
        height: 560px;
    }

    .mascot {
        width: 150px;
        right: -56px;
        bottom: 96px;
    }

    .line-panel {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 2.6rem;
    }

    .modules {
        grid-template-columns: repeat(4, 1fr);
    }

    .why {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .founders {
        grid-template-columns: 0.9fr 1.1fr;
        padding: 3.2rem;
        align-items: center;
    }

    .founders__list {
        grid-template-columns: 1fr 1fr;
    }

    .form-wrap {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 3rem;
    }

    .form-aside {
        position: sticky;
        top: 100px;
    }

    .form-aside__mascot {
        display: block;
        margin-top: 2rem;
        animation: bob 5s ease-in-out infinite;
    }

    .cta-final__inner {
        grid-template-columns: auto 1fr auto;
        text-align: left;
    }

    .sticky-cta {
        display: none;
    }

    .footer {
        padding-bottom: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------------------------------------------------------------------
   The phone of the hero: one scene per line of Toppo, every 5 seconds.
   --------------------------------------------------------------------- */
.app {
    transition: opacity 320ms var(--ease), transform 320ms var(--ease), filter 320ms var(--ease);
}

.app.is-switching {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    filter: blur(2px);
}

.app-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: color-mix(in srgb, var(--accent) 80%, #000);
    font-size: 0.66rem;
    font-weight: 800;
    transition: background-color 400ms ease, color 400ms ease;
}

.app-line svg {
    width: 13px;
    height: 13px;
}

.app-hello {
    margin-top: 0.45rem;
}

.app-card small svg {
    width: 12px;
    height: 12px;
}

.feed-item b.info {
    color: #0284c7;
}

.scene-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1.4rem;
    position: relative;
    z-index: 2;
}

.scene-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 200ms ease, border-color 200ms ease;
}

.scene-dot svg {
    width: 14px;
    height: 14px;
    color: var(--c);
}

.scene-dot.is-active {
    color: var(--text);
    border-color: var(--c);
}

/* How long until the next scene. */
.scene-dot.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--c);
    transform-origin: left;
    animation: scene-progress var(--scene-ms, 5000ms) linear forwards;
}

.scene-dot.is-paused::after {
    animation-play-state: paused;
}

.float-chip span {
    transition: opacity 300ms ease;
}

.float-chip.is-switching span {
    opacity: 0;
}

@keyframes scene-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ---------------------------------------------------------------------
   Contact and social networks
   --------------------------------------------------------------------- */
.social-icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.socials--center {
    justify-content: center;
}

.social {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c) 12%, var(--card));
    color: var(--c);
    border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
    transition: transform 180ms var(--ease), background-color 180ms ease, color 180ms ease;
}

:root[data-theme='dark'] .social[style*='#111111'] {
    color: #fafaf9;
    --c: #fafaf9;
}

.social:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--c);
    color: #fff;
}

:root[data-theme='dark'] .social[style*='#111111']:hover {
    color: #0c0a09;
}

.social .social-icon {
    width: 22px;
    height: 22px;
}

.contact {
    margin-top: 2rem;
    display: grid;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgb(37 211 102 / 0.1), rgb(249 115 22 / 0.08));
    border: 1px solid var(--border);
}

.contact h3 {
    font-size: 1.4rem;
}

.contact p {
    margin-top: 0.4rem;
    color: var(--muted);
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.success__follow {
    margin-top: 1.4rem !important;
}

.footer .socials {
    margin: 0.4rem 0;
}

/* Floating WhatsApp: a circle on the phone, with its label on a computer. */
.wa-float {
    position: fixed;
    right: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 41;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px -10px rgb(37 211 102 / 0.75);
    transition: transform 180ms var(--ease);
}

.wa-float:hover {
    transform: translateY(-3px);
}

.wa-float .social-icon {
    width: 28px;
    height: 28px;
}

.wa-float span {
    display: none;
}

@media (min-width: 640px) {
    .contact {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 900px) {
    .wa-float {
        right: 24px;
        bottom: 24px;
        padding: 0.8rem 1.2rem 0.8rem 0.9rem;
    }

    .wa-float span {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene-dot.is-active::after {
        animation: none;
        transform: scaleX(1);
    }
}

/* ---------------------------------------------------------------------
   Floating WhatsApp: a little chat with the greeting of Toppo
   --------------------------------------------------------------------- */
.wa-widget {
    position: fixed;
    right: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
}

.wa-widget .wa-float {
    position: relative;
    right: auto;
    bottom: auto;
}

.wa-float__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    border: 2px solid var(--bg);
    animation: badge-pop 2.4s ease-in-out infinite;
}

.wa-widget.is-open .wa-float {
    background: #128c7e;
}

.wa-teaser {
    position: relative;
    max-width: 230px;
    padding: 0.75rem 2rem 0.75rem 0.9rem;
    border-radius: 16px 16px 4px 16px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    animation: teaser-in 400ms var(--ease) both;
}

.wa-teaser__close {
    position: absolute;
    top: 4px;
    right: 6px;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 1.1rem;
    cursor: pointer;
}

.wa-panel {
    width: min(340px, calc(100vw - 32px));
    max-height: min(560px, calc(100dvh - 140px));
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px -18px rgb(0 0 0 / 0.35);
    transform-origin: bottom right;
    animation: panel-in 260ms var(--ease) both;
}

.wa-panel__head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    background: #075e54;
    color: #fff;
}

.wa-panel__avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
}

.wa-panel__avatar img {
    width: 34px;
    height: 34px;
}

.wa-panel__head b {
    display: block;
    font-size: 1rem;
}

.wa-panel__head small {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    opacity: 0.9;
}

.wa-panel__head .dot {
    color: #25d366;
}

.wa-panel__close {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.15);
    color: #fff;
    cursor: pointer;
}

.wa-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #efeae2;
    background-image: radial-gradient(rgb(0 0 0 / 0.05) 1px, transparent 1px);
    background-size: 14px 14px;
}

:root[data-theme='dark'] .wa-panel__body {
    background-color: #0b141a;
    background-image: radial-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px);
}

.wa-bubble {
    position: relative;
    max-width: 92%;
    padding: 0.7rem 0.85rem 1.2rem;
    border-radius: 0 14px 14px 14px;
    background: #fff;
    color: #111b21;
    font-size: 0.9rem;
    line-height: 1.45;
    box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
    animation: bubble-in 400ms 120ms var(--ease) both;
}

:root[data-theme='dark'] .wa-bubble {
    background: #202c33;
    color: #e9edef;
}

.wa-bubble__time {
    position: absolute;
    right: 0.6rem;
    bottom: 0.3rem;
    font-size: 0.65rem;
    color: #8696a0;
}

.wa-options {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.45rem;
}

.wa-options button {
    justify-self: end;
    max-width: 92%;
    padding: 0.55rem 0.85rem;
    border-radius: 14px 14px 0 14px;
    border: 1.5px solid #25d366;
    background: rgb(37 211 102 / 0.08);
    color: #075e54;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    animation: bubble-in 400ms var(--ease) both;
    transition: background-color 150ms ease, transform 150ms ease;
}

:root[data-theme='dark'] .wa-options button {
    color: #d1f4de;
}

.wa-options button:nth-child(1) { animation-delay: 300ms; }
.wa-options button:nth-child(2) { animation-delay: 380ms; }
.wa-options button:nth-child(3) { animation-delay: 460ms; }
.wa-options button:nth-child(4) { animation-delay: 540ms; }
.wa-options button:nth-child(5) { animation-delay: 620ms; }
.wa-options button:nth-child(6) { animation-delay: 700ms; }

.wa-options button:hover,
.wa-options button.is-chosen {
    background: #25d366;
    color: #fff;
    transform: translateX(-2px);
}

.wa-panel__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.95rem;
    border: 0;
    background: #25d366;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.wa-panel__cta:hover {
    background: #1ebe5b;
}

.wa-panel__cta .social-icon {
    width: 22px;
    height: 22px;
}

/* The section "Sistema POS" */
.pos-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.pos-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    font-weight: 600;
}

.pos-features svg {
    color: var(--in);
}

.pos-note {
    margin: 1.6rem auto 0;
    max-width: 46rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (min-width: 640px) {
    .pos-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .wa-widget {
        right: 24px;
        bottom: 24px;
    }

    .pos-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@keyframes badge-pop {
    0%, 80%, 100% { transform: scale(1); }
    90% { transform: scale(1.25); }
}

@keyframes teaser-in {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
}

@keyframes panel-in {
    from { opacity: 0; transform: translateY(16px) scale(0.92); }
}

@keyframes bubble-in {
    from { opacity: 0; transform: translateY(8px); }
}

/* Official WhatsApp and the company behind Toppo */
.footer__official,
.contact__official {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
}

.footer__official {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgb(37 211 102 / 0.1);
    color: var(--text);
}

.footer__official .social-icon,
.contact__official .social-icon {
    color: #25d366;
}

.footer__official b,
.contact__official b {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.contact__official {
    margin-top: 0.6rem !important;
    color: var(--text) !important;
}

.footer__company {
    max-width: 40rem;
    font-size: 0.9rem;
}

.footer__company a {
    color: var(--orange-deep);
}

.footer__company a:hover {
    text-decoration: underline;
}

:root[data-theme='dark'] .footer__company a {
    color: #fb923c;
}
