/* Lupant — «Calma con chispa» (docs/design/visual_direction.md in the app). */
:root {
  --teal: #0F766E; --teal-dark: #0B5C55; --teal-soft: #CCEFEA; --teal-bright: #2DD4BF;
  --spark: #F59E0B; --spark-soft: #FEF3C7; --spark-ink: #78350F; --spark-deep: #B45309;
  --savings: #4338CA; --overdue: #B42318;
  --ink: #14161F; --ink2: #4A4E5C; --paper: #F6F5F1; --surface: #FFFFFF; --muted: #EFEDE6; --track: #E2DFD6;
  --night: #0E1116; --night2: #171B22; --night3: #1F242D; --night-ink: #F2F1EC; --night-ink2: #B8BCC8;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Decorations that overhang (the halo, the floating widget) never widen
   the page on a phone. */
html, body { overflow-x: clip; }
/* Jumping to a section leaves room for the sticky header. */
[id] { scroll-margin-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-inline: 24px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }

/* Staging banner */
.staging { background: var(--spark); color: var(--ink); text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(246, 245, 241, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--track); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { flex: none; max-width: none; }
.brand img { border-radius: 11px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.5px; }
.brand em { font-style: normal; color: var(--teal); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink2); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--teal); }
.nav .btn { color: #fff; padding: 11px 20px; }
.btn-get svg { display: none; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px; min-height: 44px; transition: transform .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2D38; color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-light { background: #fff; color: var(--teal); font-weight: 800; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--track); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; padding: 11px 22px; border-radius: 16px; min-height: 44px; transition: transform .2s var(--ease); }
.store:hover { transform: translateY(-2px); color: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-size: 18px; font-weight: 700; }
.store small { font-size: 12px; font-weight: 500; opacity: .8; }

/* Chips */
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }
.pill-spark { background: var(--spark-soft); color: var(--spark-ink); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--muted); color: var(--ink); }
.chip-mint { background: var(--teal-soft); color: var(--teal-dark); }
.chip-amber { background: var(--spark-soft); color: var(--spark-ink); }
.chip-lilac { background: #EEEDFE; color: #3C3489; }
.chip-coral { background: #FAECE7; color: #712B13; }
.chip-sand { background: var(--muted); color: var(--ink); }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; color: var(--teal); }
.eyebrow-spark { color: var(--spark-deep); }
.eyebrow-light { color: var(--teal-bright); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: center; padding-block: 40px 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -2px; }
.hero mark { color: var(--teal); background: linear-gradient(transparent 68%, #FDE68A 68%); background-size: 100% 100%; background-repeat: no-repeat; }
.lead { font-size: 20px; color: var(--ink2); max-width: 540px; }
.web-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.web-link svg { transition: transform .2s var(--ease); }
.web-link:hover svg { transform: translateX(4px); }
.hero-art { position: relative; min-height: 640px; display: flex; justify-content: center; align-items: center; }
.halo { position: absolute; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--teal-soft); }
.hero-mark { position: absolute; width: 300px; right: 0; top: -10px; }

/* Phone mockup */
.phone { position: relative; width: 300px; height: 620px; border-radius: 48px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(20, 22, 31, .22); }
.screen { position: relative; height: 100%; border-radius: 38px; background: var(--night); overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 34px 16px 16px; color: var(--night-ink); }
.ph-date { color: var(--night-ink2); font-size: 12px; }
.ph-hello { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.ph-card { background: var(--teal-bright); color: var(--night); border-radius: 22px; padding: 16px; font-size: 13px; font-weight: 600; }
.ph-amount { display: flex; align-items: baseline; gap: 6px; }
.ph-amount b { font-family: var(--display); font-size: 40px; letter-spacing: -1px; }
.ph-small { font-size: 12px; font-weight: 500; line-height: 1.4; }
.ph-list { background: var(--night2); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ph-row { display: flex; justify-content: space-between; font-size: 13px; background: var(--night3); border-radius: 12px; padding: 9px 11px; }
.ph-title { background: none; padding: 0 0 2px; font-weight: 700; font-size: 14px; }
.ph-bar { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 58px; border-radius: 29px; background: rgba(31, 38, 48, .92); display: flex; align-items: center; justify-content: space-around; }
.ph-bar i { width: 22px; height: 4px; border-radius: 2px; background: var(--ink2); }
.ph-bar i.on { height: 22px; border-radius: 6px; background: var(--teal-bright); }
.ph-bar b { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-bright); color: var(--night); display: flex; align-items: center; justify-content: center; font-size: 26px; }

/* Mini widget */
.mini-widget { display: flex; gap: 10px; width: 250px; background: #fff; border-radius: 24px; padding: 14px; box-shadow: 0 18px 40px rgba(20, 22, 31, .16); font-size: 11px; }
.hero-art .mini-widget { position: absolute; left: -10px; bottom: 40px; }
.mini-buttons { display: flex; flex-direction: column; gap: 6px; }
.mini-buttons i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid; }
.mini-buttons .ring-coral { color: #993C1D; } .mini-buttons .ring-teal { color: #0F6E56; } .mini-buttons .ring-violet { color: #3C3489; }
.w-dark .mini-buttons .ring-coral { color: #F5C4B3; } .w-dark .mini-buttons .ring-teal { color: #9FE1CB; } .w-dark .mini-buttons .ring-violet { color: #CECBF6; }
.mini-list { flex: 1; display: flex; flex-direction: column; gap: 4px; color: var(--ink2); }
.mini-list b { color: var(--ink); }
.mini-list span:first-child b { color: var(--teal); }
.mini-list em { font-style: normal; font-size: 10px; font-weight: 800; }
.mini-list em.late { color: var(--overdue); }
.mini-list .row { display: flex; justify-content: space-between; background: var(--muted); color: var(--ink); border-radius: 7px; padding: 4px 7px; }
.mini-list .late-row { background: #FCEBEB; color: #791F1F; }
.ring-coral { border-color: #D85A30 !important; background: #FAECE7; }
.ring-teal { border-color: #1D9E75 !important; background: #E1F5EE; }
.ring-violet { border-color: #534AB7 !important; background: #EEEDFE; }

/* Strip */
.strip { background: #fff; border-block: 1px solid var(--track); }
.strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-block: 28px; }
.strip-grid div { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.badge { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; }

/* Features */
.features { display: flex; flex-direction: column; gap: 120px; padding-block: 112px 40px; }
.section-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.section-head h2, .privacy h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -1px; max-width: 760px; }
.section-head p { max-width: 620px; color: var(--ink2); }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 64px; align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 16px; }
.feature-copy h3 { font-size: clamp(30px, 3.2vw, 38px); line-height: 1.1; }
.feature-copy p { color: var(--ink2); }
.num { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--teal); }
.art { background: #fff; border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.big-card { background: var(--teal); color: #fff; border-radius: 26px; padding: 28px; }
.big-amount { display: flex; align-items: baseline; gap: 10px; }
.big-amount b { font-family: var(--display); font-size: clamp(44px, 5vw, 64px); letter-spacing: -2px; line-height: 1.05; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags span { background: var(--muted); border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.pend { gap: 10px; }
.pend em { font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--ink2); margin-top: 6px; }
.pend em.late { color: var(--overdue); margin-top: 0; }
.pend em.today { color: var(--teal); }
.pend-row { display: flex; align-items: center; gap: 12px; background: var(--muted); border-radius: 16px; padding: 14px 16px; font-weight: 600; }
.pend-row span { flex: 1; }
.pend-row i { width: 4px; height: 26px; border-radius: 2px; }
.pend-row.late-row { background: #FCEBEB; color: #791F1F; }
.pend-row.late-row b { color: var(--overdue); }
.bar-head { display: flex; justify-content: space-between; align-items: baseline; }
.bar-head b { font-size: 18px; }
.bar-head span { color: var(--ink2); font-size: 15px; }
.bar-row { display: flex; flex-direction: column; gap: 6px; }
.bar-label { display: flex; justify-content: space-between; font-size: 15px; }
.bar { height: 14px; border-radius: 7px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 7px; background: var(--teal); transform-origin: left; }
.bar i.ant { background: var(--spark); }
.w86 { width: 86%; } .w42 { width: 42%; } .w30 { width: 30%; } .w24 { width: 24%; }
.dot-late { background: var(--overdue); } .dot-teal { background: var(--teal); } .dot-spark { background: var(--spark); } .dot-savings { background: var(--savings); }
.chat { gap: 14px; }
.bubble { padding: 12px 18px; max-width: 88%; }
.bubble.me { align-self: flex-end; background: var(--teal); color: #fff; border-radius: 22px 22px 6px 22px; }
.bubble.nova { align-self: flex-start; background: var(--muted); border-radius: 22px 22px 22px 6px; display: flex; flex-direction: column; gap: 10px; }
.chip-btn { align-self: flex-start; background: #fff; border: 1px solid var(--track); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--teal); }
.chat small { color: var(--ink2); font-size: 13px; }
.widgets { background: #8A9BB0; gap: 18px; }
.w-light { background: #fff; border-radius: 26px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.w-head { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.w-head img { border-radius: 7px; }
.w-rings { display: flex; justify-content: space-around; }
.w-rings span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.w-rings i { width: 58px; height: 58px; border-radius: 50%; border: 3px solid; box-shadow: inset 0 0 0 4px #fff; display: flex; align-items: center; justify-content: center; }
.mini-widget.w-dark { width: 100%; background: #1F2630; color: var(--night-ink); box-shadow: none; font-size: 14px; }
.w-dark .mini-list { color: var(--night-ink2); }
.w-dark .mini-list b { color: var(--night-ink); }
.w-dark .mini-list span:first-child b { color: var(--teal-bright); }
.w-dark .mini-list .row { background: #2A3240; color: var(--night-ink); }
.w-dark .mini-list em.late { color: #F97066; }
.w-dark .mini-buttons i { width: 38px; height: 38px; }
.w-dark .ring-coral { background: #712B13; border-color: #F0997B !important; }
.w-dark .ring-teal { background: #085041; border-color: #5DCAA5 !important; }
.w-dark .ring-violet { background: #3C3489; border-color: #AFA9EC !important; }
.goals { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.ring-62 { --p: 62%; }
.ring { width: 170px; height: 170px; border-radius: 50%; background: conic-gradient(var(--savings) 0 var(--p), var(--track) var(--p) 100%); display: flex; align-items: center; justify-content: center; }
.ring > div { width: 136px; height: 136px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring b { font-family: var(--display); font-size: 34px; }
.ring span { font-size: 13px; color: var(--ink2); }
.streak { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--ink2); }
.streak .pill { font-size: 16px; font-weight: 800; padding: 10px 16px; }

/* Privacy */
.dark { background: var(--night); color: var(--night-ink); margin-top: 80px; }
.privacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 56px; align-items: start; padding-block: 104px; }
.privacy > div:first-child { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.light-link { color: var(--teal-bright); font-weight: 700; }
.light-link:hover { color: #5EEAD4; }
.privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.dark-card { background: var(--night2); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.dark-card b { font-size: 19px; }
.dark-card span { color: var(--night-ink2); font-size: 16px; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 48px; padding-block: 112px 40px; }
.steps h2, .row-head h2, .more-title { font-size: clamp(32px, 4vw, 46px); letter-spacing: -1px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { background: #fff; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.step span { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 22px var(--display); display: flex; align-items: center; justify-content: center; }
.step b { font-size: 20px; }
.step p { color: var(--ink2); }

/* Cards */
.posts-home { display: flex; flex-direction: column; gap: 32px; padding-block: 96px 40px; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.row-head > div { display: flex; flex-direction: column; gap: 10px; }
.row-head a { font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(20, 22, 31, .10); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-family: var(--body); font-size: 20px; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.card p { color: var(--ink2); font-size: 16px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.cover { height: 170px; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.cover span { font: 800 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -0.5px; }
.tone-mint { background: var(--teal-soft); color: var(--teal-dark); }
.tone-amber { background: #FDE68A; color: var(--spark-ink); }
.tone-lilac { background: #EEEDFE; color: #3C3489; }
.tone-coral { background: #FAECE7; color: #712B13; }
.tone-sand { background: var(--muted); color: var(--ink); }
.card-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-radius: 36px; margin-bottom: 24px; }
.card-featured .cover { height: auto; min-height: 320px; }
.card-featured .cover span { font-size: clamp(36px, 4vw, 56px); }
.card-featured .card-body { padding: 40px; justify-content: center; gap: 14px; }
.card-featured h2 { font-size: 38px; line-height: 1.1; }
.more { font-weight: 700; color: var(--teal); }
.tip-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--spark-soft); border-radius: 24px; padding: 20px 26px; text-decoration: none; color: var(--spark-ink); }
.tip-banner b { flex: 1; font-size: 18px; }
.tip-banner .chip { background: #fff; }
.insta { background: #fff; border-radius: 28px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-block: 32px 0; }
.insta-copy { display: flex; align-items: center; gap: 14px; color: var(--ink2); font-size: 16px; }
.insta-copy b { color: var(--ink); font-size: 17px; }
.insta-icon { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--ink); display: flex; align-items: center; justify-content: center; }

/* Download */
#descargar { padding-block: 96px 112px; }
.cta { background: var(--teal); color: #fff; border-radius: 40px; padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; align-items: center; }
.cta > div { display: flex; flex-direction: column; gap: 20px; }
.cta h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -1.2px; }
.cta p { font-size: 19px; opacity: .92; }
.cta img { justify-self: center; width: 100%; max-width: 440px; background: #fff; border-radius: 32px; padding: 24px; }

/* Lists and posts */
.list-head { display: flex; flex-direction: column; gap: 14px; padding-block: 48px 32px; }
.list-head h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -1.5px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.filter { font-size: 15px; font-weight: 700; border: 1px solid var(--track); border-radius: 999px; padding: 9px 18px; background: #fff; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.filter:hover { border-color: var(--ink2); color: var(--ink); }
.filter.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.list-body { padding-block: 16px 48px; }
.empty { color: var(--ink2); }
.post { display: flex; flex-direction: column; gap: 18px; padding-block: 40px 64px; }
.back { font-weight: 700; text-decoration: none; }
.post h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -1.2px; }
.cover-wide { height: 260px; border-radius: 32px; }
.cover-wide span { font-size: clamp(36px, 6vw, 60px); }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 18px; padding: 16px 20px; background: var(--teal-soft); border-radius: 18px; color: var(--teal-dark); }
.post-cta { background: #fff; border-radius: 28px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.more-title { margin-bottom: 24px; }
.notfound { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-block: 72px 120px; }
.notfound h1 { font-size: clamp(32px, 4vw, 48px); }

/* Footer */
.foot { background: #fff; border-top: 1px solid var(--track); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-block: 48px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot-grid nav a { color: var(--ink2); }
.foot-brand { display: flex; flex-direction: column; gap: 12px; color: var(--ink2); }
.foot-brand .brand span { font-size: 22px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px 32px; border-top: 1px solid var(--muted); color: var(--ink2); font-size: 14px; }
.powered { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
/* Explicit size: Safari draws an SVG with only a viewBox at zero width
   once the global `height: auto` applies. */
.powered img { width: 40px; height: 40px; flex: none; }
.foot-grid nav a, .foot-legal a { text-decoration: none; }
.foot-grid nav a:hover { color: var(--teal); text-decoration: underline; }

/* Motion: short, calm, and only when the system allows it. */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes underline { to { background-size: 100% 100%; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* With JavaScript, the hero waits hidden until the page has painted and
   its fonts are in (site.js adds `ready`), so the motion happens where
   people can see it instead of before the first paint. */
.js .rise, .js .pop { opacity: 0; }
.js .hero mark { background-size: 0 100%; }
.ready .rise { animation: rise .9s .3s var(--ease) both; }
.ready .rise-2 { animation-delay: .45s; }
.ready .rise-3 { animation-delay: .6s; }
.ready .rise-4 { animation-delay: .75s; }
.ready .pop { animation: pop .9s .8s var(--ease) both; }
.ready .hero mark { animation: underline 1.1s 1.3s var(--ease) forwards; }
.float { animation: float 6s ease-in-out infinite; }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; transition-delay: .3s; }
.js .reveal .bar i { transform: scaleX(0); }
.js .reveal.in .bar i { animation: grow 1s .2s var(--ease) forwards; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal .bar i, .js .rise, .js .pop { opacity: 1; transform: none; }
  .js .hero mark { background-size: 100% 100%; }
  .hero mark { background-size: 100% 100%; }
}

@media (max-width: 720px) {
  .hero { padding-block: 16px 64px; }
  /* The hero keeps the large page's composition (phone, logo, halo,
     widget) at a fixed design width and is scaled down as a whole, so the
     logo stays in proportion to the phone. */
  .hero-art { width: 520px; min-height: 640px; justify-self: center; zoom: .78; }
  .feature.flip .feature-copy { order: 0; }
  .features { gap: 80px; padding-block: 72px 24px; }
  .art { padding: 22px; }
  .cta img { max-width: 220px; padding: 16px; border-radius: 24px; }
  .card-featured .cover { min-height: 200px; }
  .card-featured .card-body { padding: 24px; }
  .card-featured h2 { font-size: 30px; }
  .cover-wide { height: 180px; border-radius: 24px; }
  .top-row { flex-wrap: nowrap; padding-block: 10px; }
  .brand span { font-size: 22px; }
  .brand img { width: 34px; height: 34px; }
  .nav { flex-wrap: nowrap; gap: 14px; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
  .nav a:not(.btn):not([href="/novedades"]):not([href="/consejos"]) { display: none; }
  .nav .btn { padding: 9px 16px; min-height: 40px; }
}

@media (max-width: 460px) { .hero-art { zoom: .72; } }
@media (max-width: 410px) { .hero-art { zoom: .66; } }
@media (max-width: 380px) { .hero-art { zoom: .62; } }
@media (max-width: 345px) { .hero-art { zoom: .55; } }

/* A phone: «Descargar» becomes a round download icon; on hover or
   keyboard focus its word shows in a small label under it, so the
   header never grows past the screen. */
@media (max-width: 430px) {
  .top-row { gap: 10px; }
  .nav { gap: 14px; overflow: visible; }
  .nav .btn-get { position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .nav .btn-get:hover { transform: none; }
  .btn-get svg { display: block; }
  .btn-get .btn-label { position: absolute; right: 0; top: calc(100% + 8px); background: var(--ink); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .btn-get:hover .btn-label, .btn-get:focus-visible .btn-label { opacity: 1; transform: none; }
}
@media (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  .top .brand span { display: none; }
  .nav { gap: 12px; font-size: 13px; }
}

/* Pricing (ADR-0039 in the app repo) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pricing { display: flex; flex-direction: column; gap: 40px; padding-block: 112px 40px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--track); border-radius: 32px; padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20, 22, 31, .10); }
.plan header { display: flex; flex-direction: column; gap: 4px; }
.plan h3 { font-size: 26px; }
.plan header p { color: var(--ink2); font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 800 clamp(48px, 5vw, 60px)/1 var(--display); letter-spacing: -2px; }
.price span { color: var(--ink2); font-weight: 600; }
.price-note { font-size: 15px; color: var(--teal-dark); font-weight: 600; min-height: 2.8em; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--muted); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.plan li svg { flex: none; margin-top: 3px; color: var(--teal); }
.plan .btn { justify-content: center; }
.plan-featured { background: var(--night); border-color: var(--night); color: var(--night-ink); box-shadow: 0 24px 48px rgba(14, 17, 22, .22); }
.plan-featured:hover { box-shadow: 0 28px 56px rgba(14, 17, 22, .28); }
.plan-featured header p, .plan-featured .price span { color: var(--night-ink2); }
.plan-featured .price-note { color: var(--teal-bright); }
.plan-featured ul { border-top-color: var(--night3); }
.plan-featured li svg { color: var(--teal-bright); }
.ribbon { position: absolute; top: -14px; right: 24px; background: var(--spark); color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(245, 158, 11, .35); }
.btn-bright { background: var(--teal-bright); color: var(--night); }
.btn-bright:hover { background: #5EEAD4; color: var(--night); }
.plans-note { text-align: center; color: var(--ink2); font-size: 14px; max-width: 760px; margin-inline: auto; }
.compare { background: #fff; border-radius: 32px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.compare-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.compare-head h3 { font-size: clamp(26px, 3vw, 32px); }
.legend { display: flex; align-items: center; gap: 8px; color: var(--ink2); font-size: 14px; }
.legend .no { margin-left: 10px; }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--muted); }
.compare thead th { font-size: 14px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--ink2); border-bottom: 2px solid var(--track); }
.compare thead th + th, .compare td { text-align: center; width: 26%; }
.compare thead th:first-child { text-align: left; }
.compare thead th:last-child { color: var(--teal); }
.compare tbody th { text-align: left; font-weight: 600; }
.compare td { font-weight: 700; }
.compare tr.group th { padding-top: 24px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); border-bottom: none; }
.compare tbody tr:not(.group):hover { background: var(--paper); }
.yes, .no { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font: 800 16px/1 var(--display); }
.yes { background: var(--teal-soft); color: var(--teal-dark); }
.no { background: var(--muted); color: var(--ink2); }
@media (max-width: 720px) {
  .pricing { padding-block: 72px 24px; }
  .compare th, .compare td { padding: 12px 6px; font-size: 15px; }
  .compare thead th { font-size: 12px; }
}
