/* Fincastor site v1 — app screens as HTML mock-ups (2026-09-29), replacing the scaled PNG captures that blurred.
   The mock is authored at a fixed base width and scaled to its frame by mock.js, so it is crisp at any size. */
.mockwrap { --navy: #081E37; --ink: #0A1A5C; --gold: #F5C842; --gold-soft: rgba(245,200,66,0.55); --green: #1DB85A; --red: #E5484D;
  --text: #F4F7FB; --muted: rgba(244,247,251,0.66); --muted-2: rgba(244,247,251,0.45); --card: rgba(255,255,255,0.06); --line: rgba(255,255,255,0.12);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --display: var(--font); --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  position: absolute; inset: 0; overflow: hidden; background: #081a45; font-family: var(--font); color: var(--text); line-height: 1.4; text-align: left; }
.mockwrap * { box-sizing: border-box; }
.mock { width: 300px; transform-origin: top left; }
.mock--wide { width: 420px; }
.mock .app { min-height: 0; height: 100%; border-radius: 0; }
.mock .app--flat .app__bar { padding-top: 12px; }
.mock .app__bar img { height: 18px; }
.mock h4 { font-size: 18px; margin: 12px 14px 8px; font-weight: 700; line-height: 1.1; }
/* phone mock-ups (real markup, no screenshots) */
.phone { width: 300px; background: linear-gradient(160deg, #2b2f36, #0d0f12); border-radius: 42px; padding: 11px; box-shadow: 0 40px 90px rgba(3, 12, 30, 0.6), inset 0 0 0 2px #3a3f47, inset 0 0 0 3px #15181c; position: relative; transform-style: preserve-3d; }
.phone__notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #0d0f12; z-index: 3; }
.app { border-radius: 32px; overflow: hidden; background-color: #081a45; background-image: radial-gradient(500px 300px at 30% -10%, #1a3d8f, rgba(26,61,143,0)); min-height: 600px; padding: 0 0 18px; font-size: 12px; color: var(--text); position: relative; }
.app--screens { min-height: 620px; }
.app__bar { display: flex; align-items: center; gap: 6px; padding: 40px 14px 12px; background: rgba(0,0,0,0.22); }
.app__bar img { height: 18px; margin-right: auto; }
.app__pill { padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 10px; font-weight: 700; }
.app__head { display: flex; gap: 10px; align-items: center; padding: 12px 14px 4px; }
.app__head small { display: block; font-size: 9px; letter-spacing: .1em; color: var(--gold-soft); font-weight: 700; }
.app__head b { font-size: 11px; }
.app__back { width: 30px; height: 30px; border-radius: 999px; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; }
.app__pin { margin: 10px 14px; border: 1px solid var(--gold); border-radius: 16px; padding: 12px; text-align: center; }
.app__pin small { color: var(--gold); letter-spacing: .12em; font-size: 9px; font-weight: 700; }
.app__pin p { margin: 8px 0 0; font-size: 10px; color: var(--muted); }
.app__pin--sm { margin: 8px 14px; padding: 8px; }
.app__pin--sm p { display: none; }
.app__digits { display: flex; justify-content: center; gap: 8px; margin: 6px 0; }
.app__digits span { font-family: var(--mono); font-size: 34px; color: var(--gold); font-weight: 600; display: inline-block; }
.app__disclosure { margin: 8px 14px; padding: 8px 14px; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; text-align: center; font-weight: 700; font-size: 11px; }
.app__list { list-style: none; margin: 4px 14px; padding: 0; }
.app__list li { display: grid; grid-template-columns: 18px 18px 18px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 11px; }
.app__list b { font-weight: 700; }
.app__list span { color: var(--muted); }
.tick { width: 16px; height: 16px; border-radius: 5px; border: 2px solid rgba(255,255,255,0.25); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; }
.tick--on { background: var(--green); border-color: var(--green); }
.tick--on::after, .tick--ok::after { content: '✓'; }
.tick--ok { background: var(--green); border-color: var(--green); }
.tick--warn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tick--debt { background: var(--red); border-color: var(--red); }
.tick--debt::after { content: '✓'; }
.tick--proxy { border-color: var(--gold); color: var(--gold); }
.tick--proxy::after { content: '✓'; }
.app__quorum { display: flex; align-items: center; gap: 10px; margin: 10px 14px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.08); font-size: 11px; opacity: 0; transform: translateY(8px); }
.app__quorum.is-in { opacity: 1; transform: none; transition: .5s; }
.app__quorum i { width: 20px; height: 20px; border-radius: 999px; background: var(--green); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; }
.app__cta { margin: 10px 14px 0; padding: 11px; border-radius: 999px; background: var(--green); color: #fff; text-align: center; font-weight: 700; font-size: 12px; }
.chip { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 50px rgba(3, 12, 30, 0.45); min-width: 170px; }
.chip small { font-size: 10px; letter-spacing: .08em; color: #4B6382; font-weight: 700; display: block; }
.chip b { font-family: var(--display); font-size: 26px; color: #2F80ED; display: block; line-height: 1.1; }
.chip span { font-size: 11px; color: #4B6382; display: block; }
.chip i { display: block; height: 5px; border-radius: 3px; background: #e6ebf2; margin-top: 8px; position: relative; overflow: hidden; }
.chip i::after { content: ''; position: absolute; inset: 0; width: var(--w, 60%); background: var(--green); }
.chip--a { right: -40px; top: 90px; }
.chip--b { left: -60px; top: 300px; }
.chip--b b, .chip--c b { font-size: 16px; color: var(--ink); }
.chip--c { right: -30px; bottom: 90px; }
.float { animation: floatY 5s ease-in-out infinite; }
.float-sm { animation: floatY 4s ease-in-out infinite; }
.chip--b { animation-delay: .8s; } .chip--c { animation-delay: 1.6s; }
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,0.18); }
.ticker__track { display: flex; gap: 40px; white-space: nowrap; padding: 14px 0; animation: ticker 40s linear infinite; width: max-content; }
.ticker__track span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ticker__track span::before { content: '◆'; color: var(--gold); margin-right: 14px; font-size: 9px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* storyboard */
.story__pin { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; margin-top: 30px; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { padding: 26px 0 26px 70px; position: relative; border-top: 1px solid var(--line); opacity: .35; transition: opacity .4s; }
.story__step.is-active { opacity: 1; }
.story__step::before { content: ''; position: absolute; left: 0; top: 30px; bottom: -1px; width: 2px; background: var(--line); }
.story__step.is-active::before { background: var(--gold); }
.story__num { position: absolute; left: 18px; top: 26px; font-family: var(--mono); font-size: 12px; color: var(--gold); }
.story__step h3 { font-size: 24px; }
.story__step p { color: var(--muted); margin: 0 0 10px; max-width: 520px; }
.story__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story__tags li { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold-soft); color: var(--gold); }
.story__stage { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.screen .app__quorum { opacity: 1; transform: none; }
.app h4 { font-size: 18px; margin: 12px 14px 8px; }
.stepbar { display: flex; gap: 6px; margin: 10px 14px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 9px; }
.stepbar span { padding: 5px 8px; border-radius: 999px; color: var(--muted-2); }
.stepbar .on { color: var(--green); } .stepbar .cur { background: rgba(255,255,255,0.14); color: var(--text); }
.row { display: flex; align-items: center; gap: 10px; margin: 6px 14px; padding: 8px 10px; border-radius: 14px; background: var(--card); font-size: 11px; }
.row small { display: block; color: var(--muted-2); font-size: 10px; }
.avatar { width: 26px; height: 26px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.avatar--star { background: var(--gold); }
.setting { display: flex; justify-content: space-between; align-items: center; margin: 6px 14px; padding: 9px 12px; border-radius: 14px; background: var(--card); font-size: 11px; font-weight: 700; }
.toggle { width: 34px; height: 20px; border-radius: 10px; background: rgba(255,255,255,0.2); position: relative; }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: #fff; transition: .2s; }
.toggle.on { background: var(--green); } .toggle.on::after { left: 16px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 14px 10px; }
.tiles div { background: var(--card); border-radius: 14px; padding: 10px; text-align: center; }
.tiles b { font-family: var(--display); font-size: 20px; display: block; } .tiles small { font-size: 9px; color: var(--muted-2); letter-spacing: .08em; } .gold { color: var(--green); }
.tbl { width: calc(100% - 28px); margin: 0 14px; border-collapse: collapse; font-size: 10px; }
.tbl th { text-align: left; color: var(--muted-2); font-weight: 600; letter-spacing: .06em; font-size: 9px; padding: 4px 2px; }
.tbl td { padding: 6px 2px; border-top: 1px solid rgba(255,255,255,0.08); }
.rowpt { display: flex; align-items: center; gap: 8px; margin: 6px 14px; padding: 10px 12px; border-radius: 14px; background: var(--card); font-size: 11px; }
.rowpt em { font-style: normal; font-size: 9px; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.rowpt i { margin-left: auto; font-style: normal; color: var(--muted-2); }
.rowpt i.ok { width: 18px; height: 18px; border-radius: 999px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.rowpt--new { border: 1px solid var(--gold-soft); }
.rowpt--done { opacity: .7; }
.pill-ghost { margin: 8px 14px; padding: 8px; text-align: center; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; font-weight: 700; font-size: 11px; }
.livecard { margin: 6px 14px; padding: 12px; border-radius: 16px; border: 1px solid var(--gold); background: var(--card); }
.livecard__head { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.livecard__head em { font-style: normal; font-size: 9px; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.chip-open { display: inline-block; margin: 8px 0; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 9px; font-weight: 700; }
.livecard__timer { font-size: 10px; color: var(--muted); } .livecard__timer b { font-family: var(--mono); font-size: 16px; color: var(--text); margin-left: 6px; }
.tallies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.t { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 8px 4px; text-align: center; border: 1px solid transparent; }
.t--for { border-color: var(--green); }
.t b { font-family: var(--display); font-size: 18px; display: block; } .t small { font-size: 8px; letter-spacing: .06em; color: var(--muted-2); display: block; } .t span { font-size: 9px; color: var(--muted); }
.livecard__foot { font-size: 9px; color: var(--muted-2); text-align: center; }
.livecard__btns { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.livecard__btns .pill-ghost { margin: 0; padding: 6px 12px; }
.btn-red { padding: 8px 12px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 11px; text-align: center; }
.summary { margin: 0 14px 10px; background: var(--card); border-radius: 16px; padding: 4px 12px; }
.summary div { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 11px; }
.summary div:last-child { border: 0; }
.summary small { display: block; font-size: 9px; color: var(--muted-2); } .summary b { font-weight: 500; } .summary .red { color: var(--red); }
.ico { width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,0.12); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; }
.doc { display: flex; align-items: center; gap: 10px; margin: 6px 14px; padding: 9px 12px; border-radius: 14px; background: var(--card); font-size: 11px; font-weight: 700; }
.doc i { margin-left: auto; font-style: normal; color: var(--muted-2); }
.badge { width: 32px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; font-style: normal; color: #fff; margin-left: 0 !important; }
.badge--pdf { background: var(--red); } .badge--xls { background: var(--green); }
.story__dots { display: flex; gap: 6px; }
.story__dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: .3s; }
.story__dots i.on { background: var(--gold); width: 22px; }

/* owner horizontal */
.owner { padding-bottom: 0; }
.owner__intro { padding-bottom: 20px; }
.owner__pin { height: 100svh; overflow: hidden; display: flex; align-items: center; }
.owner__track { display: flex; gap: 28px; padding: 0 var(--gutter); will-change: transform; }
.ocard { flex: 0 0 340px; position: relative; }
.ocard__num { position: absolute; left: -8px; top: -8px; width: 34px; height: 34px; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--mono); font-weight: 700; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.oscreen { background-color: #081a45; background-image: radial-gradient(400px 260px at 30% -10%, #1a3d8f, rgba(26,61,143,0)); border-radius: 28px; padding: 22px 16px; min-height: 380px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(3,12,30,0.5); font-size: 12px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s; }
.ocard:hover .oscreen { transform: translateY(-6px); }
.oscreen__brand img { height: 20px; margin: 0 auto 8px; }
.oscreen__title { font-family: var(--display); font-size: 18px; text-align: center; display: block; }
.oscreen small { color: var(--muted); text-align: center; display: block; font-size: 11px; }
.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.langs span { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 999px; background: rgba(255,255,255,0.1); font-weight: 700; font-size: 12px; }
.flag { width: 18px; height: 18px; border-radius: 999px; display: inline-block; }
.flag--es { background: linear-gradient(180deg, #c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75%); }
.flag--en { background: linear-gradient(90deg, #012169 0 40%, #fff 40% 60%, #012169 60%), linear-gradient(180deg, #012169 0 40%, #C8102E 40% 60%, #012169 60%); background-blend-mode: lighten; }
.flag--de { background: linear-gradient(180deg, #000 0 33%, #dd0000 33% 66%, #ffce00 66%); }
.flag--fr { background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66%); }
.field { background: rgba(255,255,255,0.1); border-radius: 14px; padding: 8px 12px; text-align: left; }
.field small { text-align: left; font-size: 10px; color: var(--muted-2); }
.field span { display: block; font-size: 14px; }
.mono { font-family: var(--mono); letter-spacing: .15em; }
.junta { background: var(--card); border-radius: 16px; padding: 12px; }
.junta b { display: block; font-family: var(--display); font-size: 16px; text-align: center; }
.junta > small { margin-bottom: 6px; }
.junta div { display: flex; justify-content: space-between; font-size: 11px; padding: 4px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.junta div span:first-child { color: var(--muted); }
.prop { background: var(--card); border-radius: 16px; padding: 10px; text-align: center; }
.prop b { font-family: var(--display); font-size: 24px; display: block; }
.two { display: flex; gap: 8px; } .two > * { flex: 1; margin: 0 !important; font-size: 10px !important; padding: 9px 6px !important; }
.photo { margin-top: 4px; padding: 10px; border-radius: 14px; border: 1px dashed var(--gold-soft); color: var(--gold); text-align: center; font-size: 11px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.photo i { width: 16px; height: 12px; border: 2px solid var(--gold); border-radius: 3px; display: inline-block; }
.choice { border-radius: 14px; padding: 10px 12px; background: var(--card); border: 1px solid transparent; text-align: left; }
.choice.is-on { border-color: var(--gold); }
.choice b { display: block; font-size: 13px; } .choice small { text-align: left; }
.oscreen--vote { border-color: var(--gold); }
.oscreen__pt { color: var(--gold); letter-spacing: .1em; font-size: 9px; font-weight: 700; }
.votes { display: flex; gap: 6px; margin-top: 4px; }
.v { flex: 1; padding: 12px 4px; border-radius: 14px; background: rgba(255,255,255,0.1); text-align: center; font-weight: 700; font-size: 10px; }
.v--a { background: var(--gold); color: var(--ink); }
.oscreen__ok { color: var(--green) !important; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
.d { width: 14px; height: 14px; border-radius: 999px; display: inline-block; } .d--for { background: var(--green); } .d--against { background: var(--red); } .d--abs { background: rgba(255,255,255,0.4); }
.ocard h3 { margin: 18px 0 6px; font-size: 20px; }
.ocard p { color: var(--muted); font-size: 14px; margin: 0; }


/* Funcionalidades: the six boxes are clickable and the tablet shows the chosen one */
.fbox { cursor: pointer; transition: transform .25s, box-shadow .25s, outline-color .25s; outline: 2px solid transparent; outline-offset: 0; }
.fbox:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(8,30,55,0.16) !important; }
.fbox.is-on { outline-color: #2F80ED; box-shadow: 0 22px 60px rgba(47,128,237,0.22) !important; }
.fbox:focus-visible { outline-color: #F2C94C; }
.fscreen { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.fscreen.is-on { opacity: 1; transform: none; }
.mock .fscreen .app { height: 100%; }
.mock .app__quorum { margin: 10px 14px; }
.mock .field { margin: 6px 14px; }
.mock .row, .mock .setting { margin: 6px 14px; }
.mock .setting em.sent { font-style: normal; font-size: 10px; color: var(--green); font-weight: 700; }
.mock .log { list-style: none; margin: 0 14px; padding: 0; }
.mock .log li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 11px; }
.mock .log time { font-family: var(--mono); color: var(--gold); font-size: 10px; flex: none; }
.mock .log .green, .mock .tbl .green { color: var(--green); } .mock .tbl .red { color: var(--red); }
.mock .doc i:last-child { margin-left: auto; font-style: normal; color: var(--muted-2); }
.mock .stepbar span { font-size: 8px; padding: 4px 6px; }

/* Cómo funciona on phones: one step per row so the phone frames keep their real size (they were squeezed to ~70 px in three columns) */
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr !important; gap: 56px !important; }
  .steps > li > div:first-child { height: auto !important; }
}
